Split up bits/sigstack.h.
[glibc.git] / ChangeLog
blobf25eb14ca93387855a94be6ebdd70dc2ebc8f5b3
1 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3         * bits/ss_flags.h: New file.
4         * bits/types/stack_t.h: Likewise.
5         * include/bits/types/struct_sigstack.h: Likewise.
6         * signal/bits/types/struct_sigstack.h: Likewise.
7         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
8         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
9         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
10         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
11         bits/types/stack_t.h and bits/ss_flags.h.
12         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
13         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
14         <bits/ss_flags.h>.
15         * bits/sigstack.h (struct sigstack): Remove.
16         (stack_t): Likewise.
17         (SS_ONSTACK): Likewise.
18         (SS_DISABLE): Likewise.
19         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
20         (struct sigstack): Likewise.
21         (stack_t): Likewise.
22         (SS_ONSTACK): Likewise.
23         (SS_DISABLE): Likewise.
24         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
25         Likewise.
26         (stack_t): Likewise.
27         (SS_ONSTACK): Likewise.
28         (SS_DISABLE): Likewise.
29         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
30         Likewise.
31         (stack_t): Likewise.
32         (SS_ONSTACK): Likewise.
33         (SS_DISABLE): Likewise.
34         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
35         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
36         Likewise.
37         (stack_t): Likewise.
38         (SS_ONSTACK): Likewise.
39         (SS_DISABLE): Likewise.
40         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
41         (struct sigstack): Likewise.
42         (stack_t): Likewise.
43         (SS_ONSTACK): Likewise.
44         (SS_DISABLE): Likewise.
45         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
46         Likewise.
47         (stack_t): Likewise.
48         (SS_ONSTACK): Likewise.
49         (SS_DISABLE): Likewise.
50         * sysdeps/arm/sys/ucontext.h: Include
51         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
52         <bits/ss_flags.h>.
53         * sysdeps/generic/sys/ucontext.h: Likewise.
54         * sysdeps/i386/sys/ucontext.h: Likewise.
55         * sysdeps/m68k/sys/ucontext.h: Likewise.
56         * sysdeps/mips/sys/ucontext.h: Likewise.
57         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
58         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
59         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
60         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
61         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
62         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
63         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
64         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
65         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
66         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
67         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
68         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
69         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
70         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
71         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
73 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
75         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
76         "edx + ecx - 16" to avoid possible addition overflow.
77         * sysdeps/x86_64/memchr.S (memchr): Likewise.
79 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
81         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
82         (CFLAGS-splice.c): Likewise.
83         (CFLAGS-open_by_handle_at.c): Likewise.
84         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
85         (CFLAGS-splice.c): Likewise.
86         (CFLAGS-open_by_handle_at.c): Likewise.
88 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
90         * scripts/versions.awk: Generate ldbl-compat-choose.h.
91         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
92         <ldbl-compat-choose.h>.
93         (maybe_long_double_symbol): New macro.
94         [!declare_mgen_alias] (declare_mgen_alias): Use
95         maybe_long_double_symbol.
96         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
97         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
98         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
99         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
100         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
101         * Makerules [$(build-shared) = yes && !avoid-generated]
102         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
103         [$(build-shared) = yes && !avoid-generated]
104         ($(common-objpfx)ldbl-compat-choose.h): New target.
106         * scripts/versions.awk: Generate first-versions.h.
107         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
108         <first-versions.h>.
109         (LDOUBLE_cabsl_libm_version): Remove macro.
110         (LDOUBLE_cargl_libm_version): Likewise.
111         (LDOUBLE_cimagl_libm_version): Likewise.
112         (LDOUBLE_conjl_libm_version): Likewise.
113         (LDOUBLE_creall_libm_version): Likewise.
114         (LDOUBLE_cacosl_libm_version): Likewise.
115         (LDOUBLE_cacoshl_libm_version): Likewise.
116         (LDOUBLE_ccosl_libm_version): Likewise.
117         (LDOUBLE_ccoshl_libm_version): Likewise.
118         (LDOUBLE_casinl_libm_version): Likewise.
119         (LDOUBLE_csinl_libm_version): Likewise.
120         (LDOUBLE_casinhl_libm_version): Likewise.
121         (LDOUBLE_csinhl_libm_version): Likewise.
122         (LDOUBLE_catanl_libm_version): Likewise.
123         (LDOUBLE_catanhl_libm_version): Likewise.
124         (LDOUBLE_ctanl_libm_version): Likewise.
125         (LDOUBLE_ctanhl_libm_version): Likewise.
126         (LDOUBLE_cexpl_libm_version): Likewise.
127         (LDOUBLE_clogl_libm_version): Likewise.
128         (LDOUBLE_cprojl_libm_version): Likewise.
129         (LDOUBLE_csqrtl_libm_version): Likewise.
130         (LDOUBLE_cpowl_libm_version): Likewise.
131         (LDOUBLE_clog10l_libm_version): Likewise.
132         (LDOUBLE___clog10l_libm_version): Likewise.
133         (LDOUBLE_fdiml_libm_version): Likewise.
134         (LDOUBLE_fmaxl_libm_version): Likewise.
135         (LDOUBLE_fminl_libm_version): Likewise.
136         (LDOUBLE_ilogbl_libm_version): Likewise.
137         (LDOUBLE_nanl_libm_version): Likewise.
138         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
139         FIRST_VERSION_libm_* macros.
140         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
141         * Makerules [$(build-shared) = yes && !avoid-generated]
142         (before-compile): Add $(common-objpfx)first-versions.h.
143         [$(build-shared) = yes && !avoid-generated]
144         ($(common-objpfx)first-versions.h): New target.
145         ($(common-objpfx)sysd-versions): Depend on and change to rule for
146         building $(common-objpfx)versions.stmp.
148 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
150         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
151         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
152         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
153         auto-generation list.
155         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
156         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
157         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
158         from auto-generation list.
160         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
161         open_by_handle_at.
162         (CFLAGS-open_by_handle_at.c): New flag.
163         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
164         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
165         file.
166         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
168         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
169         (CFLAGS-splice.c): New flag.
170         * sysdeps/unix/sysv/linux/splice.c: New file.
171         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
172         auto-generation syscall list.
173         * misc/Makefile (CFLAGS-splice.c): New rule.
175         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
176         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
177         auto-generation syscall list.
178         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
179         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
181         * misc/Makefile (CFLAGS-fsync.c): New flag.
182         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
183         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
184         syscall list.
185         * sysdeps/unix/sysv/linux/fsync.c: New file.
186         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
187         (__errno_location): Remove.
189         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
190         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
191         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
192         list.
193         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
195         * misc/Makefile (CFLAGS-msync.c): New rule.
196         * nptl/Makefile (CFLAGS-msync.c): Likewise.
197         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
198         * sysdeps/unix/sysv/linux/msync.c: New file.
200         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
201         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
202         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
203         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
204         (CFLAGS-sigsuspend.c): Remove rule.
206         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
207         (CFLAGS-tee.c): New rule.
208         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
209         auto-generated list.
210         * sysdeps/unix/sysv/linux/tee.c: New file.
212         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
213         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
214         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
215         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
216         auto-generated list.
218         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
219         auto-generated list.
220         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
221         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
222         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
223         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
224         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
226         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
227         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
228         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
229         (__NR_pause): Undefine.
230         * sysdeps/unix/sysv/linux/pause.c: New file.
231         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
232         auto-generation list.
233         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
234         Remove rule.
235         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
237 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
239         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
240         comments.
242 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
244         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
245         LD_HWCAP_MASK.
247 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
249         * manual/conf.texi: Convert @tables of annotated @items to
250         @vtables.
251         * manual/lang.texi: Likewise.
252         * manual/pattern.texi: Likewise.
253         * manual/resource.texi: Likewise.
254         * manual/socket.texi: Likewise.
256 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
258         * manual/crypt.texi: Move a comment out of an @*x list.
259         * manual/filesys.texi: Refactor some comments, one of which looks
260         like a standard.  Fix incorrectly separated standards.
261         * manual/locale.texi: Invert an annotation.
262         * manual/resource.texi: Fix incorrectly separated standards.
263         * manual/time.texi: Refactor a @vtable that obscures an
264         annotation.
265         * manual/users.texi: Refactor multiple headers to occupy a single
266         @comment.
268 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
270         * sysdeps/powerpc/powerpc64/multiarch/Makefile
271         (sysdep_routines): Add memcmp-power8.
272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
273         (memcmp): Add __memcmp_power8 to list of memcmp functions.
274         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
275         (memcmp): Add __memcmp_power8 to ifunc list.
276         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
277         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
279 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
280             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
282         * math/math.h (__MATH_TG): Extend the conditions to add
283         _Float128 support.
284         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
286 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
288         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
289         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
290         s_cosf-ppc64.
291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
294         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
296 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
298         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
299         (gen-libm-calls): Add e_exp2F to use the template.
300         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
301         * math/e_exp2_template.c: New file, renamed from
302         math/e_exp2l.c, and made into a template.
303         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
305 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
307         * elf/dl-tunable-types.h (tunable_type_code_t): New type
308         TUNABLE_TYPE_UINT_64.
309         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
310         Simplify computation of overflow.
311         (tunable_set_val_if_valid_range_signed,
312         tunable_set_val_if_valid_range_unsigned): Remove and replace
313         with this...
314         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
315         (tunable_initialize): Adjust.  Add uint64_t support.
316         (__tunable_set_val): Add uint64_t support.
317         * README.tunables: Document it.
319         * scripts/gen-tunables.awk: Recognize 'default' keyword in
320         dl-tunables.list.
321         * README.tunables: Document it.
323 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
325         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
326         * sysdeps/posix/preadv64.c: Likewise.
327         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
328         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
329         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
330         * sysdeps/posix/pwritev64.c: Likewise.
331         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
332         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
333         * sysdeps/posix/preadv_common.c: New file.
334         * sysdeps/posix/pwritev_common.c: Likewise.
336 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
338         * sysdeps/generic/math-type-macros-float128.h
339         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
340         wrapper templates.
342 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
343             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
345         * include/complex.h (__kernel_casinhf128): New declaration.
346         * include/float.h: New file.
347         * include/math.h (__finitef128): Add a hidden def.
348         (__isinff128): Likewise.
349         (__isnanf128): Likewise.
350         (__fpclassify): Likewise.
351         (__issignalling): Likewise.
352         (__expf128): Likewise.
353         (__expm1f128): Likewise.
355         * sysdeps/generic/fix-fp-int-convert-overflow.h:
356         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
357         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
359         * sysdeps/generic/math-type-macros-float128.h: New file.
361         * sysdeps/generic/math_private.h: Include bits/floatn.h and
362         math_private_calls.h for _Float128.
363         (__isinff128): New inline implementation used when GCC < 7.0,
364         since in this case __builtin_isinf_sign is broken.
365         (fabsf128): New inline implementation that calls the builtin.
366         (__EXPR_FLT128): New macro.
367         (min_of_type): Optionally include _Float128 types too.
369         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
370         Declare for _Float128.
371         (__kernel_rem_pio2): Likewise.
373         * sysdeps/ieee754/ldbl-opt/s_sin.c:
374         (__DECL_SIMD_sincos_disablef128): New macro.
376 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
378         * math/math.h: Include bits/math-finite.h for float128.
379         (__MATH_DECLARING_FLOATN): Define to control declaration of
380         float128 functions.
381         * math/bits/math-finite.h (pow10): Do not declare for float128.
382         (gamma): Likewise.
383         (scalb): Likewise.
385 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
386             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
388         * bits/floatn.h: New file.
389         * bits/huge_val_flt128.h: Likewise.
391         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
392         (__DECL_SIMD_sinf128): Likewise.
393         (__DECL_SIMD_sincosf128): Likewise.
394         (__DECL_SIMD_logf128): Likewise.
395         (__DECL_SIMD_expf128): Likewise.
396         (__DECL_SIMD_powf128): Likewise.
398         * math/Makefile (headers): Install bits/floatn.h and
399         bits/huge_val_flt128.h.
401         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
402         defined.
404         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
405         (isnan, gamma, nexttoward, scalb): Only define if not
406         __MATH_DECLARING_FLOATN.
407         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
408         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
409         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
410         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
412         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
413         Include bits/cmathcalls.h to get the declarations of _Float128
414         versions of complex functions.
415         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
416         Define macro.
418         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
419         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
420         get the declarations of _Float128 versions of math functions.
421         (__MATH_DECLARING_FLOATN): New macro to control declaration of
422         _FloatN types.
423         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
424         is type-generic, so use it without __MATH_TG.
425         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
426         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
427         _Float128 type and GCC < 7.0, otherwise use the builtin.
428         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
429         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
430         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
431         New _GNU_SOURCE enabled macros.
433 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
435         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
436         (signbitf): Likewise.
437         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
438         Likewise.
439         (signbitl): Likewise.
440         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
441         Likewise.
442         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
443         (signbitl): Likewise.
444         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
446 2017-05-12  Florian Weimer  <fweimer@redhat.com>
448         [BZ #21386]
449         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
450         parent PID.  The assertion in the child is incorrect with PID
451         namespaces.
453 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
455         * sysdeps/unix/sysv/linux/kernel-features.h
456         (__ASSUME_STATFS_F_FLAGS): Remove macro.
457         * sysdeps/unix/sysv/linux/internal_statvfs.c
458         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
460 2017-05-11  Zack Weinberg  <zackw@panix.com>
462         * Makerules: New subdir configuration variables 'tests-internal'
463         and 'test-internal-extras'.  Test files in these categories will
464         still be compiled with MODULE_NAME=nonlib.  Test files in the
465         existing categories (tests, xtests, test-srcs, test-extras) are
466         now compiled with MODULE_NAME=testsuite.
467         New subdir configuration variable 'modules-names-tests'.  Files
468         which are in both 'modules-names' and 'modules-names-tests' will
469         be compiled with MODULE_NAME=testsuite instead of
470         MODULE_NAME=extramodules.
471         (gen-as-const-headers): Move to tests-internal.
472         (do-tests-clean, common-mostlyclean): Support tests-internal.
473         * Makeconfig (built-modules): Add testsuite.
474         * Makefile: Change libof-check-installed-headers-c and
475         libof-check-installed-headers-cxx to 'testsuite'.
476         * Rules: Likewise.  Support tests-internal.
477         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
478         Remove extra-modules.mk.
480         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
481         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
482         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
483         very top of the file and rationalize their order.
484         If MODULE_NAME is not defined at all, define IS_IN to always be
485         false, and don't define _ISOMAC.
486         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
487         true, define _ISOMAC and suppress everything else in this file,
488         starting with the inclusion of config.h.
489         Do check for inappropriate definitions of __OPTIMIZE__ and
490         __FAST_MATH__ here, but only if _ISOMAC is not defined.
491         Correct some out-of-date commentary.
493         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
494         and _Mlong_double_ before including math.h.
495         * include/string.h: If _ISOMAC is defined, don't expose
496         _STRING_ARCH_unaligned. Move a comment to a more appropriate
497         location.
499         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
500         * include/time.h, include/unistd.h, include/wchar.h: No need to
501         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
503         * misc/sys/cdefs.h (__NTHNL): New macro.
504         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
505         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
507         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
508         defined, for HAVE_TUNABLES.
509         * inet/tst-checks-posix.c: No need to define _ISOMAC.
510         * intl/tst-gettext2.c: Provide own definition of N_.
511         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
512         * math/test-signgam-main.c: No need to define _ISOMAC.
513         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
514         * stdlib/tst-strtod1i.c: ...this new file.
515         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
516         Split tests of __strtod_internal to...
517         * stdlib/tst-strtod5i.c: ...this new file.
518         * string/test-string.h: Include stdint.h. Duplicate definition of
519         inhibit_loop_to_libcall here (from libc-symbols.h).
520         * string/test-strstr.c: Provide dummy definition of
521         libc_hidden_builtin_def when including strstr.c.
522         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
523         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
524         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
525         Don't include init-arch.h.
526         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
527         Don't include init-arch.h.
529         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
530         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
531         unload, unload2, circleload1, neededtest, neededtest2,
532         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
533         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
534         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
535         ifunc tests to tests-internal.
536         Don't add $(modules-names) to test-extras.
537         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
538         Add tst-deadline to tests-static-internal.
539         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
540         tests-internal.
541         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
542         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
543         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
544         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
545         tst-sem12-static, and tst-stackguard1-static to tests-internal.
546         Link tests-internal with libpthread also.
547         Don't add $(modules-names) to test-extras.
548         * nss/Makefile: Move tst-field to tests-internal.
549         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
550         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
551         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
552         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
553         tests-internal.
554         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
555         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
556         test-get_hwcap-static to tests-internal.
557         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
558         tests-internal.
559         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
560         modules-names-tests.
562 2017-05-11  Zack Weinberg  <zackw@panix.com>
564         * libio/libio.h: Condition dummy definition of _IO_lock_t on
565         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
566         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
567         _IO_funlockfile, and _IO_ftrylockfile.  Only define
568         _IO_cleanup_region_start and _IO_cleanup_region_end if not
569         already defined.
570         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
571         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
572         appropriately.
573         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
574         Define _IO_lock_t_defined after defining _IO_lock_t.
576 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
578         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
579         void* for argument type and use VDSO_SYMBOL macro.
580         (is_sigtramp_address_rt): Likewise.
581         (__backtrace): Setup expected frame pointer address for signal
582         handling.
583         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
584         void* for argumetn type and use VSDO_SYMBOL macro.
585         (__backtrace): Setup expected frame pointer address for signal
586         handling.
588         * sysdeps/unix/sysv/linux/writev.c: New file.
590         * sysdeps/unix/sysv/linux/readv.c: New file.
592         * include/unistd.h (write): Add hidden proto.
593         * io/Makefile (CFLAGS-write.c): New define.
594         * nptl/Makefile (CFLAGS-write.c): Likewise.
595         * sysdeps/unix/sysv/linux/write.c: New file.
597         [BZ #21428]
598         * include/unistd.h (read): Add hidden proto.
599         * io/Makefile (CFLAGS-read.c): New define.
600         * nptl/Makefile (CFLAGS-read.c): Likewise.
601         * sysdeps/unix/sysv/linux/read.c: New file.
603         * io/Makefile (CFLAGS-creat.c): New rule.
604         (CFLAGS-creat64.c): Likewise.
605         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
606         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
607         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
608         * sysdeps/unix/sysv/linux/creat.c: New file.
609         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
610         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
611         auto-generated list.
612         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
614         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
615         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
616         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
617         * sysdeps/unix/sysv/linux/open.c: New file.
618         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
619         iff __WORDSIZE != 64 and use __NR_openat when available.
620         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
621         from auto-generated list.
623         * nptl/Makefile (CFLAGS-close.c): New flag.
624         * sysdeps/unix/sysv/linux/close.c: New file.
626 2017-05-11  DJ Delorie  <dj@redhat.com>
628         * MAINTAINERS: New.  Points to wiki.
630 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
632         * scripts/gen-tunables.awk: Add attribute_relro to
633         tunable_list.
635 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
637         [BZ #21457]
638         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
639         (R1): Likewise.
640         (R2): Likewise.
641         (R3): Likewise.
642         (R4): Likewise.
643         (R5): Likewise.
644         (R6): Likewise.
645         (R7): Likewise.
646         (R8): Likewise.
647         (R9): Likewise.
648         (R10): Likewise.
649         (R11): Likewise.
650         (R12): Likewise.
651         (R13): Likewise.
652         (R14): Likewise.
653         (R15): Likewise.
654         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
655         (REG_FS): Likewise.
656         (REG_ES): Likewise.
657         (REG_DS): Likewise.
658         (REG_EDI): Likewise.
659         (REG_ESI): Likewise.
660         (REG_EBP): Likewise.
661         (REG_ESP): Likewise.
662         (REG_EBX): Likewise.
663         (REG_EDX): Likewise.
664         (REG_ECX): Likewise.
665         (REG_EAX): Likewise.
666         (REG_TRAPNO): Likewise.
667         (REG_ERR): Likewise.
668         (REG_EIP): Likewise.
669         (REG_CS): Likewise.
670         (REG_EFL): Likewise.
671         (REG_UESP): Likewise.
672         (REG_SS): Likewise.
673         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
674         (R_D1): Likewise.
675         (R_D2): Likewise.
676         (R_D3): Likewise.
677         (R_D4): Likewise.
678         (R_D5): Likewise.
679         (R_D6): Likewise.
680         (R_D7): Likewise.
681         (R_A0): Likewise.
682         (R_A1): Likewise.
683         (R_A2): Likewise.
684         (R_A3): Likewise.
685         (R_A4): Likewise.
686         (R_A5): Likewise.
687         (R_A6): Likewise.
688         (R_A7): Likewise.
689         (R_SP): Likewise.
690         (R_PC): Likewise.
691         (R_PS): Likewise.
692         (fpregset_t): Likewise.
693         (MCONTEXT_VERSION): Likewise.
694         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
695         (CTX_AT): Likewise.
696         (CTX_V0): Likewise.
697         (CTX_V1): Likewise.
698         (CTX_A0): Likewise.
699         (CTX_A1): Likewise.
700         (CTX_A2): Likewise.
701         (CTX_A3): Likewise.
702         (CTX_T0): Likewise.
703         (CTX_T1): Likewise.
704         (CTX_T2): Likewise.
705         (CTX_T3): Likewise.
706         (CTX_T4): Likewise.
707         (CTX_T5): Likewise.
708         (CTX_T6): Likewise.
709         (CTX_T7): Likewise.
710         (CTX_S0): Likewise.
711         (CTX_S1): Likewise.
712         (CTX_S2): Likewise.
713         (CTX_S3): Likewise.
714         (CTX_S4): Likewise.
715         (CTX_S5): Likewise.
716         (CTX_S6): Likewise.
717         (CTX_S7): Likewise.
718         (CTX_T8): Likewise.
719         (CTX_T9): Likewise.
720         (CTX_K0): Likewise.
721         (CTX_K1): Likewise.
722         (CTX_GP): Likewise.
723         (CTX_SP): Likewise.
724         (CTX_S8): Likewise.
725         (CTX_RA): Likewise.
726         (CTX_MDLO): Likewise.
727         (CTX_MDHI): Likewise.
728         (CTX_CAUSE): Likewise.
729         (CTX_EPC): Likewise.
730         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
731         inclusion of <sys/procfs.h> on [__USE_MISC].
732         (greg_t): Condition on [__USE_MISC].
733         (gregset_t): Likewise.
734         (fpregset_t): Likewise.
735         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
736         (NGREG): Likewise.
737         (gregset_t): Likewise.
738         (REG_R0): Likewise.
739         (REG_R1): Likewise.
740         (REG_R2): Likewise.
741         (REG_R3): Likewise.
742         (REG_R4): Likewise.
743         (REG_R5): Likewise.
744         (REG_R6): Likewise.
745         (REG_R7): Likewise.
746         (REG_R8): Likewise.
747         (REG_R9): Likewise.
748         (REG_R10): Likewise.
749         (REG_R11): Likewise.
750         (REG_R12): Likewise.
751         (REG_R13): Likewise.
752         (REG_R14): Likewise.
753         (REG_R15): Likewise.
754         (struct _libc_fpstate): Likewise.
755         (fpregset_t): Likewise.
756         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
757         (NFPREG): Likewise.
758         (gregset_t): Likewise.
759         (fpregset_t): Likewise.
760         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
761         (R_D1): Likewise.
762         (R_D2): Likewise.
763         (R_D3): Likewise.
764         (R_D4): Likewise.
765         (R_D5): Likewise.
766         (R_D6): Likewise.
767         (R_D7): Likewise.
768         (R_A0): Likewise.
769         (R_A1): Likewise.
770         (R_A2): Likewise.
771         (R_A3): Likewise.
772         (R_A4): Likewise.
773         (R_A5): Likewise.
774         (R_A6): Likewise.
775         (R_A7): Likewise.
776         (R_SP): Likewise.
777         (R_PC): Likewise.
778         (R_PS): Likewise.
779         (fpregset_t): Likewise.
780         (MCONTEXT_VERSION): Likewise.
781         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
782         Likewise.
783         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
784         (REG_R1): Likewise.
785         (REG_R2): Likewise.
786         (REG_R3): Likewise.
787         (REG_R4): Likewise.
788         (REG_R5): Likewise.
789         (REG_R6): Likewise.
790         (REG_R7): Likewise.
791         (REG_R8): Likewise.
792         (REG_R9): Likewise.
793         (REG_R10): Likewise.
794         (REG_R11): Likewise.
795         (REG_R12): Likewise.
796         (REG_R13): Likewise.
797         (REG_R14): Likewise.
798         (REG_R15): Likewise.
799         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
800         of <arch/abi.h> on [__USE_MISC].
801         (greg_t): Condition on [__USE_MISC].
802         (NGREG): Likewise.
803         (gregset_t): Likewise.
805 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
807         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
808         (__pthread_rwlock_arch_t): Remove __data definition.
809         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
810         (__pthread_rwlock_arch_t): Likewise.
812 2017-05-11  Florian Weimer  <fweimer@redhat.com>
814         * resolv/inet_pton.c: Reformat in GNU style.  Remove
815         internal_function on static functions.
817 2017-05-11  Florian Weimer  <fweimer@redhat.com>
819         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
820         from format_ai_flags.
821         (format_ai_flags): New function.  Incorporate flag formatting code
822         from format_ai_one.
823         (format_ai_canonname): New function.
824         (format_ai_one): Remove flags parameter.
825         (format_ai_family): Likewise.
826         (support_format_addrinfo): Call format_ai_flags,
827         format_ai_canonname.
828         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
829         check_ai.
830         (check_ai): Call check_ai_hints.
831         (do_test): Add AI_CANONNAME tests.
833 2017-05-11  Florian Weimer  <fweimer@redhat.com>
835         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
836         (gaih_inet): Likewise.
838 2017-05-10  Andreas Schwab  <schwab@suse.de>
840         * nptl/tst-fork1.c: Include <support/test-driver.c>.
841         (main): Rename to do_test and make static.
843 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
845         * string/rawmemchr.c: Include <libc-diag.h>.
846         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
847         with size (size_t)-1.
849 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
851         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
852         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
853         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
855         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
856         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
857         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
858         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
859         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
860         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
861         * sysdeps/unix/sysv/linux/kernel-features.h
862         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
863         socket syscalls.
864         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
865         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
866         * sysdeps/unix/sysv/linux/i386/kernel-features.h
867         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
868         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
869         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
870         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
871         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
872         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
873         * sysdeps/unix/sysv/linux/sh/kernel-features.h
874         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
875         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
876         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
877         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
878         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
880 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
882         * posix/Makefile (headers): Add pthreadtypes-arch.h and
883         thread-shared-types.h.
884         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
885         specific thread definition.
886         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
887         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
888         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
889         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
890         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
891         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
892         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
893         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
894         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
895         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
896         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
897         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
898         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
899         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
900         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
901         thread definition between POSIX and C11.
902         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
903         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
904         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
905         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
906         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
907         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
908         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
909         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
910         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
911         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
912         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
913         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
914         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
915         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
916         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
917         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
918         definitions shared across all architectures.
920 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
922         * sysdeps/unix/sysv/linux/kernel-features.h
923         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
924         (__ASSUME_SENDMMSG): Likewise.
925         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
926         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
927         sendmmsg syscall if that can be assumed to be present, socketcall
928         otherwise, with no fallback for runtime failure.
930         * sysdeps/unix/sysv/linux/kernel-features.h
931         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
932         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
933         (__ASSUME_RECVMMSG): Likewise.
934         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
935         recvmmsg syscall if it can be assumed to be present, socketcall
936         otherwise, with no fallback for runtime failure.
938 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
939             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
941         * bits/libc-header-start.h:
942         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
943         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
944         * manual/creature.texi: Likewise.
946 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
947             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
949         * math/Makefile:
950         (type-float128-suffix): New variable
951         (type-float128-routines): Likewise
952         (type-float128-yes): Likewise
953         (types): Append float128 if supported
954         (types-basic): New variable to control the use of templates for
955         float, double, and long double, but not for float128 or newer types.
956         (type-basic-foreach): Likewise.
958         * sysdeps/ieee754/float128/Makeconfig: New file.
959         * sysdeps/ieee754/float128/Versions: New file.
961 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
963         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
964         Remove macro.
965         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
966         prlimit64 is always available and does not give an ENOSYS error.
967         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
968         unconditional.
969         [!__NR_prlimit64]: Remove conditional code.
970         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
971         prlimit64 is always available and does not give an ENOSYS error.
972         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
974 2017-05-09  Zack Weinberg  <zackw@panix.com>
976         * sunrpc/tst-xdrmem2.c: Include stdint.h.
978 2017-05-09  Florian Weimer  <fweimer@redhat.com>
980         [BZ #21474]
981         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
982         (__res_maybe_init): Likewise.
984 2017-05-09  Zack Weinberg  <zackw@panix.com>
986         * extra-modules.mk: Delete file.
987         * cppflags-iterator.mk: Rename to ...
988         * libof-iterator.mk: ...this.  Adjust comments.
990         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
991         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
992         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
993         Use libof-iterator.mk instead of cppflags-iterator.mk or
994         extra-modules.mk.
996         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
997         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
999 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1001         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1003 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
1005         * stdio-common/vfprintf.c (EXTSIZ): Define.
1006         (vfprintf): Use EXTSIZ.
1007         (printf_positional): Likewise.
1009 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
1011         * sysdeps/unix/sysv/linux/kernel-features.h
1012         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
1013         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
1014         <kernel-features.h>.
1015         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
1017         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1018         (__ASSUME_GETCPU_SYSCALL): Remove macro.
1020 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1022         Prevent multiple deletion of temporary files.
1023         * support/temp_file.c (struct temp_name_list): Add owner member.
1024         (add_temp_file): Record owner.
1025         (support_delete_temp_files): Delete file only if owner matches.
1026         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
1027         (do_prepare): Use create_temp_file instead of add_temp_file.
1028         Initialize temp_fd1, temp_fd2.
1029         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
1030         framework remove the temporary files.
1031         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
1032         (do_prepare): Use create_temp_file instead of add_temp_file.
1033         Initialize temp_fd1, temp_fd2, temp_fd3.
1034         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
1035         the test framework remove the temporary files.
1036         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
1037         deletion.
1038         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
1039         temporary directory.  It is removed by the test framework.
1040         * dirent/tst-scandir.c (do_test): Likewise.
1042 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1044         Delete temporary files in LIFO order.
1045         * support/temp_file.c (struct temp_name_list): Replace q member
1046         with next.
1047         (add_temp_file): Add new file to front of linked list.
1048         (support_delete_temp_files): Use next member.
1049         (support_print_temp_files): Likewise.
1051 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1053         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1054         sys/ultrasound.h.
1055         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
1057 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
1059         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1060         Remove.
1061         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1062         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1063         (arch_minimum_kernel): Remove.
1064         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1065         * README: Update statement about Linux kernel requirements.
1067 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1069         * manual/llio.texi: Add preadv and pwritev documentation.
1071 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
1073         [BZ #21455]
1074         * bits/stdint-intn.h: New file.
1075         * bits/stdint-uintn.h: Likewise.
1076         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
1077         bits/stdint-uintn.h.
1078         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
1079         <stdint.h>.
1080         * posix/sys/types.h: Include <bits/stdint-intn.h>.
1081         (__int8_t_defined): Do not define here.
1082         (int8_t): Likewise.
1083         (int16_t): Likewise.
1084         (int32_t): Likewise.
1085         (int64_t): Likewise.
1086         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
1087         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
1088         <stdint.h>.
1089         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
1090         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
1091         <bits/stdint-uintn.h>.
1092         (int8_t): Do not define here.
1093         (int16_t): Likewise.
1094         (int32_t): Likewise.
1095         (int64_t): Likewise.
1096         (uint8_t): Likewise.
1097         (uint16_t): Likewise.
1098         (uint32_t): Likewise.
1099         (uint64_t): Likewise.
1100         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
1101         variable.
1102         (test-xfail-XPG42/netdb.h/conform): Likewise.
1103         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
1104         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1105         (test-xfail-UNIX98/netdb.h/conform): Likewise.
1106         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1108 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1110         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
1111         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
1112         the above.
1113         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1114         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1116 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
1118         [BZ #21445]
1119         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
1121         [BZ #21457]
1122         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1123         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
1124         __glibc_reserved1.
1125         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1126         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
1127         (struct _fpxreg): Likewise.
1128         [!__x86_64__] (struct _fpstate): Rename field reserved to
1129         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
1130         [__x86_64__] (struct _fpstate): Rename field padding to
1131         __glibc_reserved1.
1132         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
1133         Rename field reserved2 to __glibc_reserved2.
1134         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
1135         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
1136         __glibc_reserved1.
1137         [__x86_64__] (struct _libc_fpstate): Rename field padding to
1138         __glibc_reserved1.
1140 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1142         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
1143         variable name.
1145 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
1147         [BZ #21391]
1148         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
1149         Only call init_cpu_features.
1150         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
1151         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1152         * sysdeps/i386/dl-procinfo.h: Removed.
1153         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
1154         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
1155         <sysdeps/x86/dl-procinfo.h>.
1156         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
1157         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
1158         Include <sysdeps/x86/dl-procinfo.h> instead of
1159          <sysdeps/generic/dl-procinfo.h>.
1160         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
1161         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
1162         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
1163         (bit_cpu_MOVBE): Likewise.
1164         (bit_cpu_BMI1): Likewise.
1165         (bit_cpu_BMI2): Likewise.
1166         (index_cpu_BMI1): Likewise.
1167         (index_cpu_BMI2): Likewise.
1168         (index_cpu_LZCNT): Likewise.
1169         (index_cpu_MOVBE): Likewise.
1170         (index_cpu_POPCNT): Likewise.
1171         (reg_BMI1): Likewise.
1172         (reg_BMI2): Likewise.
1173         (reg_LZCNT): Likewise.
1174         (reg_MOVBE): Likewise.
1175         (reg_POPCNT): Likewise.
1176         * sysdeps/x86/dl-hwcap.h: New file.
1177         * sysdeps/x86/dl-procinfo.h: Likewise.
1178         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
1179         (_dl_x86_platforms): Likewise.
1181 2017-05-03  DJ Delorie  <dj@redhat.com>
1183         [BZ #21411]
1184         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
1186 2017-05-03  Phil Blundell  <pb@pbcl.net>
1188         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
1189         comments.
1191 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
1193         [BZ #20116]
1194         * nptl/pthread_create.c: Expand comments to describe
1195         semaphore-like and mutex-like uses of PD->lock.
1197 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1199         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
1200         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
1201         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
1202         auto-generation list.
1203         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1204         epoll_wait.
1205         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
1206         Remove epoll_wait.
1208         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
1209         osf_select.
1210         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
1211         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
1212         osf_select from auto-generation list.
1213         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1214         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1215         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
1216         * sysdeps/unix/sysv/linux/select.c: New file.
1218         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
1219         * sysdeps/unix/sysv/linux/poll.c: New file.
1220         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
1221         auto-generation list.
1223 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
1225         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
1226         New macro.
1228 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
1230         [BZ #21179]
1231         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
1232         R_SPARC_REGISTER relocations.
1234 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1236         * include/unistd.h (__pread): Add libc_hidden_proto.
1237         (__pread64): Likewise.
1238         (__pwrite): Likewise.
1239         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
1240         (__pread64): Remove.
1241         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
1242         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
1243         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
1245 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1249 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1251         * nptl/tst-cancel4-common.c: Use libsupport.
1252         * nptl/tst-cancel4-common.h: Likewise.
1253         * nptl/tst-cancel4.c (tf_read): Likewise.
1254         (tf_readv): Likewise.
1255         (tf_write): Likewise.
1256         (tf_writev): Likewise.
1257         (tf_sleep): Likewise.
1258         (tf_usleep): Likewise.
1259         (tf_nanosleep): Likewise.
1260         (tf_select): Likewise.
1261         (tf_pselect): Likewise.
1262         (tf_poll): Likewise.
1263         (tf_ppoll): Likewise.
1264         (tf_wait): Likewise.
1265         (tf_waitpid): Likewise.
1266         (tf_waitid): Likewise.
1267         (tf_sigpause): Likewise.
1268         (tf_sigsuspend): Likewise.
1269         (tf_sigwait): Likewise.
1270         (tf_sigwaitinfo): Likewise.
1271         (tf_sigtimedwait): Likewise.
1272         (tf_pause): Likewise.
1273         (tf_accept): Likewise.
1274         (tf_send): Likewise.
1275         (tf_recv): Likewise.
1276         (tf_recvfrom): Likewise.
1277         (tf_recvmsg): Likewise.
1278         (tf_open): Likewise.
1279         (tf_close): Likewise.
1280         (tf_pread): Likewise.
1281         (tf_pwrite): Likewise.
1282         (tf_preadv): Likewise.
1283         (tf_pwritev): Likewise.
1284         (tf_fsync): Likewise.
1285         (tf_fdatasync): Likewise.
1286         (tf_msync): Likewise.
1287         (tf_sendto): Likewise.
1288         (tf_sendmsg): Likewise.
1289         (tf_creat): Likewise.
1290         (tf_connect): Likewise.
1291         (tf_tcdrain): Likewise.
1292         (tf_msgrcv): Likewise.
1293         (tf_msgsnd): Likewise.
1294         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
1295         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
1297         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
1298         expected arguments.
1299         (do_test): Adapt to use libsupport.
1301 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
1303         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
1305         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
1306         (PF_MAX): Set to 44.
1307         (AF_SMC): New macro.
1309         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1310         kernel version to 4.11.
1312 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1314         [BZ #21280]
1315         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
1316         signal of subnormals and adjust the exponent of power of 2 down
1317         when low part has opposite sign.
1319 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1321         * sysdeps/powerpc/powerpc64le/Implies: New file.
1322         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
1323         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
1324         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
1325         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
1326         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
1327         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
1328         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
1329         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
1330         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
1331         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
1332         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
1333         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
1334         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
1335         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
1336         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
1337         * sysdeps/powerpc/preconfigure: New file.
1338         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
1339         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
1341 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
1343         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
1344         inclusion.
1345         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
1346         Remove.
1348 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
1350         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
1351         (XPG3): Rename standard to XPG4.
1352         * conform/Makefile: Likewise.
1353         * conform/list-header-symbols.pl: Likewise.
1354         * conform/data/aio.h-data: Likewise.
1355         * conform/data/arpa/inet.h-data: Likewise.
1356         * conform/data/complex.h-data: Likewise.
1357         * conform/data/ctype.h-data: Likewise.
1358         * conform/data/dlfcn.h-data: Likewise.
1359         * conform/data/fcntl.h-data: Likewise.
1360         * conform/data/fenv.h-data: Likewise.
1361         * conform/data/float.h-data: Likewise.
1362         * conform/data/fmtmsg.h-data: Likewise.
1363         * conform/data/ftw.h-data: Likewise.
1364         * conform/data/grp.h-data: Likewise.
1365         * conform/data/inttypes.h-data: Likewise.
1366         * conform/data/iso646.h-data: Likewise.
1367         * conform/data/langinfo.h-data: Likewise.
1368         * conform/data/libgen.h-data: Likewise.
1369         * conform/data/limits.h-data: Likewise.
1370         * conform/data/locale.h-data: Likewise.
1371         * conform/data/math.h-data: Likewise.
1372         * conform/data/mqueue.h-data: Likewise.
1373         * conform/data/ndbm.h-data: Likewise.
1374         * conform/data/net/if.h-data: Likewise.
1375         * conform/data/netdb.h-data: Likewise.
1376         * conform/data/netinet/in.h-data: Likewise.
1377         * conform/data/poll.h-data: Likewise.
1378         * conform/data/pthread.h-data: Likewise.
1379         * conform/data/pwd.h-data: Likewise.
1380         * conform/data/sched.h-data: Likewise.
1381         * conform/data/search.h-data: Likewise.
1382         * conform/data/semaphore.h-data: Likewise.
1383         * conform/data/signal.h-data: Likewise.
1384         * conform/data/spawn.h-data: Likewise.
1385         * conform/data/stdbool.h-data: Likewise.
1386         * conform/data/stdint.h-data: Likewise.
1387         * conform/data/stdio.h-data: Likewise.
1388         * conform/data/stdlib.h-data: Likewise.
1389         * conform/data/string.h-data: Likewise.
1390         * conform/data/strings.h-data: Likewise.
1391         * conform/data/stropts.h-data: Likewise.
1392         * conform/data/sys/mman.h-data: Likewise.
1393         * conform/data/sys/resource.h-data: Likewise.
1394         * conform/data/sys/select.h-data: Likewise.
1395         * conform/data/sys/socket.h-data: Likewise.
1396         * conform/data/sys/stat.h-data: Likewise.
1397         * conform/data/sys/statvfs.h-data: Likewise.
1398         * conform/data/sys/time.h-data: Likewise.
1399         * conform/data/sys/timeb.h-data: Likewise.
1400         * conform/data/sys/types.h-data: Likewise.
1401         * conform/data/sys/uio.h-data: Likewise.
1402         * conform/data/sys/un.h-data: Likewise.
1403         * conform/data/sys/wait.h-data: Likewise.
1404         * conform/data/syslog.h-data: Likewise.
1405         * conform/data/termios.h-data: Likewise.
1406         * conform/data/tgmath.h-data: Likewise.
1407         * conform/data/time.h-data: Likewise.
1408         * conform/data/ucontext.h-data: Likewise.
1409         * conform/data/unistd.h-data: Likewise.
1410         * conform/data/utmpx.h-data: Likewise.
1411         * conform/data/varargs.h-data: Likewise.
1412         * conform/data/wchar.h-data: Likewise.
1413         * conform/data/wctype.h-data: Likewise.
1415 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
1417         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
1418         version to 7 branch.
1420 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
1422         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
1423         earlyclobber to output operand of sqrt insn.
1424         (__ieee754_sqrtf): Ditto.
1426 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
1428         [BZ #21426]
1429         * misc/bits/types/struct_iovec.h: New file.
1430         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
1431         * include/bits/types/struct_iovec.h: New file.
1432         * bits/uio.h (struct iovec): Replace by inclusion of
1433         <bits/types/struct_iovec.h>.
1434         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
1435         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
1436         of <sys/uio.h>.
1437         * nptl/tst-cancel4.c: Include <sys/uio.h>
1438         * posix/test-errno.c: Likewise.
1439         * support/resolv_test.c: Likewise.
1440         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
1441         Remove.
1442         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1443         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1444         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1446         * conform/data/sys/socket.h-data (*_t): Allow.
1448 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1450         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
1451         assignment.
1453 2017-04-24  Daurnimator  <quae@daurnimator.com>
1454             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1456         [BZ #21340]
1457         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
1458         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
1459         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
1460         valid flags.
1461         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
1462         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
1463         POSIX_SPAWN_SETSID.
1464         * sysdeps/posix/spawni.c (__spawni): Likewise.
1465         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1466         * NEWS: Add note about POSIX_SPAWN_SETSID support.
1468 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1470         * sysdeps/generic/math_private.h: Move the declaration of many
1471         functions to sysdeps/generic/math_private_calls.h.
1472         * sysdeps/generic/math_private_calls.h: New file with the
1473         declarations of the functions removed from math_private.h
1474         macroized by floating-point type.
1476 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1478         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
1479         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
1480         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
1481         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
1482         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
1483         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
1485 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1487         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
1488         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
1489         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
1490         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
1491         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
1492         New Define.
1494 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1496         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
1497         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
1498         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
1499         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
1500         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
1501         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
1503 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1505         * sysdeps/s390/multiarch/ifunc-resolve.h
1506         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
1507         * sysdeps/s390/multiarch/8bit-generic.c
1508         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
1509         define ifunc resolvers.
1511 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1513         [BZ #20424]
1514         * manual/memory.texi (Replacing malloc): New section.
1515         (Allocating Storage For Program Data): Reference it.
1516         (The GNU Allocator): Likewise.
1518 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
1520         * stdlib/Versions (__strtod_internal): List explicitly, not as
1521         wildcard.
1522         (__strtof_internal): Likewise.
1523         (__strtold_internal): Likewise.
1524         (__strtol_internal): Likewise.
1525         (__strtoll_internal): Likewise.
1526         (__strtoul_internal): Likewise.
1527         (__strtoull_internal): Likewise.
1528         (__strtoq_internal): Likewise.
1529         (__strtouq_internal): Likewise.
1530         * wcsmbs/Versions (__wcstod_internal): Likewise.
1531         (__wcstof_internal): Likewise.
1532         (__wcstold_internal): Likewise.
1533         (__wcstol_internal): Likewise.
1534         (__wcstoll_internal): Likewise.
1535         (__wcstoul_internal): Likewise.
1536         (__wcstoull_internal): Likewise.
1538 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1540         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
1541         struct timespec definition.
1543 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1545         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
1547 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1549         * inet/rcmd.c (rresvport_af): Fix typo in comment.
1550         * inet/rexec.c (rexec_af): Likewise.
1552 2017-04-19  Zack Weinberg  <zackw@panix.com>
1554         * posix/tst-mmap-offset.c: Include stdint.h.
1555         * resolv/tst-ns_name_compress.c: Include string.h.
1556         * resolv/tst-resolv-edns.c: Include resolv.h.
1558 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1560         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
1561         with __glibc_likely.
1562         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
1563         Replace __builtin_expect with __glibc_unlikely.
1564         * resolv/res_init.c (__res_vinit): Likewise.
1565         * resolv/res_query.c (__libc_res_nquery): Likewise.
1566         * resolv/res_send.c (__libc_res_nsend): Likewise.
1568 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1570         [BZ #15722]
1571         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
1572         with SOCK_CLOEXEC.
1573         * resolv/res_send.c (send_vc, reopen): Likewise.
1574         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
1575         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
1576         Likewise.
1577         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
1578         * inet/rexec.c (rexec_af): Add comment.
1579         * inet/rcmd.c (rresvport_af): Likewise.
1581 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1583         * nscd/connections.c (have_accept4): Removed definition.
1584         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
1585         accept4 works.
1586         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
1587         ia64 because that was the first version with accept4 support.
1588         * support/Makefile (libsupport-routines): Add xaccept4.
1589         * support/xsocket.h (xaccept4): Declare.
1590         * support/xaccept4.c: New file.
1591         * socket/tst-accept4.c: New file.
1592         * socket/Makefile (tests): Add tst-accept4.
1593         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
1594         definition.
1595         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
1596         comment.
1597         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
1598         implementation is available.
1599         (accept4): Use the system call if available, otherwise use the
1600         socket call.
1601         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
1602         Set to 3.2.18.
1603         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1604         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
1605         accept4 is unconditionally available in later 3.2 stable kernels.
1606         (__ASSUME_ACCEPT4_SYSCALL): Define.
1607         * sysdeps/unix/sysv/linux/kernel-features.h
1608         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
1609         definitions.
1610         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1611         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
1613 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
1615         * conform/Makefile (tests-special): Do not make addition of
1616         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
1617         (generated): Do not make addition of $(conformtest-header-base)
1618         conditional on [$(cross-compiling) = no].
1620         [BZ #21267]
1621         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
1622         if defined by <asm/socket.h> and not previously defined.
1623         (IOCSIZE_SHIFT): Likewise.
1624         (IOC_IN): Likewise.
1625         (IOC_INOUT): Likewise.
1626         (IOC_OUT): Likewise.
1628 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
1630         [BZ #21396]
1631         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1632         Prefer_No_AVX512 if AVX512ER isn't available.
1633         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
1634         (index_arch_Prefer_No_AVX512): Likewise.
1635         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
1636         AVX512 version if Prefer_No_AVX512 is set.
1637         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
1638         Likewise.
1639         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
1640         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
1641         Likewise.
1642         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1643         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
1644         Likewise.
1645         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
1646         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
1647         Likewise.
1649 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
1651         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1652         Prefer_No_VZEROUPPER if AVX512ER is available.
1653         * sysdeps/x86/cpu-features.h
1654         (bit_cpu_AVX512PF): New.
1655         (bit_cpu_AVX512ER): Likewise.
1656         (bit_cpu_AVX512CD): Likewise.
1657         (bit_cpu_AVX512BW): Likewise.
1658         (bit_cpu_AVX512VL): Likewise.
1659         (index_cpu_AVX512PF): Likewise.
1660         (index_cpu_AVX512ER): Likewise.
1661         (index_cpu_AVX512CD): Likewise.
1662         (index_cpu_AVX512BW): Likewise.
1663         (index_cpu_AVX512VL): Likewise.
1664         (reg_AVX512PF): Likewise.
1665         (reg_AVX512ER): Likewise.
1666         (reg_AVX512CD): Likewise.
1667         (reg_AVX512BW): Likewise.
1668         (reg_AVX512VL): Likewise.
1670 2017-04-18  Florian Weimer  <fweimer@redhat.com>
1672         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
1673         O_CLOEXEC is defined.
1674         * include/fcntl.h (__have_o_cloexec): Remove declaration.
1675         * io/Makefile (aux): Remove.
1676         * io/have_o_cloexec.c: Remove file.
1677         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
1678         defined and works.
1679         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
1680         defined.
1681         * login/utmp_file.c (O_flags): Remove definition.
1682         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
1683         O_CLOEXEC works.
1684         (pututline_file): Likewise.
1685         * malloc/mtrace.c: Assume that O_CLOEXEC works.
1686         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
1687         definition.
1688         (internal_setgrent): Assume that O_CLOEXEC works.
1689         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
1690         Remove definition.
1691         (internal_setgrent): Assume that O_CLOEXEC works.
1692         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
1693         definition.
1694         (internal_setpwent): Assume that O_CLOEXEC works.
1695         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
1696         definition.
1697         (internal_setspent): Assume that O_CLOEXEC works.
1698         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
1699         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
1700         O_CLOEXEC is defined and works.
1701         * nss/Makefile (libnss_files-routines): Remove
1702         files-have_o_cloexec.
1703         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
1704         defined.
1705         * nss/nss_files/files-XXX.c (internal_setent): Assume that
1706         O_CLOEXEC is defined and works.
1707         * nss/nss_files/files-alias.c (internal_setent): Likewise.
1708         * nss/nss_files/files-have_o_cloexec.c: Remove.
1709         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
1710         defined.
1711         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
1712         and works.
1713         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
1714         definition.
1715         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
1716         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
1717         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
1718         (__opendirat, __opendir): Adjust opendir_oflags call.
1719         (check_have_o_cloexec): Remove.
1720         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
1721         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
1722         defined.
1723         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
1724         Remove definition.
1726 2017-04-18  Florian Weimer  <fweimer@redhat.com>
1728         * include/unistd.h (__have_dup3): Remove declaration.
1729         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
1730         dup3 is available.
1731         * libio/freopen64.c (freopen64): Likewise.
1732         * socket/Makefile (aux): Remove have_sock_cloexec.
1733         * socket/have_sock_cloexec.c: Remove file.
1734         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
1735         definition.
1736         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
1737         Likewise.
1738         * sysdeps/nacl/kernel-features.h: Update comment.
1740 2017-04-18  Florian Weimer  <fweimer@redhat.com>
1742         * include/unistd.h (__have_pipe2): Remove declaration.
1743         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
1744         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
1745         available.
1746         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
1747         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
1748         Remove definition.
1750 2017-04-18  Florian Weimer  <fweimer@redhat.com>
1752         * malloc/malloc.c (cfree): Turn into compat symbol.
1753         (__cfree): Remove alias.
1754         * stdlib/stdlib.h (cfree): Remove declaration.
1755         * malloc/malloc.h (cfree): Likewise.
1756         * manual/memory.texi (Freeing after Malloc): Remove cfree.
1757         * malloc/Versions (GLIBC_2.26): Add.
1759 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1761         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1762         (sysdep_routines): Add strrchr-power8.
1763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1764         (strrchr): Add __strrchr_power8 to list of strrchr functions.
1765         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
1766         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
1767         (strrchr): Add __strrchr_power8 to ifunc list.
1768         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
1770 2017-04-17  Rabin Vincent  <rabinv@axis.com>
1772         [BZ #21357]
1773         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
1774         Call free() outside of mutex.
1776 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1778         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
1779         is defined.
1780         * elf/rtld.c (process_envvars): Likewise.
1781         * sysdeps/posix/shm_open.c (shm_open): Likewise.
1782         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
1783         O_NOFOLLOW directly.
1784         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
1786 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1788         [BZ #21369]
1789         Remove EDNS fallback.
1790         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
1791         handling.
1792         * resolv/res_send.c (send_dg): Likewise.
1793         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
1794         "tcp." prefixes.
1795         (do_test): Send a "formerr."-prefixed query in an attempt to
1796         trigger EDNS fallback.
1798 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1800         [BZ #21361]
1801         Limit EDNS buffer size to 1200 bytes.
1802         * include/resolv.h (__res_nopt): Remove declaration.
1803         * resolv/Makefile (tests): tst-resolv-edns.
1804         (tst-resolv-edns): Link with -lresolv, -lpthread.
1805         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
1806         interval [512, 1200].
1807         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
1808         we can resize the buffer.
1809         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
1810         (__res_nopt): Declare.
1811         * resolv/tst-resolv-edns.c: New file.
1812         * resolv/resolv_test.h (struct resolv_edns_info): Define.
1813         (struct resolv_response_context): Add edns member.
1814         * resolv/resolv_test.c (struct query_info): Add edns member.
1815         (parse_query): Extract EDNS information from the query.
1816         (server_thread_udp_process_one): Propagate EDNS data.
1817         (server_thread_tcp_client): Likewise.
1819 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1821         [BZ #21359]
1822         * resolv/ns_name.c (ns_name_pack): Do not require an additional
1823         byte in the destination buffer.  Avoid out-of-bounds pointer
1824         arithmetic.
1825         * resolv/Makefile (tests): Add tst-ns_name_compress.
1826         (tst-ns_name_compress): Link with -lresolv.
1827         * resolv/tst-ns_name_compress.c: New file.
1828         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
1829         (response): Recognize LONG_NAME.
1830         (do_test): Add LONG_NAME tests.
1831         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
1832         for ns_name_unpack.  Add tests for ns_name_pton and
1833         ns_name_compress.
1835 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1837         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
1838         (res_nisourserver): Remove definition.
1839         (p_section, res_npquery, res_nisourserver): Remove declaration.
1840         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
1841         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
1842         ... here.
1843         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
1844         <resolv.h>.
1845         * resolv/res_query.c: Likewise.
1846         * resolv/res_debug.c (p_section): Define as static.
1848 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1850         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
1851         strncat-power8.
1852         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
1853         __strncat_power8 to ifunc list.
1854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1855         (strncat): Add __strncat_power8 to list of strncat functions.
1856         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
1858 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1860         [BZ #21270]
1861         * posix/tst-mmap-offset.c (do_prepare): New function.
1862         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
1863         (do_test_bz21270): New function.
1864         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
1865         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
1866         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
1867         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
1868         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
1869         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1870         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
1871         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
1872         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
1873         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
1874         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
1875         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1876         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1877         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1878         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
1879         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
1880         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1881         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
1882         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
1883         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
1884         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
1885         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
1886         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
1887         from auto-generation list.
1888         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
1889         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1890         * sysdeps/unix/sysv/linux/mmap.c: New file.
1891         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
1892         offsets and support for mmap2 syscall.
1894         * posix/globtest.sh: Add cleanup routine on trap 0.
1896 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1898         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
1899         implementation-specific function name and remove unneeded
1900         macros definition.
1901         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
1902         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
1903         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
1904         name if not defined and pass as parameter to macros accordingly.
1905         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1906         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1908         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
1909         implementation-specific function name and remove unneeded
1910         macros definition.
1911         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
1912         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
1913         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
1914         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
1915         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1916         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
1917         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
1918         name if not defined and pass as parameter to macros accordingly.
1919         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1920         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1921         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1922         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1923         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1924         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
1926         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
1927         implementation-specific function name and remove unneeded macros
1928         definition.
1929         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
1930         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
1931         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
1932         function name if not defined and pass as parameter to macros
1933         accordingly.
1934         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1935         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
1937         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
1938         implementation-specific function name and remove unneeded macros
1939         definition.
1940         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1941         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1942         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
1943         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1944         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
1945         not defined and pass as parameter to macros accordingly.
1946         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1947         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1948         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1949         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1951         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
1952         strcasestr implementation name and remove unneeded macros definition.
1953         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
1954         strstr implementation name and remove unneeded macros definition.
1955         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
1956         name if not defined and pass as parameter to macros accordingly.
1957         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
1959         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
1960         implementation-specific function name and remove unneeded macros
1961         definition.
1962         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
1963         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
1964         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
1965         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
1966         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
1967         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
1968         function name if not defined and pass as parameter to macros
1969         accordingly.
1970         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
1971         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
1972         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1973         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
1975         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
1976         the strlen implementation name and remove unneeded macros definition.
1977         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
1978         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1979         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
1980         the strnlen implementation name and remove unneeded macros definition.
1981         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
1982         name if not defined and pass as parameter to macros accordingly.
1983         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
1984         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1985         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1987         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
1988         the implementation-specific function name and remove unneeded
1989         macros definition.
1990         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
1991         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
1992         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1993         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1994         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
1995         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
1996         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1997         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1998         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1999         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
2000         name if not defined and pass as parameter to macros accordingly.
2001         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2002         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2003         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2004         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2005         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2006         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2007         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2008         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2010         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
2011         implementation-specific function name and remove unneeded macros
2012         definition.
2013         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2014         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2015         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
2016         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
2017         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2018         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
2019         function name if not defined.
2020         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2021         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2023 2017-04-11  Paul Clarke  <pc@us.ibm.com>
2025         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
2026         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
2027         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
2028         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
2030 2017-04-11  Florian Weimer  <fweimer@redhat.com>
2031             Zack Weinberg  <zackw@panix.com>
2033         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
2034         readdir64 as thread-safe.  Update warning about readdir_r.
2036 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2038         * sysdeps/unix/sysv/linux/x86/Implies: New file.
2039         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
2040         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
2041         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
2042         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
2043         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
2044         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2046 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2048         * sysdeps/i386/dl-procinfo.c: Include
2049         <sysdeps/x86/dl-procinfo.c>.
2050         * sysdeps/x86_64/dl-procinfo.c: Likewise.
2051         * sysdeps/x86/dl-procinfo.c: New file.
2053 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2055         * sysdeps/generic/math_private.h: Remove declarations of
2056         many functions that are already declared in math.h.
2057         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
2058         declaration for __frexpl.
2059         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
2060         the declarations for __scalbnl and fabsl.
2062 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
2064         [BZ #20831]
2065         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
2066         of __mprotect to change protection on the excess portion
2067         to disallow all access.
2069 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
2071         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
2072         HAS_CPU_FEATURE to check for SSE.
2073         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2074         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2075         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
2076         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
2077         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
2078         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
2079         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
2080         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
2081         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2082         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
2083         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2084         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
2085         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
2086         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
2087         (index_cpu_SSE): Likewise.
2088         (reg_SSE): Likewise.
2090 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
2092         * posix/getopt1.c: Include <config.h>, not "config.h".
2094 2017-04-07  Zack Weinberg  <zackw@panix.com>
2096         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
2097         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
2098         Mention in top-of-file boilerplate that these files are shared
2099         with gnulib.
2100         * posix/getopt.h, posix/bits/getopt_posix.h:
2101         Mention in top-of-file boilerplate that these files are NOT shared
2102         with gnulib, unlike the rest of the getopt implementation.
2104         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
2105         New files, intended to be shared with gnulib.
2106         * posix/bits/getopt_posix.h:
2107         New file, not intended to be shared with gnulib.
2108         * posix/getopt.h: Now just includes features.h,
2109         bits/getopt_core.h, and bits/getopt_ext.h.  Will
2110         no longer be shared with gnulib.
2111         * include/bits/getopt_core.h, include/bits/getopt_ext.h
2112         * include/bits/getopt_posix.h: New wrappers.
2113         * posix/Makefile: Install new headers.
2114         * posix/unistd.h, libio/stdio.h:
2115         Include bits/getopt_posix.h instead of getopt.h.
2117         * include/libc-symbols.h: For gnulib compatibility, define
2118         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
2119         _GL_ATTRIBUTE_CONST.
2120         * posix/getopt.c (_getopt_initialize): Mark argc and argv
2121         parameters with _GL_UNUSED.
2123         * posix/getopt.c: When used standalone, define __libc_use_alloca
2124         as always false and alloca to abort if called.
2125         (process_long_option): Rewrite handling of ambiguous long options
2126         to use a single boolean vector, not a linked list; use
2127         __libc_use_alloca to decide whether to allocate this using alloca.
2128         * posix/tst-getopt_long1.c: Adjust text of expected error message.
2130         * posix/getopt.c (process_long_option): New function split out
2131         from _getopt_internal_r.
2132         (_getopt_internal_r): Replace both copies of the long-option
2133         processing code with calls to process_long_option.
2134         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
2135         (do_test): Differentiate argv[0] in the two subtests.
2137         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
2138         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
2139         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
2141         * posix/getopt.h: Add backup definition of __nonnull for
2142         consistency with gnulib.  Define __getopt_argv_const to const
2143         if not already defined.
2144         (getopt): Update doc comment from gnulib.  Prototype
2145         unconditionally.  Add __nonnull annotation.
2146         (__posix_getopt): Add __nonnull annotation.
2147         (getopt_long, getopt_long_only): Use __getopt_argv_const in
2148         prototypes for consistency with gnulib.  Add __nonnull
2149         annotations.
2150         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
2151         (getopt_internal): Change 'argv' argument to type 'char **'.
2152         Remove now-unnecessary casts.
2153         (getopt, __posix_getopt): Eliminate repetition with a macro.
2154         Cast 'argv' to 'char **' when calling _getopt_internal.
2155         * posix/getopt1.c (getopt_long, getopt_long_only):
2156         Use __getopt_argv_const for consistency with gnulib.
2157         Cast 'argv' to 'char **' when calling _getopt_internal.
2158         (_getopt_long_r, _getopt_long_only_r):
2159         Change 'argv' argument to type 'char **'.
2160         (main): Constify 'long_options'.
2161         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
2162         (_getopt_long_r, _getopt_long_only_r):
2163         Change 'argv' argument to type 'char **'.
2165         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
2166         (locked_vfxprintf): New helper function. Handle arbitrary
2167         multibyte strings, not just ASCII.
2168         * include/stdio.h: Declare __fxprintf_nocancel.
2169         * posix/getopt.c: When _LIBC is defined, define fprintf to
2170         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
2171         to _IO_funlockfile.  When neither _LIBC nor
2172         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
2173         funlockfile as no-ops.
2174         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
2175         the standalone error-printing code can now be used for libc as
2176         well.  Add an flockfile/funlockfile pair around one case where
2177         the error message is printed in several chunks.  Don't use fputc.
2178         * posix/tst-getopt-cancel.c: New test.
2179         * posix/Makefile: Run it.
2181         * posix/getopt.c (_getopt_internal_r): Don't increment
2182         d->optind a second time when reporting ambiguous -W options.
2184         * posix/getopt_int.h: Include getopt.h.
2185         Use impl-namespace names for all arguments to _getopt_internal and
2186         _getopt_internal_r.
2187         Declare __ordering enum outside the struct.
2188         Harmonize comments with gnulib.
2189         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
2190         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
2191         #ifdef TEST block and make unconditional.  Do not define NULL.
2192         * posix/getopt.c: Partial merge from gnulib, covering the
2193         initial includes and global declarations, commentary, and
2194         a couple of semantically-neutral code changes.
2196         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
2197         Use '...' instead of `...' for quotation marks inside
2198         comments and strings.
2200         * config.h.in (USE_NONOPTION_FLAGS): Remove.
2201         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
2202         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2203         * posix/getopt_int.h: Likewise.
2204         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
2205         __libc_argc and __libc_argv externs, which were only used by
2206         #ifdef USE_NONOPTION_FLAGS blocks.
2207         * posix/getopt_init.c: Remove file.
2208         * posix/Makefile (routines): Remove getopt_init.
2209         * include/getopt.h: Don't declare __getopt_initialize_environment.
2210         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
2211         a comment.
2213 2017-04-07  Florian Weimer  <fweimer@redhat.com>
2215         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
2217 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2219         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
2220         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
2221         to __wrap_.udiv.
2222         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
2223         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
2225         * sysdeps/i386/symbol-hacks.h: New file.
2226         * sysdeps/m68k/symbol-hacks.h: New file.
2227         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
2228         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
2229         * sysdeps/unix/sysv/linux/i386/Makefile
2230         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
2231         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2232         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2233         * sysdeps/unix/sysv/linux/m68k/Makefile
2234         [$(subdir) = csu] (sysdep_routines): Likewise.
2235         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2236         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2238         [$(subdir) = csu] (sysdep_routines): Likewise.
2239         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2240         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2241         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2242         [$(subdir) = csu] (sysdep_routines): Likewise.
2243         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2244         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2245         * sysdeps/wordsize-32/Makefile: Remove file.
2246         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
2247         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
2249 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
2251         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
2252         (TEST_FUNCTION_ARGV): New.
2254 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2256         * elf/next.c: Import support/test-driver.c instead of
2257         test-skeleton.c and delete TEST_FUNCTION macro definition.
2258         * elf/nodelete.c: Likewise.
2259         * elf/order2.c: Likewise.
2260         * elf/tst-_dl_addr_inside_object.c: Likewise.
2261         * elf/tst-addr1.c: Likewise.
2262         * elf/tst-align.c: Likewise.
2263         * elf/tst-align2.c: Likewise.
2264         * elf/tst-audit11.c: Likewise.
2265         * elf/tst-audit12.c: Likewise.
2266         * elf/tst-audit2.c: Likewise.
2267         * elf/tst-audit9.c: Likewise.
2268         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
2269         * elf/tst-deep1.c: Likewise.
2270         * elf/tst-dl-iter-static.c: Likewise.
2271         * elf/tst-dlmodcount.c: Likewise.
2272         * elf/tst-dlmopen1.c: Likewise.
2273         * elf/tst-dlmopen2.c: Likewise.
2274         * elf/tst-dlmopen3.c: Likewise.
2275         * elf/tst-dlopen-aout.c: Likewise.
2276         * elf/tst-dlopenrpath.c: Likewise.
2277         * elf/tst-dlsym-error.c: Likewise.
2278         * elf/tst-execstack-needed.c: Likewise.
2279         * elf/tst-execstack-prog.c: Likewise.
2280         * elf/tst-execstack.c: Likewise.
2281         * elf/tst-global1.c: Likewise.
2282         * elf/tst-gnu2-tls1.c: Likewise.
2283         * elf/tst-latepthread.c: Likewise.
2284         * elf/tst-leaks1.c: Likewise.
2285         * elf/tst-linkall-static.c: Likewise.
2286         (do_test): New function.
2287         * elf/tst-nodelete-opened.c: Likewise.
2288         * elf/tst-nodelete.cc: Likewise.
2289         * elf/tst-nodelete2.c: Likewise.
2290         * elf/tst-noload.c: Likewise.
2291         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
2292         * elf/tst-order-main.c: Likewise.
2293         * elf/tst-pathopt.c: Likewise.
2294         * elf/tst-pie2.c: Likewise.
2295         * elf/tst-piemod1.c: Likewise.
2296         * elf/tst-prelink.c: Likewise.
2297         * elf/tst-protected1a.c: Likewise.
2298         * elf/tst-protected1b.c: Likewise.
2299         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
2300         and define _GNU_SOURCE macro.
2301         (cmdline_process_function): New function.
2302         * elf/tst-relsort1.c: Likewise.
2303         * elf/tst-stackguard1.c: Likewise, import getopt.h,
2304         and define _GNU_SOURCE macro.
2305         (cmdline_process_function): New function.
2306         * elf/tst-thrlock.c: Likewise.
2307         * elf/tst-tls-dlinfo.c: Likewise.
2308         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
2309         * elf/tst-tls1.c: Likewise.
2310         * elf/tst-tls10.c: Likewise.
2311         * elf/tst-tls11.c: Likewise.
2312         * elf/tst-tls12.c: Likewise.
2313         * elf/tst-tls13.c: Likewise.
2314         * elf/tst-tls14.c: Likewise.
2315         * elf/tst-tls15.c: Likewise.
2316         * elf/tst-tls16.c: Likewise.
2317         * elf/tst-tls17.c: Likewise.
2318         * elf/tst-tls18.c: Likewise.
2319         * elf/tst-tls19.c: Likewise.
2320         * elf/tst-tls2.c: Likewise.
2321         * elf/tst-tls3.c: Likewise.
2322         * elf/tst-tls4.c: Likewise.
2323         * elf/tst-tls5.c: Likewise.
2324         * elf/tst-tls6.c: Likewise.
2325         * elf/tst-tls7.c: Likewise.
2326         * elf/tst-tls8.c: Likewise.
2327         * elf/tst-tls9.c: Likewise.
2328         * elf/tst-tlsalign-extern.c: Likewise.
2329         * elf/tst-tlsalign.c: Likewise.
2330         * elf/tst-unique1.c: Likewise.
2331         * elf/tst-unique2.c: Likewise.
2332         * elf/vismain.c: Likewise.
2334 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2336         * string/test-strnlen.c (do_page_tests): New function
2337         to check length of strings ending at the page boundary.
2338         (test_main): Added call to the do_page_tests function.
2340 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2341             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2343         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2344         (sysdep_routines): Add strnlen-power8.
2345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2346         (strnlen): Add __strnlen_power8 to list of strnlen functions.
2347         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
2348         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
2349         (__strnlen): Add __strnlen_power8 to ifunc list.
2350         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
2352 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2354         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
2355         the TEST_FUNCTION macro definition.
2356         * wcsmbs/tst-mbrtowc2.c: Likewise.
2357         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2358         * wcsmbs/tst-wchar-h.c: Likewise.
2359         * wcsmbs/tst-wcpncpy.c: Likewise.
2360         * wcsmbs/tst-wcrtomb.c: Likewise.
2361         * wcsmbs/tst-wcsnlen.c: Likewise.
2362         * wcsmbs/tst-wcstof.c: Likewise.
2364 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2366         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
2367         CALL_THREAD_FCT macro usage.
2368         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
2369         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
2370         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
2372         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
2373         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2374         (__ASSUME_REQUEUE_PI): Likewise.
2375         * sysdeps/unix/sysv/linux/kernel-features.h
2376         (__ASSUME_REQUEUE_PI): Likewise.
2377         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2378         (__ASSUME_REQUEUE_PI): Likewise.
2379         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2380         (__ASSUME_REQUEUE_PI): Likewise.
2381         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2382         (__ASSUME_REQUEUE_PI): Likewise.
2384 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2386         * resolv/tst-resolv-canonname.c: New file.
2387         * resolv/Makefile (tests): Add tst-resolv-canonname.
2388         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
2390 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2392         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
2393         Declare.
2394         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
2395         (NS_MAXCDNAME): Remove definition.
2396         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
2397         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
2398         (NS_MAXCDNAME): Remove definition.
2399         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
2401 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2403         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
2404         call whose result is not used.
2406 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2408         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
2409         * resolv/Makefile (tests): Add tst-ns_name.
2410         (tst-ns_name): Link with -lresolv.
2411         (tst-ns_name.out): Depend on the input data file.
2413 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2415         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
2416         Clobber also r14.
2418 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
2420         [BZ #21253]
2421         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
2422         slack space by 32KiB.
2424 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
2426         [BZ #21338]
2427         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
2428         instead of incorrect do_set_arena_test
2430 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2432         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
2433         * math/bits/math-finite.h: Likewise.
2435 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
2437         [BZ #21289]
2438         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
2440 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2442         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
2443         non expected inotify_add_watch and quotactl return.
2445 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2447         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
2448         to int32_t.
2449         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
2450         as returning int32_t.
2452 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2454         * math/math.h: Include bits/math-finite.h once per
2455         floating-point type.
2456         * math/bits/math-finite.h: Macroize all declarations by
2457         floating-point type.
2459 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2461         [BZ #21182]
2462         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
2463         near end of a page.
2464         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
2465         overflow calculation.
2467 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
2469         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
2470         (IMPL) Call with 1 instead of 0 as argument.
2472 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2474         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
2475         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
2476         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
2477         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
2478         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
2479         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
2480         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
2481         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
2482         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
2483         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
2484         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
2485         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2486         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2487         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
2488         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2489         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2490         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2491         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2492         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
2493         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
2494         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
2495         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
2496         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
2497         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
2498         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
2499         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
2500         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
2501         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
2502         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
2503         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
2504         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
2505         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
2506         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
2507         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
2508         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
2509         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
2510         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
2511         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
2512         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
2513         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
2514         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
2515         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
2516         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
2517         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
2518         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
2519         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
2520         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
2521         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
2522         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
2523         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
2524         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
2525         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
2526         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
2527         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
2528         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
2529         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
2530         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2531         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
2532         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
2533         defined.
2534         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
2535         __NR_setgroups32 if defined.
2536         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
2537         if defined.
2538         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
2539         __NR_setresgid32 is defined.
2540         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
2541         __NR_setresuid32 if defined.
2542         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
2543         __NR_setreuid32 if defined.
2544         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
2545         defined.
2546         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
2547         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
2548         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
2549         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
2550         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
2551         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
2552         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
2553         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
2554         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
2555         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
2556         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
2557         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2558         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2559         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
2560         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2561         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2562         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2563         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2564         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
2565         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
2566         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
2567         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
2568         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
2569         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
2570         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
2571         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
2572         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
2573         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
2574         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
2575         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
2576         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
2577         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
2578         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
2579         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
2580         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
2581         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
2582         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
2583         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
2584         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
2585         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
2586         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
2587         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
2588         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
2589         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
2590         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
2591         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
2592         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
2593         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
2594         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
2595         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
2596         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
2597         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
2598         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
2599         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
2600         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
2601         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
2602         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2603         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
2604         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
2605         defined.
2606         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
2607         __NR_setgroups32 if defined.
2608         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
2609         if defined.
2610         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
2611         __NR_setresgid32 is defined.
2612         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
2613         __NR_setresuid32 if defined.
2614         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
2615         __NR_setreuid32 if defined.
2616         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
2617         defined.
2619 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
2621         [BZ #21277]
2622         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
2623         unconditionally.
2624         (IMAXBEL): Likewise.
2625         (IUTF8): Likewise.
2627 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2629         * sysdeps/aarch64/libm-test-ulps: Update.
2631 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
2633         * README.tunables: Updated descriptions.
2634         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
2635         * scripts/gen-tunables.awk: Updated the code related to the
2636         commit.
2638 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
2640         * benchtests/Makefile (string-benchset): Add memcpy-random.
2641         * benchtests/bench-memcpy-random.c: New file.
2643 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2645         * stdio-common/printf.h (register_printf_modifier): Change the
2646         order of __wur and __THROW.
2647         (register_printf_type): Likewise.
2649 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2651         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
2652         test_main ().
2653         (CMDLINE_PROCESS): Use function instead of defined macro.
2654         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
2655         <suppport/support.h> to use set_fortify_handler().
2656         * string/bug-envz1.c: Import support/test-driver.c instead of
2657         test-skeleton.c.
2658         * string/bug-strcoll2.c: Likewise.
2659         * string/bug-strtok1.c: Likewise.
2660         * string/stratcliff.c: Likewise.
2661         * string/test-ffs.c: Likewise.
2662         * string/test-memccpy.c: Likewise.
2663         * string/test-memchr.c: Likewise.
2664         * string/test-memcmp.c: Likewise.
2665         * string/test-memcpy.c: Likewise.
2666         * string/test-memmem.c: Likewise.
2667         * string/test-memmove.c: Likewise.
2668         * string/test-memrchr.c: Likewise.
2669         * string/test-memset.c: Likewise.
2670         * string/test-rawmemchr.c: Likewise.
2671         * string/test-strcasecmp.c: Likewise.
2672         * string/test-strcasestr.c: Likewise.
2673         * string/test-strcat.c: Likewise.
2674         * string/test-strchr.c: Likewise.
2675         * string/test-strcmp.c: Likewise.
2676         * string/test-strcpy.c: Likewise.
2677         * string/test-string.h: Likewise.
2678         * string/test-strlen.c: Likewise.
2679         * string/test-strncasecmp.c: Likewise.
2680         * string/test-strncat.c: Likewise.
2681         * string/test-strncmp.c: Likewise.
2682         * string/test-strncpy.c: Likewise.
2683         * string/test-strnlen.c: Likewise.
2684         * string/test-strpbrk.c: Likewise.
2685         * string/test-strrchr.c: Likewise.
2686         * string/test-strspn.c: Likewise.
2687         * string/test-strstr.c: Likewise.
2688         * string/tst-bswap.c: Likewise.
2689         * string/tst-cmp.c: Likewise.
2690         * string/tst-endian.c: Likewise.
2691         * string/tst-inlcall.c: Likewise.
2692         * string/tst-strcoll-overflow.c: Likewise.
2693         * string/tst-strfry.c: Likewise.
2694         * string/tst-strlen.c: Likewise.
2695         * string/tst-strtok.c: Likewise.
2696         * string/tst-strtok_r.c: Likewise.
2697         * string/tst-strxfrm.c: Likewise.
2698         * string/tst-strxfrm2.c: Likewise.
2699         * string/tst-svc.c: Likewise.
2700         * string/tst-svc2.c: Likewise.
2702 2017-03-22  Zack Weinberg  <zackw@panix.com>
2704         * stdio-common/bug25.c: Include stdlib.h.
2705         * support/tst-support_format_dns_packet.c: Include stdio.h,
2706         stdlib.h, and string.h.
2707         * support/tst-support_record_failure.c: Include string.h.
2708         * support/tst-support_record_failure-2.sh: Adjust line number
2709         expectations and correct a typo in an error message.
2711 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2713         [BZ #21258]
2714         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
2715         Define only if _dl_runtime_resolve is defined to
2716         _dl_runtime_resolve_sse_vex.
2717         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
2718         Fallthrough to _dl_runtime_resolve_sse_vex.
2720 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
2722         * INSTALL: Regenerated.
2724 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
2726         * config.h.in: Add LINK_OBSOLETE_NSL.
2727         * config.make.in: Add build-obsolete-nsl.
2728         * configure.ac: Add obsolete-nsl option.
2729         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
2730         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
2731         * include/rpcsvc/nislib.h: Likewise.
2732         * include/rpcsvc/ypclnt.h: Likewise.
2733         * manual/install.texi: Document --enable-obsolete-nsl.
2734         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
2735         * nis/nis_add.c: Replace libnsl_hidden_def with
2736         libnsl_hidden_nolink_def.
2737         * nis/nis_addmember.c: Likewise.
2738         * nis/nis_call.c: Likewise.
2739         * nis/nis_clone_obj.c: Likewise.
2740         * nis/nis_defaults.c: Likeise.
2741         * nis/nis_domain_of_r.c: Likewise.
2742         * nis/nis_error.c: Likewise.
2743         * nis/nis_file.c: Likewise.
2744         * nis/nis_free.c: Likewise.
2745         * nis_local_names.c: Likewise.
2746         * nis/nis_lookup.c: Likewise.
2747         * nis/nis_modify.c: Likewise.
2748         * nis/nis_print.c: Likewise.
2749         * nis/nis_remove.c: Likewise.
2750         * nis/nis_table.c: Likewise.
2751         * nis/nis_util.c: Likewise.
2752         * nis/nis_xdr.c: Likewise.
2753         * nis/yp_xdr.c: Likewise.
2754         * nis/ypclnt.c: Likewise.
2755         * nis/ypupdate_xdr.c: Likewise.
2756         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
2757         * nis/nis_clone_dir.c: Likewise.
2758         * nis/nis_clone_res.c: Likewise.
2759         * nis/nis_creategroup.c: Likewise.
2760         * nis/nis_destroygroup.c: Likewise.
2761         * nis/nis_domain_of.c: Likewise.
2762         * nis/nis_getservlist.c: Likewise.
2763         * nis/nis_ismember.c: Likewise.
2764         * nis/nis_mkdir.c: Likewise.
2765         * nis/nis_ping.c: Likewise.
2766         * nis/nis_print_group_entry.c: Likewise.
2767         * nis/nis_removemember.c: Likewise.
2768         * nis/nis_rmdir.c: Likewise.
2769         * nis/nis_server.c: Likewise.
2770         * nis/nis_subr.c: Likewise.
2771         * nis/nis_verifygroup.c: Likewise.
2773 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2775         * malloc/tst-interpose-aux.c (check_for_allocations):
2776         Move compiler barrier before free.
2778 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
2780         [BZ #21279]
2781         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
2782         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
2783         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
2784         x86_64-x32-linux.
2785         (mq_attr.mq_maxmsg): Likewise.
2786         (mq_attr.mq_msgsize): Likewise.
2787         (mq_attr.mq_curmsgs): Likewise.
2789         [BZ #21278]
2790         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
2791         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
2792         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
2793         mips-o32-linux.
2795         [BZ #21268]
2796         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
2797         if [__USE_MISC]
2798         (NL3): Likewise.
2800 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
2802         [BZ #21275]
2803         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
2804         __stack to __stackbase.
2805         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
2806         checks so we can include defined(__ia64__) first.
2808 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
2810         * sysdeps/unix/sysv/linux/ttyname.h: New file.
2811         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
2812         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
2813         Call is_pty when the link does not exist or does not match, fail
2814         with ENODEV when it returns true.
2815         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
2816         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
2817         Call is_pty when the link does not exist or does not match, fail
2818         with ENODEV when it returns true.
2820 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
2822         [BZ #16437]
2823         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
2824         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2825         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
2826         x86_64-x32-linux.
2827         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
2828         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
2829         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
2831         [BZ #21261]
2832         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
2833         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
2834         names for all fields.
2835         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
2836         for jmp_buf field renaming.
2837         (_JMPBUF_UNWINDS_ADJ): Likewise.
2839         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
2840         with allow-header.
2842 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
2844         * malloc/malloc.c (unlink): Add consistency check between size and
2845         next->prev->size, to further harden against 1-byte overflows.
2847 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
2849         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
2850         CPU_FEATURES_CPU_P.
2852 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
2854         [BZ #21259]
2855         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
2856         unconditionally, not just for [__USE_MISC].
2858         [BZ #17786]
2859         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
2860         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
2861         mips-o32-linux.
2863         [BZ #21260]
2864         * sysdeps/unix/sysv/linux/alpha/Makefile
2865         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2866         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
2868         * conform/conformtest.pl ($cross): New variable.
2869         (--cross): New command-line option.
2870         (runtest): Skip test execution when cross-compiling.
2871         * conform/Makefile (conformtest-cross): New variable.
2872         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
2873         conformtest.pl.
2875         * conform/conformtest.pl ($xfail_str): New variable.
2876         (--xfail=): New command-line option.
2877         (top level): Handle expectations starting xfail[cond]-.
2878         * conform/Makefile (conformtest-xfail): New variable.
2879         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
2880         conformtest.pl.
2882 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
2884         * conform/conformtest.pl: Use compilation instead of execution
2885         tests for testing values of constants and usability in #if.
2887 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2889         * math/auto-libm-test-in: Mark some catan and catanh as
2890         xfail-rounding:ibm128-libgcc.
2891         * math/auto-libm-test-out-catan: Regenerate.
2892         * math/auto-libm-test-out-catanh: Likewise.
2894 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
2896         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
2897         (__END_NAMESPACE_STD): Likewise.
2898         (__USING_NAMESPACE_STD): Likewise.
2899         (__BEGIN_NAMESPACE_C99): Likewise.
2900         (__END_NAMESPACE_C99): Likewise.
2901         (__USING_NAMESPACE_C99): Likewise.
2902         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
2903         undefine macro.
2904         (_Mdouble_END_NAMESPACE): Likewise.
2905         * ctype/ctype.h: Do not handle C++ namespaces.
2906         * libio/bits/stdio-ldbl.h: Likewise.
2907         * libio/stdio.h: Likewise.
2908         * locale/locale.h: Likewise.
2909         * math/bits/mathcalls.h: Likewise.
2910         * setjmp/setjmp.h: Likewise.
2911         * signal/signal.h: Likewise.
2912         * stdlib/bits/stdlib-float.h: Likewise.
2913         * stdlib/bits/stdlib-ldbl.h: Likewise.
2914         * stdlib/stdlib.h: Likewise.
2915         * string/string.h: Likewise.
2916         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2917         * time/bits/types/clock_t.h: Likewise.
2918         * time/bits/types/struct_tm.h: Likewise.
2919         * time/bits/types/time_t.h: Likewise.
2920         * time/time.h: Likewise.
2921         * wcsmbs/bits/wchar-ldbl.h: Likewise.
2922         * wcsmbs/uchar.h: Likewise.
2923         * wcsmbs/wchar.h: Likewise.
2924         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
2925         * wctype/wctype.h: Do not handle C++ namespaces.
2926         * scripts/begin-end-check.pl: Remove.
2927         * Makefile (installed-headers): Likewise.
2928         (tests-special): Do not add $(objpfx)begin-end-check.out.
2929         ($(objpfx)begin-end-check.out): Remove.
2931 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
2932             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2934         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
2935         (DL_PLATFORM_INIT): New define.
2936         (dl_platform_init): New function.
2937         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
2938         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
2939         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
2940         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
2941         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
2943 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
2945         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
2946         instead of PIC.
2948 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
2950         [BZ #21094]
2951         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
2952         24+24+24-bit pi for wider range of values around pi/2.
2953         * math/auto-libm-test-in: Add more tests of cos and tan.
2954         * math/auto-libm-test-out-cos: Regenerated.
2955         * math/auto-libm-test-out-tan: Likewise.
2957 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
2959         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
2960         (RTLD_START): Don't record stack end address in _dl_start_user.
2962 2017-03-15  Alexey Neyman  <stilor@att.net>
2964         [BZ #21088]
2965         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
2966         around definitions match those around use.
2968 2017-03-15  Alexey Neyman  <stilor@att.net>
2970         * configure.ac: Avoid empty subexpression in grep.
2971         * configure: Regenerate.
2973 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2975         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
2976         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
2977         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
2978         (test_wrp_rv): Fix format.
2979         (test_wrp_rv2): New macro.
2980         (do_test): Handle mlock return on 64 bits kernels with 32 bits
2981         binaries.
2983 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
2985         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
2986         Use a union when storing pointers.
2987         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
2988         cast result when passing to INIT_VEC_PTRS_LOOP.
2989         (VECTOR_WRAPPER_fFF_3): Likewise.
2990         (VECTOR_WRAPPER_fFF_4): Likewise.
2992 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2994         * include/bits/mathcalls-helper-functions.h: New file.
2995         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
2996         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
2997         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
2998         math/bits/mathcalls-helper-functions.h.
2999         * math/bits/mathcalls-helper-functions.h: New file.
3000         * math/math.h: Include bits/mathcalls-helper-functions.h for
3001         float, double, and long double.
3003 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3005         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
3006         instead of feraiseexcept.
3008 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3010         [BZ #21243]
3011         * support/temp_file.c (support_delete_temp_files): Add comment
3012         about ignored errors.
3014 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3016         [BZ #21244]
3017         * support/xclose.c: New file.
3018         * support/Makefile (libsupport-routines): Add xclose.
3019         * support/xunistd.h (xclose): Declare.
3020         * support/resolv_test.c (server_thread_tcp_client)
3021         (server_thread_tcp, make_server_sockets, resolv_test_start)
3022         (resolv_test_end): Call xclose instead of close.
3023         * support/support_enter_network_namespace.c
3024         (support_enter_network_namespace): Likewise.
3025         * support/support_run_diff.c (write_to_temp_file): Likewise.
3027 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3029         * support/support_format_dns_packet.c (support_format_dns_packet):
3030         Handle CNAME records in the response.  Extract RDATA names from
3031         rdata, not the whole packet.  Check AAAA record length.
3032         * support/tst-support_format_dns_packet.c: New file.
3033         * support/Makefile (tests): Add tst-support_format_dns_packet.
3034         (tst-support_format_dns_packet): Link against libresolv.
3036 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3038         [BZ #21232]
3039         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
3040         posix_fadvise64 weak_alias for static build.
3042 2017-03-14  Andreas Schwab  <schwab@suse.de>
3044         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
3045         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
3046         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
3047         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
3048         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
3049         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
3050         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
3051         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
3053 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3055         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
3056         posix error code.
3057         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3059 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3061         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
3062         no_isolate usage for SH.
3064 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
3066         [BZ #15105]
3067         [BZ #19463]
3068         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
3069         * inet/rcmd.c (rcmd_af): Likewise.
3070         * inet/rexec.c   (rexec_af): Likewise.
3071         * intl/dcigettext.c (_LIBC): Likewise.
3072         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
3073         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
3074         * locale/setlocale.c (setlocale): Likewise.
3075         * posix/spawn_faction_addopen.c
3076         (posix_spawn_file_actions_addopen): Likewise.
3077         * stdlib/putenv.c (putenv): Use __strndup.
3078         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
3079         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
3080         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
3081         (__Need_M_And_C) Remove define/undef.
3082         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
3083         (__malloc_and_calloc_defined): Remove define.
3084         * string/bits/string2.h (__strdup): Remove define.
3085         (strdup): Likewise.
3086         (__strndup): Likewise.
3087         (strndup): Likewise.
3089 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
3091         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
3092         macro.
3093         (IPV6_ADDR_PREFERENCES): Likewise.
3094         (IPV6_MINHOPCOUNT): Likewise.
3095         (IPV6_ORIGDSTADDR): Likewise.
3096         (IPV6_RECVORIGDSTADDR): Likewise.
3097         (IPV6_TRANSPARENT): Likewise.
3098         (IPV6_UNICAST_IF): Likewise.
3099         (IPV6_RECVFRAGSIZE): Likewise.
3101 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
3103         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
3105 2017-03-12  Alexey Neyman <stilor@att.net>
3107         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
3108         in R_SH_DIR32 case is always false when inlined from
3109         dl-conflict.c. Ifdef out to prevent GCC from insertin an
3111 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
3113         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3114         (__ASSUME_RECV_SYSCALL): Replace duplicate by
3115         __ASSUME_SEND_SYSCALL.
3117 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
3119         * sunrpc/Makefile: don't build and install rpcsvc header
3120         files, rpcgen and librpcsvc.a by default.
3122 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
3124         * math/auto-libm-test-out-catan: Regenerated.
3125         * math/auto-libm-test-out-catanh: Likewise.
3126         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3128 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
3130         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
3131         for long double with corrected test expectations.
3133 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3135         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
3136         Define.
3137         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3138         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
3139         * sysdeps/unix/sysv/linux/nios2/sysdep.h
3140         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
3141         * sysdeps/unix/sysv/linux/tile/sysdep.h
3142         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
3143         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3144         (__ASSUME_RECV_SYSCALL): Define.
3145         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3146         (__ASSUME_RECV_SYSCALL): Likewise.
3147         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3148         (__ASSUME_RECV_SYSCALL): Likewise.
3149         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3150         (__ASSUME_RECV_SYSCALL): Likewise.
3151         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3152         (__ASSUME_RECV_SYSCALL): Likewise.
3153         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3154         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
3155         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3156         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3157         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3158         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3159         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
3160         auto-generation list.
3161         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3162         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3163         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
3164         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3165         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3166         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
3167         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
3168         __ASSUME_SENDTO_SYSCALL.
3169         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
3170         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
3171         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
3173         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
3174         auto-generation list.
3175         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3176         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3177         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3178         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3179         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3180         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3181         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3182         * sysdeps/unix/sysv/linux/kernel-features.h
3183         (__ASSUME_SENDTO_SYSCALL): Define by default.
3184         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3185         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
3186         __NR_sendto.
3187         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3188         (__ASSUME_SENDTO_SYSCALL): Likewise.
3189         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3190         (__ASSUME_SENDTO_SYSCALL): Likewise.
3191         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3192         (__ASSUME_SENDTO_SYSCALL): Remove definition.
3193         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3194         (__ASSUME_SENDTO_SYSCALL): Likewise.
3195         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
3196         (__ASSUME_SENDTO_SYSCALL): Likewise.
3197         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
3199         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
3200         auto-generation list.
3201         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3202         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3203         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3204         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3205         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3206         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3207         (__ASSUME_RECV_SYSCALL): New define.
3208         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3209         (__ASSUME_RECV_SYSCALL): Likewise.
3210         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3211         (__ASSUME_RECV_SYSCALL): Likewise.
3212         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3213         (__ASSUME_RECV_SYSCALL): Likewise.
3214         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3215         (__ASSUME_RECV_SYSCALL): Likewise.
3216         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3217         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3218         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3219         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3220         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3221         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3222         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
3223         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
3224         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
3225         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
3226         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
3227         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
3229         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
3230         auto-generation list.
3231         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3232         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3233         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3234         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3235         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3236         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3237         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3238         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3239         (__ASSUME_RECVFROM_SYSCALL): Define by default.
3240         * sysdeps/unix/sysv/linux/kernel-features.h
3241         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
3242         __NR_recvfrom.
3243         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3244         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3245         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3246         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3247         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3248         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
3249         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3250         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3251         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3252         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3253         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3254         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3255         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
3257         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
3258         auto-generation list.
3259         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3260         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3261         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3262         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3263         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3264         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3265         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3266         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
3267         * sysdeps/unix/sysv/linux/kernel-features.h
3268         (__ASSUME_CONNECT_SYSCALL): Define.
3269         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3270         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
3271         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3272         (__ASSUME_CONNECT_SYSCALL): Likewise.
3273         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3274         (__ASSUME_CONNECT_SYSCALL): Likewise.
3275         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3276         (__ASSUME_CONNECT_SYSCALL): Likewise.
3278         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
3279         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
3280         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
3281         auto-generation list.
3282         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3283         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3284         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3285         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3286         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3287         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3288         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3289         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3290         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3291         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3292         * sysdeps/unix/sysv/linux/kernel-features.h
3293         (__ASSUME_ACCEPT_SYSCALL): New define.
3294         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3295         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3296         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
3297         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3298         (__ASSUME_ACCEPT_SYSCALL): Define.
3299         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3300         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3301         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3302         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3303         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3304         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3305         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3306         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3307         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
3309 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
3310             Zack Weinberg  <zackw@panix.com>
3312         * posix/test-errno.c: New file.
3313         * posix/Makefile (tests): Add test-errno.
3314         * sysdeps/unix/sysv/linux/test-errno.c: New file.
3315         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
3317 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
3319         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3321 2017-03-07  Florian Weimer  <fweimer@redhat.com>
3323         * time/tzset.c (compute_offset): Open-code min macro.
3324         (min, max, sign): Remove.
3326 2017-03-07  Florian Weimer  <fweimer@redhat.com>
3328         [BZ #15576]
3329         Remove TZNAME_MAX limit from sysconf.
3330         * include/time.h (__tzname_cur_max, __tzname_max): Remove
3331         declaration.
3332         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
3333         compute_tzname_max.
3334         (compute_tzname_max): Remove.
3335         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
3336         (update_vars): Do not update __tzname_cur_max.
3337         (tzset_internal): Remove argument.
3338         (__tzset): Adjust call to tzset_internal.
3339         (__tz_convert): Likewise.
3341         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
3342         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3343         * manual/conf.texi (Sysconf Definition): Update comment.
3345 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3347         [BZ #21209]
3348         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
3349         AT_SECURE processes.
3350         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
3351         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
3352         (test_child): Likewise.
3353         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
3355 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3357         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
3359 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3361         * sysdeps/s390/atomic-machine.h
3362         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
3363         (__arch_compare_and_exchange_val_8_acq,
3364         __arch_compare_and_exchange_val_16_acq,
3365         __arch_compare_and_exchange_val_32_acq,
3366         __arch_compare_and_exchange_val_64_acq):
3367         Delete macro.
3368         (atomic_compare_and_exchange_val_acq,
3369         atomic_compare_and_exchange_val_rel,
3370         atomic_compare_and_exchange_bool_acq,
3371         catomic_compare_and_exchange_bool_acq,
3372         atomic_exchange_acq, atomic_exchange_rel,
3373         atomic_exchange_and_add_acq,
3374         atomic_exchange_and_add_rel,
3375         catomic_exchange_and_add, atomic_or_val,
3376         atomic_or, catomic_or, atomic_bit_test_set,
3377         atomic_and_val, atomic_and, catomic_and):
3378         Define macros with help of C11 atomic builtins.
3380 2017-03-03  Justus Winter <justus@gnupg.org>
3382         * sysdeps/mach/hurd/ftruncate64.c: New file.
3383         * sysdeps/mach/hurd/truncate64.c: Likewise.
3385 2017-03-03  Florian Weimer  <fweimer@redhat.com>
3387         * time/tzfile.c (NOID): Do not define.
3388         * time/tzset.c (NOID): Likewise.
3390 2017-03-03  Florian Weimer  <fweimer@redhat.com>
3392         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
3394 2017-03-02  Florian Weimer  <fweimer@redhat.com>
3396         * elf/get-dynamic-info.h: Remove header file inclusion guard.
3398 2017-03-02  Florian Weimer  <fweimer@redhat.com>
3400         [BZ #21015]
3401         * manual/install.texi (Configuring and compiling): Document
3402         --enable-bind-now.
3403         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
3404         (build-shlib-helper): Use $(LDFLAGS-lib.so).
3405         (format.lds): Likewise.
3406         [bind-now] (LDFLAGS-c.so): Remove.
3407         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
3408         be R_X86_64_GLOB_DAT.
3409         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
3410         relocation can be R_386_GLOB_DAT.
3411         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
3412         relocaiton can be R_ALPHA_GLOB_DAT.
3413         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
3415 2017-03-01  Zack Weinberg  <zackw@panix.com>
3417         * include/libc-pointer-arith.h: New file.  Define
3418         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
3419         PTR_ALIGN_DOWN here.
3420         * include/libc-internal.h: Definitions of above macros
3421         moved from here.  Don't include libc-diag.h anymore either.
3422         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
3423         Don't include libc-internal.h.
3425         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
3426         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
3427         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
3428         * string/strcoll_l.c, sysdeps/nacl/brk.c
3429         * sysdeps/unix/clock_settime.c
3430         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
3431         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
3432         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
3433         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
3434         Don't include libc-internal.h.
3436         * elf/get-dynamic-info.h, iconv/loop.c
3437         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
3438         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
3439         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
3440         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
3441         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3442         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
3443         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3444         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
3445         * sysdeps/ieee754/ldbl-128/k_tanl.c
3446         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3447         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3448         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
3449         Include libc-diag.h instead of libc-internal.h.
3451         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
3452         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
3453         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
3454         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
3455         * sysdeps/unix/sysv/linux/spawni.c
3456         * sysdeps/x86_64/nptl/tls.h:
3457         Include libc-pointer-arith.h instead of libc-internal.h.
3459         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
3460         * sysdeps/x86_64/atomic-machine.h:
3461         Add multiple include guard.
3463         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
3464         * string/strcasestr.c: No need to include config.h.
3465         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
3466         sys/auxv.h. Don't include sysdep.h.
3467         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
3469         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
3470         DL_LOOKUP_ADDRESS.
3471         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
3472         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
3473         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
3474         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
3475         of ARTIFICIAL_LIMIT.
3476         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
3477         declaration of __clone2.
3479 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3481         * scripts/backport-support.sh (latest_commit): New file.
3483 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3485         [BZ #20257]
3486         * inet/Makefile (routines): Add deadline.
3487         (tests-static): Add tst-deadline.
3488         * inet/net-internal.h (struct deadline_current_time)
3489         (__deadline_current_time, struct deadline, __deadline_is_infinite)
3490         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
3491         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
3492         * inet/deadline.c: New file.
3493         * inet/tst-deadline.c: Likewise.
3494         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
3495         tst-udp-timeout, tst-udp-garbage.
3496         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
3497         explicitly.
3498         (tst-udp-garbage): Likewise.  Also link against thread library.
3499         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
3500         struct layout is part of the ABI.
3501         (clntudp_call): Rework timeout handling.
3502         * sunrpc/tst-udp-garbage.c: New file.
3503         * sunrpc/tst-udp-nonblocking.c: Likewise.
3504         * sunrpc/tst-udp-timeout.c: Likewise.
3506 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3508         [BZ #5010]
3509         * sunrpc/svc.c (svc_is_mapped): Remove.
3510         (svc_unregister): Obtain mapped status while the service is still
3511         registered.
3512         * sunrpc/Makefile [have-thread-library] (tests): Add
3513         tst-svc_register.
3514         (tst-svc_register): Link against libc.so explicitly and the thread
3515         library.
3516         * sunrpc/tst-svc_register.c: New file.
3518 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3520         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
3521         * sysdeps/pthread/bits/sigthread.h: Likewise.
3523 2017-02-27  Florian Weimer  <fweimer@redhat.com>
3525         [BZ #21115]
3526         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
3527         * sunrpc/Makefile (tests): Add tst-udp-error.
3528         (tst-udp-error): Link against libc.so explicitly.
3529         * sunrpc/tst-udp-error: New file.
3531 2017-02-25  Zack Weinberg  <zackw@panix.com>
3533         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
3534         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
3536         * sysdeps/generic/math_ldbl.h
3537         * sysdeps/ia64/fpu/math_ldbl.h
3538         * sysdeps/ieee754/ldbl-128/math_ldbl.h
3539         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3540         * sysdeps/ieee754/ldbl-96/math_ldbl.h
3541         * sysdeps/powerpc/fpu/math_ldbl.h
3542         * sysdeps/x86_64/fpu/math_ldbl.h:
3543         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
3544         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
3545         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
3546         Add copyright notices.
3548         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3549         Don't use EXTRACT_WORDS64.
3551         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
3552         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
3553         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
3554         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
3555         Include math_ldbl.h, not math_private.h.
3557 2017-02-25  Zack Weinberg  <zackw@panix.com>
3559         * include/libc-diag.h: New file.  Define ignore_value,
3560         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
3561         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
3563         * include/libc-internal.h: Definitions of above macros moved from
3564         here.  Include libc-diag.h.  Add copyright notice.
3566         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
3567         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
3568         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
3569         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
3570         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
3571         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
3572         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
3573         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
3574         Include libc-diag.h instead of libc-internal.h.
3576         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
3577         call to unsetenv (NULL).
3578         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
3579         call to pthread_mutexattr_destroy (NULL).
3581 2017-02-25  Zack Weinberg  <zackw@panix.com>
3583         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
3584         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
3585         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
3586         gets was removed from C++ in C++14.
3587         * include/stdio.h: Remove redundant declaration of gets.
3588         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
3589         be declared, since we are testing it.
3590         * stdio-common/Makefile (tst-gets.c): Compile with
3591         -Wno-deprecated-declarations.
3592         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
3593         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
3594         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
3595         Compile with -Wno-deprecated-declarations.
3597 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3599         * math/libm-test-support.c (check_ulp): Use LIT() around literal
3600         numbers.
3602 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3604         * resolv/tst-resolv-qtypes.c (domain):
3605         Change type to const pointer to const char.
3607 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
3609         * math/Makefile (libm-tests-generated): Remove variable.
3610         (libm-tests-base-normal): New variable.
3611         (libm-tests-base-finite): Likewise.
3612         (libm-tests-base-inline): Likewise.
3613         (libm-tests-base): Likewise.
3614         (libm-tests-normal): Likewise.
3615         (libm-tests-finite): Likewise.
3616         (libm-tests-inline): Likewise.
3617         (libm-tests-vector): Likewise.
3618         (libm-tests): Define in terms of these new variables.
3619         (libm-tests-for-type): New variable.
3620         (libm-tests.o): Move definition.
3621         (tests): Move addition of $(libm-tests).
3622         (generated): Update for new and removed libm test files.
3623         ($(objpfx)libm-test.c): Remove target.
3624         ($(objpfx)libm-have-vector-test.h): Likewise.
3625         (CFLAGS-test-double-vlen2.c): Remove variable.
3626         (CFLAGS-test-double-vlen4.c): Likewise.
3627         (CFLAGS-test-double-vlen8.c): Likewise.
3628         (CFLAGS-test-float-vlen4.c): Likewise.
3629         (CFLAGS-test-float-vlen8.c): Likewise.
3630         (CFLAGS-test-float-vlen16.c): Likewise.
3631         (CFLAGS-test-float.c): Likewise.
3632         (CFLAGS-test-float-finite.c): Likewise.
3633         (CFLAGS-libm-test-support-float.c): Likewise.
3634         (CFLAGS-test-double.c): Likewise.
3635         (CFLAGS-test-double-finite.c): Likewise.
3636         (CFLAGS-libm-test-support-double.c): Likewise.
3637         (CFLAGS-test-ldouble.c): Likewise.
3638         (CFLAGS-test-ldouble-finite.c): Likewise.
3639         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3640         (libm-test-inline-cflags): New variable.
3641         (CFLAGS-test-ifloat.c): Remove variable.
3642         (CFLAGS-test-idouble.c): Likewise.
3643         (CFLAGS-test-ildouble.c): Likewise.
3644         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
3645         dependencies.
3646         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
3647         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
3648         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
3649         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
3650         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
3651         Likewise.
3652         (dependencies on libm-test-support-*.o): Remove.
3653         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
3654         rules using iterators.
3655         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
3656         Likewise.
3657         ($(objpfx)libm-test-support-$(o).o): Likewise.
3658         ($(addprefix $(objpfx),$(filter-out $(tests-static)
3659         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
3660         instead.
3661         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
3662         define rule instead.
3663         * math/README.libm-test: Update.
3664         * math/libm-test-acos.inc: Include libm-test-driver.c.
3665         (do_test): New function.
3666         * math/libm-test-acosh.inc: Include libm-test-driver.c.
3667         (do_test): New function.
3668         * math/libm-test-asin.inc: Include libm-test-driver.c.
3669         (do_test): New function.
3670         * math/libm-test-asinh.inc: Include libm-test-driver.c.
3671         (do_test): New function.
3672         * math/libm-test-atan.inc: Include libm-test-driver.c.
3673         (do_test): New function.
3674         * math/libm-test-atan2.inc: Include libm-test-driver.c.
3675         (do_test): New function.
3676         * math/libm-test-atanh.inc: Include libm-test-driver.c.
3677         (do_test): New function.
3678         * math/libm-test-cabs.inc: Include libm-test-driver.c.
3679         (do_test): New function.
3680         * math/libm-test-cacos.inc: Include libm-test-driver.c.
3681         (do_test): New function.
3682         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
3683         (do_test): New function.
3684         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
3685         (do_test): New function.
3686         * math/libm-test-carg.inc: Include libm-test-driver.c.
3687         (do_test): New function.
3688         * math/libm-test-casin.inc: Include libm-test-driver.c.
3689         (do_test): New function.
3690         * math/libm-test-casinh.inc: Include libm-test-driver.c.
3691         (do_test): New function.
3692         * math/libm-test-catan.inc: Include libm-test-driver.c.
3693         (do_test): New function.
3694         * math/libm-test-catanh.inc: Include libm-test-driver.c.
3695         (do_test): New function.
3696         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
3697         (do_test): New function.
3698         * math/libm-test-ccos.inc: Include libm-test-driver.c.
3699         (do_test): New function.
3700         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
3701         (do_test): New function.
3702         * math/libm-test-ceil.inc: Include libm-test-driver.c.
3703         (do_test): New function.
3704         * math/libm-test-cexp.inc: Include libm-test-driver.c.
3705         (do_test): New function.
3706         * math/libm-test-cimag.inc: Include libm-test-driver.c.
3707         (do_test): New function.
3708         * math/libm-test-clog.inc: Include libm-test-driver.c.
3709         (do_test): New function.
3710         * math/libm-test-clog10.inc: Include libm-test-driver.c.
3711         (do_test): New function.
3712         * math/libm-test-conj.inc: Include libm-test-driver.c.
3713         (do_test): New function.
3714         * math/libm-test-copysign.inc: Include libm-test-driver.c.
3715         (do_test): New function.
3716         * math/libm-test-cos.inc: Include libm-test-driver.c.
3717         (do_test): New function.
3718         * math/libm-test-cosh.inc: Include libm-test-driver.c.
3719         (do_test): New function.
3720         * math/libm-test-cpow.inc: Include libm-test-driver.c.
3721         (do_test): New function.
3722         * math/libm-test-cproj.inc: Include libm-test-driver.c.
3723         (do_test): New function.
3724         * math/libm-test-creal.inc: Include libm-test-driver.c.
3725         (do_test): New function.
3726         * math/libm-test-csin.inc: Include libm-test-driver.c.
3727         (do_test): New function.
3728         * math/libm-test-csinh.inc: Include libm-test-driver.c.
3729         (do_test): New function.
3730         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
3731         (do_test): New function.
3732         * math/libm-test-ctan.inc: Include libm-test-driver.c.
3733         (do_test): New function.
3734         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
3735         (do_test): New function.
3736         * math/libm-test-erf.inc: Include libm-test-driver.c.
3737         (do_test): New function.
3738         * math/libm-test-erfc.inc: Include libm-test-driver.c.
3739         (do_test): New function.
3740         * math/libm-test-exp.inc: Include libm-test-driver.c.
3741         (do_test): New function.
3742         * math/libm-test-exp10.inc: Include libm-test-driver.c.
3743         (do_test): New function.
3744         * math/libm-test-exp2.inc: Include libm-test-driver.c.
3745         (do_test): New function.
3746         * math/libm-test-expm1.inc: Include libm-test-driver.c.
3747         (do_test): New function.
3748         * math/libm-test-fabs.inc: Include libm-test-driver.c.
3749         (do_test): New function.
3750         * math/libm-test-fdim.inc: Include libm-test-driver.c.
3751         (do_test): New function.
3752         * math/libm-test-floor.inc: Include libm-test-driver.c.
3753         (do_test): New function.
3754         * math/libm-test-fma.inc: Include libm-test-driver.c.
3755         (do_test): New function.
3756         * math/libm-test-fmax.inc: Include libm-test-driver.c.
3757         (do_test): New function.
3758         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
3759         (do_test): New function.
3760         * math/libm-test-fmin.inc: Include libm-test-driver.c.
3761         (do_test): New function.
3762         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
3763         (do_test): New function.
3764         * math/libm-test-fmod.inc: Include libm-test-driver.c.
3765         (do_test): New function.
3766         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
3767         (do_test): New function.
3768         * math/libm-test-frexp.inc: Include libm-test-driver.c.
3769         (do_test): New function.
3770         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
3771         (do_test): New function.
3772         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
3773         (do_test): New function.
3774         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
3775         (do_test): New function.
3776         * math/libm-test-hypot.inc: Include libm-test-driver.c.
3777         (do_test): New function.
3778         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
3779         (do_test): New function.
3780         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
3781         (do_test): New function.
3782         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
3783         (do_test): New function.
3784         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
3785         (do_test): New function.
3786         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
3787         (do_test): New function.
3788         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
3789         (do_test): New function.
3790         * math/libm-test-isinf.inc: Include libm-test-driver.c.
3791         (do_test): New function.
3792         * math/libm-test-isless.inc: Include libm-test-driver.c.
3793         (do_test): New function.
3794         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
3795         (do_test): New function.
3796         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
3797         (do_test): New function.
3798         * math/libm-test-isnan.inc: Include libm-test-driver.c.
3799         (do_test): New function.
3800         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
3801         (do_test): New function.
3802         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
3803         (do_test): New function.
3804         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
3805         (do_test): New function.
3806         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
3807         (do_test): New function.
3808         * math/libm-test-iszero.inc: Include libm-test-driver.c.
3809         (do_test): New function.
3810         * math/libm-test-j0.inc: Include libm-test-driver.c.
3811         (do_test): New function.
3812         * math/libm-test-j1.inc: Include libm-test-driver.c.
3813         (do_test): New function.
3814         * math/libm-test-jn.inc: Include libm-test-driver.c.
3815         (do_test): New function.
3816         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
3817         (do_test): New function.
3818         * math/libm-test-llogb.inc: Include libm-test-driver.c.
3819         (do_test): New function.
3820         * math/libm-test-llrint.inc: Include libm-test-driver.c.
3821         (do_test): New function.
3822         * math/libm-test-llround.inc: Include libm-test-driver.c.
3823         (do_test): New function.
3824         * math/libm-test-log.inc: Include libm-test-driver.c.
3825         (do_test): New function.
3826         * math/libm-test-log10.inc: Include libm-test-driver.c.
3827         (do_test): New function.
3828         * math/libm-test-log1p.inc: Include libm-test-driver.c.
3829         (do_test): New function.
3830         * math/libm-test-log2.inc: Include libm-test-driver.c.
3831         (do_test): New function.
3832         * math/libm-test-logb.inc: Include libm-test-driver.c.
3833         (do_test): New function.
3834         * math/libm-test-lrint.inc: Include libm-test-driver.c.
3835         (do_test): New function.
3836         * math/libm-test-lround.inc: Include libm-test-driver.c.
3837         (do_test): New function.
3838         * math/libm-test-modf.inc: Include libm-test-driver.c.
3839         (do_test): New function.
3840         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
3841         (do_test): New function.
3842         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
3843         (do_test): New function.
3844         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
3845         (do_test): New function.
3846         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
3847         (do_test): New function.
3848         * math/libm-test-nextup.inc: Include libm-test-driver.c.
3849         (do_test): New function.
3850         * math/libm-test-pow.inc: Include libm-test-driver.c.
3851         (do_test): New function.
3852         * math/libm-test-remainder.inc: Include libm-test-driver.c.
3853         (do_test): New function.
3854         * math/libm-test-remquo.inc: Include libm-test-driver.c.
3855         (do_test): New function.
3856         * math/libm-test-rint.inc: Include libm-test-driver.c.
3857         (do_test): New function.
3858         * math/libm-test-round.inc: Include libm-test-driver.c.
3859         (do_test): New function.
3860         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
3861         (do_test): New function.
3862         * math/libm-test-scalb.inc: Include libm-test-driver.c.
3863         (do_test): New function.
3864         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
3865         (do_test): New function.
3866         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
3867         (do_test): New function.
3868         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
3869         (do_test): New function.
3870         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
3871         (do_test): New function.
3872         * math/libm-test-signbit.inc: Include libm-test-driver.c.
3873         (do_test): New function.
3874         * math/libm-test-significand.inc: Include libm-test-driver.c.
3875         (do_test): New function.
3876         * math/libm-test-sin.inc: Include libm-test-driver.c.
3877         (do_test): New function.
3878         * math/libm-test-sincos.inc: Include libm-test-driver.c.
3879         (do_test): New function.
3880         * math/libm-test-sinh.inc: Include libm-test-driver.c.
3881         (do_test): New function.
3882         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
3883         (do_test): New function.
3884         * math/libm-test-tan.inc: Include libm-test-driver.c.
3885         (do_test): New function.
3886         * math/libm-test-tanh.inc: Include libm-test-driver.c.
3887         (do_test): New function.
3888         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
3889         (do_test): New function.
3890         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
3891         (do_test): New function.
3892         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
3893         (do_test): New function.
3894         * math/libm-test-trunc.inc: Include libm-test-driver.c.
3895         (do_test): New function.
3896         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
3897         (do_test): New function.
3898         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
3899         (do_test): New function.
3900         * math/libm-test-y0.inc: Include libm-test-driver.c.
3901         (do_test): New function.
3902         * math/libm-test-y1.inc: Include libm-test-driver.c.
3903         (do_test): New function.
3904         * math/libm-test-yn.inc: Include libm-test-driver.c.
3905         (do_test): New function.
3906         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
3907         (HAVE_VECTOR): Remove macro.
3908         (START): Do not call HAVE_VECTOR.
3909         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
3910         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
3911         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
3912         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
3913         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
3914         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
3915         * math/test-math-vector.h (FUNC_TEST): New macro.
3916         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
3917         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
3918         (double-vlen4-funcs): Likewise.
3919         (double-vlen4-avx2-funcs): Likewise.
3920         (double-vlen8-funcs): Likewise.
3921         (float-vlen4-funcs): Likewise.
3922         (float-vlen8-funcs): Likewise.
3923         (float-vlen8-avx2-funcs): Likewise.
3924         (float-vlen16-funcs): Likewise.
3925         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
3926         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
3927         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
3928         macro.
3929         (TEST_VECTOR_sin): Likewise.
3930         (TEST_VECTOR_sincos): Likewise.
3931         (TEST_VECTOR_log): Likewise.
3932         (TEST_VECTOR_exp): Likewise.
3933         (TEST_VECTOR_pow): Likewise.
3934         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
3935         Likewise.
3936         (TEST_VECTOR_sin): Likewise.
3937         (TEST_VECTOR_sincos): Likewise.
3938         (TEST_VECTOR_log): Likewise.
3939         (TEST_VECTOR_exp): Likewise.
3940         (TEST_VECTOR_pow): Likewise.
3941         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
3942         Likewise.
3943         (TEST_VECTOR_sinf): Likewise.
3944         (TEST_VECTOR_sincosf): Likewise.
3945         (TEST_VECTOR_logf): Likewise.
3946         (TEST_VECTOR_expf): Likewise.
3947         (TEST_VECTOR_powf): Likewise.
3948         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
3949         Likewise.
3950         (TEST_VECTOR_sinf): Likewise.
3951         (TEST_VECTOR_sincosf): Likewise.
3952         (TEST_VECTOR_logf): Likewise.
3953         (TEST_VECTOR_expf): Likewise.
3954         (TEST_VECTOR_powf): Likewise.
3955         * math/gen-libm-have-vector-test.sh: Remove file.
3956         * math/libm-test.inc: Likewise.
3957         * math/libm-test-support-double.c: Likewise.
3958         * math/libm-test-support-float.c: Likewise.
3959         * math/libm-test-support-ldouble.c: Likewise.
3960         * math/test-double-finite.c: Likewise.: Likewise.
3961         * math/test-double.c: Likewise.
3962         * math/test-float-finite.c: Likewise.
3963         * math/test-float.c: Likewise.
3964         * math/test-idouble.c: Likewise.
3965         * math/test-ifloat.c: Likewise.
3966         * math/test-ildouble.c: Likewise.
3967         * math/test-ldouble-finite.c: Likewise.
3968         * math/test-ldouble.c: Likewise.
3969         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3970         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
3971         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3972         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3973         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3974         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3975         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3976         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
3977         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3978         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3980 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3981            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3983         * math/Makefile: Add wrappers to gen-libm-calls.
3984         * math/w_acos_template.c: New file.
3985         * math/w_acosh_template.c: Likewise.
3986         * math/w_asin_template.c: Likewise.
3987         * math/w_atan2_template.c: Likewise.
3988         * math/w_atanh_template.c: Likewise.
3989         * math/w_cosh_template.c: Likewise.
3990         * math/w_exp10_template.c: Likewise.
3991         * math/w_exp2_template.c: Likewise.
3992         * math/w_exp_template.c: Likewise.
3993         * math/w_fmod_template.c: Likewise.
3994         * math/w_hypot_template.c: Likewise.
3995         * math/w_j0_template.c: Likewise.
3996         * math/w_j1_template.c: Likewise.
3997         * math/w_jn_template.c: Likewise.
3998         * math/w_lgamma_r_template.c: Likewise.
3999         * math/w_lgamma_template.c: Likewise.
4000         * math/w_log10_template.c: Likewise.
4001         * math/w_log2_template.c: Likewise.
4002         * math/w_log_template.c: Likewise.
4003         * math/w_pow_template.c: Likewise.
4004         * math/w_remainder_template.c: Likewise.
4005         * math/w_sinh_template.c: Likewise.
4006         * math/w_sqrt_template.c: Likewise.
4007         * math/w_tgamma_template.c: Likewise.: Likewise.
4008         * sysdeps/generic/math-type-macros-double.h
4009         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
4010         the new wrappers.
4011         * sysdeps/generic/math-type-macros-float.h: Likewise.
4012         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4014 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
4016         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
4017         New enum constant and macro.
4019         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4020         kernel version to 4.10.
4022 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
4024         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
4026 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4030 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4032         * sysdeps/powerpc/tst-set_ppr.c: New file.
4033         Implement test cases for __ppc_set_ppr_* functions.
4034         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
4035         in the list of tests.
4037 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4039         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
4040         instead of test-skeleton.c.
4041         (do_test): Replaced pthread_create and pthread_join with
4042         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
4043         Removed unneeded status variable.
4044         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
4045         instead of test-skeleton.c.
4046         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
4048 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
4050         [BZ #20313]
4051         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4052         201605L, for Unicode 9.
4054 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
4056         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
4057         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4058         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4059         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4060         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4061         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4063 2017-02-19  Zack Weinberg  <zackw@panix.com>
4065         * rt/tst-mqueue4.c: Include stdint.h.
4067 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
4069         * sysdeps/arm/libm-test-ulps: Update.
4070         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4071         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4072         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4074 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4076         [BZ #21029]
4077         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
4078         * sysdeps/unix/sysv/linux/i386/Makefile
4079         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
4080         (uses-6-syscall-arguments): Remove.
4081         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
4082         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
4083         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
4084         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
4085         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
4086         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
4087         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
4088         [$(subdir) = misc] (cflags-pselect.o): Likewise.
4089         [$(subdir) = misc] (cflags-pselect.os): Likewise.
4090         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
4091         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
4092         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
4093         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
4094         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
4095         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
4096         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
4097         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
4098         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
4099         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
4100         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
4101         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
4102         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
4103         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
4104         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
4105         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
4106         Likewise.
4107         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
4108         Likewise.
4109         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
4110         Likewise.
4111         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
4112         Likewise.
4113         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
4114         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
4115         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
4116         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
4117         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
4118         ebp on inline assembly.
4119         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
4120         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4121         Set if CAN_USE_REGISTER_ASM_EBP is set.
4123 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
4125         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
4126         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
4128 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
4130         * math/auto-libm-test-in: Add tests of catan and catanh.
4131         * math/auto-libm-test-out-catan: New generated file.
4132         * math/auto-libm-test-out-catanh: Likewise.
4133         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
4134         Move tests with finite inputs, except divide-by-zero cases, to
4135         auto-libm-test-in.
4136         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
4137         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
4138         (libm-test-funcs-noauto): Remove catan and catanh.
4139         * sysdeps/i386/fpu/libm-test-ulps: Update.
4140         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4143         * math/auto-libm-test-in: Add tests of casin and casinh.
4144         * math/auto-libm-test-out-casin: New generated file.
4145         * math/auto-libm-test-out-casinh: Likewise.
4146         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
4147         Move tests with finite inputs to auto-libm-test-in.
4148         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
4149         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
4150         (libm-test-funcs-noauto): Remove casin and casinh.
4151         * sysdeps/i386/fpu/libm-test-ulps: Update.
4152         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4155         * math/auto-libm-test-in: Add tests of cacos and cacosh.
4156         * math/auto-libm-test-out-cacos: New generated file.
4157         * math/auto-libm-test-out-cacosh: Likewise.
4158         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
4159         Move tests with finite inputs to auto-libm-test-in.
4160         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
4161         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
4162         (libm-test-funcs-noauto): Remove cacos and cacosh.
4163         * sysdeps/i386/fpu/libm-test-ulps: Update.
4164         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4167         Revert:
4168         2017-02-16  Zack Weinberg  <zackw@panix.com>
4170         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4171         Don't include init-arch.h.
4172         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4173         Don't include init-arch.h.
4175 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4177         [BZ #21171]
4178         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
4179         +Inf and raise divide-by-zero when x is negative.
4180         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
4181         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
4182         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
4183         -Inf and raise divide-by-zero when x = +-0.
4184         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4185         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4186         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
4187         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
4188         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4189         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4190         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4192 2017-02-16  Zack Weinberg  <zackw@panix.com>
4194         * scripts/build-many-glibcs.py (bot_build_mail): If the
4195         bot_config does not contain all of the necessary email-
4196         related settings, just print a warning and continue.
4198 2017-02-16  Zack Weinberg  <zackw@panix.com>
4200         * crypt/md5.h: Test _LIBC with #if defined, not #if.
4201         * dirent/opendir-tst1.c: Include sys/stat.h.
4202         * dirent/tst-fdopendir.c: Include sys/stat.h.
4203         * dirent/tst-fdopendir2.c: Include stdlib.h.
4204         * dirent/tst-scandir.c: Include stdbool.h.
4205         * elf/tst-auditmod1.c: Include link.h and stddef.h.
4206         * elf/tst-tls15.c: Include stdlib.h.
4207         * elf/tst-tls16.c: Include stdlib.h.
4208         * elf/tst-tls17.c: Include stdlib.h.
4209         * elf/tst-tls18.c: Include stdlib.h.
4210         * iconv/tst-iconv6.c: Include endian.h.
4211         * iconvdata/bug-iconv11.c: Include limits.h.
4212         * io/test-utime.c: Include stdint.h.
4213         * io/tst-faccessat.c: Include sys/stat.h.
4214         * io/tst-fchmodat.c: Include sys/stat.h.
4215         * io/tst-fchownat.c: Include sys/stat.h.
4216         * io/tst-fstatat.c: Include sys/stat.h.
4217         * io/tst-futimesat.c: Include sys/stat.h.
4218         * io/tst-linkat.c: Include sys/stat.h.
4219         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
4220         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
4221         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
4222         * io/tst-openat.c: Include stdbool.h.
4223         * io/tst-readlinkat.c: Include sys/stat.h.
4224         * io/tst-renameat.c: Include sys/stat.h.
4225         * io/tst-symlinkat.c: Include sys/stat.h.
4226         * io/tst-unlinkat.c: Include stdbool.h.
4227         * libio/bug-memstream1.c: Include stdlib.h.
4228         * libio/bug-wmemstream1.c: Include stdlib.h.
4229         * libio/tst-fwrite-error.c: Include stdlib.h.
4230         * libio/tst-memstream1.c: Include stdlib.h.
4231         * libio/tst-memstream2.c: Include stdlib.h.
4232         * libio/tst-memstream3.c: Include stdlib.h.
4233         * malloc/tst-interpose-aux.c: Include stdint.h.
4234         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
4235         * nptl/tst-basic7.c: Include limits.h.
4236         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
4237         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
4238         * nptl/tst-cancel4_1.c: Include stddef.h.
4239         * nptl/tst-cancel4_2.c: Include stddef.h.
4240         * nptl/tst-cond16.c: Include limits.h.
4241         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
4242         * nptl/tst-cond18.c: Include limits.h.
4243         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
4244         * nptl/tst-cond4.c: Include stdint.h.
4245         * nptl/tst-cond6.c: Include stdint.h.
4246         * nptl/tst-stack2.c: Include limits.h.
4247         * nptl/tst-stackguard1.c: Include stddef.h.
4248         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
4249         * nptl/tst-tls4moda.c: Include stddef.h.
4250         Don't include stdio.h, unistd.h, or tls.h.
4251         * nptl/tst-tls4modb.c: Include stddef.h.
4252         Don't include stdio.h, unistd.h, or tls.h.
4253         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
4254         * posix/tst-getaddrinfo2.c: Include stdio.h.
4255         * posix/tst-getaddrinfo5.c: Include stdio.h.
4256         * posix/tst-pathconf.c: Include sys/stat.h.
4257         * posix/tst-posix_fadvise-common.c: Include stdint.h.
4258         * posix/tst-preadwrite-common.c: Include sys/stat.h.
4259         * posix/tst-regex.c: Include stdint.h.
4260         Don't include spawn.h or spawn_int.h.
4261         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
4262         * posix/tst-vfork3.c: Include sys/stat.h.
4263         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
4264         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
4265         * resolv/tst-resolv-search.c: Include stdlib.h.
4266         * stdio-common/tst-fmemopen2.c: Include stdint.h.
4267         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
4268         * stdlib/test-canon.c: Include sys/stat.h.
4269         * stdlib/tst-tls-atexit.c: Include stdbool.h.
4270         * string/test-memchr.c: Include stdint.h.
4271         * string/tst-cmp.c: Include stdint.h.
4272         * sysdeps/pthread/tst-timer.c: Include stdint.h.
4273         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
4274         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
4275         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4276         Don't include init-arch.h.
4277         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4278         Don't include init-arch.h.
4279         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
4280         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
4281         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
4282         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
4283         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
4284         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
4285         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
4286         * time/clocktest.c: Include stdint.h.
4287         * time/tst-posixtz.c: Include stdint.h.
4288         * timezone/tst-timezone.c: Include stdint.h.
4290 2017-02-16  Zack Weinberg  <zackw@panix.com>
4292         * string/string.h [__USE_MISC]: Include strings.h.
4293         (__bzero, bcmp, bcopy, bzero, index, rindex)
4294         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
4295         (ffs, ffsl, ffsll): Don't declare.
4296         * string/strings.h: Do not suppress the file if string.h has
4297         already been included.
4298         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
4299         annotations.
4300         (index, rindex): Define inline forwarders even if
4301         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
4302         (ffs): Use __attribute_const__.
4303         (ffsl, ffsll): Declare here.
4304         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
4305         have now been standardized.
4306         * include/string.h (__bzero): Declare here.
4308         * bits/types.h: Move to posix/bits.
4309         * include/bits/types.h: New wrapper.
4311 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
4313         * string/bits/string2.h (strcmp): Remove define.
4314         (__strcmp_cg): Likewise.
4315         (strncmp): Likewise.
4317 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
4319         * include/string.h: Add __cplusplus check.
4321 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4323         [BZ #21134]
4324         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
4325         "divide by zero" exception when the input is zero.
4326         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
4327         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
4328         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
4329         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
4330         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4332 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
4334         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
4335         and include ...
4336         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
4337         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
4338         to, and include ...
4339         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
4340         file.
4341         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
4342         and include ...
4343         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
4344         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
4345         and include ...
4346         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
4347         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
4348         and include ...
4349         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
4350         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
4351         and include ...
4352         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
4353         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
4354         to, and include ...
4355         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
4356         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
4357         and include ...
4358         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
4360 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
4362         * math/libm-test-support.h: Do not include <math-tests-arch.h>
4363         here.
4364         * math/libm-test-support.c (libm_test_init): Do not call
4365         INIT_ARCH_EXT here.
4366         * math/libm-test-driver.c: Include <math-tests-arch.h>.
4367         (main): Call INIT_ARCH_EXT.
4369 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4371         [BZ #21130]
4372         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
4373         with the "invalid" exception raised when x is -Inf.
4374         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4376 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
4378         * string/bits/string2.h (strchr): Remove define.
4380 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
4382         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
4383         tst-avx512.
4384         (test-extras): Add tst-avx-aux and tst-avx512-aux.
4385         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
4386         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
4387         ($(objpfx)tst-sse): New rule.
4388         ($(objpfx)tst-avx): Likewise.
4389         ($(objpfx)tst-avx512): Likewise.
4390         (CFLAGS-tst-avx-aux.c): New.
4391         (CFLAGS-tst-avxmod.c): Likewise.
4392         (CFLAGS-tst-avx512-aux.c): Likewise.
4393         (CFLAGS-tst-avx512mod.c): Likewise.
4394         * sysdeps/x86_64/tst-avx-aux.c: New file.
4395         * sysdeps/x86_64/tst-avx.c: Likewise.
4396         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
4397         * sysdeps/x86_64/tst-avx512.c: Likewise.
4398         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
4399         * sysdeps/x86_64/tst-avxmod.c: Likewise.
4400         * sysdeps/x86_64/tst-sse.c: Likewise.
4401         * sysdeps/x86_64/tst-ssemod.c: Likewise.
4403 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
4405         * math/auto-libm-test-in: Add more tests of csin and csinh.
4406         * math/auto-libm-test-out-csin: Regenerated.
4407         * math/auto-libm-test-out-csinh: Likewise.
4408         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
4409         auto-libm-test-in.
4410         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
4412 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4414         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
4415         libm-compat-calls-auto.
4416         (libm-compat-calls): Likewise.
4417         (libm-compat-calls-auto): Rename to libm-compat-calls and add
4418         w_lgamma_compatF and k_standardF (merged from the items above).
4419         (libm-routines): Use libm-compat-calls, instead of
4420         libm-compat-calls-auto, with type-foreach.
4422 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
4424         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
4425         macro.
4426         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
4427         (CFLAGS-test-ifloat.c): ... this.  Remove
4428         -U__LIBC_INTERNAL_MATH_INLINES.
4429         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
4430         (CFLAGS-test-idouble.c): ... this.  Remove
4431         -U__LIBC_INTERNAL_MATH_INLINES.
4432         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
4433         (CFLAGS-test-ildouble.c): ... this.  Remove
4434         -U__LIBC_INTERNAL_MATH_INLINES.
4436 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
4438         * math/libm-test-support.c: New file.  Content from
4439         math/libm-test-driver.c.
4440         * math/libm-test-support.h: Likewise.
4441         * math/libm-test-support-double.c: New file.
4442         * math/libm-test-support-float.c: Likewise.
4443         * math/libm-test-support-ldouble.c: Likewise.
4444         * math/libm-test-driver.c: Remove main comment and header
4445         includes.  Include libm-test-support.h.
4446         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
4447         (flag_test_errno): Remove static.
4448         (flag_test_exceptions): Likewise.
4449         (flag_test_finite): Likewise.
4450         (flag_test_inline): Likewise.
4451         (flag_test_mathvec): Likewise.
4452         (test_msg): Likewise.
4453         (NO_EXCEPTION): Remove.
4454         (INVALID_EXCEPTION): Likewise.
4455         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
4456         (OVERFLOW_EXCEPTION): Likewise.
4457         (UNDERFLOW_EXCEPTION): Likewise.
4458         (INEXACT_EXCEPTION): Likewise.
4459         (INVALID_EXCEPTION_OK): Likewise.
4460         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4461         (OVERFLOW_EXCEPTION_OK): Likewise.
4462         (UNDERFLOW_EXCEPTION_OK): Likewise.
4463         (NO_INEXACT_EXCEPTION): Likewise.
4464         (EXCEPTIONS_OK): Likewise.
4465         (IGNORE_ZERO_INF_SIGN): Likewise.
4466         (TEST_NAN_SIGN): Likewise.
4467         (TEST_NAN_PAYLOAD): Likewise.
4468         (NO_TEST_INLINE): Likewise.
4469         (XFAIL_TEST): Likewise.
4470         (ERRNO_UNCHANGED): Likewise.
4471         (ERRNO_EDOM): Likewise.
4472         (ERRNO_ERANGE): Likewise.
4473         (IGNORE_RESULT): Likewise.
4474         (NON_FINITE): Likewise.
4475         (TEST_SNAN): Likewise.
4476         (NO_TEST_MATHVEC): Likewise.
4477         (__CONCATX): Likewise.
4478         (TYPE_MIN): Likewise.
4479         (TYPE_TRUE_MIN): Likewise.
4480         (TYPE_MAX): Likewise.
4481         (MIN_EXP): Likewise.
4482         (MAX_EXP): Likewise.
4483         (MANT_DIG): Likewise.
4484         (FSTR_MAX): Likewise.
4485         (ulp_idx): Likewise.
4486         (qtype_str): Remove static.
4487         (TEST_COND_binary32): Remove.
4488         (TEST_COND_binary64): Likewise.
4489         (TEST_COND_binary128): Likewise.
4490         (TEST_COND_ibm128): Likewise.
4491         (TEST_COND_intel96): Likewise.
4492         (TEST_COND_m68k96): Likewise.
4493         (TEST_COND_ibm128_libgcc): Likewise.
4494         (XFAIL_IBM128_LIBGCC): Likewise.
4495         (PAYLOAD_DIG): Likewise.
4496         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4497         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4498         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4499         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4500         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4501         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
4502         (TEST_COND_long32): Likewise.
4503         (TEST_COND_long64): Likewise.
4504         (TEST_COND_before_rounding): Likewise.
4505         (TEST_COND_after_rounding): Likewise.
4506         (ulps_file_name): Likewise.
4507         (ulps_file): Likewise.
4508         (output_ulps): Likewise.
4509         (output_dir): Likewise.
4510         (noErrors): Likewise.
4511         (noTests): Likewise.
4512         (noExcTests): Likewise.
4513         (noErrnoTests): Likewise.
4514         (verbose): Likewise.
4515         (output_max_error): Likewise.
4516         (output_points): Likewise.
4517         (ignore_max_ulp): Likewise.
4518         (max_error): Likewise.
4519         (real_max_error): Likewise.
4520         (imag_max_error): Likewise.
4521         (prev_max_error): Likewise.
4522         (prev_real_max_error): Likewise.
4523         (prev_imag_max_error): Likewise.
4524         (max_valid_error): Likewise.
4525         (TYPE_DECIMAL_DIG): Likewise.
4526         (TYPE_HEX_DIG): Likewise.
4527         (fmt_ftostr): Likewise.
4528         (compare_ulp_data): Likewise.
4529         (find_ulps): Likewise.
4530         (init_max_error): Likewise.
4531         (set_max_error): Likewise.
4532         (print_float): Likewise.
4533         (print_screen): Likewise.
4534         (print_screen_max_error): Likewise.
4535         (update_stats): Likewise.
4536         (print_function_ulps): Likewise.
4537         (print_complex_function_ulps): Likewise.
4538         (fpstack_test): Likewise.
4539         (print_max_error): Likewise.
4540         (print_complex_max_error): Likewise.
4541         (test_single_exception): Likewise.
4542         (test_exceptions): Likewise.
4543         (test_single_errno): Likewise.
4544         (test_errno): Likewise.
4545         (ULPDIFF): Likewise.
4546         (ulp): Likewise.
4547         (check_float_internal): Likewise.
4548         (check_float): Likewise.
4549         (check_complex): Likewise.
4550         (check_int): Likewise.
4551         (check_long): Likewise.
4552         (check_bool): Likewise.
4553         (check_longlong): Likewise.
4554         (check_intmax_t): Likewise.
4555         (check_uintmax_t): Likewise.
4556         (enable_test): Likewise.
4557         (matherr): Likewise.
4558         (initialize): Likewise.
4559         (options): Likewise.
4560         (doc): Remove static.
4561         (argp): Likewise.
4562         (parse_opt): Remove.
4563         (check_ulp): Likewise.
4564         (libm_test_init): Likewise.
4565         (libm_test_finish): Likewise.
4566         * math/Makefile (libm-test-support): New variable.
4567         (test-extras): Add libm-test-support files.
4568         (extra-test-objs): Likewise.
4569         (CFLAGS-libm-test-support-float.c): New variable.
4570         (CFLAGS-libm-test-support-double.c): Likewise.
4571         (CFLAGS-libm-test-support-ldouble.c): Likewise.
4572         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
4573         libm-test-support objects.
4575 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4577         * math/Makefile (libm-calls): Move w_exp...
4578         (libm-compat-calls-auto): Here.
4580         * math/w_expl.c: Add suffix "_compat" to filename.
4581         * sysdeps/ia64/fpu/w_expl.c: Likewise.
4582         * sysdeps/ia64/fpu/w_expf.c: Likewise.
4583         * sysdeps/ia64/fpu/w_exp.c: Likewise.
4584         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4585         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4586         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4587         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4588         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4590         * math/w_expl_compat.c: New file, copied from above.
4591         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
4592         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
4593         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
4594         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
4595         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4596         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4597         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4598         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4600         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
4601         to filename.
4602         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
4604         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
4605         copied from above and adjusted for the new filenames.
4606         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
4608 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4610         * math/Makefile (libm-calls): Move w_lgammaF...
4611         (libm-compat-calls-auto): Here.
4613         * math/w_lgamma.c: Add suffix "_compat2" to filename.
4614         * math/w_lgammaf.c: Likewise.
4615         * math/w_lgammal.c: Likewise.
4617         * math/w_lgamma_compat2.c: New file, copied from above.
4618         * math/w_lgammaf_compat2.c: Likewise.
4619         * math/w_lgammal_compat2.c: Likewise.
4621 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4623         * math/Makefile (libm-calls): Move w_lgammaF_r...
4624         (libm-compat-calls-auto): Here.
4626         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
4627         * math/w_lgammaf_r.c: Likewise.
4628         * math/w_lgammal_r.c: Likewise.
4629         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4630         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4631         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4633         * math/w_lgamma_r_compat.c: New file, copied from above.
4634         * math/w_lgammaf_r_compat.c: Likewise.
4635         * math/w_lgammal_r_compat.c: Likewise.
4636         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
4637         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
4638         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
4640         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
4641         to filename.
4642         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
4644         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
4645         copied from above and adjusted for the new filenames.
4646         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
4648 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
4650         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
4651         calculation in SYSCALL_ERROR_HANDLER().
4653 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
4655         * manual/contrib.texi: Fix typo.
4657 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4659         [BZ #21109]
4660         * elf/dl-tunable-types.h (tunable_callback_t): Accept
4661         tunable_val_t as argument.
4662         * elf/dl-tunables.c (__tunable_set_val): Add comment.
4663         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
4664         argument.
4665         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
4667 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
4669         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
4670         Add PTRACE_EVENT_STOP.
4671         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4672         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4673         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4674         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4675         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4676         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
4678 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
4680         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
4681         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
4682         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
4683         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
4684         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
4685         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
4686         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
4687         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
4688         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
4689         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
4691         [BZ #21112]
4692         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
4693         12 bits zero.
4694         (cp_l): Update for new value of cp_h.
4695         * math/auto-libm-test-in: Add another test of pow.
4696         * math/auto-libm-test-out-pow: Regenerated.
4698 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4700         * manual/contrib.texi: Fix typo.
4702 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4704         [BZ #15998]
4705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4706         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
4707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4709 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4711         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
4712         STRCHR as __strchr_power8.
4713         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
4714         strlen as __strlen_power8.
4716 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4718         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
4719         unaligned load for shorter strings.
4720         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
4722 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4724         * math/libm-test-driver.c (flag_test_errno): New variable.
4725         (flag_test_exceptions): Likewise.
4726         (flag_test_finite): Likewise.
4727         (flag_test_inline): Likewise.
4728         (flag_test_mathvec): Likewise.
4729         (test_msg): Likewise.
4730         (ulp_idx): Likewise.
4731         (qtype_str): Likewise.
4732         (ULP_IDX): Remove macro.
4733         (QTYPE_STR): Likewise.
4734         (find_ulps): Use ulp_idx not ULP_IDX.
4735         (print_function_ulps): Use qtype_str, printed with %s, not
4736         QTYPE_STR, printed with concatentation to format string.
4737         (print_complex_function_ulps): Likewise.
4738         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
4739         (test_errno): Use flag_test_errno not TEST_ERRNO.
4740         (enable_test): Use flag_test_inline, flag_test_finite and
4741         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
4742         TEST_MATHVEC.
4743         (libm_test_init): New function.  Factored out of main.
4744         (libm_test_finish): Likewise.
4745         (main): Call libm_test_init and libm_test_finish and move most
4746         code to those functions.
4748         * math/libm-test-driver.c (STRX): New macro.
4749         (STR): Likewise.
4750         (STR_FLOAT): Likewise.
4751         (STR_VEC_LEN): Likewise.
4752         (TEST_MSG): Likewise.  Define here instead of expecting to be
4753         defined by including file.
4754         * math/test-double-finite.c (TEST_MSG): Remove macro.
4755         * math/test-double-vlen2.h (TEST_MSG): Likewise.
4756         * math/test-double-vlen4.h (TEST_MSG): Likewise.
4757         * math/test-double-vlen8.h (TEST_MSG): Likewise.
4758         * math/test-double.c (TEST_MSG): Likewise.
4759         * math/test-float-finite.c (TEST_MSG): Likewise.
4760         * math/test-float-vlen16.h (TEST_MSG): Likewise.
4761         * math/test-float-vlen4.h (TEST_MSG): Likewise.
4762         * math/test-float-vlen8.h (TEST_MSG): Likewise.
4763         * math/test-float.c (TEST_MSG): Likewise.
4764         * math/test-idouble.c (TEST_MSG): Likewise.
4765         * math/test-ifloat.c (TEST_MSG): Likewise.
4766         * math/test-ildouble.c (TEST_MSG): Likewise.
4767         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
4768         * math/test-ldouble.c (TEST_MSG): Likewise.
4770         * math/libm-test.inc: Move all tests of individual functions to
4771         libm-test-*.inc and #include libm-test-*.c files.
4772         (acos_test_data): Remove.
4773         (acos_test): Likewise.
4774         (acosh_test_data): Likewise.
4775         (acosh_test): Likewise.
4776         (asin_test_data): Likewise.
4777         (asin_test): Likewise.
4778         (asinh_test_data): Likewise.
4779         (asinh_test): Likewise.
4780         (atan_test_data): Likewise.
4781         (atan_test): Likewise.
4782         (atanh_test_data): Likewise.
4783         (atanh_test): Likewise.
4784         (atan2_test_data): Likewise.
4785         (atan2_test): Likewise.
4786         (cabs_test_data): Likewise.
4787         (cabs_test): Likewise.
4788         (cacos_test_data): Likewise.
4789         (cacos_test): Likewise.
4790         (cacosh_test_data): Likewise.
4791         (cacosh_test): Likewise.
4792         (canonicalize_test_data): Likewise.
4793         (canonicalize_test): Likewise.
4794         (carg_test_data): Likewise.
4795         (carg_test): Likewise.
4796         (casin_test_data): Likewise.
4797         (casin_test): Likewise.
4798         (casinh_test_data): Likewise.
4799         (casinh_test): Likewise.
4800         (catan_test_data): Likewise.
4801         (catan_test): Likewise.
4802         (catanh_test_data): Likewise.
4803         (catanh_test): Likewise.
4804         (cbrt_test_data): Likewise.
4805         (cbrt_test): Likewise.
4806         (ccos_test_data): Likewise.
4807         (ccos_test): Likewise.
4808         (ccosh_test_data): Likewise.
4809         (ccosh_test): Likewise.
4810         (ceil_test_data): Likewise.
4811         (ceil_test): Likewise.
4812         (cexp_test_data): Likewise.
4813         (cexp_test): Likewise.
4814         (cimag_test_data): Likewise.
4815         (cimag_test): Likewise.
4816         (clog_test_data): Likewise.
4817         (clog_test): Likewise.
4818         (clog10_test_data): Likewise.
4819         (clog10_test): Likewise.
4820         (conj_test_data): Likewise.
4821         (conj_test): Likewise.
4822         (copysign_test_data): Likewise.
4823         (copysign_test): Likewise.
4824         (cos_test_data): Likewise.
4825         (cos_test): Likewise.
4826         (cosh_test_data): Likewise.
4827         (cosh_test): Likewise.
4828         (cpow_test_data): Likewise.
4829         (cpow_test): Likewise.
4830         (cproj_test_data): Likewise.
4831         (cproj_test): Likewise.
4832         (creal_test_data): Likewise.
4833         (creal_test): Likewise.
4834         (csin_test_data): Likewise.
4835         (csin_test): Likewise.
4836         (csinh_test_data): Likewise.
4837         (csinh_test): Likewise.
4838         (csqrt_test_data): Likewise.
4839         (csqrt_test): Likewise.
4840         (ctan_test_data): Likewise.
4841         (ctan_test): Likewise.
4842         (ctanh_test_data): Likewise.
4843         (ctanh_test): Likewise.
4844         (erf_test_data): Likewise.
4845         (erf_test): Likewise.
4846         (erfc_test_data): Likewise.
4847         (erfc_test): Likewise.
4848         (exp_test_data): Likewise.
4849         (exp_test): Likewise.
4850         (exp10_test_data): Likewise.
4851         (exp10_test): Likewise.
4852         (pow10_test): Likewise.
4853         (exp2_test_data): Likewise.
4854         (exp2_test): Likewise.
4855         (expm1_test_data): Likewise.
4856         (expm1_test): Likewise.
4857         (fabs_test_data): Likewise.
4858         (fabs_test): Likewise.
4859         (fdim_test_data): Likewise.
4860         (fdim_test): Likewise.
4861         (floor_test_data): Likewise.
4862         (floor_test): Likewise.
4863         (fma_test_data): Likewise.
4864         (fma_test): Likewise.
4865         (fmax_test_data): Likewise.
4866         (fmax_test): Likewise.
4867         (fmaxmag_test_data): Likewise.
4868         (fmaxmag_test): Likewise.
4869         (fmin_test_data): Likewise.
4870         (fmin_test): Likewise.
4871         (fminmag_test_data): Likewise.
4872         (fminmag_test): Likewise.
4873         (fmod_test_data): Likewise.
4874         (fmod_test): Likewise.
4875         (fpclassify_test_data): Likewise.
4876         (fpclassify_test): Likewise.
4877         (frexp_test_data): Likewise.
4878         (frexp_test): Likewise.
4879         (fromfp_test_data): Likewise.
4880         (fromfp_test): Likewise.
4881         (fromfpx_test_data): Likewise.
4882         (fromfpx_test): Likewise.
4883         (getpayload_test_data): Likewise.
4884         (getpayload_test): Likewise.
4885         (hypot_test_data): Likewise.
4886         (hypot_test): Likewise.
4887         (ilogb_test_data): Likewise.
4888         (ilogb_test): Likewise.
4889         (iscanonical_test_data): Likewise.
4890         (iscanonical_test): Likewise.
4891         (iseqsig_test_data): Likewise.
4892         (iseqsig_test): Likewise.
4893         (isfinite_test_data): Likewise.
4894         (isfinite_test): Likewise.
4895         (finite_test): Likewise.
4896         (isgreater_test_data): Likewise.
4897         (isgreater_test): Likewise.
4898         (isgreaterequal_test_data): Likewise.
4899         (isgreaterequal_test): Likewise.
4900         (isinf_test_data): Likewise.
4901         (isinf_test): Likewise.
4902         (isless_test_data): Likewise.
4903         (isless_test): Likewise.
4904         (islessequal_test_data): Likewise.
4905         (islessequal_test): Likewise.
4906         (islessgreater_test_data): Likewise.
4907         (islessgreater_test): Likewise.
4908         (isnan_test_data): Likewise.
4909         (isnan_test): Likewise.
4910         (isnormal_test_data): Likewise.
4911         (isnormal_test): Likewise.
4912         (issignaling_test_data): Likewise.
4913         (issignaling_test): Likewise.
4914         (issubnormal_test_data): Likewise.
4915         (issubnormal_test): Likewise.
4916         (isunordered_test_data): Likewise.
4917         (isunordered_test): Likewise.
4918         (iszero_test_data): Likewise.
4919         (iszero_test): Likewise.
4920         (j0_test_data): Likewise.
4921         (j0_test): Likewise.
4922         (j1_test_data): Likewise.
4923         (j1_test): Likewise.
4924         (jn_test_data): Likewise.
4925         (jn_test): Likewise.
4926         (lgamma_test_data): Likewise.
4927         (lgamma_test): Likewise.
4928         (gamma_test): Likewise.
4929         (llogb_test_data): Likewise.
4930         (llogb_test): Likewise.
4931         (lrint_test_data): Likewise.
4932         (lrint_test): Likewise.
4933         (llrint_test_data): Likewise.
4934         (llrint_test): Likewise.
4935         (log_test_data): Likewise.
4936         (log_test): Likewise.
4937         (log10_test_data): Likewise.
4938         (log10_test): Likewise.
4939         (log1p_test_data): Likewise.
4940         (log1p_test): Likewise.
4941         (log2_test_data): Likewise.
4942         (log2_test): Likewise.
4943         (logb_test_data): Likewise.
4944         (logb_test): Likewise.
4945         (lround_test_data): Likewise.
4946         (lround_test): Likewise.
4947         (llround_test_data): Likewise.
4948         (llround_test): Likewise.
4949         (modf_test_data): Likewise.
4950         (modf_test): Likewise.
4951         (nearbyint_test_data): Likewise.
4952         (nearbyint_test): Likewise.
4953         (nextafter_test_data): Likewise.
4954         (nextafter_test): Likewise.
4955         (nextup_test_data): Likewise.
4956         (nextup_test): Likewise.
4957         (nextdown_test_data): Likewise.
4958         (nextdown_test): Likewise.
4959         (nexttoward_test_data): Likewise.
4960         (nexttoward_test): Likewise.
4961         (pow_test_data): Likewise.
4962         (pow_test): Likewise.
4963         (remainder_test_data): Likewise.
4964         (remainder_test): Likewise.
4965         (drem_test): Likewise.
4966         (remquo_test_data): Likewise.
4967         (remquo_test): Likewise.
4968         (rint_test_data): Likewise.
4969         (rint_test): Likewise.
4970         (round_test_data): Likewise.
4971         (round_test): Likewise.
4972         (roundeven_test_data): Likewise.
4973         (roundeven_test): Likewise.
4974         (scalb_test_data): Likewise.
4975         (scalb_test): Likewise.
4976         (scalbn_test_data): Likewise.
4977         (scalbn_test): Likewise.
4978         (ldexp_test): Likewise.
4979         (scalbln_test_data): Likewise.
4980         (scalbln_test): Likewise.
4981         (setpayload_test_data): Likewise.
4982         (setpayload_test): Likewise.
4983         (setpayloadsig_test_data): Likewise.
4984         (setpayloadsig_test): Likewise.
4985         (signbit_test_data): Likewise.
4986         (signbit_test): Likewise.
4987         (sin_test_data): Likewise.
4988         (sin_test): Likewise.
4989         (sincos_test_data): Likewise.
4990         (sincos_test): Likewise.
4991         (sinh_test_data): Likewise.
4992         (sinh_test): Likewise.
4993         (sqrt_test_data): Likewise.
4994         (sqrt_test): Likewise.
4995         (tan_test_data): Likewise.
4996         (tan_test): Likewise.
4997         (tanh_test_data): Likewise.
4998         (tanh_test): Likewise.
4999         (tgamma_test_data): Likewise.
5000         (tgamma_test): Likewise.
5001         (totalorder_test_data): Likewise.
5002         (totalorder_test): Likewise.
5003         (totalordermag_test_data): Likewise.
5004         (totalordermag_test): Likewise.
5005         (trunc_test_data): Likewise.
5006         (trunc_test): Likewise.
5007         (ufromfp_test_data): Likewise.
5008         (ufromfp_test): Likewise.
5009         (ufromfpx_test_data): Likewise.
5010         (ufromfpx_test): Likewise.
5011         (y0_test_data): Likewise.
5012         (y0_test): Likewise.
5013         (y1_test_data): Likewise.
5014         (y1_test): Likewise.
5015         (yn_test_data): Likewise.
5016         (yn_test): Likewise.
5017         (significand_test_data): Likewise.
5018         (significand_test): Likewise.
5019         * math/Makefile (auto-libm-test-out-files): Remove variable.
5020         (libm-test-funcs-noauto): New variable.
5021         (libm-test-funcs-all): Likewise.
5022         (libm-test-c-auto): Likewise.
5023         (libm-test-c-noauto): Likewise.
5024         (libm-tests-generated): Add $(libm-test-c-auto) and
5025         $(libm-test-c-noauto).
5026         (generated): Do not add auto-libm-test-out.
5027         (libm-test-c-auto-obj): New variable.
5028         (libm-test-c-noauto-obj): Likewise.
5029         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
5030         ($(libm-test-c-noauto-obj)): New static pattern rule.
5031         ($(libm-test-c-auto-obj)): Likewise.
5032         (libm-test-incs): New variable.
5033         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
5034         and pass it to gen-libm-have-vector-test.sh.
5035         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
5036         be passed on command line.
5037         * math/libm-test-acos.inc: New file.  Content from
5038         math/libm-test.inc.
5039         * math/libm-test-acosh.inc: Likewise.
5040         * math/libm-test-asin.inc: Likewise.
5041         * math/libm-test-asinh.inc: Likewise.
5042         * math/libm-test-atan.inc: Likewise.
5043         * math/libm-test-atan2.inc: Likewise.
5044         * math/libm-test-atanh.inc: Likewise.
5045         * math/libm-test-cabs.inc: Likewise.
5046         * math/libm-test-cacos.inc: Likewise.
5047         * math/libm-test-cacosh.inc: Likewise.
5048         * math/libm-test-canonicalize.inc: Likewise.
5049         * math/libm-test-carg.inc: Likewise.
5050         * math/libm-test-casin.inc: Likewise.
5051         * math/libm-test-casinh.inc: Likewise.
5052         * math/libm-test-catan.inc: Likewise.
5053         * math/libm-test-catanh.inc: Likewise.
5054         * math/libm-test-cbrt.inc: Likewise.
5055         * math/libm-test-ccos.inc: Likewise.
5056         * math/libm-test-ccosh.inc: Likewise.
5057         * math/libm-test-ceil.inc: Likewise.
5058         * math/libm-test-cexp.inc: Likewise.
5059         * math/libm-test-cimag.inc: Likewise.
5060         * math/libm-test-clog.inc: Likewise.
5061         * math/libm-test-clog10.inc: Likewise.
5062         * math/libm-test-conj.inc: Likewise.
5063         * math/libm-test-copysign.inc: Likewise.
5064         * math/libm-test-cos.inc: Likewise.
5065         * math/libm-test-cosh.inc: Likewise.
5066         * math/libm-test-cpow.inc: Likewise.
5067         * math/libm-test-cproj.inc: Likewise.
5068         * math/libm-test-creal.inc: Likewise.
5069         * math/libm-test-csin.inc: Likewise.
5070         * math/libm-test-csinh.inc: Likewise.
5071         * math/libm-test-csqrt.inc: Likewise.
5072         * math/libm-test-ctan.inc: Likewise.
5073         * math/libm-test-ctanh.inc: Likewise.
5074         * math/libm-test-erf.inc: Likewise.
5075         * math/libm-test-erfc.inc: Likewise.
5076         * math/libm-test-exp.inc: Likewise.
5077         * math/libm-test-exp10.inc: Likewise.
5078         * math/libm-test-exp2.inc: Likewise.
5079         * math/libm-test-expm1.inc: Likewise.
5080         * math/libm-test-fabs.inc: Likewise.
5081         * math/libm-test-fdim.inc: Likewise.
5082         * math/libm-test-floor.inc: Likewise.
5083         * math/libm-test-fma.inc: Likewise.
5084         * math/libm-test-fmax.inc: Likewise.
5085         * math/libm-test-fmaxmag.inc: Likewise.
5086         * math/libm-test-fmin.inc: Likewise.
5087         * math/libm-test-fminmag.inc: Likewise.
5088         * math/libm-test-fmod.inc: Likewise.
5089         * math/libm-test-fpclassify.inc: Likewise.
5090         * math/libm-test-frexp.inc: Likewise.
5091         * math/libm-test-fromfp.inc: Likewise.
5092         * math/libm-test-fromfpx.inc: Likewise.
5093         * math/libm-test-getpayload.inc: Likewise.
5094         * math/libm-test-hypot.inc: Likewise.
5095         * math/libm-test-ilogb.inc: Likewise.
5096         * math/libm-test-iscanonical.inc: Likewise.
5097         * math/libm-test-iseqsig.inc: Likewise.
5098         * math/libm-test-isfinite.inc: Likewise.
5099         * math/libm-test-isgreater.inc: Likewise.
5100         * math/libm-test-isgreaterequal.inc: Likewise.
5101         * math/libm-test-isinf.inc: Likewise.
5102         * math/libm-test-isless.inc: Likewise.
5103         * math/libm-test-islessequal.inc: Likewise.
5104         * math/libm-test-islessgreater.inc: Likewise.
5105         * math/libm-test-isnan.inc: Likewise.
5106         * math/libm-test-isnormal.inc: Likewise.
5107         * math/libm-test-issignaling.inc: Likewise.
5108         * math/libm-test-issubnormal.inc: Likewise.
5109         * math/libm-test-isunordered.inc: Likewise.
5110         * math/libm-test-iszero.inc: Likewise.
5111         * math/libm-test-j0.inc: Likewise.
5112         * math/libm-test-j1.inc: Likewise.
5113         * math/libm-test-jn.inc: Likewise.
5114         * math/libm-test-lgamma.inc: Likewise.
5115         * math/libm-test-llogb.inc: Likewise.
5116         * math/libm-test-llrint.inc: Likewise.
5117         * math/libm-test-llround.inc: Likewise.
5118         * math/libm-test-log.inc: Likewise.
5119         * math/libm-test-log10.inc: Likewise.
5120         * math/libm-test-log1p.inc: Likewise.
5121         * math/libm-test-log2.inc: Likewise.
5122         * math/libm-test-logb.inc: Likewise.
5123         * math/libm-test-lrint.inc: Likewise.
5124         * math/libm-test-lround.inc: Likewise.
5125         * math/libm-test-modf.inc: Likewise.
5126         * math/libm-test-nearbyint.inc: Likewise.
5127         * math/libm-test-nextafter.inc: Likewise.
5128         * math/libm-test-nextdown.inc: Likewise.
5129         * math/libm-test-nexttoward.inc: Likewise.
5130         * math/libm-test-nextup.inc: Likewise.
5131         * math/libm-test-pow.inc: Likewise.
5132         * math/libm-test-remainder.inc: Likewise.
5133         * math/libm-test-remquo.inc: Likewise.
5134         * math/libm-test-rint.inc: Likewise.
5135         * math/libm-test-round.inc: Likewise.
5136         * math/libm-test-roundeven.inc: Likewise.
5137         * math/libm-test-scalb.inc: Likewise.
5138         * math/libm-test-scalbln.inc: Likewise.
5139         * math/libm-test-scalbn.inc: Likewise.
5140         * math/libm-test-setpayload.inc: Likewise.
5141         * math/libm-test-setpayloadsig.inc: Likewise.
5142         * math/libm-test-signbit.inc: Likewise.
5143         * math/libm-test-significand.inc: Likewise.
5144         * math/libm-test-sin.inc: Likewise.
5145         * math/libm-test-sincos.inc: Likewise.
5146         * math/libm-test-sinh.inc: Likewise.
5147         * math/libm-test-sqrt.inc: Likewise.
5148         * math/libm-test-tan.inc: Likewise.
5149         * math/libm-test-tanh.inc: Likewise.
5150         * math/libm-test-tgamma.inc: Likewise.
5151         * math/libm-test-totalorder.inc: Likewise.
5152         * math/libm-test-totalordermag.inc: Likewise.
5153         * math/libm-test-trunc.inc: Likewise.
5154         * math/libm-test-ufromfp.inc: Likewise.
5155         * math/libm-test-ufromfpx.inc: Likewise.
5156         * math/libm-test-y0.inc: Likewise.
5157         * math/libm-test-y1.inc: Likewise.
5158         * math/libm-test-yn.inc: Likewise.
5159         * math/README.libm-test: Update.
5161         * math/gen-auto-libm-tests.c: Update comment about use of program.
5162         (generate_output): Add argument FUNCTION.
5163         (main): Require extra argument.  Pass function name to
5164         generate_output.
5165         * math/Makefile (generated): Add auto-libm-test-out.
5166         (libm-test-funcs-auto): New variable.
5167         (auto-libm-test-out-files): New variable.
5168         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
5169         Concatenate those files to form $(objpfx)auto-libm-test-out and
5170         use it as input to gen-libm-test.pl.
5171         * math/README.libm-test: Update.
5172         * math/auto-libm-test-out: Remove.
5173         * math/auto-libm-test-out-acos: New generated file.
5174         * math/auto-libm-test-out-acosh: Likewise.
5175         * math/auto-libm-test-out-asin: Likewise.
5176         * math/auto-libm-test-out-asinh: Likewise.
5177         * math/auto-libm-test-out-atan: Likewise.
5178         * math/auto-libm-test-out-atan2: Likewise.
5179         * math/auto-libm-test-out-atanh: Likewise.
5180         * math/auto-libm-test-out-cabs: Likewise.
5181         * math/auto-libm-test-out-carg: Likewise.
5182         * math/auto-libm-test-out-cbrt: Likewise.
5183         * math/auto-libm-test-out-ccos: Likewise.
5184         * math/auto-libm-test-out-ccosh: Likewise.
5185         * math/auto-libm-test-out-cexp: Likewise.
5186         * math/auto-libm-test-out-clog: Likewise.
5187         * math/auto-libm-test-out-clog10: Likewise.
5188         * math/auto-libm-test-out-cos: Likewise.
5189         * math/auto-libm-test-out-cosh: Likewise.
5190         * math/auto-libm-test-out-cpow: Likewise.
5191         * math/auto-libm-test-out-csin: Likewise.
5192         * math/auto-libm-test-out-csinh: Likewise.
5193         * math/auto-libm-test-out-csqrt: Likewise.
5194         * math/auto-libm-test-out-ctan: Likewise.
5195         * math/auto-libm-test-out-ctanh: Likewise.
5196         * math/auto-libm-test-out-erf: Likewise.
5197         * math/auto-libm-test-out-erfc: Likewise.
5198         * math/auto-libm-test-out-exp: Likewise.
5199         * math/auto-libm-test-out-exp10: Likewise.
5200         * math/auto-libm-test-out-exp2: Likewise.
5201         * math/auto-libm-test-out-expm1: Likewise.
5202         * math/auto-libm-test-out-fma: Likewise.
5203         * math/auto-libm-test-out-hypot: Likewise.
5204         * math/auto-libm-test-out-j0: Likewise.
5205         * math/auto-libm-test-out-j1: Likewise.
5206         * math/auto-libm-test-out-jn: Likewise.
5207         * math/auto-libm-test-out-lgamma: Likewise.
5208         * math/auto-libm-test-out-log: Likewise.
5209         * math/auto-libm-test-out-log10: Likewise.
5210         * math/auto-libm-test-out-log1p: Likewise.
5211         * math/auto-libm-test-out-log2: Likewise.
5212         * math/auto-libm-test-out-pow: Likewise.
5213         * math/auto-libm-test-out-sin: Likewise.
5214         * math/auto-libm-test-out-sincos: Likewise.
5215         * math/auto-libm-test-out-sinh: Likewise.
5216         * math/auto-libm-test-out-sqrt: Likewise.
5217         * math/auto-libm-test-out-tan: Likewise.
5218         * math/auto-libm-test-out-tanh: Likewise.
5219         * math/auto-libm-test-out-tgamma: Likewise.
5220         * math/auto-libm-test-out-y0: Likewise.
5221         * math/auto-libm-test-out-y1: Likewise.
5222         * math/auto-libm-test-out-yn: Likewise.
5224         * math/Makefile (generated): Do not include libm-test.stmp.
5225         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
5226         on $(objpfx)libm-test.stmp.
5227         ($(objpfx)libm-test.stmp): Remove rule.
5228         ($(objpfx)libm-test-ulps.h): New rule.
5229         ($(objpfx)libm-test.c): Likewise.
5230         ($(objpfx)libm-have-vector-test.h): Likewise.
5231         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
5232         individual generated files, not libm-test.stmp.
5234         * math/gen-libm-test.pl ($output_dir): Remove variable.
5235         ($srcdir): Likewise.
5236         ($opt_a): New variable.
5237         ($opt_c): Likewise.
5238         ($opt_C): Likewise.
5239         ($opt_H): Likewise.
5240         (-n): Make option take argument and use it as NewUlps output.
5241         (-a): New option.  Use its argument for auto-libm-test-out input.
5242         (-c): New option.  Use its argument for libm-test.inc input.
5243         (-C): New option.  Use its argument for libm-test.c output.
5244         (-H): New option.  Use its argument for libm-test-ulps.h output.
5245         (top level): Only process inputs needed to generate outputs
5246         specified by command-line options.  Only generate outputs
5247         specified by command-line options.
5248         * math/README.libm-test: Update example gen-libm-test.pl command.
5249         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
5250         commands.
5251         (regen-ulps): Likewise.
5253 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
5255         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
5256         * include/string.h (index): Remove define.
5257         (rindex): Likewise.
5258         * misc/getttyent.c (__getttyent): Rename index to strchr.
5259         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
5260         * sunrpc/rpc_main.c (mkfile_output): Likewise.
5262 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5264         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
5265         * math/libm-test.inc: Move all contents, other than tests of
5266         individual functions, to libm-test-driver.c.
5267         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
5268         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
5269         [!FE_UPWARD] (FE_UPWARD): Likewise.
5270         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
5271         (NO_EXCEPTION): Likewise.
5272         (INVALID_EXCEPTION): Likewise.
5273         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
5274         (OVERFLOW_EXCEPTION): Likewise.
5275         (UNDERFLOW_EXCEPTION): Likewise.
5276         (INEXACT_EXCEPTION): Likewise.
5277         (INVALID_EXCEPTION_OK): Likewise.
5278         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5279         (OVERFLOW_EXCEPTION_OK): Likewise.
5280         (UNDERFLOW_EXCEPTION_OK): Likewise.
5281         (NO_INEXACT_EXCEPTION): Likewise.
5282         (EXCEPTIONS_OK): Likewise.
5283         (IGNORE_ZERO_INF_SIGN): Likewise.
5284         (TEST_NAN_SIGN): Likewise.
5285         (TEST_NAN_PAYLOAD): Likewise.
5286         (NO_TEST_INLINE): Likewise.
5287         (XFAIL_TEST): Likewise.
5288         (ERRNO_UNCHANGED): Likewise.
5289         (ERRNO_EDOM): Likewise.
5290         (ERRNO_ERANGE): Likewise.
5291         (IGNORE_RESULT): Likewise.
5292         (NON_FINITE): Likewise.
5293         (TEST_SNAN): Likewise.
5294         (NO_TEST_MATHVEC): Likewise.
5295         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
5296         (__CONCATX): Likewise.
5297         (TYPE_MIN): Likewise.
5298         (TYPE_TRUE_MIN): Likewise.
5299         (TYPE_MAX): Likewise.
5300         (MIN_EXP): Likewise.
5301         (MAX_EXP): Likewise.
5302         (MANT_DIG): Likewise.
5303         (FSTR_MAX): Likewise.
5304         (ULP_IDX): Likewise.
5305         (QTYPE_STR): Likewise.
5306         (TEST_COND_binary32): Likewise.
5307         (TEST_COND_binary64): Likewise.
5308         (TEST_COND_binary128): Likewise.
5309         (TEST_COND_ibm128): Likewise.
5310         (TEST_COND_intel96): Likewise.
5311         (TEST_COND_m68k96): Likewise.
5312         (TEST_COND_ibm128_libgcc): Likewise.
5313         (XFAIL_IBM128_LIBGCC): Likewise.
5314         (PAYLOAD_DIG): Likewise.
5315         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5316         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5317         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5318         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5319         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5320         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
5321         (TEST_COND_long32): Likewise.
5322         (TEST_COND_long64): Likewise.
5323         (TEST_COND_before_rounding): Likewise.
5324         (TEST_COND_after_rounding): Likewise.
5325         (lit_pi_3_m_4_d): Likewise.
5326         (lit_pi_3_m_4_ln10_m_d): Likewise.
5327         (lit_pi_2_ln10_m_d): Likewise.
5328         (lit_pi_4_ln10_m_d): Likewise.
5329         (lit_pi_ln10_d): Likewise.
5330         (lit_pi_2_d): Likewise.
5331         (lit_pi_4_d): Likewise.
5332         (lit_pi): Likewise.
5333         (lit_e): Likewise.
5334         (ulps_file_name): Likewise.
5335         (ulps_file): Likewise.
5336         (output_ulps): Likewise.
5337         (output_dir): Likewise.
5338         (noErrors): Likewise.
5339         (noTests): Likewise.
5340         (noExcTests): Likewise.
5341         (noErrnoTests): Likewise.
5342         (verbose): Likewise.
5343         (output_max_error): Likewise.
5344         (output_points): Likewise.
5345         (ignore_max_ulp): Likewise.
5346         (plus_zero): Likewise.
5347         (minus_zero): Likewise.
5348         (plus_infty): Likewise.
5349         (minus_infty): Likewise.
5350         (qnan_value_pl): Likewise.
5351         (qnan_value): Likewise.
5352         (snan_value_pl): Likewise.
5353         (snan_value): Likewise.
5354         (max_value): Likewise.
5355         (min_value): Likewise.
5356         (min_subnorm_value): Likewise.
5357         (snan_value_ld): Likewise.
5358         (max_error): Likewise.
5359         (real_max_error): Likewise.
5360         (imag_max_error): Likewise.
5361         (prev_max_error): Likewise.
5362         (prev_real_max_error): Likewise.
5363         (prev_imag_max_error): Likewise.
5364         (max_valid_error): Likewise.
5365         (TYPE_DECIMAL_DIG): Likewise.
5366         (TYPE_HEX_DIG): Likewise.
5367         (fmt_ftostr): Likewise.
5368         (compare_ulp_data): Likewise.
5369         (find_ulps): Likewise.
5370         (init_max_error): Likewise.
5371         (set_max_error): Likewise.
5372         (print_float): Likewise.
5373         (print_screen): Likewise.
5374         (print_screen_max_error): Likewise.
5375         (update_stats): Likewise.
5376         (print_function_ulps): Likewise.
5377         (print_complex_function_ulps): Likewise.
5378         (fpstack_test): Likewise.
5379         (print_max_error): Likewise.
5380         (print_complex_max_error): Likewise.
5381         (test_single_exception): Likewise.
5382         (test_exceptions): Likewise.
5383         (test_single_errno): Likewise.
5384         (test_errno): Likewise.
5385         (ULPDIFF): Likewise.
5386         (ulp): Likewise.
5387         (check_float_internal): Likewise.
5388         (check_float): Likewise.
5389         (check_complex): Likewise.
5390         (check_int): Likewise.
5391         (check_long): Likewise.
5392         (check_bool): Likewise.
5393         (check_longlong): Likewise.
5394         (check_intmax_t): Likewise.
5395         (check_uintmax_t): Likewise.
5396         (enable_test): Likewise.
5397         (struct test_f_f_data): Likewise.
5398         (struct test_ff_f_data): Likewise.
5399         (struct test_fj_f_data): Likewise.
5400         (struct test_fi_f_data): Likewise.
5401         (struct test_fl_f_data): Likewise.
5402         (struct test_if_f_data): Likewise.
5403         (struct test_fff_f_data): Likewise.
5404         (struct test_fiu_M_data): Likewise.
5405         (struct test_fiu_U_data): Likewise.
5406         (struct test_c_f_data): Likewise.
5407         (struct test_f_f1_data): Likewise.
5408         (struct test_fF_f1_data): Likewise.
5409         (struct test_ffI_f1_data): Likewise.
5410         (struct test_c_c_data): Likewise.
5411         (struct test_cc_c_data): Likewise.
5412         (struct test_f_i_data): Likewise.
5413         (struct test_ff_i_data): Likewise.
5414         (struct test_f_l_data): Likewise.
5415         (struct test_f_L_data): Likewise.
5416         (struct test_fFF_11_data): Likewise.
5417         (struct test_Ff_b1_data): Likewise.
5418         (IF_ROUND_INIT_): Likewise.
5419         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5420         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5421         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5422         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5423         (ROUND_RESTORE_): Likewise.
5424         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5425         (ROUND_RESTORE_FE_TONEAREST): Likewise.
5426         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5427         (ROUND_RESTORE_FE_UPWARD): Likewise.
5428         (RM_): Likewise.
5429         (RM_FE_DOWNWARD): Likewise.
5430         (RM_FE_TONEAREST): Likewise.
5431         (RM_FE_TOWARDZERO): Likewise.
5432         (RM_FE_UPWARD): Likewise.
5433         (COMMON_TEST_SETUP): Likewise.
5434         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5435         (COMMON_TEST_CLEANUP): Likewise.
5436         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5437         (RUN_TEST_f_f): Likewise.
5438         (RUN_TEST_LOOP_f_f): Likewise.
5439         (RUN_TEST_fp_f): Likewise.
5440         (RUN_TEST_LOOP_fp_f): Likewise.
5441         (RUN_TEST_2_f): Likewise.
5442         (RUN_TEST_LOOP_2_f): Likewise.
5443         (RUN_TEST_ff_f): Likewise.
5444         (RUN_TEST_LOOP_ff_f): Likewise.
5445         (RUN_TEST_LOOP_fj_f): Likewise.
5446         (RUN_TEST_fi_f): Likewise.
5447         (RUN_TEST_LOOP_fi_f): Likewise.
5448         (RUN_TEST_fl_f): Likewise.
5449         (RUN_TEST_LOOP_fl_f): Likewise.
5450         (RUN_TEST_if_f): Likewise.
5451         (RUN_TEST_LOOP_if_f): Likewise.
5452         (RUN_TEST_fff_f): Likewise.
5453         (RUN_TEST_LOOP_fff_f): Likewise.
5454         (RUN_TEST_fiu_M): Likewise.
5455         (RUN_TEST_LOOP_fiu_M): Likewise.
5456         (RUN_TEST_fiu_U): Likewise.
5457         (RUN_TEST_LOOP_fiu_U): Likewise.
5458         (RUN_TEST_c_f): Likewise.
5459         (RUN_TEST_LOOP_c_f): Likewise.
5460         (RUN_TEST_f_f1): Likewise.
5461         (RUN_TEST_LOOP_f_f1): Likewise.
5462         (RUN_TEST_fF_f1): Likewise.
5463         (RUN_TEST_LOOP_fF_f1): Likewise.
5464         (RUN_TEST_fI_f1): Likewise.
5465         (RUN_TEST_LOOP_fI_f1): Likewise.
5466         (RUN_TEST_ffI_f1_mod8): Likewise.
5467         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
5468         (RUN_TEST_Ff_b1): Likewise.
5469         (RUN_TEST_LOOP_Ff_b1): Likewise.
5470         (RUN_TEST_Ffp_b1): Likewise.
5471         (RUN_TEST_LOOP_Ffp_b1): Likewise.
5472         (RUN_TEST_c_c): Likewise.
5473         (RUN_TEST_LOOP_c_c): Likewise.
5474         (RUN_TEST_cc_c): Likewise.
5475         (RUN_TEST_LOOP_cc_c): Likewise.
5476         (RUN_TEST_f_i): Likewise.
5477         (RUN_TEST_LOOP_f_i): Likewise.
5478         (RUN_TEST_f_i_tg): Likewise.
5479         (RUN_TEST_LOOP_f_i_tg): Likewise.
5480         (RUN_TEST_ff_b): Likewise.
5481         (RUN_TEST_LOOP_ff_b): Likewise.
5482         (RUN_TEST_ff_i_tg): Likewise.
5483         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5484         (RUN_TEST_f_b): Likewise.
5485         (RUN_TEST_LOOP_f_b): Likewise.
5486         (RUN_TEST_f_b_tg): Likewise.
5487         (RUN_TEST_LOOP_f_b_tg): Likewise.
5488         (RUN_TEST_f_l): Likewise.
5489         (RUN_TEST_LOOP_f_l): Likewise.
5490         (RUN_TEST_f_L): Likewise.
5491         (RUN_TEST_LOOP_f_L): Likewise.
5492         (RUN_TEST_fFF_11): Likewise.
5493         (RUN_TEST_LOOP_fFF_11): Likewise.
5494         (VEC_SUFF): Likewise.
5495         (STR_CONCAT): Likewise.
5496         (STR_CON3): Likewise.
5497         (HAVE_VECTOR): Likewise.
5498         (START): Likewise.
5499         (END): Likewise.
5500         (END_COMPLEX): Likewise.
5501         (ALL_RM_TEST): Likewise.
5502         (matherr): Likewise.
5503         (initialize): Likewise.
5504         (options): Likewise.
5505         (doc): Likewise.
5506         (parse_opt): Likewise.
5507         (argp): Likewise.
5508         (check_ulp): Likewise.
5509         (main): Likewise.
5510         (do_test): New function.  Call tests of individual functions
5511         previously called from main.
5513         * math/libm-test.inc: Remove comment listing functions tested and
5514         not tested.
5516 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5518         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
5519         (allocate_stack): Remove COLORING_INCREMENT usage.
5520         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
5521         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
5523 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5525         * manual/libm-err-tab.pl (@all_functions): Change to
5526         %all_functions.  Initialize as empty.
5527         (parse_ulps): Add to %all_functions based on functions found in
5528         ulps files.  Ignore results for non-default rounding modes and
5529         vector functions.
5530         (print_platforms): Use %all_platforms.
5531         * manual/math.texi (Errors in Math Functions): Document omissions
5532         from the table.
5534         * math/Makefile (before-compile): Remove.
5536 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
5538         [BZ #21075]
5539         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
5540         unused assignment.
5541         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5543 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5545         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
5546         Add __glibc_unlikely hint.
5548 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5550         [BZ #16640]
5551         * sysdeps/i386/i686/strtok.S: Remove file.
5552         * sysdeps/i386/i686/strtok_r.S: Likewise.
5553         * sysdeps/i386/strtok.S: Likewise.
5554         * sysdeps/i386/strtok_r.S: Likewise.
5555         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
5556         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
5557         * sysdeps/x86_64/strtok.S: Likewise.
5558         * sysdeps/x86_64/strtok_r.S: Likewise.
5560         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
5561         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5562         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5563         (__ASSUME_FADVISE64_AS_64_64): Define.
5564         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
5565         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
5566         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
5567         __ALIGNMENT_ARG usage.
5568         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
5569         __NR_fadvise64_64 if it is not defined.
5571 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5573         * version.h (RELEASE): Set to "development"
5574         (VERSION): Set to 2.25.90.
5575         * NEWS: Add 2.26 section.
5577         * version.h (RELEASE): Set to "stable"
5578         (VERSION): Set to 2.25.
5579         * include/features.h (__GLIBC_MINOR__): Set to 25.
5581         * manual/contrib.texi: Add more contributors from this release
5582         and past releases.
5584         * NEWS (2.25): Add list of bugs fixed.
5586         * NEWS: Add missing news items.
5588 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5590         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
5591         parent if child exited in that manner.  Print WEXITSTATUS
5592         instead of the raw status.
5593         (do_test_prep): Rename to do_test.
5594         (do_test): Return the result of run_executable_sgid.
5595         (TEST_FUNCTION_ARGV): Adjust.
5597 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
5598             Florian Weimer  <fweimer@redhat.com>
5599             Carlos O'Donell  <carlos@redhat.com>
5601         [BZ #20915]
5602         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
5603         Do not initialize DTV.
5604         * nptl/allocatestack.c (init_one_static_tls): Likewise.
5606 2017-02-03  David S. Miller  <davem@davemloft.net>
5608         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
5609         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5610         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
5611         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5612         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
5613         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5614         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
5615         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5616         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5617         (libm-sysdep_routines): Update.
5618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
5619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
5620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
5622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5623         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
5624         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
5625         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
5626         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
5627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
5628         Likewise.
5629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
5631         Likewise.
5632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
5634         Likewise.
5635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
5637         Likewise.
5638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5640         (libm-sysdep_routines): Update.
5642 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
5644         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
5645         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
5646         against unrelocated shared library.
5647         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5649 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5651         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
5652         * elf/tst-env-setuid-tunables.c
5653         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
5654         GLIBC_TUNABLES is removed in a setgid process.
5656         [BZ #21073]
5657         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
5658         * elf/dl-tunables.c (tunables_strdup): Remove.
5659         (get_next_env): Also return the previous envp.
5660         (parse_tunables): Erase tunables of category
5661         TUNABLES_SECLEVEL_SXID_ERASE.
5662         (maybe_enable_malloc_check): Make MALLOC_CHECK_
5663         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
5664         (__tunables_init)[TUNABLES_FRONTEND ==
5665         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
5666         after parsing.
5667         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
5668         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
5669         * elf/dl-tunables.h (struct _tunable): Change member is_secure
5670         to security_level.
5671         * elf/dl-tunables.list: Add security_level annotations for all
5672         tunables.
5673         * scripts/gen-tunables.awk: Recognize and generate enum values
5674         for security_level.
5675         * elf/tst-env-setuid.c: New test case.
5676         * elf/tst-env-setuid-tunables: new test case.
5677         * elf/Makefile (tests-static): Add them.
5679 2017-02-01  Richard Henderson  <rth@twiddle.net>
5681         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
5682         adjusting the byte count.
5684 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
5686         * conform/Makefile (linknamespace-libs): Define.
5688         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
5689         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
5690         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
5691         operands.
5693 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
5695         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
5697 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
5699         [BZ #21081]
5700         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5701         (L(stosb)): Add VZEROUPPER before ret.
5703 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
5704             Alexey Makhalov <amakhalov@vmware.com>
5705             Florian Weimer <fweimer@redhat.com>
5707         [BZ #20116]
5708         * nptl/pthread_create.c: Document concurrency notes.
5709         Enhance thread creation notes.
5710         (create_thread): Use bool *stopped_start.
5711         (START_THREAD_DEFN): Comment ownership of PD.
5712         (__pthread_create_2_1): Add local bool stopped_start and use
5713         that instead of pd->stopped_start where appropriate.
5714         * nptl/createthread.c (create_thread): Use bool *stopped_start.
5715         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
5716         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
5717         * nptl/tst-create-detached.c: New file.
5718         * nptl/Makefile (tests): Add tst-create-detached.
5719         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
5720         Reference the enhanced thread creation notes.
5721         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
5722         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5723         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
5724         (__pthread_current_priority): Likewise.
5725         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
5726         xpthread_attr_init, xpthread_attr_setdetachstate, and
5727         xpthread_attr_setstacksize.
5728         * support/xpthread_attr_destroy.c: New file.
5729         * support/xpthread_attr_init.c: New file.
5730         * support/xpthread_attr_setdetachstate.c: New file.
5731         * support/xpthread_attr_setstacksize.c: New file.
5732         * support/xthread.h: Define prototypes for xpthread_attr_destroy
5733         xpthread_attr_init, xpthread_attr_setdetachstate, and
5734         xpthread_attr_setstacksize.
5736 2017-01-27  Florian Weimer  <fweimer@redhat.com>
5738         * nptl/Makefile (tests): Add tst-robust-fork.
5739         * nptl/tst-robust-fork.c: New file.
5740         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
5741         xpthread_mutex_consistent, xpthread_mutex_destroy,
5742         xpthread_mutex_init, xpthread_mutexattr_destroy,
5743         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
5744         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
5745         xpthread_mutexattr_settype.
5746         * support/xmmap.c: New file.
5747         * support/xmunmap.c: Likewise.
5748         * support/xpthread_mutex_consistent.c: Likewise.
5749         * support/xpthread_mutex_destroy.c: Likewise.
5750         * support/xpthread_mutex_init.c: Likewise.
5751         * support/xpthread_mutexattr_destroy.c: Likewise.
5752         * support/xpthread_mutexattr_init.c: Likewise.
5753         * support/xpthread_mutexattr_setprotocol.c: Likewise.
5754         * support/xpthread_mutexattr_setpshared.c: Likewise.
5755         * support/xpthread_mutexattr_setrobust.c: Likewise.
5756         * support/xpthread_mutexattr_settype.c: Likewise.
5757         * support/xthread.h (xpthread_mutexattr_destroy)
5758         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
5759         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
5760         (xpthread_mutexattr_settype, xpthread_mutex_init)
5761         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
5762         * support/xunistd.h (xmmap, xmunmap): Likewise.
5764 2017-01-25  Florian Weimer  <fweimer@redhat.com>
5766         * string/Makefile (xtests): Add comment.
5767         (LOCALES): Add en_GB.UTF-8.
5768         (tst-strcoll-overflow.out): Depend on generated locales.
5769         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
5770         (SIZE, TIMEOUT): Update comments.
5771         (do_test): Define as static.  Fail test if setlocale fails.
5772         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
5773         messages.
5774         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
5775         TIMEOUT at 300 seconds should be enough to run this test
5776         successfully.
5778 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
5780         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5781         /* FALLTHRU */ comments.
5783 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
5785         [BZ #21053]
5786         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
5787         constants instead of the old R* ones.
5788         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
5789         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
5790         (NGREG): ... to this, to fit in with other architectures.
5791         (gpregset_t): Use new NGREG macro.
5792         [__USE_GNU]: Remove condition; all architectures other than tile
5793         are unconditional.
5794         (R*): Rename to REG_R*.
5796 2017-01-20  DJ Delorie  <dj@redhat.com>
5798         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
5799         (tunable_set_val_if_valid_range_signed) ... this, and ...
5800         (tunable_set_val_if_valid_range_unsigned) ... this.
5801         (tunable_initialize): Call the correct one of the above based on type.
5803 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
5805         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
5806         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5807         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5808         * sysdeps/microblaze/libm-test-ulps: Likewise.
5809         * sysdeps/sh/libm-test-ulps: Likewise.
5811         * math/README.libm-test: Update list of characters for input and
5812         output types.
5814 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5816         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5817         (__lll_unlock_elision): Fix adapt_count decrement.
5819 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
5821         * README.pretty-printers (Known issues): Warn about printers not
5822         always covering everything.
5823         * nptl/nptl-printers.py (MutexPrinter): Change output.
5824         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
5826 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5828         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
5829         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5830         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
5831         (__lll_lock_elision): Do not test futex before starting a
5832         transaction.  Use __glibc_likely instead of __builtin_expect.
5833         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
5834         (__lll_trylock_elision): Do not test futex before starting a
5835         transaction.  Use __glibc_likely instead of __builtin_expect.
5837 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5839         * po/Makefile (update-translations): New target.
5841 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
5843         [BZ #21061]
5844         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
5846 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5848         * elf/dl-tunables (get_next_env): Always advance envp.
5849         * stdlib/tst-empty-env.c: New test case.
5850         * stdlib/Makefile (tests): Use it.
5852 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
5854         [BZ #21047]
5855         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
5856         name for instruction.
5857         [!__SOFTFP__] (_FPU_SETCW): Likewise.
5859 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
5861         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
5862         for make install.
5864 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5866         * po/bg.po: Merge from Translation Project.
5867         * po/fr.po: Likewise.
5868         * po/ko.po: Likewise.
5869         * po/nl.po: Likewise.
5870         * po/sv.po: Likewise.
5872 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
5874         * manual/install.texi (Tools for Compilation): Update GCC version
5875         known to work to build glibc.
5876         * INSTALL: Regenerated.
5878 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5880         [BZ #21006]
5881         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
5883 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
5885         [BZ #21045]
5886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5887         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
5888         to __sigprocmask.
5890 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
5892         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
5893         wrap-around.
5894         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
5896         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
5898 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5900         * NEWS: Fix typo.
5902 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5904         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
5905         barriers and comments.
5906         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
5907         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5908         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5910 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5912         [BZ #19402]
5913         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
5914         mutexes.
5916 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5918         [BZ #20985]
5919         * nptl/Makefile: Adapt.
5920         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
5921         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
5922         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
5923         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
5924         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
5925         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
5926         lll_robust* functions and adapt.
5927         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5928         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
5929         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
5930         __lll_robust_timedlock, __lll_robust_unlock): Remove.
5931         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
5932         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
5933         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
5934         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
5935         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
5936         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
5937         __lll_robust_timedlock, __lll_robust_unlock): Remove.
5938         * nptl/lowlevelrobustlock.c: Remove file.
5939         * nptl/lowlevelrobustlock.sym: Likewise.
5940         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
5941         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
5943 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5945         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5947 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5949         * po/cs.po: Merge translations from the Translation Project.
5950         * po/de.po: Likewise.
5951         * po/pl.po: Likewise.
5952         * po/ru.po: Likewise.
5953         * po/tr.po: Likewise.
5954         * po/uk.po: Likewise.
5955         * po/vi.po: Likewise.
5956         * po/zh_CN.po: Likewise.
5958 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
5960         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
5962         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
5963         object.
5965 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
5967         [BZ #16458]
5968         * bits/uintn-identity.h: New file.
5969         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
5970         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
5971         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
5972         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
5973         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
5974         * string/endian.h: Include <bits/uintn-identity.h>.
5975         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
5976         __uint16_identity.
5977         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
5978         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
5979         __uint32_identity.
5980         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
5981         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
5982         __uint64_identity.
5983         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
5984         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
5985         __uint16_identity.
5986         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
5987         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
5988         __uint32_identity.
5989         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
5990         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
5991         __uint64_identity.
5992         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
5993         * string/Makefile (headers): Add bits/uintn-identity.h.
5994         (tests): Add test-endian-types.
5995         * string/test-endian-types.c: New file.
5996         * inet/Makefile (tests): Add test-hnto-types.
5997         * inet/test-hnto-types.c: New file.
5999 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6001         * po/be.po: Update from Translation Project.
6002         * po/bg.po: Likewise.
6003         * po/ca.po: Likewise.
6004         * po/cs.po: Likewise.
6005         * po/da.po: Likewise.
6006         * po/de.po: Likewise.
6007         * po/el.po: Likewise.
6008         * po/eo.po: Likewise.
6009         * po/es.po: Likewise.
6010         * po/fi.po: Likewise.
6011         * po/fr.po: Likewise.
6012         * po/gl.po: Likewise.
6013         * po/hr.po: Likewise.
6014         * po/hu.po: Likewise.
6015         * po/ia.po: Likewise.
6016         * po/id.po: Likewise.
6017         * po/it.po: Likewise.
6018         * po/ja.po: Likewise.
6019         * po/ko.po: Likewise.
6020         * po/lt.po: Likewise.
6021         * po/nb.po: Likewise.
6022         * po/nl.po: Likewise.
6023         * po/pl.po: Likewise.
6024         * po/pt_BR.po: Likewise.
6025         * po/ru.po: Likewise.
6026         * po/rw.po: Likewise.
6027         * po/sk.po: Likewise.
6028         * po/sl.po: Likewise.
6029         * po/sv.po: Likewise.
6030         * po/tr.po: Likewise.
6031         * po/uk.po: Likewise.
6032         * po/vi.po: Likewise.
6033         * po/zh_CN.po: Likewise.
6034         * po/zh_TW.po: Likewise.
6036 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
6038         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
6039         -Wformat-truncation instead of -Wformat-length.
6040         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
6041         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
6042         GCC 7.
6043         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
6044         (do_test): Ignore -Wformat-truncation for GCC 7.
6046         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
6047         buffer used to print long int value.
6049         * elf/sotruss-lib.c (init): Increase space allocated for pid by
6050         one byte.  Print it with %ld, cast to long int.
6052 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6054         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
6055         (re.fullmatch, subprocess.run): Likewise.
6057 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6059         * po/libc.pot: Regenerate.
6061 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6063         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
6064         (min_strlen): Likewise.
6065         (disable_tunable): Likewise.
6066         (maybe_disable_malloc_check): Rename to
6067         maybe_enable_malloc_check.
6068         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
6069         if /etc/suid-debug file exists.
6070         (__tunables_init): Update caller.
6071         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
6072         secure.
6074 2016-01-10  Torvald Riegel  <triegel@redhat.com>
6076         * nptl/DESIGN-rwlock.txt: Remove.
6077         * nptl/lowlevelrwlock.sym: Remove.
6078         * nptl/Makefile: Add new tests.
6079         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
6080         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
6081         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
6082         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
6083         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
6084         PTHREAD_RWLOCK_FUTEX_USED): New.
6085         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
6086         implementation.
6087         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
6088         (__pthread_rwlock_rdlock): Adapt.
6089         * nptl/pthread_rwlock_timedrdlock.c
6090         (pthread_rwlock_timedrdlock): Adapt.
6091         * nptl/pthread_rwlock_timedwrlock.c
6092         (pthread_rwlock_timedwrlock): Adapt.
6093         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
6094         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
6095         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
6096         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
6097         (__pthread_rwlock_wrlock): Adapt.
6098         * nptl/tst-rwlock10.c: Adapt.
6099         * nptl/tst-rwlock11.c: Adapt.
6100         * nptl/tst-rwlock17.c: New file.
6101         * nptl/tst-rwlock18.c: New file.
6102         * nptl/tst-rwlock19.c: New file.
6103         * nptl/tst-rwlock2b.c: New file.
6104         * nptl/tst-rwlock8.c: Adapt.
6105         * nptl/tst-rwlock9.c: Adapt.
6106         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6107         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6108         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6109         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6110         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6111         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6112         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6113         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6114         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6115         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6116         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6117         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6118         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
6119         (pthread_rwlock_t): Adapt.
6120         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6121         (pthread_rwlock_t): Adapt.
6122         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6123         * nptl/nptl-printers.py (): Adapt.
6124         * nptl/nptl_lock_constants.pysym: Adapt.
6125         * nptl/test-rwlock-printers.py: Adapt.
6126         * nptl/test-rwlockattr-printers.c: Adapt.
6127         * nptl/test-rwlockattr-printers.py: Adapt.
6129 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
6131         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
6132         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
6133         (fma_test_data): Likewise.
6134         (hypot_test_data): Likewise.
6135         (log1p_test_data): Likewise.
6136         (modf_test_data): Likewise.
6137         (pow_test_data): Likewise.
6138         (remainder_test_data): Likewise.
6139         (remquo_test_data): Likewise.
6140         (scalb_test_data): Likewise.
6141         (scalbn_test_data): Likewise.
6142         (scalbln_test_data): Likewise.
6143         * math/gen-libm-test.pl (parse_args): Transform
6144         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
6145         on the rounding mode.
6147 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
6149         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
6150         xfail-rounding:ibm128-libgcc automatically to tests overflowing
6151         and those that can underflow to zero.
6152         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
6153         add others.
6154         * math/auto-libm-test-out: Regenerated.
6156         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
6157         supported.
6158         (feholdexcept_tests): Skip tests requiring exceptions or rounding
6159         modes support if not supported.
6161         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
6162         Add libc.so PLT entry.
6163         (__tls_get_addr): Make ld.so PLT entry optional.
6165 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6167         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
6168         * string/bits/string3.h: ... here.
6170 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
6172         [BZ #21028]
6173         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
6174         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
6175         if EXCEPTION_TESTS returns false.
6177 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6179         [BZ #20558]
6180         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
6181         strings_fortified.h.
6182         [__USE_MISC] (bzero): Likewise.
6183         [__USE_MISC] (explicit_bzero): Likewise.
6184         * string/strings.h: Include strings_fortified.h.
6185         * string/Makefile (headers): Add strings_fortified.h.
6186         * string/bits/strings_fortified.h: New file.
6187         * include/bits/strings_fortified.h: Likewise.
6189 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
6191         * elf/tst-tls13.c (TIMEOUT): Remove.
6192         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
6193         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
6194         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
6195         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
6196         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
6198         [BZ #21026]
6199         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
6200         (readahead): New syscall entry.
6202 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
6204         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
6205         around tests of strncat with large sizes.
6207         * malloc/tst-malloc.c: Include <libc-internal.h>.
6208         (do_test): Disable -Walloc-size-larger-than= around tests of
6209         malloc with negative sizes.
6210         * malloc/tst-mcheck.c: Include <libc-internal.h>.
6211         (do_test): Disable -Walloc-size-larger-than= around tests of
6212         malloc and realloc with negative sizes.
6213         * malloc/tst-realloc.c: Include <libc-internal.h>.
6214         (do_test): Disable -Walloc-size-larger-than= around tests of
6215         realloc with negative sizes.
6217         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
6218         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
6219         allowed to 16 ulps.
6220         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
6221         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
6222         * math/auto-libm-test-out: Regenerated.
6224 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6226         * math/Makefile (libm-calls): Move wrappers...
6227         (libm-compat-call-auto): Here.
6228         (libm-routines): Add items in libm-compat-calls-auto.
6229         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
6230         the filenames of the wrappers that have been renamed.
6231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
6232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6234         * math/w_acos.c: Add _compat suffix to filename.
6235         * math/w_acosf.c: Likewise.
6236         * math/w_acosh.c: Likewise.
6237         * math/w_acoshf.c: Likewise.
6238         * math/w_acoshl.c: Likewise.
6239         * math/w_acosl.c: Likewise.
6240         * math/w_asin.c: Likewise.
6241         * math/w_asinf.c: Likewise.
6242         * math/w_asinl.c: Likewise.
6243         * math/w_atan2.c: Likewise.
6244         * math/w_atan2f.c: Likewise.
6245         * math/w_atan2l.c: Likewise.
6246         * math/w_atanh.c: Likewise.
6247         * math/w_atanhf.c: Likewise.
6248         * math/w_atanhl.c: Likewise.
6249         * math/w_cosh.c: Likewise.
6250         * math/w_coshf.c: Likewise.
6251         * math/w_coshl.c: Likewise.
6252         * math/w_exp10.c: Likewise.
6253         * math/w_exp10f.c: Likewise.
6254         * math/w_exp10l.c: Likewise.
6255         * math/w_exp2.c: Likewise.
6256         * math/w_exp2f.c: Likewise.
6257         * math/w_exp2l.c: Likewise.
6258         * math/w_fmod.c: Likewise.
6259         * math/w_fmodf.c: Likewise.
6260         * math/w_fmodl.c: Likewise.
6261         * math/w_hypot.c: Likewise.
6262         * math/w_hypotf.c: Likewise.
6263         * math/w_hypotl.c: Likewise.
6264         * math/w_j0.c: Likewise.
6265         * math/w_j0f.c: Likewise.
6266         * math/w_j0l.c: Likewise.
6267         * math/w_j1.c: Likewise.
6268         * math/w_j1f.c: Likewise.
6269         * math/w_j1l.c: Likewise.
6270         * math/w_jn.c: Likewise.
6271         * math/w_jnf.c: Likewise.
6272         * math/w_jnl.c: Likewise.
6273         * math/w_log10.c: Likewise.
6274         * math/w_log10f.c: Likewise.
6275         * math/w_log10l.c: Likewise.
6276         * math/w_log2.c: Likewise.
6277         * math/w_log2f.c: Likewise.
6278         * math/w_log2l.c: Likewise.
6279         * math/w_log.c: Likewise.
6280         * math/w_logf.c: Likewise.
6281         * math/w_logl.c: Likewise.
6282         * math/w_pow.c: Likewise.
6283         * math/w_powf.c: Likewise.
6284         * math/w_powl.c: Likewise.
6285         * math/w_remainder.c: Likewise.
6286         * math/w_remainderf.c: Likewise.
6287         * math/w_remainderl.c: Likewise.
6288         * math/w_scalb.c: Likewise.
6289         * math/w_scalbf.c: Likewise.
6290         * math/w_scalbl.c: Likewise.
6291         * math/w_sinh.c: Likewise.
6292         * math/w_sinhf.c: Likewise.
6293         * math/w_sinhl.c: Likewise.
6294         * math/w_sqrt.c: Likewise.
6295         * math/w_sqrtf.c: Likewise.
6296         * math/w_sqrtl.c: Likewise.
6297         * math/w_tgamma.c: Likewise.
6298         * math/w_tgammaf.c: Likewise.
6299         * math/w_tgammal.c: Likewise.
6301         * math/w_acos_compat.c: New file copied from above and
6302         adjusted for new #includes path
6303         * math/w_acosf_compat.c: Likewise.
6304         * math/w_acosh_compat.c: Likewise.
6305         * math/w_acoshf_compat.c: Likewise.
6306         * math/w_acoshl_compat.c: Likewise.
6307         * math/w_acosl_compat.c: Likewise.
6308         * math/w_asin_compat.c: Likewise.
6309         * math/w_asinf_compat.c: Likewise.
6310         * math/w_asinl_compat.c: Likewise.
6311         * math/w_atan2_compat.c: Likewise.
6312         * math/w_atan2f_compat.c: Likewise.
6313         * math/w_atan2l_compat.c: Likewise.
6314         * math/w_atanh_compat.c: Likewise.
6315         * math/w_atanhf_compat.c: Likewise.
6316         * math/w_atanhl_compat.c: Likewise.
6317         * math/w_cosh_compat.c: Likewise.
6318         * math/w_coshf_compat.c: Likewise.
6319         * math/w_coshl_compat.c: Likewise.
6320         * math/w_exp10_compat.c: Likewise.
6321         * math/w_exp10f_compat.c: Likewise.
6322         * math/w_exp10l_compat.c: Likewise.
6323         * math/w_exp2_compat.c: Likewise.
6324         * math/w_exp2f_compat.c: Likewise.
6325         * math/w_exp2l_compat.c: Likewise.
6326         * math/w_fmod_compat.c: Likewise.
6327         * math/w_fmodf_compat.c: Likewise.
6328         * math/w_fmodl_compat.c: Likewise.
6329         * math/w_hypot_compat.c: Likewise.
6330         * math/w_hypotf_compat.c: Likewise.
6331         * math/w_hypotl_compat.c: Likewise.
6332         * math/w_j0_compat.c: Likewise.
6333         * math/w_j0f_compat.c: Likewise.
6334         * math/w_j0l_compat.c: Likewise.
6335         * math/w_j1_compat.c: Likewise.
6336         * math/w_j1f_compat.c: Likewise.
6337         * math/w_j1l_compat.c: Likewise.
6338         * math/w_jn_compat.c: Likewise.
6339         * math/w_jnf_compat.c: Likewise.
6340         * math/w_jnl_compat.c: Likewise.
6341         * math/w_log10_compat.c: Likewise.
6342         * math/w_log10f_compat.c: Likewise.
6343         * math/w_log10l_compat.c: Likewise.
6344         * math/w_log2_compat.c: Likewise.
6345         * math/w_log2f_compat.c: Likewise.
6346         * math/w_log2l_compat.c: Likewise.
6347         * math/w_log_compat.c: Likewise.
6348         * math/w_logf_compat.c: Likewise.
6349         * math/w_logl_compat.c: Likewise.
6350         * math/w_pow_compat.c: Likewise.
6351         * math/w_powf_compat.c: Likewise.
6352         * math/w_powl_compat.c: Likewise.
6353         * math/w_remainder_compat.c: Likewise.
6354         * math/w_remainderf_compat.c: Likewise.
6355         * math/w_remainderl_compat.c: Likewise.
6356         * math/w_scalb_compat.c: Likewise.
6357         * math/w_scalbf_compat.c: Likewise.
6358         * math/w_scalbl_compat.c: Likewise.
6359         * math/w_sinh_compat.c: Likewise.
6360         * math/w_sinhf_compat.c: Likewise.
6361         * math/w_sinhl_compat.c: Likewise.
6362         * math/w_sqrt_compat.c: Likewise.
6363         * math/w_sqrtf_compat.c: Likewise.
6364         * math/w_sqrtl_compat.c: Likewise.
6365         * math/w_tgamma_compat.c: Likewise.
6366         * math/w_tgammaf_compat.c: Likewise.
6367         * math/w_tgammal_compat.c: Likewise.
6369         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
6370         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
6371         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
6372         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
6373         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
6374         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
6375         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
6376         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
6377         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
6378         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
6379         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
6380         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
6381         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
6382         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
6383         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
6384         * sysdeps/ia64/fpu/w_powl.c: Likewise.
6385         * sysdeps/ia64/fpu/w_powf.c: Likewise.
6386         * sysdeps/ia64/fpu/w_pow.c: Likewise.
6387         * sysdeps/ia64/fpu/w_logl.c: Likewise.
6388         * sysdeps/ia64/fpu/w_logf.c: Likewise.
6389         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
6390         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
6391         * sysdeps/ia64/fpu/w_log2.c: Likewise.
6392         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
6393         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
6394         * sysdeps/ia64/fpu/w_log10.c: Likewise.
6395         * sysdeps/ia64/fpu/w_log.c: Likewise.
6396         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
6397         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
6398         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
6399         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
6400         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
6401         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
6402         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
6403         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
6404         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
6405         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
6406         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
6407         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
6408         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
6409         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
6410         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
6411         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
6412         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
6413         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
6414         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
6415         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
6416         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
6417         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
6418         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
6419         * sysdeps/ia64/fpu/w_asin.c: Likewise.
6420         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
6421         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
6422         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
6423         * sysdeps/ia64/fpu/w_acos.c: Likewise.
6424         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
6425         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
6426         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
6427         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
6428         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
6429         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
6430         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
6431         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
6432         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
6433         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
6434         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
6435         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
6436         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
6437         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
6438         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
6439         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
6440         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
6441         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
6442         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
6443         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
6444         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
6445         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
6446         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
6447         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
6448         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
6449         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
6450         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
6451         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
6452         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
6453         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
6454         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
6455         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
6456         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
6457         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
6458         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
6459         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
6460         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
6461         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
6462         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
6463         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
6464         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
6465         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
6466         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
6467         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
6468         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
6469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
6470         Likewise.
6471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
6472         Likewise.
6473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
6474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
6475         Likewise.
6476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
6477         Likewise.
6478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
6479         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6480         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6481         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6482         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6483         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6484         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
6486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
6488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6489         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6490         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6491         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6492         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6494         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
6495         and adjusted for new #includes path
6496         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
6497         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
6498         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
6499         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
6500         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
6501         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
6502         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
6503         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
6504         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
6505         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
6506         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
6507         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
6508         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
6509         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
6510         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
6511         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
6512         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
6513         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
6514         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
6515         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
6516         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
6517         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
6518         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
6519         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
6520         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
6521         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
6522         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
6523         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
6524         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
6525         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
6526         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
6527         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
6528         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
6529         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
6530         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
6531         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
6532         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
6533         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
6534         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
6535         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
6536         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
6537         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
6538         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
6539         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
6540         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
6541         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
6542         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
6543         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
6544         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
6545         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
6546         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
6547         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
6548         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
6549         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
6550         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
6551         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
6552         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
6553         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
6554         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
6555         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
6556         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
6557         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
6558         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
6559         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
6560         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
6561         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
6562         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
6563         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
6564         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
6565         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
6566         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
6567         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
6568         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
6569         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
6570         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
6571         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
6572         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
6573         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
6574         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
6575         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
6576         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
6577         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
6578         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
6579         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
6580         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
6581         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
6582         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
6583         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
6584         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
6585         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
6586         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
6587         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
6588         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
6589         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
6590         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
6591         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
6592         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
6593         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
6594         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
6595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
6596         Likewise.
6597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
6598         Likewise.
6599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
6600         Likewise.
6601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
6602         Likewise.
6603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
6604         Likewise.
6605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
6606         Likewise.
6607         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6608         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6609         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6610         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6611         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
6612         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6614         Likewise.
6615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
6616         Likewise.
6617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6618         Likewise.
6619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
6620         Likewise.
6621         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
6622         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6623         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6624         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6626 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
6628         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
6629         __jmp_buf_internal_tag.
6631         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
6632         preserve NaN payload if [__mips_nan2008].
6633         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6635         [BZ #21022]
6636         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
6638 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6640         * sysdeps/i386/fpu/libm-test-ulps: Update.
6642 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6644         * sysdeps/ia64/strcat.c: Remove file.
6645         * sysdeps/powerpc/strcat.c: Likewise.
6646         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
6647         C implementation.
6648         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
6649         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
6651 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6652             Steven Munroe  <sjmunroe@us.ibm.com>
6653             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6655         [BZ #20822]
6656         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6657         (__lll_lock_elision): Access adapt_count via C11 atomics.
6658         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6659         (__lll_trylock_elision): Likewise.
6660         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6661         (__lll_unlock_elision):  Update adapt_count variable inside the
6662         critical section using C11 atomics.
6664 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6666         * math/test-fenvinline.c (do_test): Disable tests of raised
6667         exceptions if !EXCEPTION_TESTS (FLOAT).
6669 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6671         [BZ #19390]
6672         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
6673         maximum string size.
6674         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
6675         in pointer addition.
6676         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
6677         Likewise.
6679 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6681         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
6682         passed to tst-ldconfig-X.sh.
6684 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
6686         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
6688 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
6690         [BZ #21019]
6691         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
6692         New syscall entry.
6693         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
6694         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
6695         lseek.
6697         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6698         power4 glibc for powerpc-linux-gnu.
6700 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6702         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
6703         semctl.
6705 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
6707         * math/test-nearbyint-except.c: Include <stdbool.h>.
6708         (any_supported): New variable.
6709         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
6710         set any_supported.
6711         (do_test): Return 77 if no floating-point type supported
6712         exceptions.
6714         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
6715         condition on [__mips_hard_float].
6717 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6719         [BZ #21014]
6720         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
6721         in pointer addition.
6722         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
6724 2017-01-02  Torvald Riegel  <triegel@redhat.com>
6726         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
6727         new condvar.
6729 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
6731         * scripts/build-many-glibcs.py (Context.checkout): Default
6732         binutils version to 2.28 branch.
6734 2017-01-01  Florian Weimer  <fweimer@redhat.com>
6736         * support/support_format_netent.c (support_format_netent): Work
6737         around alpha struct netent definition difference.
6739 2017-01-01  Florian Weimer  <fweimer@redhat.com>
6741         * support/xwrite.c (xwrite): Use %td for pointer difference.
6743 2017-01-01  Florian Weimer  <fweimer@redhat.com>
6745         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
6746         have-tunables only.
6747         (tests-static): Add tst-malloc-usable-static-tunables for
6748         have-tunables only.
6750 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
6752         * scripts/config.guess: Update to version 2017-01-01.
6753         * scripts/config.sub: Update to version 2017-01-01.
6755         * NEWS: Update copyright dates.
6756         * catgets/gencat.c (print_version): Likewise.
6757         * csu/version.c (banner): Likewise.
6758         * debug/catchsegv.sh: Likewise.
6759         * debug/pcprofiledump.c (print_version): Likewise.
6760         * debug/xtrace.sh (do_version): Likewise.
6761         * elf/ldconfig.c (print_version): Likewise.
6762         * elf/ldd.bash.in: Likewise.
6763         * elf/pldd.c (print_version): Likewise.
6764         * elf/sotruss.sh: Likewise.
6765         * elf/sprof.c (print_version): Likewise.
6766         * iconv/iconv_prog.c (print_version): Likewise.
6767         * iconv/iconvconfig.c (print_version): Likewise.
6768         * locale/programs/locale.c (print_version): Likewise.
6769         * locale/programs/localedef.c (print_version): Likewise.
6770         * login/programs/pt_chown.c (print_version): Likewise.
6771         * malloc/memusage.sh (do_version): Likewise.
6772         * malloc/memusagestat.c (print_version): Likewise.
6773         * malloc/mtrace.pl: Likewise.
6774         * manual/libc.texinfo: Likewise.
6775         * nptl/version.c (banner): Likewise.
6776         * nscd/nscd.c (print_version): Likewise.
6777         * nss/getent.c (print_version): Likewise.
6778         * nss/makedb.c (print_version): Likewise.
6779         * posix/getconf.c (main): Likewise.
6780         * scripts/test-installation.pl: Likewise.
6781         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6783         * All files with FSF copyright notices: Update copyright dates
6784         using scripts/update-copyrights.
6785         * intl/plural.c: Regenerated.
6786         * locale/programs/charmap-kw.h: Likewise.
6787         * locale/programs/locfile-kw.h: Likewise.
6789 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6791         [BZ #20593]
6792         Update DNS RR type definitions.
6793         * scripts/gen-rrtypes.py: New file.
6794         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
6795         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
6796         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
6797         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
6798         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
6799         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
6800         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
6801         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
6802         ns_t_ta, ns_t_dlv.
6803         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
6804         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
6805         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
6806         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
6807         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
6808         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
6809         Define.
6810         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
6811         entry for ns_t_zxfr.
6813 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6815         [BZ #18784]
6816         CVE-2015-5180
6817         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
6818         T_UNSPEC.  Adjust value.
6819         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
6820         * resolv/res_query.c (__libc_res_nquery): Likewise.
6821         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
6822         QTYPEs.
6823         * resolv/tst-resolv-qtypes.c: New file.
6824         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
6825         (tst-resolv-qtypes): Link against libresolv and libpthread.
6827 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6829         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
6831 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6833         * manual/tunables.texi: New chapter.
6834         * manual/Makefile (chapters): Add it.
6835         * manual/probes.texi (@node): Point to the Tunables chapter.
6837         * Makeconfig (have-tunables): Check for non-negative instead
6838         of positive.
6839         * configure.ac: Add 'valstring' as a valid value for
6840         --enable-tunables.
6841         * configure: Regenerate.
6842         * elf/Makefile (have-tunables): Check for non-negative instead
6843         of positive.
6844         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
6845         dl-tunables.c.
6846         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
6847         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
6848         (tunables_strdup): Likewise.
6849         (disable_tunables): Likewise.
6850         (parse_tunables): Likewise.
6851         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
6852         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
6853         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
6854         (TUNABLES_FRONTEND_yes): New macro, define as
6855         TUNABLES_FRONTEND_valstring by default.
6856         * manual/install.texi: Document new acceptable values for
6857         --enable-tunables.
6858         * INSTALL: Regenerate.
6860         * config.make.in (have-loop-to-function): Define.
6861         * elf/Makefile (CFLAGS-dl-tunables.c): Add
6862         -fno-tree-loop-distribute-patterns.
6863         * elf/dl-tunables.c: Include libc-internals.h.
6864         (GLIBC_TUNABLES): New macro.
6865         (tunables_strdup): New function.
6866         (parse_tunables): New function.
6867         (min_strlen): New function.
6868         (__tunables_init): Use the new functions and macro.
6869         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
6870         * malloc/tst-malloc-usable-tunables.c: New test case.
6871         * malloc/tst-malloc-usable-static-tunables.c: New test case.
6872         * malloc/Makefile (tests, tests-static): Add tests.
6874         * manual/install.texi: Add --enable-tunables option.
6875         * INSTALL: Regenerate.
6876         * README.tunables: New file.
6877         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
6878         (before-compile): Generate dl-tunable-list.h early.
6879         * config.h.in: Add HAVE_TUNABLES.
6880         * config.make.in: Add have-tunables.
6881         * configure.ac: Add --enable-tunables option.
6882         * configure: Regenerate.
6883         * csu/init-first.c (__libc_init_first): Move
6884         __libc_init_secure earlier...
6885         * csu/init-first.c (LIBC_START_MAIN):... to here.
6886         Include dl-tunables.h, libc-internal.h.
6887         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
6888         binaries.
6889         * elf/Makefile (dl-routines): Add dl-tunables.
6890         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
6891         namespace.
6892         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
6893         only when !HAVE_TUNABLES.
6894         * elf/rtld.c (process_envvars): Likewise.
6895         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
6896         (_dl_sysdep_start): Call __tunables_init.
6897         * elf/dl-tunable-types.h: New file.
6898         * elf/dl-tunables.c: New file.
6899         * elf/dl-tunables.h: New file.
6900         * elf/dl-tunables.list: New file.
6901         * malloc/tst-malloc-usable-static.c: New test case.
6902         * malloc/Makefile (tests-static): Add it.
6903         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
6904         Define TUNABLE_NAMESPACE.
6905         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
6906         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
6907         callback functions.
6908         (ptmalloc_init): Set tunable values.
6909         * scripts/gen-tunables.awk: New file.
6910         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
6911         (_dl_sysdep_start): Call __tunables_init.
6913 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6915         * resolv/resolv.h (RES_BLAST): Deprecate.
6916         * resolv/res_debug.c (p_option): Remove RES_BLAST.
6917         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
6918         to RES_BLAST.
6920 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6922         [BZ #19582]
6923         Deprecate RES_USE_INET6.
6924         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
6925         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
6926         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
6927         RES_USE_INET6.
6928         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
6929         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
6930         (_nss_nisplus_gethostbyaddr_r): Likewise.
6931         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
6932         of res_use_inet6.
6933         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
6934         instead of RES_USE_INET6.
6935         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
6936         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
6937         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
6938         Likewise.
6939         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
6940         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
6941         Likewise.
6942         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
6943         (_nss_dns_gethostbyname_r): Likewise.
6944         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
6945         alternate RES_USE_INET6 handling.
6946         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
6947         instead of RES_USE_INET6.
6948         * resolv/res_init.c (res_setoptions): Likewise.
6949         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
6950         * resolv/resolv-internal.h: New file.
6951         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
6952         make the deprecation warning non-fatal.
6953         * resolv/README (Using the resolver in multi-threaded code): Drop
6954         reference to RES_USE_INET6.
6955         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
6956         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
6958 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6960         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
6961         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
6962         tst-resolv-search.
6963         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
6964         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
6965         with libresolv and libpthread.
6966         * resolv/tst-bug18665.c: New file.
6967         * resolv/tst-bug18665-tcp: Likewise.
6968         * resolv/tst-res_use_inet6: Likewise.
6969         * resolv/tst-resolv-basic: Likewise.
6970         * resolv/tst-resolv-network: Likewise.
6971         * resolv/tst-resolv-search: Likewise.
6972         * support/Makefile (libsupport-routines): Add check_addrinfo,
6973         check_dns_packet, check_hostent, check_netent, resolv_test,
6974         support_format_address_family, support_format_addrinfo,
6975         support_format_dns_packet, support_format_herrno,
6976         support_format_hostent, support_format_netent, support_run_diff,
6977         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
6978         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
6979         xstrdup, xwrite.
6980         * support/check_addrinfo.c: New file.
6981         * support/check_dns_packet.c: Likewise.
6982         * support/check_hostent.c: Likewise.
6983         * support/check_netent.c: Likewise.
6984         * support/check_nss.h: Likewise.
6985         * support/format_nss.h: Likewise.
6986         * support/resolv_test.c: Likewise.
6987         * support/resolv_test.h: Likewise.
6988         * support/run_diff.h: Likewise.
6989         * support/support_format_address_family.c: Likewise.
6990         * support/support_format_addrinfo.c: Likewise.
6991         * support/support_format_dns_packet.c: Likewise.
6992         * support/support_format_herrno.c: Likewise.
6993         * support/support_format_hostent.c: Likewise.
6994         * support/support_format_netent.c: Likewise.
6995         * support/support_run_diff.c: Likewise.
6996         * support/xaccept.c: Likewise.
6997         * support/xbind.c: Likewise.
6998         * support/xconnect.c: Likewise.
6999         * support/xfclose.c: Likewise.
7000         * support/xfopen.c: Likewise.
7001         * support/xgetsockname.c: Likewise.
7002         * support/xlisten.c: Likewise.
7003         * support/xmemstream.c: Likewise.
7004         * support/xmemstream.h: Likewise.
7005         * support/xpoll.c: Likewise.
7006         * support/xpthread_once.c: Likewise.
7007         * support/xrecvfrom.c: Likewise.
7008         * support/xsendto.c: Likewise.
7009         * support/xsetsockopt.c: Likewise.
7010         * support/xstdio.h: Likewise.
7011         * support/xstrdup.c: Likewise.
7012         * support/support.h (xstrdup): Declare.
7013         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
7014         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
7015         * support/xthread.h (xpthread_once): Likwise.
7016         * support/xunistd.h (xwrite): Declare.
7018 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7020         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
7021         (test_verbose): Declare.
7022         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
7023         * support/support_test_main.c (default_options): Likewise.
7024         (usage, support_test_main): Handle 'v'.
7025         (test_verbose): Define.
7026         * support/tst-support_record_failure.c (do_test): Use
7027         test_verbose.
7028         * support/tst-support_record_failure-2.sh (different_status): Add
7029         --verbose test.
7031 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7033         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
7034         test failures are recorded.
7035         * support/check.c (support_print_failure_impl): Call
7036         support_record_failure.
7037         (support_exit_failure_impl): Call support_record_failure if status
7038         indicates failure.
7039         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
7040         * support/xasprintf.c (xasprintf): Likewise.
7041         * support/xfork.c (xfork): Likewise.
7042         * support/xpthread_check_return.c (xpthread_check_return):
7043         Likewise.
7044         * support/xsocket.c (xsocket): Likeweise.
7045         * support/xwaitpid.c (xwaitpid): Likewise.
7046         * support/support_record_failure.c (struct test_failures): Adjust
7047         to coding style.
7048         * support/support_test_verify_impl.c (support_test_verify_impl):
7049         Adjust error messages.
7050         * support/tst-support_record_failure-2.sh (different_status):
7051         Adjust error messages.
7053 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7055         * support/namespace.h: New file.
7056         * support/support_become_root.c: Likewise.
7057         * support/support_enter_network_namespace.c: Likewise.
7058         * support/tst-support-namespace.c: Likewise.
7059         * support/xsocket.c: Likewise.
7060         * support/xsocket.h: Likewise.
7061         * support/Makefile (libsupport-routines): Add support_become_root,
7062         support_enter_network_namespace, xsocket.
7063         (tests): Add tst-support-namespace.
7065 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7067         [BZ #17252]
7068         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
7069         __USE_GNU.
7071 2016-12-31  Torvald Riegel  <triegel@redhat.com>
7073         [BZ #13165]
7074         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
7075         use new algorithm.
7076         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7077         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7078         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7079         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7080         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
7081         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
7082         __condvar_cleanup_waiting, __condvar_dec_grefs,
7083         __pthread_cond_wait_common): New.
7084         (__condvar_cleanup): Remove.
7085         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
7086         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
7087         Likewise.
7088         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
7089         Likewise.
7090         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
7091         * nptl/tst-cond1.c: Add comment.
7092         * nptl/tst-cond20.c (do_test): Adapt.
7093         * nptl/tst-cond22.c (do_test): Likewise.
7094         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
7095         structure.
7096         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7097         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7098         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7099         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
7100         Likewise.
7101         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7102         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7103         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7104         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7105         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7106         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
7107         Likewise.
7108         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
7109         Likewise.
7110         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7111         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
7112         (COND_CLOCK_BITS): Adapt.
7113         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
7114         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
7115         __PTHREAD_COND_SHARED_MASK): New.
7116         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
7117         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
7118         * nptl/nptl_lock_constants.pysym: Adapt.
7119         * nptl/test-cond-printers.py: Adapt.
7120         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
7121         cond_compat_check_and_clear): Adapt.
7122         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
7123         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7124         (__pthread_cond_timedwait): ... and move here.
7125         * nptl/DESIGN-condvar.txt: Remove file.
7126         * nptl/lowlevelcond.sym: Likewise.
7127         * nptl/pthread_cond_timedwait.c: Likewise.
7128         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
7129         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
7130         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
7131         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
7132         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
7133         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
7134         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
7135         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
7136         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
7137         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
7138         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
7139         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
7140         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
7141         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
7142         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
7143         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
7145 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
7147         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7148         (fromfp): New declaration.
7149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
7150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
7151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
7152         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
7153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
7154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
7155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
7156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
7157         * math/math.h: Include <bits/types.h>.
7158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
7159         constant and macro.
7160         (FP_INT_DOWNWARD): Likewise.
7161         (FP_INT_TOWARDZERO): Likewise.
7162         (FP_INT_TONEARESTFROMZERO): Likewise.
7163         (FP_INT_TONEAREST): Likewise.
7164         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
7165         (fromfpf): Likewise.
7166         (fromfpl): Likewise.
7167         (ufromfp): Likewise.
7168         (ufromfpf): Likewise.
7169         (ufromfpl): Likewise.
7170         (fromfpx): Likewise.
7171         (fromfpxf): Likewise.
7172         (fromfpxl): Likewise.
7173         (ufromfpx): Likewise.
7174         (ufromfpxf): Likewise.
7175         (ufromfpxl): Likewise.
7176         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
7177         s_fromfpxF and s_ufromfpxF.
7178         * math/gen-fromfp-tests.py: New file.
7179         * math/gen-fromfp-tests-inputs: Likewise.
7180         * math/libm-test.inc: Include <stdint.h>
7181         (check_intmax_t): New function.
7182         (check_uintmax_t): Likewise.
7183         (struct test_fiu_M_data): New type.
7184         (struct test_fiu_U_data): Likewise.
7185         (RUN_TEST_fiu_M): New macro.
7186         (RUN_TEST_LOOP_fiu_M): Likewise.
7187         (RUN_TEST_fiu_U): Likewise.
7188         (RUN_TEST_LOOP_fiu_U): Likewise.
7189         (fromfp_test_data): New array.
7190         (fromfp_test): New function.
7191         (fromfpx_test_data): New array.
7192         (fromfpx_test): New function.
7193         (ufromfp_test_data): New array.
7194         (ufromfp_test): New function.
7195         (ufromfpx_test_data): New array.
7196         (ufromfpx_test): New function.
7197         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
7198         ufromfpx_test.
7199         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
7200         characters.
7201         * math/test-tgmath-ret.c: Include <stdint.h>.
7202         (rm): New variable.
7203         (width): Likewise.
7204         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
7205         called function.
7206         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
7207         CHECK_RET_CONST_TYPE.
7208         (CHECK_RET_CONST_DOUBLE): Likewise.
7209         (CHECK_RET_CONST_LDOUBLE): Likewise.
7210         (CHECK_RET_CONST): Take extra arguments and pass them to calls
7211         macros.
7212         (fromfp): New CHECK_RET_CONST call.
7213         (ufromfp): Likewise.
7214         (fromfpx): Likewise.
7215         (ufromfpx): Likewise.
7216         (do_test): Call check_return_fromfp, check_return_ufromfp,
7217         check_return_fromfpx and check_return_ufromfpx.
7218         * math/test-tgmath.c: Include <stdint.h>
7219         (NCALLS): Increase to 138.
7220         (F(compile_test)): Initialize i.  Call fromfp functions.
7221         (F(fromfp)): New function.
7222         (F(fromfpx)): Likewise.
7223         (F(ufromfp)): Likewise.
7224         (F(ufromfpx)): Likewise.
7225         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
7226         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
7227         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
7228         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
7229         ufromfpxl.
7230         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
7231         ufromfp and ufromfpx.
7232         * math/fromfp.h: New file.
7233         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
7234         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
7235         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
7236         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
7237         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
7238         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
7239         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
7240         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
7241         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
7242         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
7243         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
7244         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
7245         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
7246         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
7247         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
7248         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
7249         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
7250         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
7251         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
7252         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
7253         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
7254         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
7255         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
7256         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
7257         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
7258         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
7259         ufromfp, fromfpx and ufromfpx.
7260         (CFLAGS-nldbl-fromfp.c): New variable.
7261         (CFLAGS-nldbl-fromfpx.c): Likewise.
7262         (CFLAGS-nldbl-ufromfp.c): Likewise.
7263         (CFLAGS-nldbl-ufromfpx.c): Likewise.
7264         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
7265         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
7266         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
7267         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
7268         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
7269         * sysdeps/nacl/libm.abilist: Update.
7270         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7271         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7272         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7273         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7274         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7275         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7276         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7277         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7278         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7279         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7280         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7281         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7283         Likewise.
7284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7285         Likewise.
7286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7287         Likewise.
7288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7289         Likewise.
7290         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7291         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7292         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7293         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7294         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7296         Likewise.
7297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7298         Likewise.
7299         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7300         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7301         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7303 2016-12-30  Florian Weimer  <fweimer@redhat.com>
7305         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
7306         compat-gethnamaddr.
7307         (CPPFLAGS): Remove.
7308         * resolv/gethnamaddr.c: Rename ...
7309         * resolv/compat-gethnamaddr.c: ... to this file.
7310         (_endhtent): Make static.
7311         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
7312         symbol.
7313         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
7314         compat symbol.
7315         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
7316         symbol.
7317         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
7318         Turn into compat symbol.
7319         * include/resolv.h (_endhtent): Remove declaration.
7321 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
7323         * bits/types.h (__intmax_t): New typedef.
7324         (__uintmax_t): Likewise.
7325         * sysdeps/generic/stdint.h: Include <bits/types.h>.
7326         (intmax_t): Define using __intmax_t.
7327         (uintmax_t): Define using __uintmax_t.
7329         * support/Makefile (tests-special): Make definition conditional on
7330         [$(run-built-tests) = yes].
7331         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
7332         on [$(run-built-tests) = yes].
7334 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7336         * Rules (tests): Add tests-printers-programs to tests to be
7337         built.
7339 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7341         * sysvipc/Makefile (tests): Add test-sysvshm.
7342         * sysvipc/test-sysvshm.c: New file.
7344         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
7345         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
7346         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
7347         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
7348         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
7349         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
7350         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
7351         Likewise.
7352         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
7353         Likewise.
7354         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
7355         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
7356         is defined.
7358         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
7359         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
7360         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
7361         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
7362         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
7363         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
7364         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
7365         Likewise.
7366         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
7367         Likewise.
7368         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
7369         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
7370         defined.
7372         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7373         oldshmctl.
7374         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
7375         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
7376         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
7377         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
7378         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
7379         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
7380         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
7381         Likewise.
7382         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
7383         Likewise.
7384         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
7385         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
7386         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
7387         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
7388         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
7389         implementation.
7390         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
7391         if it is defined.
7393         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
7394         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
7395         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
7396         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
7397         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
7398         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
7399         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
7400         Likewise.
7401         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
7402         Likewise.
7403         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
7404         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
7405         Define to __NR_osf_shmat.
7406         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
7407         defined.
7409         * sysvipc/Makefile (tests): Add test-sysvsem.
7410         * sysvipc/test-sysvsem.c: New file.
7412         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
7413         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
7414         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
7415         Likewise.
7416         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
7417         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
7418         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
7419         Likewise.
7420         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
7421         Likewise.
7422         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
7423         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
7424         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
7425         add a comment about s390 syscall difference from default one.
7426         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
7427         syscall if it is defined.
7429         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
7430         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
7431         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
7432         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
7433         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
7434         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
7435         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
7436         Likewise.
7437         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
7438         Likewise.
7439         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
7440         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
7441         defined.
7443         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
7444         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
7445         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
7446         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
7447         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
7448         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
7449         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
7450         Likewise.
7451         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
7452         Likewise.
7453         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
7454         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
7455         if it is defined.
7457         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7458         oldsemctl.
7459         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
7460         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
7461         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
7462         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
7463         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
7464         implementation.
7465         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
7466         syscall if it is defined.
7467         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
7468         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
7469         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
7470         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
7471         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
7472         Likewise.
7473         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
7475         * sysvipc/Makefile (tests): Add test-sysvmsg.
7476         * sysvipc/test-sysvmsg.c: New file.
7477         * support/check.h (FAIL_UNSUPPORTED): New define.
7479         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
7480         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
7481         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
7482         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
7483         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
7484         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
7485         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
7486         Likewise.
7487         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
7488         Likewise.
7489         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
7490         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
7491         define.
7493         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
7494         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
7495         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
7496         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
7497         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
7498         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
7499         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
7500         Likewise.
7501         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
7502         Likewise.
7503         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
7504         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
7505         if defined.
7507         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
7508         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
7509         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
7510         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
7511         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
7512         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
7513         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
7514         Likewise.
7515         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
7516         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
7517         Likewise.
7518         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
7519         if defined.
7520         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
7522         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7523         oldmsgctl.
7524         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
7525         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
7526         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
7527         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
7528         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
7529         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
7530         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
7531         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
7532         Likewise.
7533         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
7534         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
7535         implementation.
7536         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
7537         if defined.
7539         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
7540         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
7541         definition and define its own.
7542         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
7543         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
7544         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
7545         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
7546         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
7547         definitions to common header.
7548         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
7549         operation from ipc_ops.h.
7551         * sysdeps/unix/sysv/linux/kernel-features.h
7552         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
7553         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7554         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
7555         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7556         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7557         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7558         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7559         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7560         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7561         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7562         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7563         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7564         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7565         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7566         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7568 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7570         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
7571         overflow in pointer addition.
7573 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7575         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7576         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
7577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7578         (strchr): Add __strchr_power8 to list of strchr functions.
7579         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
7580         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
7581         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
7582         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
7583         (strchr): Add __strchr_power8 to ifunc list.
7584         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
7585         (__strchrnul): Add __strchrnul_power8 to ifunc list.
7586         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
7587         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
7589 2016-12-28  Florian Weimer  <fweimer@redhat.com>
7591         * support/Makefile (libsupport-routines): Add
7592         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
7593         (tests): Add tst-support_record_failure.
7594         (tests-special): tst-support_record_failure-2.
7595         (tst-support_record_failure-2.out): Depend on
7596         tst-support_record_failure-2.sh and tst-support_record_failure.
7597         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
7598         (support_test_verify_impl, support_record_failure)
7599         (support_report_failure, support_report_failure_reset): Declare.
7600         * support/support_test_main.c (adjust_exit_status): New function.
7601         (support_test_main): Call it to incorporate record test failures.
7602         * support/support_test_verify_impl.c: New file.
7603         * support/support_record_failure.c: Likewise.
7604         * support/tst-support_record_failure.c: Likewise.
7605         * support/tst-support_record_failure-2.sh: Likewise.
7606         * support/xunistd.h: Likewise.
7607         * support/xfork.c: Likewise.
7608         * support/xwaitpid.c: Likewise.
7610 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
7612         * scripts/check-c++-types.sh: Add comments.
7614 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
7616         [BZ #19514]
7617         * resolv/res_send.c: Fix typo in comment.
7618         * sysdeps/i386/i386-mcount.S: Likewise.
7619         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7620         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7621         * sysdeps/sparc/sparc-mcount.S: Likewise.
7623 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7625         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
7626         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
7627         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
7628         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
7629         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
7630         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
7631         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
7632         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
7634 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7636         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
7638 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7640         [BZ #17252]
7641         * posix/unistd.h (getentropy): Declare.
7643 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7645         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
7646         Remove.
7647         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
7648         (cmd): Remove spoof, nospoof, spoofalert.
7649         (parse_line): Ignore spoof-related lines.
7650         (do_init): Do not process RESOLV_SPOOF_CHECK.
7652 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7654         [BZ #20964]
7655         sunrpc: Always obtain AF_INET addresses from NSS.
7656         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
7657         * sunrpc/rpc_gethostbyname.c: New file.
7658         * sunrpc/Makefile (routines): Add it.
7659         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
7660         * sunrpc/clnt_simp.c (callrpc): Likewise.
7661         * sunrpc/getrpcport.c (getrpcport): Likewise.
7663 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7665         * sunrpc/rpcinfo.c: Remove.
7666         * sunrpc/Makefile: Remove comments referring to rpcinfo.
7668 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7670         [BZ #19387]
7671         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
7672         addition.
7673         * string/test-memchr.c (do_test): Remove alignment limitation.
7674         (test_main): Add test that trigger BZ #19387.
7676 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7678         [BZ #7065]
7679         Enable stack protectore if requested by ./configure.
7680         * Makeconfig (+stack-protector): New variable.
7681         (+cflags): Use it.
7683 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7685         [BZ #7065]
7686         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
7687         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
7688         (__rt_sigreturn_stub): Use inhibit_stack_protector.
7689         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7690         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
7692 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7694         [BZ #7065]
7695         * login/Makefile (pt_chown-cflags): Remove.
7696         * nscd/Makefile (CFLAGS-nscd): Likewise.
7697         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7699 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7701         [BZ #7065]
7702         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
7703         non-libc-linking testcase.
7705 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7706             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7707             Florian Weimer  <fweimer@redhat.com>
7709         [BZ #7065]
7710         PLT avoidance for __stack_chk_fail*.
7711         * debug/Makefile (CFLAGS-stack_chk_fail.c)
7712         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
7713         * debug/stack_chk_fail.c (__stack_chk_fail): Add
7714         __stack_chk_fail_local alias.
7715         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
7716         (__stack_chk_fail): Turn into hidden reference to
7717         __stack_chk_fail_local.
7719 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7721         [BZ #7065]
7722         * configure.ac: Add check for unsupported stack-protection level.
7723         (libc_cv_predef_stack_protector): Remove.
7724         (no_ssp): New variable.
7725         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
7726         (stack_protector): Set to -fno-stack-protector similarly.
7727         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
7728         (libc_cv_asm_set_directive): Likewise.
7729         (libc_cv_protected_data): Likewise.
7730         (libc_cv_z_combreloc): Likewise.
7731         (libc_cv_hashstyle): Likewise.
7732         (libc_cv_has_glob_dat): Likewise.
7733         (libc_cv_output_format): Likewise.
7734         (libc_cv_output_format): Likewise.
7735         (libc_cv_ehdr_start): Likewise.
7736         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
7737         (LIBC_LINKER_FEATURE): Likewise.
7738         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
7740 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7742         [BZ #7065]
7743         * elf/Makefile (dummy-stack-chk-fail): New.
7744         (librtld.map): Use it.
7746 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7748         [BZ #7065]
7749         Compile the dynamic linker without stack protection.
7750         * elf/Makefile (elide-stack-protector): New.
7751         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
7752         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
7753         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
7754         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
7756 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7758         [BZ #7065]
7759         * config.make.in (have-ssp, no-stack-protector): New.
7760         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
7761         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
7762         (CFLAGS-sbrk.op): Likewise.
7763         (CFLAGS-brk.o): Likewise.
7764         (CFLAGS-brk.op): Likewise.
7765         * string/Makefile (CFLAGS-memcpy.c): Likewise.
7766         (CFLAGS-wordcopy.c): Likewise.
7768 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7770         [BZ #7065]
7771         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
7772         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
7773         * include/libc-symbols.h (inhibit_stack_protector): New macro.
7774         (__ifunc_resolver): Use it.
7775         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
7776         inhibit_stack_protector.
7777         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
7778         * elf/ifuncmain7.c (foo_ifunc): Likewise.
7779         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
7780         (foo_protected_ifunc): Likewise.
7781         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
7782         (foo_protected_ifunc): Likewise.
7783         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
7784         * sysdeps/nacl/nacl_interface_query.c
7785         (nacl_interface_query_ifunc): Likewise.
7786         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
7787         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
7788         Likewise.
7789         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
7790         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
7791         the generated vDSO syscall resolver.
7793 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7794             Florian Weimer  <fweimer@redhat.com>
7796         [BZ #7065]
7797         Initialize the stack guard earlier when linking statically.
7798         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
7799         (__pthread_initialize_minimal): Declare.
7800         * csu/libc-start.c (__pthread_initialize_minimal): Remove
7801         declaration.
7802         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
7803         stack canary and apply_irel initialization up.  Call
7804         __pthread_initialize_minimal only if linked in.
7805         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
7806         constant values.
7807         (__pthread_initialize_minimal): Remove.
7808         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
7809         (__pthread_initialize_minimal_internal): Do not call
7810         __libc_setup_tls.
7812 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7814         [BZ #7065]
7815         * configure.ac (libc_cv_ssp): Move up.
7816         (libc_cv_ssp_strong): Likewise.
7817         (libc_cv_ssp_all): New.
7818         (stack_protector): Augment, adding -fstack-protector-all.
7819         (no_stack_protector): New.
7820         (STACK_PROTECTOR_LEVEL): New.
7821         (AC_ARG_ENABLE(stack-protector)): New configure flag.
7822         * manual/install.texi (--enable-stack-protector): Document it.
7823         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
7825 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
7827         * README.pretty-printers: Must specify CPPFLAGS-* also.
7828         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
7829         (CPPFLAGS-test-mutex-printers.c): Define.
7830         (CPPFLAGS-test-condattr-printers.c): Define.
7831         (CPPFLAGS-test-cond-printers.c): Define.
7832         (CPPFLAGS-test-rwlockattr-printers.c): Define.
7833         (CPPFLAGS-test-rwlock-printers.c): Define.
7835         * nss/Makefile [ifeq (yes,$(have-thread-library))]
7836         (tests): Add tst-cancel-getpwuid_r.
7837         * nss/tst-cancel-getpwuid_r.c: New file.
7839         [BZ #11941]
7840         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
7841         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
7842         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
7843         tst-nodelete-dlclose.
7844         (modules-names): Add tst-nodelete-dlclose-dso and
7845         tst-nodelete-dlclose-plugin.
7846         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
7847         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
7848         ($(objpfx)tst-nodelete-dlclose): Define.
7849         ($(objpfx)tst-nodelete-dlclose.out): Define.
7851 2016-12-23  Florian Weimer  <fweimer@redhat.com>
7853         * scripts/test_printers_common.py: Log GDB output in case of
7854         Python detection failure.
7856 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7858         * configure.ac: Check for python3 or python.
7859         * configure: Regenerated.
7860         * config.make.in (PYTHON): New variable.
7861         * benchtests/Makefile: Don't define PYTHON.
7862         (bench): Define target only if PYTHON was defined.
7863         * Rules: Don't define PYTHON.
7864         Define pretty printer targets only if PYTHON was defined.
7865         (tests-printers): Add to tests-unsupported if PYTHON is not
7866         found.
7867         (python-flags, python-invoke): Remove.
7868         (tests-printers-out): Use PYTHON instead of python-invoke.
7870 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
7872         [BZ #20978]
7873         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7874         Compare name == NULL, not name != NULL.
7876         * manual/texinfo.tex: Update to version 2016-09-18.18 with
7877         trailing whitespace removed.
7878         * scripts/config.guess: Update to version 2016-10-02.
7879         * scripts/config.sub: Update to version 2016-11-19.
7880         * scripts/install-sh: Update to version 2016-01-11.22.
7881         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
7882         * scripts/move-if-change: Update to version 2016-01-11 22:04.
7884 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
7886         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
7887         (do_one_test) Restore original string so iteration works.
7888         * string/string-inlines.c (do_test): Create better input strings.
7889         (test_main) Reduce number of testruns.
7890         * string/string-inlines.c (__old_strsep_1c): New function.
7891         (__old_strsep_2c): Likewise.
7892         (__old_strsep_3c): Likewise.
7893         * string/strsep.c (__strsep): Remove case of small delim string.
7894         Call strcspn directly rather than strpbrk.
7895         * string/bits/string2.h (__strsep): Remove define.
7896         (__strsep_1c): Remove.
7897         (__strsep_2c): Remove.
7898         (__strsep_3c): Remove.
7899         (strsep): Remove.
7900         * sysdeps/unix/sysv/linux/internal_statvfs.c
7901         (__statvfs_getflags): Rename to __strsep.
7903 2016-12-21  Florian Weimer  <fweimer@redhat.com>
7905         * csu/libc-tls.c (_dl_tls_setup): Remove.
7906         * elf/dl-tls.c (_dl_tls_setup): Likewise.
7907         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
7908         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
7910 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
7912         [BZ #7065]
7913         * sysdeps/x86_64/Makefile [$(subdir) = elf]
7914         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
7916 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
7917             Florian Weimer  <fweimer@redhat.com>
7919         [BZ #7065]
7920         * csu/Makefile (tests): Empty assignment and document it.
7921         (tests-static): Remove.
7922         * csu/tst-empty.c: Move to...
7923         * misc/tst-empty.c: ... here.  Switch to new test driver.
7924         * csu/tst-atomic.c: Move to...
7925         * misc/tst-atomic.c: ... here.  Switch to new test driver.
7926         * csu/tst-atomic-long.c: Move to...
7927         * misc/tst-atomic-long.c: ... here.
7928         * misc/Makefile (tests): Add tst-empty, tst-atomic,
7929         tst-atomic-long.
7930         (tests-static): Add tst-empty.
7932 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
7934         * manual/nss.texi: Change incorrect @vtable to @table.
7935         * manual/arith.texi: Convert @tables of variables to @vtables
7936         and remove unnecessary indexing.
7937         * manual/filesys.texi: Likewise.
7938         * manual/llio.texi: Likewise.
7939         * manual/memory.texi: Likewise.
7940         * manual/process.texi: Likewise.
7941         * manual/resource.texi: Likewise.
7942         * manual/search.texi: Likewise.
7943         * manual/signal.texi: Likewise.
7944         * manual/socket.texi: Likewise.
7945         * manual/stdio.texi: Likewise.
7946         * manual/sysinfo.texi: Likewise.
7947         * manual/syslog.texi: Likewise.
7948         * manual/terminal.texi: Likewise.
7949         * manual/time.texi: Likewise.
7950         * manual/users.texi: Likewise.
7952 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
7954         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7955         (roundeven): New declaration.
7956         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
7957         macro.
7958         * math/Versions (roundeven): New libm symbol at version
7959         GLIBC_2.25.
7960         (roundevenf): Likewise.
7961         (roundevenl): Likewise.
7962         * math/Makefile (libm-calls): Add s_roundevenF.
7963         * math/libm-test.inc (roundeven_test_data): New array.
7964         (roundeven_test): New function.
7965         (main): Call roundeven_test.
7966         * math/test-tgmath.c (NCALLS): Increase to 134.
7967         (F(compile_test)): Call roundeven.
7968         (F(roundeven)): New function.
7969         * manual/arith.texi (Rounding Functions): Document roundeven,
7970         roundevenf and roundevenl.
7971         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
7972         * include/math.h (roundeven): Use libm_hidden_proto.
7973         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
7974         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
7975         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
7976         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
7977         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
7978         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
7979         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7980         roundeven.
7981         (CFLAGS-nldbl-roundeven.c): New variable.
7982         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
7983         * sysdeps/nacl/libm.abilist: Update.
7984         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7985         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7986         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7987         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7988         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7989         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7990         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7991         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7992         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7993         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7994         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7995         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7997         Likewise.
7998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7999         Likewise.
8000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8001         Likewise.
8002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8003         Likewise.
8004         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8005         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8006         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8007         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8008         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8010         Likewise.
8011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8012         Likewise.
8013         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8014         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8015         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8017 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
8019         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
8020         preprocessor indentation inside #if.
8022 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8024         * math/libm-test.inc (fmt_ftostr): New function.
8025         (print_float, check_float_internal): Replace some uses of
8026         FTOSTR with uses of fmt_ftostr.
8027         (print_max_error, print_complex_max_error, print_function_ulps)
8028         (print_complex_function_ulps): Remove uses of the macros
8029         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
8030         * math/test-double.h (FTOSTR): Define to strfromd.
8031         (PRINTF_EXPR): Delete.
8032         (PRINTF_XEXPR): Likewise.
8033         (PRINTF_NEXPR): Likewise.
8034         * math/test-float.h (FTOSTR): Define to strfromf.
8035         (PRINTF_EXPR): Delete.
8036         (PRINTF_XEXPR): Likewise.
8037         (PRINTF_NEXPR): Likewise.
8038         * math/test-ldouble.h (FTOSTR): Define to strfroml.
8039         (PRINTF_EXPR): Delete.
8040         (PRINTF_XEXPR): Likewise.
8041         (PRINTF_NEXPR): Likewise.
8043 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8045         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8046         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
8047         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8048         (__lll_lock_elision): Decrement adapt_count while unlocking
8049         instead of before locking.
8050         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8051         (__lll_trylock_elision): Likewise.
8052         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
8053         (__lll_unlock_elision): Likewise.
8055 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8057         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
8058         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
8059         Use __libc_tbegin_retry macro.
8061 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8063         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
8064         Add -msoft-float.
8065         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
8066         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8067         Use __libc_t* transaction macros instead of __builtin_t*.
8068         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8069         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8071 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8073         * sysdeps/unix/sysv/linux/s390/elision-lock.c
8074         (__lll_lock_elision): Use atomics to load / store adapt_count.
8075         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8076         (__lll_trylock_elision): Likewise.
8078 2016-12-20  Florian Weimer  <fweimer@redhat.com>
8080         Do not require memset elimination in explicit_bzero test.
8081         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
8082         (enum test_expectation): Add NO_EXPECTATIONS.
8083         (subtests): NO_EXPECTATIONS for ordinary clear.
8084         (check_test_buffer): Handle NO_EXPECTATIONS.
8085         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
8087 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
8089         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8090         (fmaxmag): New declaration.
8091         (fminmag): Likewise.
8092         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
8093         macro.
8094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
8095         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
8096         (fmaxmagf): Likewise.
8097         (fmaxmagl): Likewise.
8098         (fminmag): Likewise.
8099         (fminmagf): Likewise.
8100         (fminmagl): Likewise.
8101         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
8102         * math/s_fmaxmag_template.c: New file.
8103         * math/s_fminmag_template.c: Likewise.
8104         * math/libm-test.inc (fmaxmag_test_data): New array.
8105         (fmaxmag_test): New function.
8106         (fminmag_test_data): New array.
8107         (fminmag_test): New function.
8108         (main): Call fmaxmag_test and fminmag_test.
8109         * math/test-tgmath.c (NCALLS): Increase to 132.
8110         (F(compile_test)): Call fmaxmag and fminmag.
8111         (F(fminmag)): New function.
8112         (F(fmaxmag)): Likewise.
8113         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
8114         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
8115         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
8116         fminmag.
8117         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
8118         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
8119         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
8120         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
8121         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
8122         and fminmag.
8123         (CFLAGS-nldbl-fmaxmag.c): New variable.
8124         (CFLAGS-nldbl-fminmag.c): Likewise.
8125         * sysdeps/nacl/libm.abilist: Update.
8126         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8127         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8128         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8129         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8130         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8131         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8132         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8133         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8134         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8135         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8136         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8137         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8139         Likewise.
8140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8141         Likewise.
8142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8143         Likewise.
8144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8145         Likewise.
8146         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8147         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8148         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8149         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8150         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8152         Likewise.
8153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8154         Likewise.
8155         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8156         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8157         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8159 2016-12-19  Torvald Riegel  <triegel@redhat.com>
8161         [BZ #20973]
8162         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
8163         wake-up in robust mutexes.
8164         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8166 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8168         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
8169         (CFLAGS-bench-fmaxf.c): New rule.
8170         (CFLAGS-bench-fminf.c): Likewise.
8171         * benchtests/fmaxf-inputs: New file.
8172         * benchtests/fminf-inputs: Likewise.
8174         * benchtests/Makefile (bench-math): Add fmin and fmax.
8175         (CFLAGS-bench-fmax.c): New rule.
8176         (CFLAGS-bench-fmin.c): Likewise.
8177         * benchtests/fmax-inputs: New file.
8178         * benchtests/fmin-inputs: Likewise.
8180         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
8181         parenthesis.
8182         (CMDLINE_PROCESS): Define using function instead of macro.
8183         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
8184         of test-skeleton.
8185         * benchtests/bench-memchr.c: Likewise.
8186         * benchtests/bench-memcmp.c: Likewise.
8187         * benchtests/bench-memcpy-large.c: Likewise.
8188         * benchtests/bench-memcpy.c: Likewise.
8189         * benchtests/bench-memmem.c: Likewise.
8190         * benchtests/bench-memmove-large.c: Likewise.
8191         * benchtests/bench-memmove.c: Likewise.
8192         * benchtests/bench-memset-large.c: Likewise.
8193         * benchtests/bench-memset.c: Likewise.
8194         * benchtests/bench-rawmemchr.c: Likewise.
8195         * benchtests/bench-strcasecmp.c: Likewise.
8196         * benchtests/bench-strcasestr.c: Likewise.
8197         * benchtests/bench-strcat.c: Likewise.
8198         * benchtests/bench-strchr.c: Likewise.
8199         * benchtests/bench-strcmp.c: Likewise.
8200         * benchtests/bench-strcpy.c: Likewise.
8201         * benchtests/bench-strcpy_chk.c: Likewise.
8202         * benchtests/bench-strlen.c: Likewise.
8203         * benchtests/bench-strncasecmp.c: Likewise.
8204         * benchtests/bench-strncmp.c: Likewise.
8205         * benchtests/bench-strncpy.c: Likewise.
8206         * benchtests/bench-strnlen.c: Likewise.
8207         * benchtests/bench-strpbrk.c: Likewise.
8208         * benchtests/bench-strrchr.c: Likewise.
8209         * benchtests/bench-strsep.c: Likewise.
8210         * benchtests/bench-strspn.c: Likewise.
8211         * benchtests/bench-strstr.c: Likewise.
8212         * benchtests/bench-strtok.c: Likewise.
8214 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8216         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
8217         stepping identification.
8218         (init_cpu_features): Add handle of Haswell.
8220 2016-11-25  Jim Meyering  <meyering@fb.com>
8222         [BZ #20386]
8223         Let gcc detect assert(a = 1) errors.
8224         * assert/assert.h (assert): Rewrite, retaining the old definintion
8225         when required, but otherwise putting the expression as-is in an "if"
8226         expression (hence, with no added parentheses) within a statement
8227         expression.
8229 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8231         * benchtests/Makefile (binaries-benchset): Depend on libsupport
8232         DSO.
8234 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
8236         * Rules (python-flags, python-invoke): New.
8237         ($(test-printers-out)): Use $(python-flags).
8239 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8241         * manual/arith.texi (Math Error Reporting): Document that sNaN
8242         arguments are not considered domain errors.
8244 2016-12-16  Zack Weinberg <zackw@panix.com>
8245             Florian Weimer <fweimer@redhat.com>
8246             Nick Mathewson <nickm@torproject.org>
8248         * string/explicit_bzero.c: New routine.
8249         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
8250         * string/Makefile (routines, strop-tests, tests): Add them.
8251         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
8252         * string/string.h [__USE_MISC]: Declare explicit_bzero.
8254         * debug/explicit_bzero_chk.c: New routine.
8255         * debug/Makefile (routines): Add it.
8256         * debug/tst-chk1.c: Test fortification of explicit_bzero.
8257         * string/bits/string3.h: Fortify explicit_bzero.
8259         * manual/string.texi: Document explicit_bzero.
8260         * NEWS: Mention addition of explicit_bzero.
8262         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
8263         data before returning, using explicit_bzero.
8264         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
8265         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8266         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8268         * include/string.h: Redirect internal uses of explicit_bzero
8269         to __explicit_bzero_chk[_internal].
8270         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
8271         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
8272         * sysdeps/arm/nacl/libc.abilist
8273         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8274         * sysdeps/unix/sysv/linux/alpha/libc.abilist
8275         * sysdeps/unix/sysv/linux/arm/libc.abilist
8276         * sysdeps/unix/sysv/linux/hppa/libc.abilist
8277         * sysdeps/unix/sysv/linux/i386/libc.abilist
8278         * sysdeps/unix/sysv/linux/ia64/libc.abilist
8279         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8280         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8281         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8282         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8283         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8284         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8285         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8286         * sysdeps/unix/sysv/linux/nios2/libc.abilist
8287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8291         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8292         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8293         * sysdeps/unix/sysv/linux/sh/libc.abilist
8294         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8295         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8298         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8299         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8300         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8301         Add entries for explicit_bzero and __explicit_bzero_chk.
8303 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8305         * math/fenv.h
8306         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
8307         (FE_SNANS_ALWAYS_SIGNAL): New macro.
8308         * math/test-fe-snans-always-signal.c: New file.
8309         * math/Makefile (tests): Add test-fe-snans-always-signal.
8310         (CFLAGS-test-fe-snans-always-signal.c): New variable.
8311         * manual/arith.texi (Infinity and NaN): Document
8312         FE_SNANS_ALWAYS_SIGNAL.
8314 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8316         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
8317         bracket.
8319 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8321         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
8322         before calling execv.
8324 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8326         [BZ #20971]
8327         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
8328         overflow in pointer addition.
8329         * string/test-memchr.c (do_test): Add an argument to pass as
8330         the size on memchr.
8331         (test_main): Add check for SIZE_MAX.
8333 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8335         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
8336         (libm-calls): Add w_scalblnF.
8337         * math/w_scalbln.c: Remove.
8338         * math/w_scalblnf.c: Likewise.
8339         * math/w_scalblnl.c: Likewise.
8340         * math/w_scalbln_template.c: New file with type-generic
8341         implementation based on math/w_scalbln.c.
8342         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
8343         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
8345 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8347         [BZ #20947]
8348         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
8349         either is a signaling NaN.
8350         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
8351         follow fmaxl more closely.
8352         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
8353         when either is a signaling NaN.
8354         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
8355         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
8356         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
8357         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
8358         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
8359         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
8360         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
8361         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
8362         (fmin_test_data): Likewise.
8364 2016-12-15  Andreas Schwab  <schwab@suse.de>
8366         * support/support_test_main.c (support_test_main): Don't shadow
8367         file-local variable test_pid.
8369 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8371         [BZ #20947]
8372         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
8373         either is a signaling NaN.
8374         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
8376 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
8378         [BZ #20947]
8379         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
8380         when either is a signaling NaN.
8381         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
8383         * bits/long-double.h: New file.
8384         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
8385         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
8386         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
8387         * sysdeps/mips/bits/long-double.h: Likewise.
8388         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
8389         * math/Makefile (headers): Add bits/long-double.h.
8390         * misc/sys/cdefs.h: Include <bits/long-double.h>.
8391         * stdlib/strtold.c: Include <bits/long-double.h> instead of
8392         <bits/wordsize.h>.
8393         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
8394         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
8395         * math/math.h: Do not include <bits/mathdef.h>.
8396         * sysdeps/aarch64/bits/mathdef.h: Remove file.
8397         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
8398         inclusion.
8399         * sysdeps/ia64/bits/mathdef.h: Remove file.
8400         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
8401         * sysdeps/mips/bits/mathdef.h: Likewise.
8402         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8403         * sysdeps/s390/bits/mathdef.h: Likewise.
8404         * sysdeps/sparc/bits/mathdef.h: Likewise.
8405         * sysdeps/x86/bits/mathdef.h: Likewise.
8406         * sysdeps/s390/s390-32/bits/wordsize.h
8407         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
8408         conditional code.
8409         * sysdeps/s390/s390-64/bits/wordsize.h
8410         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8411         Likewise.
8412         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
8413         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8414         Likewise.
8415         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
8416         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8417         Likewise.
8418         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8419         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8420         Likewise.
8422         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
8423         <linux/falloc.h>.
8424         (FALLOC_FL_KEEP_SIZE): Remove.
8425         (FALLOC_FL_PUNCH_HOLE): Likewise.
8426         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
8427         (FALLOC_FL_ZERO_RANGE): Likewise.
8429 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8431         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
8433 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8435         * sysdeps/unix/sysv/linux/renameat.c: New file.
8436         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
8438         * sysdeps/unix/sysv/linux/rename.c: New file.
8439         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
8441 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
8443         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
8444         * string/strtok.c (strtok): Change to tailcall __strtok_r.
8445         * string/strtok_r.c (__strtok_r): Optimize for performance.
8446         * string/string-inlines.c (__old_strtok_r_1c): New function.
8447         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
8449 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8451         * math/Makefile (gen-libm-calls): Add w_log1pF.
8452         (libm-calls): Remove w_log1pF.
8453         * math/w_log1p.c: Remove.
8454         * math/w_log1pf.c: Likewise.
8455         * math/w_log1pl.c: Likewise.
8456         * math/w_log1p_template.c: New file with type-generic
8457         implementation based on math/w_log1p.c.
8458         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
8459         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
8461 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
8463         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
8465 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
8467         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8468         kernel version to 4.9.
8470 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
8472         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
8473         ($(inst_libdir)/libm.a): Fix rule to create the target only.
8475 2016-12-13  Andreas Schwab  <schwab@suse.de>
8477         * sysdeps/powerpc/dl-procinfo.c: Don't define
8478         _dl_powerpc_platforms.
8479         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
8480         constants instead of referencing _dl_powerpc_platforms.
8481         (_dl_platform_string): Remove.
8483 2016-12-13  Florian Weimer  <fweimer@redhat.com>
8485         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
8487 2016-12-13  Florian Weimer  <fweimer@redhat.com>
8489         * Rules (binaries-shared-tests, binaries-pie-tests)
8490         (binaries-static-tests): Link with $(link-extra-libs-tests).
8491         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
8492         Remove $(link-extra-libs-tests).
8494 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8496         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8497         (sysdep_routines): Add strncmp_power9.
8498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8499         (strncmp): Add __strncmp_power9 to list of strncmp functions.
8500         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
8501         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8502         (strncmp): Add __strncmp_power9 to ifunc list.
8503         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
8505 2016-12-12  Florian Weimer  <fweimer@redhat.com>
8507         [BZ #17252]
8508         Add getentropy, getrandom.
8509         * stdlib/sys/random.h: New file.
8510         (headers): Add it.
8511         * stdlib/Makefile (routines): Add getentropy, getrandom.
8512         (tests): Add tst-getrandom.
8513         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
8514         * stdlib/getentropy.c: New file.
8515         * stdlib/getrandom.c: Likewise.
8516         * stdlib/tst-getrandom.c: Likewise.
8517         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
8518         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
8519         * manual/crypt.texi (Unpredictable Bytes): New section.
8520         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
8521         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
8522         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8523         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8524         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8525         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8526         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8527         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8528         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8529         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8530         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8531         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8532         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8533         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8534         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8535         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8537         Likewise.
8538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8539         Likewise.
8540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8542         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8543         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8544         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8545         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8546         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8549         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8550         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8551         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8553 2016-12-10  Florian Weimer  <fweimer@redhat.com>
8555         [BZ #20956]
8556         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
8557         as additional compiler barriers.
8558         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
8559         (fn2, do_test): Declare with external linkage.
8560         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
8561         (do_test): Declare with external linkage.
8562         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
8563         (do_test): Declare with external linkage.
8564         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
8565         (do_test): Declare with external linkage.
8567 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
8569         * support/support_test_main.c (support_test_main): Use correct
8570         timeout.
8572 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
8573             Florian Weimer  <fweimer@redhat.com>
8575         [BZ #16421]
8576         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
8577         and __u6_addr32 members.
8578         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
8579         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
8580         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
8581         Use __u6_addr32.
8582         * inet/tst-checks.c: Use <support/test-driver.c>
8583         * inet/tst-checks-posix.c: New file.
8584         * inet/Makefile (tests): Add it.
8585         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
8587 2016-12-09  Florian Weimer  <fweimer@redhat.com>
8589         New subdirectory support for build and test infrastructure.
8590         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
8591         setting install-lib.
8592         * Makeconfig (link-extra-libs-tests): Define.
8593         (+link-pie-tests, +link-static-tests, +link-tests): Use
8594         link-extra-libs-tests.
8595         (rpath-dirs, all-subdirs): Add support.
8596         (built-modules): Add libsupport.
8597         (libsupport): Define.
8598         * support: New directory.
8599         * support/Makefile: New file.
8600         * support/check.c: Likewise.
8601         * support/check.h: Likewise.
8602         * support/delayed_exit.c: Likewise.
8603         * support/ignore_stderr.c: Likewise.
8604         * support/oom_error.c: Likewise.
8605         * support/set_fortify_handler.c: Likewise.
8606         * support/support.h: Likewise.
8607         * support/temp_file-internal.h: Likewise.
8608         * support/temp_file.c: Likewise.
8609         * support/test-driver.c: Likewise.
8610         * support/test-driver.h: Likewise.
8611         * support/test_main.c: Likewise.
8612         * support/write_message.c: Likewise.
8613         * support/xasprintf.c: Likewise.
8614         * support/xcalloc.c: Likewise.
8615         * support/xmalloc.c: Likewise.
8616         * support/xpthread_barrier_destroy.c: Likewise.
8617         * support/xpthread_barrier_init.c: Likewise.
8618         * support/xpthread_barrier_wait.c: Likewise.
8619         * support/xpthread_cancel.c: Likewise.
8620         * support/xpthread_check_return.c: Likewise.
8621         * support/xpthread_cond_wait.c: Likewise.
8622         * support/xpthread_create.c: Likewise.
8623         * support/xpthread_detach.c: Likewise.
8624         * support/xpthread_join.c: Likewise.
8625         * support/xpthread_mutex_lock.c: Likewise.
8626         * support/xpthread_mutex_unlock.c: Likewise.
8627         * support/xpthread_sigmask.c: Likewise.
8628         * support/xpthread_spin_lock.c: Likewise.
8629         * support/xpthread_spin_unlock.c: Likewise.
8630         * support/xrealloc.c: Likewise.
8631         * support/xsignal.h: Likewise.
8632         * support/xthread.h: Likewise.
8633         * support_tempfile.h: Likewise.
8634         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
8635         (TEST_DATA_LIMIT): Remove unused macro.
8636         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
8637         <support/check.h>.
8638         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
8639         (ignore_stderr, set_fortify_handler): Remove.  Now in
8640         <support/support.h>.
8641         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
8642         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
8643         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
8644         (xpthread_join): Remove.  Now in <support/xthread.h>.
8645         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
8646         Introduce legacy wrappers.
8647         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
8648         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
8649         (write_message): Remove.
8650         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
8651         test-skeleton.c.
8652         * io/test-open-tmpfile: Likewise.
8653         * io/tst-posix_fallocate-common.c: Likewise.
8654         * libio/tst-fseek.c: Likewise.
8655         * malloc/tst-malloc-backtrace.c: Likewise.
8656         * malloc/tst-malloc-fork-deadlock.c: Likewise.
8657         * malloc/tst-malloc-thread-exit.c: Likewise.
8658         * nptl/tst-cancel7.c: Likewise.
8659         * nptl/tst-cleanup0.c: Likewise.
8660         * posix/tst-posix_fadvise-common.c: Likewise.
8661         * rt/tst-shm.c: Likewise.
8662         * time/bug-getdate1.c: Likewise.
8663         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8664         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
8665         * elf/Makefile (tst-piemod1.so): Link against libsupport.
8667 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
8669         * Rules [$(run-built-tests) != no] (tests-expected): Add
8670         $(tests-printers).
8671         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
8673 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
8675         [BZ #20539]
8676         * math/Makefile (install-lib-ldscripts): Add libm.a.
8677         (install_subdir): Remove.
8678         (install-others): Add.
8679         ($(inst_libdir)/libm.a): Add rule for installation as
8680         linker script.
8681         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
8683 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
8685         * INSTALL: Regenerated.
8686         * Makeconfig: Add comments and whitespace to make the control flow
8687         clearer.
8688         (+link-printers-tests, +link-pie-printers-tests,
8689         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
8690         built-rtld-LDFLAGS, link-libc-rpath,
8691         link-libc-tests-after-rpath-link,
8692         link-libc-printers-tests): New.
8693         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
8694         link-libc-tests): Use the new variables as required.
8695         * Makerules ($(py-const)): New rule.
8696         generated: Add $(py-const).
8697         * README.pretty-printers: New file.
8698         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
8699         (others): Depend on $(py-const).
8700         (tests): Depend on $(tests-printers-programs) or
8701         $(tests-printers-out),
8702         as required.  Pass $(tests-printers) to merge-test-results.sh.
8703         * manual/install.texi: Add requirements for testing the pretty
8704         printers.
8705         * nptl/Makefile (gen-py-const-headers, pretty-printers,
8706         tests-printers, CFLAGS-test-mutexattr-printers.c
8707         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
8708         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
8709         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
8710         * nptl/nptl-printers.py: New file.
8711         * nptl/nptl_lock_constants.pysym: Likewise.
8712         * nptl/test-cond-printers.c: Likewise.
8713         * nptl/test-cond-printers.py: Likewise.
8714         * nptl/test-condattr-printers.c: Likewise.
8715         * nptl/test-condattr-printers.py: Likewise.
8716         * nptl/test-mutex-printers.c: Likewise.
8717         * nptl/test-mutex-printers.py: Likewise.
8718         * nptl/test-mutexattr-printers.c: Likewise.
8719         * nptl/test-mutexattr-printers.py: Likewise.
8720         * nptl/test-rwlock-printers.c: Likewise.
8721         * nptl/test-rwlock-printers.py: Likewise.
8722         * nptl/test-rwlockattr-printers.c: Likewise.
8723         * nptl/test-rwlockattr-printers.py: Likewise.
8724         * scripts/gen-py-const.awk: Likewise.
8725         * scripts/test_printers_common.py: Likewise.
8726         * scripts/test_printers_exceptions.py: Likewise.
8728 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
8730         * scripts/build-many-glibcs.py (Context.__init__): Take strip
8731         argument.
8732         (Glibc.build_glibc): Strip installed shared libraries if
8733         requested.
8734         (get_parser): Add --strip option.
8735         (main): Update Context call.
8737 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8738             Dominik Vogt  <vogt@linux.vnet.ibm.com>
8740         [BZ #20847]
8741         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8742         array bounds for else branch.
8743         (__execvpe): Style fixes.
8744         * posix/tst-vfork3.c (run_script): New function.
8745         (create_script): Likewise.
8746         (do_test): Use run_script internal function.
8747         (do_prepare): Use create_script internal function.
8749 2016-12-07  Andreas Schwab  <schwab@suse.de>
8751         * sysdeps/unix/sysv/linux/x86/elision-conf.h
8752         (__elision_available): Don't declare.
8753         * sysdeps/unix/sysv/linux/x86/elision-conf.c
8754         (__elision_available): Don't define.
8755         (elision_init): Don't set __elision_available.
8757 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
8759         [BZ #20940]
8760         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
8761         return Inf for arguments Inf and sNaN.
8762         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
8763         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8764         Likewise.
8765         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8766         Likewise.
8767         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8768         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
8769         for arguments Inf and sNaN.  When returning a NaN, compute it by
8770         arithmetic on the arguments.
8771         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
8772         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
8773         arguments.
8775 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
8777         [BZ #20916]
8778         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
8779         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
8780         to compute result.
8781         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8782         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
8784 2016-12-05  Torvald Riegel  <triegel@redhat.com>
8786         * include/atomic.h (__atomic_check_size_ls): New.
8787         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
8788         atomic_store_release): Use it.
8789         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
8790         (elision_adapt, ELIDE_LOCK): Use atomics.
8791         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
8792         atomics and improve code comments.
8793         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
8794         (__lll_trylock_elision): Likewise.
8796 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8798         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
8799         programs.
8801 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
8803         [BZ #20916]
8804         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
8805         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
8806         arguments to compute result.
8807         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
8808         1 for arguments (sNaN, 0) or (1, sNaN).
8809         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8810         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8812         [BZ #20919]
8813         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
8814         NaN first argument when raised to power 0.
8815         * math/w_pow.c (__pow): Do not check for NaN or zero results from
8816         raising to power zero.
8817         * math/w_powf.c (__powf): Likewise.
8818         * math/w_powl.c (__powl): Likewise.
8819         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
8820         pow (0, 0) or pow (NaN, 0).
8822 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
8824         [BZ #20918]
8825         * configure.ac: Test for static NSS cryptographic libraries and set
8826         libc_cv_static_nss_crypt.
8827         * configure: Regenerate.
8828         * config.make.in (static-nss-crypt): Define.
8829         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
8830         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
8831         (CFLAGS-tst-linkall-static.c): Define.
8832         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
8833         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
8834         ($(objpfx)tst-linkall-static): Define.
8835         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
8836         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
8838 2016-12-02  Florian Weimer  <fweimer@redhat.com>
8840         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
8841         (one-hundred, tst-tls-many-dynamic-modules): Define.
8842         (modules-names): Add $(tst-tls-many-dynamic-modules).
8843         (tst-tls-manydynamic%mod.os): Build with special preprocessor
8844         macros.
8845         (tst-tls-manydynamic): Link against libdl, libpthread.
8846         (tst-tls-manydynamic.out): The test needs the test modules at run
8847         time.
8848         * elf/tst-tls-manydynamic.c: New file.
8849         * elf/tst-tls-manydynamic.h: Likewise.
8850         * elf/tst-tls-manydynamicmod.c: Likewise.
8852 2016-12-02  Florian Weimer  <fweimer@redhat.com>
8854         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
8855         (TLS_DTV_UNALLOCATED): Add.
8856         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
8857         offsets.
8859 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
8861         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8863 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
8865         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
8866         Add -fno-optimize-sibling-calls.
8868 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
8870         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
8871         New declaration.
8872         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
8873         macro.
8874         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
8875         New macro.
8876         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
8877         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
8878         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
8879         (llogbf): Likewise.
8880         (llogbl): Likewise.
8881         * math/Makefile (gen-libm-calls): Add w_llogbF.
8882         (tests): Add test-fp-llogb-constants.
8883         * math/w_llogb_template.c: New file.  Based on
8884         math/w_ilogb_template.c.
8885         * math/libm-test.inc (llogb_test_data): New array.
8886         (llogb_test): New function.
8887         (main): Call llogb_test.
8888         * math/test-fp-llogb-constants.c: New file.  Based on
8889         math/test-fp-ilogb-constants.c.
8890         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
8891         (do_test): Call check_return_llogb.
8892         * math/test-tgmath.c (NCALLS): Increase to 126.
8893         (F(compile_test)): Call llogb.
8894         (F(llogb)): New function.
8895         * manual/math.texi (Exponents and Logarithms): Document llogb,
8896         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
8897         * manual/libm-err-tab.pl (@all_functions): Add llogb.
8898         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
8899         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
8900         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
8901         (CFLAGS-nldbl-llogb.c): New variable.
8902         * sysdeps/nacl/libm.abilist: Update.
8903         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8904         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8905         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8906         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8907         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8908         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8909         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8910         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8911         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8912         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8913         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8914         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8916         Likewise.
8917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8918         Likewise.
8919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8920         Likewise.
8921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8922         Likewise.
8923         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8924         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8925         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8926         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8927         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8929         Likewise.
8930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8931         Likewise.
8932         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8933         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8934         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8936 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
8938         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
8939         _Float128 instead of long double.
8940         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
8942         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
8943         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
8944         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
8945         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
8946         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
8947         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
8948         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
8949         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
8950         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
8951         Likewise.
8953 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8955         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
8956         Remove redirection to __strrchr_ppc.
8958 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8960         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8961         (sysdep_routines): Add strcmp_power9.
8962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8963         (strcmp): Add __strcmp_power9 to list of strcmp functions.
8964         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
8965         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8966         (strcmp): Add __strcmp_power9 to ifunc list.
8967         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
8969 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
8971         * bits/fp-logb.h: New file.
8972         * sysdeps/ia64/bits/fp-logb.h: Likewise.
8973         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
8974         * sysdeps/x86/bits/fp-logb.h: Likewise.
8975         * math/Makefile (headers): Add bits/fp-logb.h.
8976         * math/math.h: Include <bits/fp-logb.h>.
8977         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
8978         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
8979         * bits/mathdef.h (FP_ILOGB0): Remove.
8980         (FP_ILOGBNAN): Likewise.
8981         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
8982         (FP_ILOGBNAN): Likewise.
8983         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
8984         (FP_ILOGBNAN): Likewise.
8985         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
8986         (FP_ILOGBNAN): Likewise.
8987         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
8988         (FP_ILOGBNAN): Likewise.
8989         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
8990         (FP_ILOGBNAN): Likewise.
8991         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
8992         (FP_ILOGBNAN): Likewise.
8993         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
8994         (FP_ILOGBNAN): Likewise.
8995         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
8996         (FP_ILOGBNAN): Likewise.
8997         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
8998         (FP_ILOGBNAN): Likewise.
9000         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
9001         time module.
9002         (Context.__init__): Initialize self.logsdir_old.
9003         (Context.run_builds): Handle bot action.
9004         (Context.bot_cycle): Copy logs directory before running builds.
9005         (Context.bot_run_self): Take argument for whether to check
9006         subprocess result.  Flush stdout before running subprocess.
9007         (Context.bot): New function.
9008         (get_parser): Allow bot action.
9010 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
9012         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
9013         Import email.mime.text, email.utils and smtplib modules.
9014         (Context.__init__): Initialize self.bot_config_json.
9015         (Context.run_builds): Handle bot-cycle action.
9016         (Context.load_bot_config_json): New function.
9017         (Context.part_build_old): Likewise.
9018         (Context.bot_cycle): Likewise.
9019         (Context.bot_build_mail): Likewise.
9020         (Context.bot_run_self): Likewise.
9021         (get_parser): Allow bot-cycle action.
9023 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9025         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
9026         Remove redirection to __stpcpy_ppc.
9028 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9030         Remove __libc_memalign from ld.so because it is unused.
9031         * elf/dl-minimal.c: Update comment on the malloc implementation.
9032         (malloc): Renamed from __libc_memalign, replacing the original
9033         malloc implementation.  Replace the align parameter with
9034         MALLOC_ALIGNMENT.
9035         * elf/Versions (ld): Update comment and remove __libc_memalign.
9036         * sysdeps/nacl/ld.abilist: Likewise.
9037         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
9038         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
9039         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
9040         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
9041         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
9042         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
9043         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
9044         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
9045         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
9046         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
9047         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
9048         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
9049         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
9050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
9051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9053         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
9054         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
9055         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
9056         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
9057         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
9058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
9059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
9060         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
9061         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
9062         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
9063         * sysdeps/generic/localplt.data (ld.so): Likewise.
9064         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9065         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9066         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9067         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9068         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9069         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9070         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9071         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
9072         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9074         (ld.so): Likewise.
9075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9076         (ld.so): Likewise.
9077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9078         Likewise.
9079         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9080         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9081         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
9082         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
9083         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9085 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9087         [BZ #16628]
9088         Implement _dl_catch_error, _dl_signal_error in libc.so.
9089         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
9090         (catch_hook): Define as thread-local or regular variable,
9091         depending on DL_ERROR_BOOTSTRAP.
9092         (CATCH_HOOK): Remove.
9093         (dl_signal_error, _dl_catch_error): Use
9094         catch_hook.  Add hidden definition for libc.
9095         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
9096         for DL_ERROR_BOOTSTRAP only.
9097         * elf/dl-error.c: New file.
9098         * elf/dl-error-minimal.c: Likewise.
9099         * elf/tst-latepthread.c: Likewise.
9100         * elf/tst-latepthreadmod.c: Likewise.
9101         * elf/Makefile (routines): Add dl-error.
9102         (dl-routines): Remove dl-error.
9103         (rtld-routines): Add dl-error-minimal.
9104         [build-shared] (tests): Add tst-latepthread.
9105         (module-names): Add tst-latepthreadmod.
9106         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
9107         symbol.
9108         (tst-latepthreadmod.so): Link against libpthread.
9109         (tst-latepthread): Link against libdbl.
9110         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
9111         _dl_catch_error.
9112         [ld] (GLIBC_PRIVATE): Likewise.
9113         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
9114         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
9115         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
9116         directly.
9117         * elf/dl-tsd.c: Remove file.
9118         * elf/rtld.c (_rtld_global_ro): Remove initializers for
9119         _dl_catch_error, _dl_signal_error.
9120         (_dl_initial_error_catch_tsd): Remove definition.
9121         (do_preload): Remove initialization of dl_error_catch_tsd.
9122         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
9123         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
9124         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9125         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9126         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
9127         set dl_error_catch_tsd.
9128         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
9129         _dl_error_catch_tsd member.
9130         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
9131         members.
9132         (_dl_initial_error_catch_tsd): Remove declaration.
9133         (_dl_dprintf): Provide definition for use outside of ld.so.
9134         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
9135         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
9136         prototype for libc.
9137         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
9138         _dl_catch_error.
9139         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9140         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9141         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9142         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9143         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9144         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9145         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9146         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
9147         Likewise.
9148         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9150         (ld.so): Likewise.
9151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9152         (ld.so): Likewise.
9153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9154         Likewise.
9155         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9156         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9157         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
9158         Likewise.
9159         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
9160         Likewise.
9161         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9163 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9165         [BZ #4099]
9166         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
9167         _IO_BUFSIZ (8192).
9169 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
9171         * PROJECTS: Remove file.
9173 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9175         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
9177 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
9178             Steve Ellcey  <sellcey@caviumnetworks.com>
9180         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
9181         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
9182         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
9183         fxstatat.
9184         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
9185         lxstat.
9186         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
9187         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
9188         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
9189         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
9190         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
9191         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
9192         __xstat.
9194 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9196         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
9197         Define.
9198         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
9199         definition.
9201 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9203         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
9204         version and turn into strong alias.  Remove compat symbol.
9206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9207         (__longjmp): Remove.
9209 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
9211         * bits/fp-fast.h: New file.
9212         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
9213         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
9214         * math/Makefile (headers): Add bits/fp-fast.h.
9215         * math/math.h: Include <bits/fp-fast.h>.
9216         * bits/mathdef.h (FP_FAST_FMA): Remove.
9217         (FP_FAST_FMAF): Likewise.
9218         (FP_FAST_FMAL): Likewise.
9219         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
9220         (FP_FAST_FMAF): Likewise.
9221         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
9222         (FP_FAST_FMAF): Likewise.
9223         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
9224         (FP_FAST_FMAF): Likewise.
9225         (FP_FAST_FMAL): Likewise.
9226         * sysdeps/arm/bits/mathdef.h: Remove file.
9227         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
9228         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9229         * sysdeps/tile/bits/mathdef.h: Likewise.
9231 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
9233         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
9234         * math/w_ilogb.c: Remove.
9235         * math/w_ilogbf.c: Likewise.
9236         * math/w_ilogbl.c: Likewise.
9237         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
9238         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
9239         * math/Makefile (gen-libm-calls): Add w_ilogbF.
9240         (libm-calls): Remove w_ilogbF.
9241         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
9242         (LDOUBLE_ilogbl_libm_version): New macro.
9244         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
9246         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
9247         [!__STRICT_ANSI__ && !__cplusplus].
9249 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9251         [BZ #20750]
9252         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
9253         of PIC.
9255 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9256             Yury Norov  <ynorov@caviumnetworks.com>
9257             Steve Ellcey  <sellcey@caviumnetworks.com>
9259         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
9260         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
9261         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
9262         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
9263         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
9264         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
9265         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
9266         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
9267         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
9268         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
9269         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
9270         to get correct reg name for ILP32.
9271         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
9272         (RELA_SIZE): New Macro.
9273         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
9274         to support ILP32.
9275         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
9276         cast for ILP32 mode.
9277         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
9278         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
9279         * sysdeps/aarch64/memset.S (__memset): Ditto.
9280         * sysdeps/aarch64/strchr.S (strchr): Ditto.
9281         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
9282         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
9283         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
9284         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
9285         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
9286         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
9287         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
9288         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
9289         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
9290         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
9291         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
9292         change PTR_MANGLE call to use register numbers instead of names.
9293         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
9294         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
9295         ILP32 mode, change PTR_MANGLE calls to use register numbers.
9296         * sysdeps/aarch64/start.S (_start): Ditto.
9297         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
9298         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
9299         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
9300         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
9301         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
9302         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
9303         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
9304         Make defined values dependent on __ILP32__.
9305         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
9306         (sem_t): Change __align type.
9307         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
9308         PTR_SIZE): New Macros.
9309         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
9310         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
9311         Set when in ILP32 mode.
9312         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
9313         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
9314         Set elf flags for ILP32.
9315         (add_system_dir): Set ILP32 library directories.
9316         * sysdeps/unix/sysv/linux/aarch64/init-first.c
9317         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
9318         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
9319         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
9320         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
9321         New Macros.
9322         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
9324 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
9326         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
9327         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
9328         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
9330 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
9332         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
9333         <asm/cachectl.h>.
9335 2016-11-27  Zack Weinberg  <zackw@panix.com>
9337         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
9338         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
9340 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9342         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
9343         error_t to fix usage in C++ programs.
9345 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
9347         * scripts/build-many-glibcs.py: Import datetime module.
9348         (Context.__init__): Load JSON build state.  Initialize list of
9349         status logs.
9350         (Context.run_builds): Update saved build state.
9351         (Context.add_makefile_cmdlist): Update list of status logs.
9352         (Context.load_build_state_json): New function.
9353         (Context.store_build_state_json): Likewise.
9354         (Context.clear_last_build_state): Likewise.
9355         (Context.update_build_state): Likewise.
9356         (CommandList.status_logs): Likewise.
9358 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
9360         * scripts/build-many-glibcs.py (Context.__init__): Save text of
9361         script being executed.
9362         (Context.get_script_text): New function.
9363         (Context.exec_self): Likewise.
9364         (Context.checkout): Re-exec script if changed by checkout process.
9366 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
9368         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9369         (setpayloadsig): New declaration.
9370         * math/Versions (setpayloadsig): New libm symbol at version
9371         GLIBC_2.25.
9372         (setpayloadsigf): Likewise.
9373         (setpayloadsigl): Likewise.
9374         * math/Makefile (libm-calls): Add s_setpayloadsigF.
9375         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
9376         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
9377         (setpayloadsig_test_data): New array.
9378         (setpayloadsig_test): New function.
9379         (main): Call setpayloadsig_test.
9380         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
9381         setpayloadsigf and setpayloadsigl.
9382         * manual/libm-err-tab.pl: Update comment on interfaces without
9383         ulps tabulated.
9384         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
9385         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
9386         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
9387         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
9388         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
9389         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
9390         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9391         setpayloadsig.
9392         (CFLAGS-nldbl-setpayloadsig.c): New variable.
9393         * sysdeps/nacl/libm.abilist: Update.
9394         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9395         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9396         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9397         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9398         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9399         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9400         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9401         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9402         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9403         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9404         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9405         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9407         Likewise.
9408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9409         Likewise.
9410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9411         Likewise.
9412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9413         Likewise.
9414         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9415         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9416         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9417         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9418         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9420         Likewise.
9421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9422         Likewise.
9423         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9424         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9425         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9427         * scripts/build-many-glibcs.py: Import json module.
9428         (Context.__init__): Take replace_sources argument.  Load
9429         versions.json.
9430         (Context.load_versions_json): New function.
9431         (Context.store_json): Likewise.
9432         (Context.store_versions_json): Likewise.
9433         (Context.set_component_version): Likewise.
9434         (Context.checkout): Update versions.json.  Check for and handle
9435         changes of version.  Prefer previously explicitly specified
9436         version to default version.
9437         (Context.checkout_vcs): Return a revision identifier.
9438         (Context.git_checkout): Likewise.
9439         (Context.gcc_checkout): Likewise.
9440         (get_parser): Add --replace-sources option.
9441         (main): Pass replace_sources argument to Context call.
9443 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9445         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
9446         * nptl/allocatestack.c (allocate_stack): Likewise.
9447         (__reclaim_stacks): Likewise.
9448         (setxid_signal_thread): Obtain pid through syscall.
9449         * nptl/nptl-init.c (sigcancel_handler): Likewise.
9450         (sighandle_setxid): Likewise.
9451         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
9452         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9453         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9454         Likewise.
9455         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
9456         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
9457         comment.
9458         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
9459         * nptl/descr.h (struct pthread): Change comment about pid value.
9460         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
9461         pid assert.
9462         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
9463         Do not set pid value.
9464         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
9465         pid cache check.
9466         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
9467         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
9468         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
9469         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
9470         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
9471         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9472         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
9473         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
9474         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
9475         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
9476         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
9477         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9478         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
9479         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9480         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
9481         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
9482         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9483         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
9484         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
9485         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
9486         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
9487         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9488         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
9489         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
9490         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
9491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9493         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9494         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9495         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9496         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
9497         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
9498         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
9499         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9500         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
9501         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9502         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
9503         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9504         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
9505         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
9506         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9507         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
9508         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
9509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9511         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9512         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9513         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9514         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9515         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9516         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
9517         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9518         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
9519         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
9520         struct access.
9521         (clone_test): Remove function.
9522         (do_test): Rewrite to take in consideration pid is not cached anymore.
9524 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
9526         * bits/flt-eval-method.h: New file.
9527         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
9528         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
9529         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
9530         * math/Makefile (headers): Add bits/flt-eval-method.h.
9531         * math/math.h: Include <bits/flt-eval-method.h>.
9532         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
9533         [__USE_ISOC99] (double_t): Likewise.
9534         * bits/mathdef.h (float_t): Remove.
9535         (double_t): Likewise.
9536         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
9537         (double_t): Likewise.
9538         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
9539         (double_t): Likewise.
9540         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
9541         (double_t): Likewise.
9542         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
9543         (double_t): Likewise.
9544         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
9545         (double_t): Likewise.
9546         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
9547         (double_t): Likewise.
9548         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
9549         (double_t): Likewise.
9550         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
9551         (double_t): Likewise.
9552         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
9553         (double_t): Likewise.
9554         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
9555         (double_t): Likewise.
9556         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
9557         (double_t): Likewise.
9558         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
9559         (double_t): Likewise.
9560         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
9561         (double_t): Likewise.
9563 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
9565         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
9566         instead of PIC.
9568 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9570         [BZ #20859]
9571         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
9572         (-0x7fffffff) instead of 0x80000001.
9573         * math/test-fp-ilogb-constants.c: New file.
9574         * math/Makefile (tests): Add test-fp-ilogb-constants.
9576 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
9578         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
9579         (_init): Use it in place of hardcoded R_MIPS_JALR.
9580         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
9581         (_init): Use it in place of hardcoded R_MIPS_JALR.
9582         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
9583         (_init): Use it in place of hardcoded R_MIPS_JALR.
9585 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9587         [BZ #20787]
9588         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
9589         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
9590         (double_t): Do not define to double if [__x86_64__] when
9591         __FLT_EVAL_METHOD__ is nonzero.
9592         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
9593         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
9594         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9595         test-flt-eval-method-387 and test-flt-eval-method-sse.
9596         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
9597         variable.
9598         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
9600 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
9602         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
9603         use of -fno-isolate-erroneous-paths options for tilepro.
9605 2016-11-23  Florian Weimer  <fweimer@redhat.com>
9607         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
9608         structure initialization is no longer needed.
9610 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9612         [BZ #20855]
9613         * bits/mathdef.h (float_t): Define to float.
9614         * math/test-flt-eval-method.c: New file.
9615         * math/Makefile (tests): Add test-flt-eval-method.
9616         (CFLAGS-test-flt-eval-method.c): New variable.
9618 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
9620         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
9621         and __fstatfs.  Make them aliases of __fstatfs64 if
9622         STATFS_IS_STATFS64 is set to non-zero.
9623         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
9624         and __statfs64.
9625         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
9626         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
9627         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
9628         for __statfs and statfs.
9629         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
9630         to 0.
9631         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
9632         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
9633         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
9634         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
9635         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
9636         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
9637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
9638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
9639         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
9640         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
9641         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
9642         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
9644 2016-11-22  Andreas Schwab  <schwab@suse.de>
9646         * misc/mkstemp.c: Include <fcntl.h>.
9647         * misc/mkstemps.c: Likewise.
9648         * misc/mkostemp.c: Likewise.
9649         * misc/mkostemps.c: Likewise.
9651 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
9653         [BZ #20847]
9654         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
9655         array bounds.
9656         (__execvpe): Likewise.
9658 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
9660         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
9661         -fno-isolate-erroneous-paths options for tilepro.
9663 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
9665         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
9666         to 0 when in 32 bit mode.
9667         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
9668         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
9669         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
9670         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
9671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
9672         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
9673         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
9674         XSTAT_IS_XSTAT64 test.
9675         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
9676         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
9677         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
9678         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
9679         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
9680         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
9681         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
9682         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
9683         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
9684         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
9685         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
9687 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
9689         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9690         (setpayload): New declaration.
9691         * math/Versions (setpayload): New libm symbol at version
9692         GLIBC_2.25.
9693         (setpayloadf): Likewise.
9694         (setpayloadl): Likewise.
9695         * math/Makefile (libm-calls): Add s_setpayloadF.
9696         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
9697         test_Ff_b1_data.
9698         (RUN_TEST_Ff_b1): New macro.
9699         (RUN_TEST_LOOP_Ff_b1): Likewise.
9700         (canonicalize_test_data): Update type.
9701         (setpayload_test_data): New array.
9702         (setpayload_test): New function.
9703         (main): Call setpayload_test.
9704         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
9705         setpayloadf and setpayloadl.
9706         * manual/libm-err-tab.pl: Update comment on interfaces without
9707         ulps tabulated.
9708         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
9709         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
9710         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
9711         Likewise.
9712         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
9713         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
9714         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
9715         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
9716         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
9717         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
9718         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
9719         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
9720         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
9721         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9722         setpayload.
9723         (CFLAGS-nldbl-setpayload.c): New variable.
9724         * sysdeps/nacl/libm.abilist: Update.
9725         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9726         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9727         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9728         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9729         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9730         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9731         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9732         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9733         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9734         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9735         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9736         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9738         Likewise.
9739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9740         Likewise.
9741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9742         Likewise.
9743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9744         Likewise.
9745         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9746         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9747         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9748         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9749         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9751         Likewise.
9752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9753         Likewise.
9754         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9755         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9756         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9758 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9760         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
9761         * include/unistd.h: Extend comment about __access_noerrno return
9762         semantics.
9763         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
9764         (access_common): Correct typo for EACCES.
9766 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
9768         * sysdeps/tile/math-tests.h: New file.
9770         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
9771         (__old_set_dataplane): Rename from set_dataplane and make a
9772         compatibility symbol.
9773         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
9774         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
9775         sys/dataplane.h.
9777 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
9779         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
9780         script quote words in command output to log suitably for input to
9781         the shell.
9783 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
9784             Maciej W. Rozycki  <macro@imgtec.com>
9786         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
9787         `.Lno_weak_fn' label.
9788         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
9789         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
9791 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9792             Yury Norov  <ynorov@caviumnetworks.com>
9794         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
9795         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
9796         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9797         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
9798         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9799         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
9800         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9801         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9802         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9803         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
9804         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9805         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
9806         (sysdep_routines): Remove oldgetrlimit64.
9807         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
9808         (sysdep_routines): Likewise.
9809         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
9810         (sysdep_routines): Likewise.
9811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9812         [$(subdir) = resource] (sysdep_routines): Likewise.
9813         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
9814         [$(subdir) = resource] (sysdep_routines): Likewise.
9815         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
9816         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
9817         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
9818         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
9819         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
9820         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9821         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9822         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
9823         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
9824         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
9825         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
9826         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
9827         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
9828         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
9829         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
9830         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
9831         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
9832         setrlimit and getrlimit.
9833         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
9834         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9835         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
9836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
9838         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9839         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
9840         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9841         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9842         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
9843         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
9844         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
9845         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
9846         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
9847         (__old_getrlimit64): Add compatibility symbol.
9848         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
9850 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
9852         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
9853         newly built gmp, mpfr and mpc.
9855         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
9857 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
9859         * conform/Makefile (linknamespace-libs): Rename to
9860         linknamespace-libs-thr.
9861         (linknamespace-libs-posix): New variable.
9862         (linknamespace-libs-xsi): Likewise.
9863         (linknamespace-libs-XPG3): Include libcrypt.a.
9864         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
9865         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
9866         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
9867         (linknamespace-libs-XOPEN2K): Likewise.
9868         (linknamespace-libs-XOPEN2K8): Likewise.
9869         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
9871         [BZ #20829]
9872         * stdio-common/Versions (__snprintf): Add to version
9873         GLIBC_PRIVATE.
9874         * include/stdio.h (__snprintf): Use libc_hidden_proto.
9875         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
9876         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
9877         of snprintf.
9878         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9880 2016-11-16  Zack Weinberg  <zackw@panix.com>
9882         * string/string.h: Remove obsolete comment stating that
9883         strcoll_l and strxfrm_l have not yet been standardized.
9885 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9887         * hurd/hurd.h (__hurd_fail_noerrno): New function.
9888         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
9889         __access_noerrno.
9890         * io/access.c (__access_noerrno): New function.
9891         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
9892         (hurd_fail_seterrno): Likewise.
9893         (access_common): Likewise.
9894         (__access_noerrno): Likewise.
9895         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
9896         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
9897         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
9898         macro.
9900 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
9902         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
9903         Only declare fpregs if [__SH_FPU_ANY__].
9905 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
9907         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
9908         Make code unconditional.
9909         [!(__SH4__ || __SH4A__)]: Remove conditional code.
9911 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
9913         * manual/sysinfo.texi (S_APPEND): Delete.
9914         (S_IMMUTABLE): Likewise.
9916 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
9917             Magnus Granberg  <zorry@gentoo.org>
9918             Mike Frysinger  <vapier@gentoo.org>
9920         [BZ #20662]
9921         * configure.ac (libc_cv_predef_stack_protector): Also check for
9922         __stack_chk_fail_local symbols.
9923         * configure: Regenerated.
9925 2016-11-15  Florian Weimer  <fweimer@redhat.com>
9927         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
9928         (libc_hidden_def): Remove redefinition.
9929         (__sigsetjmp): Add hidden definition.
9930         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
9931         (libc_hidden_def): Remove redefinition.
9932         (__sigsetjmp): Add hidden definition.
9934 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
9936         * scripts/build-many-glibcs.py (os.path): Do not import.
9937         (Context): Inherit explicitly from object.  Remove blank line
9938         between class and docstring.
9939         (Config): Likewise.
9940         (Glibc): Likewise.
9941         (Command): Likewise.
9942         (CommandList): Likewise.
9943         (Context.write_files): Store chmod mode in a variable.
9945         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
9946         LIBC_SLIBDIR_RTLDDIR for tilegx32.
9947         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
9949 2016-11-14  Zack Weinberg  <zackw@panix.com>
9951         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
9952         creating or re-creating it.
9954         * string/bits/string2.h: Fix typo in comment.
9956 2016-11-14  Zack Weinberg  <zackw@panix.com>
9958         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
9959         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
9960         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
9961         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
9962         of redirected function names.
9964         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
9965         as well.  Document that MESSAGE must be a single string literal.
9967 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
9969         * scripts/build-many-glibcs.py: New file.
9971         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
9972         (do_test): Disable -Wmaybe-uninitialized around uses of
9973         except_mask.
9975         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
9977 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
9979         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
9980         (atomic_store_release): Provide tilepro-specific implementations.
9982 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
9984         * math/math.h (__MATH_TG): New macro.
9985         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
9986         [__USE_ISOC99] (signbit): Likewise.
9987         [__USE_ISOC99] (isfinite): Likewise.
9988         [__USE_ISOC99] (isnan): Likewise.
9989         [__USE_ISOC99] (isinf): Likewise.
9990         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
9991         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
9992         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
9993         __MATH_TG and __MATH_EVAL_FMT2.
9994         * sysdeps/generic/math_private.h (fabs_tg): Define using
9995         __MATH_TG.
9996         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
9997         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
9998         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
9999         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
10000         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
10001         macro.
10002         (__iscanonical): Likewise.
10003         (iscanonical): Define using __MATH_TG.
10005 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10007         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
10008         guards.
10010         * sysdeps/unix/sysv/linux/access.c: New file.
10011         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
10013 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
10015         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
10016         and __WORDSIZE32_PTRDIFF_LONG.
10018 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10020         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10022 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10024         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
10025         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
10026         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
10027         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
10028         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
10029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
10030         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
10031         * sysdeps/unix/sysv/linux/truncate.c: New file.
10032         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
10033         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10034         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
10035         Remove.
10036         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
10037         Likewise.
10039         * posix/tst-truncate-common.c: New file.
10040         * posix/tst-truncate.c: Use tst-truncate-common.c.
10041         * posix/tst-truncate64.c: Likewise and add LFS tests.
10042         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
10043         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
10044         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
10045         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
10046         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
10047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
10048         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
10049         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
10050         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
10051         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10052         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
10053         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
10054         Remove.
10055         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
10056         Likewise.
10058 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
10060         [BZ #20790]
10061         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
10062         to MAXLINESIZE.
10063         * sunrpc/bug20790.x: New file.
10064         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
10065         variable.
10066         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
10067         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
10069         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
10071         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
10073         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
10074         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
10075         calloc, realloc, free, memalign and __libc_memalign rather than
10076         making them optional.
10078         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
10079         for libc.so.
10081 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10083         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
10084         ptw-lseek64.
10085         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
10086         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
10087         Likewise.
10088         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
10089         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
10090         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
10091         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
10092         * sysdeps/unix/sysv/linux/lseek.c: New file.
10093         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
10094         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
10095         __libc_lseek64 from auto-generation.
10096         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10097         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
10099 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10101         * nptl/tst-basic1.c (tf, do_test): Use write_message.
10102         * nptl/tst-cleanup1.c (do_test): Likewise.
10103         * nptl/tst-cleanup3.c (do_test): Likewise.
10104         * nptl/tst-key1.c (do_test): Likewise.
10105         * nptl/tst-key2.c (tf, do_test): Likewise.
10106         * nptl/tst-key3.c (tf, do_test): Likewise.
10107         * nptl/tst-stdio1.c (do_test): Likewise.
10108         * nptl/tst-stdio2.c (do_test): Likewise.
10110         * nptl/tst-kill3.c (handler): Use write_message in place of write.
10111         * nptl/tst-kill6.c (handler): Likewise.
10112         * nptl/tst-tls2.c (CB): Likewise.
10113         * nptl/tst-tls3.c (CB): Likewise.
10115 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
10117         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
10119 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
10120             Steve Ellcey  <sellcey@caviumnetworks.com>
10122         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
10123           __ASSUME_ST_INO_64_BIT as 0
10124         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
10125         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
10126           over the code where __ASSUME_ST_INO_64_BIT is used.
10127         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
10128         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
10129         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10131 2016-11-07  Florian Weimer  <fweimer@redhat.com>
10133         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10134         Document ABI exposure of the __kind offset.
10135         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10136         Mention reason for the __kind offset exposure in the ABI.
10137         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10138         Likewise.
10139         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10140         Likewise.
10141         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10142         Likewise.
10143         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
10144         (struct __pthread_mutex_s): Likewise.
10145         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10146         Likewise.
10147         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10148         Likewise.
10149         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10150         Likewise.
10151         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10152         Likewise.
10153         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10154         Likewise.
10155         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10156         Likewise.
10157         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10158         (struct __pthread_mutex_s): Likewise.
10159         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10160         (struct __pthread_mutex_s): Likewise.
10161         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
10162         Likewise.
10164 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
10166         * test-skeleton.c: Document do_test usage.
10168 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
10170         * iconv/gconv.h (__gconv_info): Define __data element using a
10171         zero-length array.
10173 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
10175         * math/test-tgmath2.c: Split up test function.
10177 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10179         * Rules (tests-expected): New variable, depending on
10180         $(run-built-tests).
10181         (tests): Pass $(tests-expected) to merge-test-results.sh, not
10182         $(tests).
10184         * Rules [$(run-built-tests) = no] (tests): Do not depend on
10185         $(tests-unsupported).
10187 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10189         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10190         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
10192 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10194         [BZ #20768]
10195         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
10196         __fegetenv instead of fegetenv.
10198         [BZ #14139]
10199         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
10200         (find_files): Obtain platform name from libm-test-ulps-name and
10201         store in %pplatforms.
10202         (canonicalize_platform): Remove.
10203         (print_platforms): Use $pplatforms directly.
10204         (by_platforms): Do not allow for platforms missing from
10205         %pplatforms.
10206         * sysdeps/aarch64/libm-test-ulps-name: New file.
10207         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
10208         * sysdeps/arm/libm-test-ulps-name: Likewise.
10209         * sysdeps/generic/libm-test-ulps-name: Likewise.
10210         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
10211         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
10212         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
10213         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
10214         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
10215         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
10216         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
10217         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
10218         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
10219         * sysdeps/nios2/libm-test-ulps-name: Likewise.
10220         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
10221         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
10222         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
10223         * sysdeps/sh/libm-test-ulps-name: Likewise.
10224         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
10225         * sysdeps/tile/libm-test-ulps-name: Likewise.
10226         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
10228         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
10230         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
10231         (test-xfail-check-execstack): New variable.
10233         * sysdeps/mips/localplt.data: New file.
10235 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
10236             Steve Ellcey  <sellcey@caviumnetworks.com>
10238         * bits/wordsize.h: Add documentation.
10239         * sysdeps/aarch64/bits/wordsize.h : New file
10240         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
10241         definitions.
10242         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
10243         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
10244         with #if instead of #ifdef.
10245         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
10246         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
10247         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
10248         Add or change defines.
10249         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
10250         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10251         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
10252         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
10253         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10254         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10255         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
10256         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
10257         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
10258         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10259         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
10260         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
10261         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
10262         * sysdeps/x86/bits/wordsize.h: Likewise.
10264 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
10265             Kevin Petit  <kevin.petit@arm.com>
10267         * sysdeps/aarch64/memchr.S (__memchr): New file.
10269 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10271         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
10273 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
10275         [BZ #19398]
10276         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
10277         $(linknamespace-symlists-tests).
10279 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
10281         * time/tst-strptime2.c: Ignore -Wformat-length warning.
10283 2016-11-02  Florian Weimer  <fweimer@redhat.com>
10284             Carlos O'Donell  <carlos@redhat.com>
10286         [Bug #20729]
10287         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
10288         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
10289         for -Os related change.
10291 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
10293         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
10295 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
10297         [BZ #19673]
10298         * manual/math.texi (Exponents and Logarithms): Correct description
10299         of clog10.
10301 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
10303         [Bz #20729]
10304         * locale/weight.h: Include libc-internal.h.
10305         * locale/weightwc.h: Likewise.
10306         * nptl/nptl_dbP.h: Likewise.
10308 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
10310         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
10311         when it is MACH_PORT_NULL.
10313 2016-10-31  Andreas Schwab  <schwab@suse.de>
10315         [BZ #20707]
10316         * posix/glob.c (glob): Initialize pglob before checking for
10317         GLOB_BRACE.  Don't call glob recursively if pattern contains no
10318         valid brace expression despite GLOB_BRACE.
10319         * posix/globtest.sh: Test it.
10321 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
10323         [BZ #20729]
10324         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
10325         Define.
10326         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
10327         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
10328         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
10329         for seq2.back_us and seq1.back_us only for -Os compiles.
10330         * locale/weightwc.h (findix): Likewise.
10331         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
10332         DB_GET_FIELD_ADDRESS only for -Os compiles.
10333         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
10334         for slen only for -Os compiles.
10335         * string/strcoll_l.c (get_next_seq): Ignore
10336         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
10337         for -Os compiles.
10339         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
10340         * include/crypt.h: New file.
10342 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10344         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
10345         from test-skeleton.c.
10346         (statclass): Replace calls to write with calls to write_message.
10348 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
10350         * math/math.h
10351         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
10352         New macro.
10353         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
10354         Likewise.
10355         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
10356         Likewise.
10357         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
10358         SNANL.
10359         * math/test-double.h (snan_value_MACRO): New macro.
10360         * math/test-float.h (snan_value_MACRO): Likewise.
10361         * math/test-ldouble.h (snan_value_MACRO): Likewise.
10362         * math/libm-test.inc (issignaling_test_data): Add tests of
10363         snan_value_MACRO.
10365 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10367         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
10368         behavior when eliding a lock not held by the current thread.
10369         * sysdeps/powerpc/nptl/elide.h: Likewise.
10371 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10373         [BZ #20728]
10374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
10375         branch to _exit() by a function call.
10377 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10379         * malloc/malloc.c: Update chunk layout comments.
10380         (chunk_main_arena): Update comment.
10382 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10384         * crypt/sha256.c, crypt/sha256-block.c,
10385         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
10386         sha256_process_block to __sha256_process_block.
10387         * crypt/sha512.c, crypt/sha512-block.c,
10388         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
10389         sha512_process_block to __sha512_process_block.
10391 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
10393         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
10395         * math/test-nan-overflow.c: Include stdlib.h for malloc.
10397 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
10399         [BZ #20019]
10400         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
10401         definition in unrelocated shared library.
10402         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10404 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10406         [BZ #20729]
10407         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
10408         * sysdeps/unix/sysv/linux/i386/Makefile
10409         (uses-6-syscall-arguments): Define.
10410         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
10411         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
10412         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
10413         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
10414         Likewise.
10415         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
10416         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
10417         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
10418         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
10419         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
10420         (CFLAGS-fallocate64.os): Likewise.
10421         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
10422         (CFLAGS-pthread_rwlock_timedrdlock.os)
10423         (CFLAGS-pthread_rwlock_timedwrlock.o)
10424         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
10425         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
10426         (CFLAGS-sem_timedwait.os): Likewise.
10428 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10430         * elf/tst-linkall-static.c: New file.
10431         * elf/Makefile (tests-static): Add tst-linkall-static.
10432         (tst-linkall-static): Link against static libraries.
10434 2016-10-27  Florian Weimer  <fweimer@redhat.com>
10436         * malloc/malloc.c (sysmalloc): Initialize previous size field of
10437         mmaped chunks.
10439 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10441         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
10442         members to mchunk_prev_size, mchunk_size.
10443         (chunk_main_arena): Reverse sense and rename from
10444         chunk_non_main_arena.
10445         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
10446         mchunk_size instead of size.
10447         (set_non_main_arena): Define.
10448         (chunksize): Use chunksize_nomask instead of direct member access.
10449         (chunksize_nomask): Define.
10450         (next_chunk): Use chunksize instead of direct member access.
10451         (prev_size, set_prev_size): Define.
10452         (prev_chunk): Use prev_size instead of direct member access.
10453         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
10454         (inuse_bit_at_offset, set_inuse_bit_at_offset)
10455         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
10456         (mchunk_prev_size, mchunk_size): Poison tokens.
10457         (unlink): Use chunksize_nomask, prev_size accessors.
10458         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
10459         (do_check_free_chunk): Use prev_size accessor.
10460         (sysmalloc): Use set_prev_size, set_head accessors.
10461         (munmap_chunk, mremap_chunk): Use prev_size accessor.
10462         (__libc_free): Use chunksize_nomask accessor.
10463         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
10464         chunk_main_arena accessors.
10465         (_int_free): Use chunksize_nomask, prev_size accessors.
10466         (malloc_consolidate): Use chunksize, prev_size accessors.
10467         (_int_realloc): Use chunksize_nomask accessor.
10468         (_int_memalign): Use set_prev_size accessor.
10469         (__malloc_info): Use chunksize_nomask accessor.
10470         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
10471         accessors.
10472         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
10473         (heap_trim): Use chunksize_nomask, prev_size accessors.
10475 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
10477         [BZ #19380]
10478         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
10479         for inexact results.
10480         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
10481         of inexact result where mpfr_subnormalize is the only inexact
10482         step.
10483         * stdlib/tst-strtod-round-data.h: Regenerated.
10484         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
10485         Define to 0.
10486         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
10488 2016-10-27  David S. Miller  <davem@davemloft.net>
10490         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
10492 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10494         * malloc/malloc.c (do_set_mallopt_check): New function.
10495         (do_set_mmap_threshold): Likewise.
10496         (do_set_mmaps_max): Likewise.
10497         (do_set_top_pad): Likewise.
10498         (do_set_perturb_byte): Likewise.
10499         (do_set_trim_threshold): Likewise.
10500         (do_set_arena_max): Likewise.
10501         (do_set_arena_test): Likewise.
10502         (__libc_mallopt): Use them.
10504 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
10506         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10507         (canonicalize): New declaration.
10508         * math/Versions (canonicalize): New libm symbol at version
10509         GLIBC_2.25.
10510         (canonicalizef): Likewise.
10511         (canonicalizel): Likewise.
10512         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
10513         * math/s_canonicalize_template.c: New file.
10514         * math/libm-test.inc: Update comment on functions tested and
10515         testing of NaN payloads.
10516         (TEST_NAN_PAYLOAD): New macro.
10517         (NO_TEST_INLINE): Update value.
10518         (XFAIL_TEST): Likewise.
10519         (ERRNO_UNCHANGED): Likewise.
10520         (ERRNO_EDOM): Likewise.
10521         (ERRNO_ERANGE): Likewise.
10522         (IGNORE_RESULT): Likewise.
10523         (NON_FINITE): Likewise.
10524         (TEST_SNAN): Likewise.
10525         (NO_TEST_MATHVEC): Likewise.
10526         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
10527         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
10528         (struct test_Ffp_b1_data): New type.
10529         (RUN_TEST_Ffp_b1): New macro.
10530         (RUN_TEST_LOOP_Ffp_b1): Likewise.
10531         (canonicalize_test_data): New array.
10532         (canonicalize_test): New function.
10533         (main): Call canonicalize_test.
10534         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
10535         canonicalizef and canonicalizel.
10536         * manual/libm-err-tab.pl: Update comment on interfaces without
10537         ulps tabulated.
10538         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
10539         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
10540         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10541         canonicalize.
10542         (CFLAGS-nldbl-canonicalize.c): New variable.
10543         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
10544         to ...
10545         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
10546         ... here.
10547         (do_test): Also test canonicalizel.
10548         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
10549         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
10550         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
10551         file.
10552         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
10553         Use libm_hidden_def.
10554         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
10555         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
10556         (do_test): Also test canonicalizel.
10557         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
10558         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
10559         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
10560         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
10561         libm_hidden_def.
10562         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
10563         macro.
10564         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
10565         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
10566         * sysdeps/nacl/libm.abilist: Update.
10567         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10568         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10569         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10570         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10571         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10572         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10573         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10574         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10575         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10576         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10577         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10578         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10580         Likewise.
10581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10582         Likewise.
10583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10584         Likewise.
10585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10586         Likewise.
10587         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10588         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10589         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10590         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10591         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10593         Likewise.
10594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10595         Likewise.
10596         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10597         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10598         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10600         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
10601         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10602         getpayload.
10603         (CFLAGS-nldbl-getpayload.c): New variable.
10605 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10607         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
10608         integer from the format string.
10610 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10612         [BZ #19473]
10613         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
10614         declarations.
10615         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
10616         weak aliases.
10617         * malloc/hooks.c (__malloc_get_state): Remove definition.
10618         (malloc_get_state): New stub implementation as
10619         compatibility symbol.
10620         (malloc_set_state): Rename from __malloc_set_state.  Turn into
10621         compat symbol.
10622         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
10623         malloc_set_state.
10624         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
10626 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10628         * iconvdata/iso646.c (enum variant): Drop illegal_var.
10629         (names): Turn into concatenation of strings.
10630         (gconv_init): Adapt iteration over names.
10632 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10634         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
10635         make const.
10636         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
10637         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
10638         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
10639         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
10640         character in sbconv.
10641         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
10642         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
10643         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
10645 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10647         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
10649         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
10650         (M_TRIM_THRESHOLD): Likewise.
10652         * manual/memory.texi (M_ARENA_TEST): Add documentation.
10653         (M_ARENA_MAX): Likewise.
10654         * malloc/malloc.c: Remove obsolete comment.
10656         * manual/memory.texi: Add environment variable alternatives to
10657         setting mallopt parameters.
10659 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
10661         * include/atomic.h
10662         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
10663         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
10665 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10667         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
10668         * stdlib/tst-strfrom.h: New file.
10669         * stdlib/tst-strfrom.c: New file.
10670         * stdlib/tst-strfrom-locale.c: New file.
10672         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
10673         * stdlib/bug-strtod2.c: Likewise.
10674         * stdlib/tst-strtod-round-skeleton.c: Likewise.
10675         * stdlib/tst-strtod6.c: Likewise.
10676         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
10678 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10680         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
10681         * manual/arith.texi: Document strfromd, strfromf, strfroml.
10682         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
10683         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
10684         * stdlib/stdlib.h (strfromd): New declaration.
10685         (strfromf): Likewise.
10686         (strfroml): Likewise.
10687         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
10688         strfrom.
10689         * stdlib/strfromd.c: New file.
10690         * stdlib/strfromf.c: Likewise.
10691         * stdlib/strfroml.c: Likewise.
10692         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
10693         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
10694         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
10695         * sysdeps/arm/nacl/libc.abilist: Update.
10696         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10697         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10698         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10699         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10700         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10701         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10702         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10703         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10704         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10705         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10706         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10707         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10708         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10709         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
10711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10714         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10715         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10716         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10717         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10718         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10721         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10722         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10723         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10725 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
10727         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
10728         instead of cmpli.
10729         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
10730         instead of cmpli.
10732 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
10734         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
10735         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
10736         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
10737         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10738         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10739         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10741 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10743         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
10744         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10745         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
10746         SYSCALL_LL64_PRW.
10747         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10748         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
10749         __ASSUME_PRW_DUMMY_ARG.
10750         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
10751         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10752         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10753         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10754         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
10755         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
10757 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
10759         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
10761 2016-10-22  Florian Weimer  <fweimer@redhat.com>
10763         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
10764         "C++", to override a potential extern "C" directive around the
10765         header file inclusion.
10767 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
10769         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
10771 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10773         * sysdeps/powerpc/fpu/fenv_private.h:
10774         (_FPU_MASK_ALL): Rename to...
10775         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
10776         XE FPSCR bits.
10778         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
10780         (_FPU_MASK_ROUNDING): Rename to...
10781         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
10782         NI bits.
10784         (_FPU_MASK_EXCEPT_ROUND): Rename to...
10785         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
10786         bits and rounding bits.
10788         (__libc_feholdbits_ppc): New inline function to mask, set,
10789         and pontentially clear FSPCR bits, and change MSR[FE] bits.
10790         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
10791         (libc_feholdexcept_setround_ppc): Likewise.
10793         (__libc_femergeenv_ppc): New function to dynamically mask both
10794         old and new FP environments and merge.
10795         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
10796         (libc_feresetround_ppc): Likewise.
10797         (libc_feupdateenv_test_ppc): Likewise.
10798         (libc_feupdateenv_ppc): Likewise.
10800         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
10801         of ISA RN bits, and update macro names.
10802         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
10803         effectively the same as the previously mentioned function.
10805         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
10806         usage with fe_resetround_ppc.
10808         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
10809         to be used.
10810         (libc_feholdexcept_setround_ctxf): Likewise.
10811         (libc_feholdexcept_setround_ctxl): Likewise.
10813 2016-10-21  Florian Weimer  <fweimer@redhat.com>
10815         [BZ #20715]
10816         * math/math.h [__cplusplus] (iszero): Define as function template.
10817         * math/Makefile [CXX] (tests): Add test-math-iszero.
10818         (CFLAGS-test-math-iszero.cc): Set.
10819         * math/test-math-iszero.cc: New file.
10821 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
10823         [BZ #20660]
10824         * sysdeps/arm/e_sqrt.c: New file.
10825         * sysdeps/arm/e_sqrtf.c: Likewise.
10827 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
10829         [BZ #20718]
10830         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
10831         not use floating-point comparisons to test sign.
10832         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
10833         Likewise.
10835         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10836         (getpayload): New declaration.
10837         * math/Versions (getpayload): New libm symbol at version
10838         GLIBC_2.25.
10839         (getpayloadf): Likewise.
10840         (getpayloadl): Likewise.
10841         * math/Makefile (libm-calls): Add s_getpayloadF.
10842         * math/libm-test.inc: Include <nan-high-order-bit.h>.
10843         (struct test_f_f_data): Add comment.
10844         (RUN_TEST_fp_f): New macro.
10845         (RUN_TEST_LOOP_fp_f): Likewise.
10846         (getpayload_test_data): New array.
10847         (getpayload_test): New function.
10848         (main): Call getpayload_test.
10849         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
10850         descriptor.
10851         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
10852         getpayloadf and getpayloadl.
10853         * manual/libm-err-tab.pl: Update comment on interfaces without
10854         ulps tabulated.
10855         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
10856         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
10857         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
10858         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
10859         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
10860         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
10861         * sysdeps/nacl/libm.abilist: Update.
10862         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10863         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10864         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10865         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10866         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10867         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10868         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10869         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10870         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10871         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10872         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10873         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10875         Likewise.
10876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10877         Likewise.
10878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10879         Likewise.
10880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10881         Likewise.
10882         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10883         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10884         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10885         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10886         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10888         Likewise.
10889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10890         Likewise.
10891         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10892         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10893         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10895 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10897         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
10898         tst-fallocate{64}.
10899         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
10900         on syscall return.
10902 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
10904         [BZ #20689]
10905         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
10906         usable.
10908 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
10910         * sysdeps/generic/nan-high-order-bit.h: New file.
10911         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
10912         * sysdeps/mips/nan-high-order-bit.h: Likewise.
10913         * sysdeps/hppa/math_private.h: Remove file.
10914         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
10915         not define here.
10916         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
10917         <nan-high-order-bit.h>.
10918         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10919         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
10920         <nan-high-order-bit.h>.
10921         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10922         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
10923         <nan-high-order-bit.h>.
10924         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10925         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
10926         <nan-high-order-bit.h>.
10927         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10928         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
10929         <nan-high-order-bit.h>.
10930         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10931         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
10932         <nan-high-order-bit.h>.
10933         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10934         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
10935         <nan-high-order-bit.h>.
10936         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10937         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
10938         <nan-high-order-bit.h>.
10939         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10940         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
10941         <nan-high-order-bit.h>.
10942         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10943         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
10944         <nan-high-order-bit.h>.
10945         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10946         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
10947         <nan-high-order-bit.h>.
10948         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10949         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
10950         <nan-high-order-bit.h>.
10951         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10952         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
10953         <nan-high-order-bit.h>.
10954         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10955         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
10956         <nan-high-order-bit.h>.
10957         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10958         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
10959         <nan-high-order-bit.h>.
10960         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10961         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
10962         <nan-high-order-bit.h>.
10963         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10964         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
10965         <nan-high-order-bit.h>.
10966         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10967         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
10968         <nan-high-order-bit.h>.
10969         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10971 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10973         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
10975 2016-09-22  John David Anglin  <dave.anglin@bell.net>
10977         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
10978         abort-instr.h.
10979         (EFAULT): Remove conditional define.
10980         (ENOSYS): Likewise.
10981         (atomic_compare_and_exchange_val_acq): Use instruction nullification
10982         instead of conditional branch instructions.
10984 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
10986         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10987         (totalordermag): New declaration.
10988         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
10989         New macro.
10990         * math/Versions (totalordermag): New libm symbol at version
10991         GLIBC_2.25.
10992         (totalordermagf): Likewise.
10993         (totalordermagl): Likewise.
10994         * math/Makefile (libm-calls): Add s_totalordermagF.
10995         * math/libm-test.inc (totalordermag_test_data): New array.
10996         (totalordermag_test): New function.
10997         (main): Call totalordermag_test.
10998         * math/test-tgmath.c (NCALLS): Increase to 125.
10999         (F(compile_test)): Call totalordermag.
11000         (F(totalordermag)): New function.
11001         * manual/arith.texi (FP Comparison Functions): Document
11002         totalordermag, totalordermagf and totalordermagl.
11003         * manual/libm-err-tab.pl: Update comment on interfaces without
11004         ulps tabulated.
11005         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
11006         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
11007         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
11008         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
11009         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
11010         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
11011         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
11012         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11013         totalordermag.
11014         (CFLAGS-nldbl-totalordermag.c): New variable.
11015         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
11016         (do_test): Also test totalordermagl.
11017         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
11018         Likewise.
11019         * sysdeps/nacl/libm.abilist: Update.
11020         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11021         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11022         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11023         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11024         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11025         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11026         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11027         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11028         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11029         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11030         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11031         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11033         Likewise.
11034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11035         Likewise.
11036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11037         Likewise.
11038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11039         Likewise.
11040         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11041         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11042         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11043         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11044         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11046         Likewise.
11047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11048         Likewise.
11049         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11050         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11051         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11053 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
11055         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
11056         boolean.
11058 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
11060         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
11061         raising FE_INVALID with feraisexcept in case where part of
11062         argument is infinite, subtract that part of argument from itself.
11063         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
11064         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
11065         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
11067 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
11069         * math/libm-test.inc (totalorder_test_data): Add more tests.
11071 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
11073         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
11074         Undefine weak_alias and add a comment why mips64 require
11075         versioning.
11077 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11079         [BZ #20647]
11080         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
11081         maximum CPUID level is less than 2.
11083 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
11085         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11086         (totalorder): New declaration.
11087         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
11088         New macro.
11089         * math/Versions (totalorder): New libm symbol at version
11090         GLIBC_2.25.
11091         (totalorderf): Likewise.
11092         (totalorderl): Likewise.
11093         * math/Makefile (libm-calls): Add s_totalorderF.
11094         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
11095         string.
11096         * math/libm-test.inc (PAYLOAD_DIG): New macro.
11097         (qnan_value_pl): Likewise.
11098         (snan_value_pl): Likewise.
11099         (qnan_value): Define using qnan_value_pl.
11100         (snan_value): Define using snan_value_pl.
11101         (struct test_ff_i_data): Add comment about which tests use this
11102         structure.
11103         (RUN_TEST_ff_b): New macro.
11104         (RUN_TEST_LOOP_ff_b): Likewise.
11105         (totalorder_test_data): New array.
11106         (totalorder_test): New function.
11107         (main): Call totalorder_test.
11108         * math/test-tgmath.c (NCALLS): Increase to 122.
11109         (F(compile_test)): Call totalorder.
11110         (F(totalorder)): New function.
11111         * manual/arith.texi (FP Comparison Functions): Document
11112         totalorder, totalorderf and totalorderl.
11113         * manual/libm-err-tab.pl: Update comment on interfaces without
11114         ulps tabulated.
11115         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
11116         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
11117         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
11118         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
11119         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
11120         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
11121         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
11122         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11123         totalorder.
11124         (CFLAGS-nldbl-totalorder.c): New variable.
11125         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
11126         file.
11127         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11128         Add test-totalorderl-ldbl-128ibm.
11129         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
11130         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
11131         test-totalorderl-ldbl-96.
11132         * sysdeps/nacl/libm.abilist: Update.
11133         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11134         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11135         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11136         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11137         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11138         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11139         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11140         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11141         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11142         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11143         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11144         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11146         Likewise.
11147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11148         Likewise.
11149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11150         Likewise.
11151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11152         Likewise.
11153         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11154         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11155         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11156         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11157         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11159         Likewise.
11160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11161         Likewise.
11162         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11163         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11164         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11166 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11168         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
11169         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
11170         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
11171         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
11172         remove ENOSYS implementation.
11173         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
11174         Consolidate all Linux implementations.
11176 2016-10-11  Florian Weimer  <fweimer@redhat.com>
11178         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
11179         * resolv/herror.c (herror): Cast away const-ness.
11180         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
11181         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
11183 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
11185         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
11186         instead of M_NAN + M_NAN.
11187         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
11189 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11191         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
11192         unused variable 'p'.
11194 2016-10-09  Alan Modra  <amodra@gmail.com>
11195             Andreas Schwab  <schwab@linux-m68k.org>
11197         [BZ #20554]
11198         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
11199         [PIC && !SHARED]: Set up PIC register for PLT call.
11201 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
11203         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
11204         conditional on value of [__FLT_EVAL_METHOD__].
11205         * math/test-iseqsig-excess-precision.c: New file.
11206         * math/Makefile (tests): Add test-iseqsig-excess-precision.
11208 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11210         * math/s_iseqsig_template.c: Include math-private.h.
11212         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
11213         * posix/tst-posix_fadvise.c: New file.
11214         * posix/tst-posix_fadvise64.c: Likewise.
11215         * posix/tst-posix_fadvise-common.c: Likewise.
11216         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11217         (__ASSUME_FADVISE64_64_6ARG): Define.
11218         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11219         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
11220         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11221         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
11222         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
11223         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
11224         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
11225         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
11226         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
11227         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
11228         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
11229         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
11230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
11231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
11232         Likewise.
11233         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
11234         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
11235         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
11236         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
11237         Alias to __posix_fadvise64_l32.
11238         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
11239         Add compat definition to posix_fadvise64.
11240         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
11241         Add versioned definition to posix_fadvise64.
11242         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
11243         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
11244         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
11245         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
11246         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
11248         * io/Makefile (tests): Add tst-posix_fallocate and
11249         tst-posix_fallocate64.
11250         * io/tst-posix_fallocate-common.c: New file.
11251         * io/tst-posix_fallocate.c: Likewise.
11252         * io/tst-posix_fallocate64.c: Likewise.
11253         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
11254         file.
11255         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
11256         Likewise.
11257         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
11258         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
11259         Likewise.
11260         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
11261         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
11262         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
11263         SYSCALL_LL to pass both offset and len arguments.
11264         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
11265         Likewise.
11266         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
11267         __libc_pwrite64 alias used by posix_fallocate64.
11269         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
11270         tst-fallocate64.
11271         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
11272         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
11273         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11274         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
11275         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
11276         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
11277         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
11278         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11279         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
11280         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
11281         macro on offset argument.
11282         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
11283         SYSCALL_LL64 on offset argument.
11285         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
11286         tst-fallocate64.
11287         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
11288         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
11289         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11290         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
11291         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
11292         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
11293         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
11294         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11295         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
11296         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
11297         macro on offset argument.
11298         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
11299         SYSCALL_LL64 on offset argument.
11300         * test-skeleton.c (FAIL_RET): Add macro.
11301         (FAIL_EXIT): Likewise.
11302         (FAIL_EXIT1): Likewise.
11303         (_FAIL): Likewise.
11305 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11307         [BZ #20629]
11308         resolv: Remove RES_USEBSTRING and its implementation.
11309         * resolv/resolv.h (RES_USEBSTRING): Remove.
11310         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
11311         (digitvalue, encode_bitstring, decode_bitstring): Remove.
11312         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
11313         (labellen): Remove extended label types support.
11314         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
11315         * resolv/res_init.c (res_setoptions): Likewise.
11316         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
11318 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11320         resolv: Remove RES_NOIP6DOTINT and its implementation.
11321         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
11322         (RES_NOIP6DOTINT): Remove.
11323         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
11324         handling.
11325         * resolv/res_debug.c (p_option): Likewise.
11326         * resolv/res_init.c (res_setoptions): Likewise.
11327         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
11329 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11331         resolv: Deprecate unimplemented flags.
11332         * misc/sys/cdefs.h (__glibc_macro_warning1)
11333         (__glibc_macro_warning): Define.
11334         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
11335         (RES_KEEPTSIG): Mark as deprecated.
11336         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
11337         RES_NOCHECKNAME, RES_KEEPTSIG.
11338         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
11340 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11342         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
11343         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
11344         Use strong_alias to create symbols for glibc verison 2.19.
11346 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11348         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
11350 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11352         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
11354 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11356         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
11358 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11360         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11361         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
11362         in header for using it as type for ifunc function because __GI_* symbols
11363         for ppc32 do not target the ifunc symbols.
11364         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11366 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11368         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
11369         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
11370         libc_ifunc_hidden_def.
11371         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
11372         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
11373         Redirect ifunced function in header for using it as type of ifunc'ed
11374         function. Redefine libc_hidden_def to use fallback non ifunc'ed
11375         function for __GI_* symbol.
11376         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
11377         * include/libc-symbols.h
11378         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
11380 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11382         [BZ #20478]
11383         * sysdeps/s390/multiarch/ifunc-resolve.h
11384         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
11385         to create ifunc symbols.
11386         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
11387         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
11388         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
11389         for using it as type for ifunc function.
11390         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11391         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11392         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11393         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11394         * sysdeps/s390/multiarch/strcat.c: Likewise.
11395         * sysdeps/s390/multiarch/strchr.c: Likewise.
11396         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11397         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11398         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11399         * sysdeps/s390/multiarch/strlen.c: Likewise.
11400         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11401         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11402         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11403         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11404         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11405         * sysdeps/s390/multiarch/strspn.c: Likewise.
11406         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11407         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11408         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11409         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11410         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11411         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11412         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11413         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
11414         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
11415         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11416         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
11417         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
11419 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11421         * include/libc-symbols.h (__ifunc_resolver):
11422         New macro is used by __ifunc* macros.
11423         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
11424         depending on HAVE_GCC_IFUNC.
11425         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
11426         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
11427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11428         Redirect ifunced function in header for using as type for ifunc function.
11429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
11430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
11431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
11432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
11433         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11434         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11435         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11436         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11437         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11438         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11439         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11440         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11441         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11442         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
11445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
11447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11448         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11449         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11450         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11451         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11452         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11453         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11454         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11455         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11456         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11457         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11458         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11459         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11460         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
11461         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
11463         Add libc_hidden_def() and use libc_ifunc_hidden() macro
11464         instead of libc_ifunc() macro.
11465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
11466         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11468 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11470         * config.h.in (HAVE_GCC_IFUNC): New undef.
11471         * configure.ac: Add check if gcc supports attribute ifunc feature.
11472         * configure: Regenerated.
11473         * manual/install.texi: Add recommendation for gcc with
11474         indirect-function support.
11475         * INSTALL: Regenerated.
11477 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
11479         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
11480         macro.
11481         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11482         (__iseqsig): New declaration.
11483         * math/s_iseqsig_template.c: New file.
11484         * math/Versions (__iseqsigf): New libm symbol at version
11485         GLIBC_2.25.
11486         (__iseqsig): Likewise.
11487         (__iseqsigl): Likewise.
11488         * math/libm-test.inc (iseqsig_test_data): New array.
11489         (iseqsig_test): New function.
11490         (main): Call iseqsig_test.
11491         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
11492         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
11493         * manual/libm-err-tab.pl: Update comment on interfaces without
11494         ulps tabulated.
11495         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
11496         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
11497         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
11498         * sysdeps/nacl/libm.abilist: Update.
11499         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11500         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11501         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11502         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11503         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11504         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11505         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11506         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11507         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11508         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11509         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11510         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11512         Likewise.
11513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11514         Likewise.
11515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11516         Likewise.
11517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11518         Likewise.
11519         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11520         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11521         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11522         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11523         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11525         Likewise.
11526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11527         Likewise.
11528         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11529         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11530         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11532 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11534         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
11535         do_sincos_2, sloww, sloww1): Update comments.
11537         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
11538         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
11540         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
11541         K boolean and rename it.
11542         (__sin): Adjust.
11543         (__cos): Adjust.
11545 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
11546             Siddhesh Poyarekar  <siddhesh@sourceware.org>
11548         * manual/nss.texi: Fix typos in the manual.
11550 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
11552         * manual/contrib.texi: Fix typos in the manual.
11554         * manual/maint.texi: Fix typos in the manual.
11556         * manual/install.texi: Fix typos in the manual.
11557         * INSTALL: Regenerated.
11559         * manual/lang.texi: Fix typos in the manual.
11561         * manual/probes.texi: Fix typos in the manual.
11563         * manual/threads.texi: Fix typos in the manual.
11565         * manual/debug.texi: Fix typos in the manual.
11567         * manual/crypt.texi: Fix typos in the manual.
11569         * manual/conf.texi: Fix typos in the manual.
11571         * manual/sysinfo.texi: Fix typos in the manual.
11573         * manual/users.texi: Fix typos in the manual.
11575         * manual/job.texi: Fix typos in the manual.
11577         * manual/process.texi: Fix typos in the manual.
11579         * manual/argp.texi: Fix typos in the manual.
11580         * manual/getopt.texi: Likewise.
11581         * manual/startup.texi: Likewise.
11583         * manual/signal.texi: Fix typos in the manual.
11585         * manual/setjmp.texi: Fix typos in the manual.
11587         * manual/resource.texi: Fix typos in the manual.
11589         * manual/time.texi: Fix typos in the manual.
11591         * manual/arith.texi: Fix typos in the manual.
11593         * manual/math.texi: Fix typos in the manual.
11595         * manual/syslog.texi: Fix typos in the manual.
11597         * manual/terminal.texi: Fix typos in the manual.
11599         * manual/socket.texi: Fix typos in the manual.
11601         * manual/filesys.texi: Fix typos in the manual.
11603         * manual/llio.texi: Fix typos in the manual.
11605         * manual/stdio.text: Fix typos in the manual.
11607 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11609         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
11610         instead of K1.
11612         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
11613         SHIFT_QUADRANT and make it bool.
11614         (do_sincos_2): Likewise.
11615         (sloww): Likewise.
11616         (sloww1): Likewise.
11617         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
11618         (__cos): Likewise.
11620 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11622         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11624 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
11626         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
11627         Define to __WORDSIZE, not conditional on [LONG_MAX ==
11628         0x7fffffffL].
11629         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
11631 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11633         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
11634         inline by __inline__.
11635         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
11636         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
11637         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
11638         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
11639         sigset_t from signal.h.
11640         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
11641         which is already required.
11643 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
11645         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11647 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
11649         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
11650         (struct tcp_repair_window): New type.
11652 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11654         * libio/tst-memstream3.c: Include string.h.
11656 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11658         [BZ #18241]
11659         [BZ #20181]
11660         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
11661         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
11662         write position is at the end the buffer.
11663         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
11664         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
11665         (_IO_str_seekoff): Set correct offset from negative displacement and
11666         set EINVAL for invalid ones.
11667         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
11668         buffer length.
11669         (_IO_wstr_switch_to_get_mode): New function.
11670         (_IO_wstr_seekoff): Set correct offset from negative displacement and
11671         set EINVAL for invalid ones.
11672         * libio/tst-memstream3.c: New file.
11673         * libio/tst-wmemstream3.c: Likewise.
11674         * manual/examples/memstrm.c: Remove warning when priting size_t.
11676 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
11678         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
11679         macro to use __builtin_fma.
11680         * sysdeps/x86_64/fpu/dla.h: Remove file.
11682         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
11683         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
11684         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
11686 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
11688         [BZ #20292]
11689         * elf/Makefile (routines): Add dl-addr-obj.
11690         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
11691         tst-_dl_addr_inside_object.
11692         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
11693         [ifeq (yesyes,$(have-fpie)$(build-shared))]
11694         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
11695         [ifeq (yesyes,$(have-fpie)$(build-shared))]
11696         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
11697         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
11698         * elf/dl-open.c: Likewise.
11699         * elf/dl-addr-obj.c: New file.
11700         * elf/tst-_dl_addr_inside_object.c: New file.
11702 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
11704         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
11705         <bits/iscanonical.h>.
11706         * bits/iscanonical.h: New file.
11707         * math/s_iscanonicall.c: Likewise.
11708         * math/Versions (__iscanonicall): New libm symbol at version
11709         GLIBC_2.25.
11710         * math/libm-test.inc (iscanonical_test_data): New array.
11711         (iscanonical_test): New function.
11712         (main): Call iscanonical_test.
11713         * math/Makefile (headers): Add bits/iscanonical.h.
11714         (type-ldouble-routines): Add s_iscanonicall.
11715         * manual/arith.texi (Floating Point Classes): Document
11716         iscanonical.
11717         * manual/libm-err-tab.pl: Update comment on interfaces without
11718         ulps tabulated.
11719         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
11720         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
11721         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
11722         Likewise.
11723         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
11724         test-iscanonical-ldbl-128ibm.
11725         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
11726         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
11727         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
11728         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
11729         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11730         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11731         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11733         Likewise.
11734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11735         Likewise.
11736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11737         Likewise.
11738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11739         Likewise.
11740         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11741         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11743 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11745         * string/bits/string3.h: Remove C++ style comments.
11747 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11749         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
11750         instead of ternary condition.
11751         (do_sincos_2): Likewise.
11752         (__sin): Likewise.
11753         (__cos): Likewise.
11754         (slow): Likewise.
11755         (sloww): Likewise.
11756         (sloww1): Likewise.
11757         (bsloww): Likewise.
11758         (bsloww1): Likewise.
11760         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
11761         instead of ternary condition.
11762         (do_sin_slow): Likewise.
11763         (do_sincos_1): Likewise.
11764         (do_sincos_2): Likewise.
11765         (__cos): Likewise.
11766         (sloww): Likewise.
11767         (sloww1): Likewise.
11768         (sloww2): Likewise.
11769         (bsloww): Likewise.
11770         (bsloww1): Likewise.
11771         (bsloww2): Likewise.
11773         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
11774         check from here...
11775         (slow2): ... and here...
11776         (__sin): ... to here.
11778 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
11780         * math/math.h
11781         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
11782         Cast argument to its own type.
11783         * math/test-iszero-excess-precision.c: New file.
11784         * math/Makefile (tests): Add test-iszero-excess-precision.
11785         (CFLAGS-test-iszero-excess-precision.c): New variable.
11787 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
11789         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
11790         field, add err field.
11791         (__spawni_child): Report error through err member instead of pipe.
11792         (__spawnix): Likewise.
11794 2016-09-28  Zack Weinberg  <zackw@panix.com>
11796         * scripts/check-installed-headers.sh: Generalize treatment of
11797         sys/elf.h to all target architectures.
11799         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
11800         deleted typedef ucontext_t.
11802 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11804         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
11805         (__INTERNAL_SYSCALL1): Likewise.
11806         (__INTERNAL_SYSCALL2): Likewise.
11807         (__INTERNAL_SYSCALL3): Likewise.
11808         (__INTERNAL_SYSCALL4): Likewise.
11809         (__INTERNAL_SYSCALL5): Likewise.
11810         (__INTERNAL_SYSCALL6): Likewise.
11811         (__INTERNAL_SYSCALL7): Likewise.
11812         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
11813         (__INTERNAL_SYSCALL_NARGS): Likewise.
11814         (__INTERNAL_SYSCALL_DISP): Likewise.
11815         (INTERNAL_SYSCALL_CALL): Likewise.
11816         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
11817         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
11818         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
11819         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
11820         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
11821         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
11822         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
11823         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
11824         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
11825         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
11826         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
11827         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
11828         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
11830 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
11832         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
11833         macro.
11834         * math/libm-test.inc (iszero_test_data): New array.
11835         (iszero_test): New function.
11836         (main): Call iszero_test.
11837         * manual/arith.texi (Floating Point Classes): Document iszero.
11838         * manual/libm-err-tab.pl: Update comment on interfaces without
11839         ulps tabulated.
11841 2016-09-23  Zack Weinberg  <zackw@panix.com>
11843         * scripts/check-installed-headers.sh: New script.
11844         * Rules: In each directory that defines header files to be installed,
11845         run check-installed-headers.sh on them as a special test.
11846         * Makefile: Likewise for the headers installed at top level.
11848         * include/aliases.h, include/alloca.h, include/argz.h
11849         * include/arpa/nameser.h, include/arpa/nameser_compat.h
11850         * include/elf.h, include/envz.h, include/err.h
11851         * include/execinfo.h, include/fpu_control.h, include/getopt.h
11852         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
11853         * include/link.h, include/malloc.h, include/mcheck.h
11854         * include/mntent.h, include/netinet/ether.h
11855         * include/nss.h, include/obstack.h, include/printf.h
11856         * include/pty.h, include/resolv.h, include/rpc/auth.h
11857         * include/rpc/auth_des.h, include/rpc/auth_unix.h
11858         * include/rpc/clnt.h, include/rpc/des_crypt.h
11859         * include/rpc/key_prot.h, include/rpc/netdb.h
11860         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
11861         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
11862         * include/rpc/rpc_msg.h, include/rpc/svc.h
11863         * include/rpc/svc_auth.h, include/rpc/xdr.h
11864         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
11865         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
11866         * include/rpcsvc/ypupd.h, include/shadow.h
11867         * include/stdio_ext.h, include/sys/epoll.h
11868         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
11869         * include/sys/prctl.h, include/sys/profil.h
11870         * include/sys/statfs.h, include/sys/sysctl.h
11871         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
11872         * sysdeps/arm/nacl/include/bits/setjmp.h
11873         * sysdeps/mips/include/sys/asm.h
11874         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
11875         * sysdeps/unix/sysv/linux/include/sys/timex.h
11876         * sysdeps/x86/fpu/include/bits/fenv.h:
11877         Add #ifndef _ISOMAC guard around internal declarations.
11878         Add multiple-inclusion guard if not already present.
11880 2016-09-23  Zack Weinberg  <zackw@panix.com>
11882         * sysdeps/generic/sys/ucontext.h
11883         * sysdeps/arm/sys/ucontext.h
11884         * sysdeps/i386/sys/ucontext.h
11885         * sysdeps/m68k/sys/ucontext.h
11886         * sysdeps/mips/sys/ucontext.h
11887         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
11888         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
11889         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
11890         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
11891         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
11892         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
11893         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
11894         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
11895         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
11896         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
11897         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
11898         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
11899         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
11900         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
11901         Include both bits/sigcontext.h and bits/sigstack.h.
11902         Fix grammar error in comment, if present.
11904         * bits/sigstack.h
11905         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
11906         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
11907         * sysdeps/unix/sysv/linux/bits/sigstack.h
11908         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
11909         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
11910         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
11911         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
11912         * bits/sigcontext.h
11913         * sysdeps/mach/hurd/i386/bits/sigcontext.h
11914         * sysdeps/unix/sysv/linux/bits/sigcontext.h
11915         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
11916         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
11917         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
11918         as well as signal.h, if this was not already allowed.  Request
11919         definition of size_t if necessary.  Minimize semantically-null
11920         differences across files.
11922 2016-09-23  Zack Weinberg  <zackw@panix.com>
11924         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
11925         Remove all logic conditional on __need macros.  Move all the
11926         conditionally defined types to their own headers...
11927         * time/bits/types/clock_t.h: Define clock_t here.
11928         * time/bits/types/clockid_t.h: Define clockid_t here.
11929         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
11930         * time/bits/types/struct_timespec.h: Define struct timespec here.
11931         * time/bits/types/struct_timeval.h: Define struct timeval here.
11932         * time/bits/types/struct_tm.h: Define struct tm here.
11933         * time/bits/types/time_t.h: Define time_t here.
11934         * time/bits/types/timer_t.h: Define timer_t here.
11935         * time/Makefile: Install the new headers.
11937         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
11938         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
11939         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
11940         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
11941         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
11942         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
11943         * sysdeps/unix/sysv/linux/bits/resource.h
11944         * sysdeps/unix/sysv/linux/bits/timex.h
11945         * sysdeps/unix/sysv/linux/mips/bits/resource.h
11946         * sysdeps/unix/sysv/linux/net/ppp_defs.h
11947         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
11948         * sysdeps/unix/sysv/linux/sys/acct.h
11949         * sysdeps/unix/sysv/linux/sys/timerfd.h
11950         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
11951         * time/sys/time.h, time/sys/timeb.h
11952         Use the new bits/types headers.
11954         * include/time.h: Remove __need logic.
11955         * include/bits/time.h
11956         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
11957         * include/bits/types/time_t.h, include/bits/types/timer_t.h
11958         * include/bits/types/struct_itimerspec.h
11959         * include/bits/types/struct_timespec.h
11960         * include/bits/types/struct_timeval.h
11961         * include/bits/types/struct_tm.h:
11962         New wrapper headers.
11964 2016-09-23  Zack Weinberg  <zackw@panix.com>
11966         * sysdeps/mach/hurd/net/if_ppp.h
11967         * sysdeps/unix/sysv/linux/net/if_ppp.h:
11968         Only define struct ifpppstatsreq and struct ifpppcstatsreq
11969         if __USE_MISC is defined, to ensure struct ifreq is declared.
11971         * inet/netinet/ether.h: Condition all function prototypes
11972         on __USE_MISC, to ensure struct ether_addr is declared.
11974         * socket/bits/types/struct_osockaddr.h: New header.
11975         * include/bits/types/struct_osockaddr.h: New wrapper.
11976         * socket/Makefile: Install the new header.
11977         * socket/sys/socket.h, inet/protocols/talkd.h:
11978         Refer to bits/types/struct_osockaddr.h for the definition of
11979         struct osockaddr.
11981 2016-09-23  Zack Weinberg  <zackw@panix.com>
11983         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
11984         * inet/protocols/routed.h, inet/protocols/talkd.h
11985         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
11986         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
11987         * sysdeps/generic/netinet/if_ether.h
11988         * sysdeps/generic/netinet/in_systm.h
11989         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
11990         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
11991         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
11992         * sysdeps/mach/hurd/net/if_arp.h
11993         * sysdeps/mach/hurd/net/if_ppp.h
11994         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
11995         * sysdeps/unix/sysv/linux/bits/in.h
11996         * sysdeps/unix/sysv/linux/net/ethernet.h
11997         * sysdeps/unix/sysv/linux/net/if_arp.h
11998         * sysdeps/unix/sysv/linux/net/if_ppp.h
11999         * sysdeps/unix/sysv/linux/net/if_shaper.h
12000         * sysdeps/unix/sysv/linux/net/route.h
12001         * sysdeps/unix/sysv/linux/netinet/if_ether.h
12002         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12003         * sysdeps/unix/sysv/linux/netinet/if_tr.h
12004         * sysdeps/unix/sysv/linux/netipx/ipx.h
12005         * sysdeps/unix/sysv/linux/sys/acct.h
12006         * include/arpa/nameser.h, include/resolv.h:
12007         Change all uses of u_char to unsigned char,
12008         u_short and ushort to unsigned short, u_int and uint to unsigned int,
12009         u_long and ulong to unsigned long, u_int8_t to uint8_t,
12010         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
12011         and u_int64_t and u_quad_t to uint64_t.
12013         * mach/sys/reboot.h: Remove two casts of integer literals
12014         to the types they already have.
12016         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
12017         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
12018         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
12019         from referring to 'unsigned char' to 'uint8_t' for consistency with
12020         the macro definition below.
12022         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
12023         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
12024         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
12025         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
12026         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
12027         * sysdeps/unix/sysv/linux/sys/acct.h
12028         * include/arpa/nameser.h, include/resolv.h:
12029         Fix indentation disrupted by mechanical edits.
12031         * inet/protocols/talkd.h, resolv/arpa/nameser.h
12032         * sysdeps/generic/netinet/in_systm.h
12033         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12034         * sysdeps/gnu/netinet/udp.h
12035         * sysdeps/unix/sysv/linux/net/ethernet.h
12036         * sysdeps/unix/sysv/linux/net/if_arp.h
12037         * sysdeps/unix/sysv/linux/net/if_ppp.h
12038         * sysdeps/unix/sysv/linux/net/if_shaper.h
12039         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12040         * sysdeps/unix/sysv/linux/netinet/if_tr.h
12041         * sysdeps/unix/sysv/linux/netipx/ipx.h
12042         * sysdeps/unix/sysv/linux/sys/acct.h
12043         Include stdint.h for uintNN_t definitions.
12044         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
12046 2016-09-23  Zack Weinberg  <zackw@panix.com>
12048         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
12049         * sysdeps/unix/sysv/linux/netrose/rose.h:
12050         Include sys/socket.h and netax25/ax25.h.
12052         * inet/netinet/icmp6.h, inet/netinet/ip6.h
12053         * resolv/arpa/nameser_compat.h:
12054         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
12056         * sysdeps/unix/sysv/linux/sys/quota.h:
12057         Use __caddr_t instead of caddr_t.
12058         * sysdeps/unix/sysv/linux/sys/timerfd.h:
12059         Use __clockid_t instead of clockid_t.
12061         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
12063         * argp/argp.h: Check whether _LIBC is defined before expanding it.
12064         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
12065         expanding it.
12067         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
12068         Define __glibc_c99_flexarr_available to 1 when the compiler
12069         supports C99-compatible flexible array members, 0 otherwise.
12070         * sysdeps/unix/sysv/linux/bits/socket.h
12071         * sysdeps/mach/hurd/bits/socket.h
12072         * bits/socket.h: Use __glibc_c99_flexarr_available in
12073         definitions of struct cmsghdr and CMSG_DATA.
12075 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12077         * manual/nss.texi (NSS Modules Interface): Adjust function return
12078         type to enum nss_status.  Document errnop argument.  Clarify
12079         h_errnop semantics.  Fix cross-reference formatting.
12080         (NSS Module Function Internals): Mention that *errnop needs to be
12081         set on failure, but not to zero.
12083 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12085         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
12086         (get_random_name): New functions.
12087         (check_wrapper_flags_mode): Use linkat to give the new file a name
12088         determined by get_random_name.
12089         (do_test): Add calls to test open64 and openat64.
12091 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12093         * test-skeleton.c: Remove #include <stdarg.h>.
12095 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
12097         [BZ #19826]
12098         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
12099         initialization of static TLS entries.
12100         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
12101         * nptl/allocatestack.c (init_one_static_tls): Likewise.
12103 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12105         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
12106         _hurd_malloc_fork_prepare.
12107         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
12108         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
12109         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
12110         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
12111         (_hurd_fork_child_hook): Drop malloc_fork_child.
12112         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
12113         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
12114         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
12115         after locking locks (notably hurd_dtable_lock). Call
12116         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
12117         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
12118         __malloc_fork_unlock_child.
12119         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
12121 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
12123         * soft-fp/extendhftf2.c: New.
12124         * soft-fp/fixhfti.c: Likewise.
12125         * soft-fp/fixunshfti.c: Likewise.
12126         * soft-fp/floattihf.c: Likewise.
12127         * soft-fp/floatuntihf.c: Likewise.
12128         * soft-fp/half.h: Likewise.
12129         * soft-fp/trunctfhf2.c: Likewise.
12131 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
12133         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
12134         macro.
12135         * math/libm-test.inc (issubnormal_test_data): New array.
12136         (issubnormal_test): New function.
12137         * manual/arith.texi (Floating Point Classes): Document
12138         issubnormal.
12139         * manual/libm-err-tab.pl: Update comment on interfaces without
12140         ulps tabulated.
12142         * sysdeps/generic/stdint.h: Define
12143         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12144         <bits/libc-header-start.h> instead of including <features.h>.
12145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
12146         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
12147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
12148         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
12149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
12150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
12151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
12152         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
12153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
12154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
12155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
12156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
12157         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
12158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
12159         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
12160         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
12161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
12162         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
12163         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
12164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
12165         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
12166         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
12167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
12168         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
12169         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
12170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
12171         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
12172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
12173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
12174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
12175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
12176         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
12177         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
12178         * manual/arith.texi (Integers): Document these macros for types
12179         specified by width properties.
12180         * manual/lang.texi (Width of Type): Document these macros for
12181         other standard typedefs.
12182         * stdlib/tst-width-stdint.c: New file.
12183         * stdlib/Makefile (tests): Add tst-width-stdint.
12185 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12187         [BZ #20016]
12188         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
12189         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
12190         Move ...
12191         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
12192         ... here, as compatibility symbols in a new file.
12193         * resolv/Makefile (libresolv-routines): Add compat-hooks.
12194         * resolv/res_init.c (__res_vinit): Adjust member names.
12195         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
12196         * resolv/resolv.h (res_sendhookact, res_send_qhook)
12197         (res_send_rhook): Remove.
12198         (struct __res_state): Rename qhook, rhook members.
12200 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12202         malloc: Use __libc_lock wrappers.
12203         * malloc/arena.c (list_lock, free_list_lock): Define using
12204         __libc_lock_define_initialized.
12205         (arena_lock): Adjust formatting.
12206         * malloc/malloc.c (struct malloc_state): Define mutex using
12207         __libc_lock_define.
12208         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
12209         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
12210         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
12211         (mutex_unlock, mutex_trylock): Remove.
12212         (__pthread_initialize): Remove unused macro.
12213         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
12214         (mutex_unlock, mutex_trylock): Remove.
12216 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12218         [BZ #20592]
12219         Remove RR type classification macros.
12220         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
12221         (ns_t_udp_p, ns_t_xfr_p): Remove.
12223 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12225         Remove misleading version information.
12226         * resolv/arpa/nameser.h (__NAMESER): Remove.
12227         * resolv/arpa/nameser_compat.h (__BIND): Remove.
12229 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12231         Remove the always-defined BIND_4_COMPAT macro.
12232         * resolv/arpa/nameser.h: Unconditionally include
12233         <arpa/nameser_compat.h>.
12234         (BIND_4_COMPAT): Remove.
12235         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
12237 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12239         [BZ #20591]
12240         Remove obsolete DNSSEC support.
12241         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
12242         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
12243         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
12244         (ns_verify_tcp, ns_verify_tcp_init): Remove.
12245         (ns_cert_types): Add comment.
12246         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
12247         separately.
12248         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
12249         (dst_s_dns_key_id): Remove.
12250         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
12251         variables.
12253 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12255         [BZ #20524]
12256         * manual/string.texi (String/Array Comparison): Clarify the
12257         strverscmp behavior.
12259 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12261         * test-skeleton.c (xasprintf): Add function.
12262         * io/tst-open-tmpfile.c: New test.
12263         * io/Makefile (tests): Add it.
12265 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12267         Avoid running $(CXX) during build to obtain header file paths.
12268         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
12269         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
12270         * Makerules (cstdlib, cmath): Remove variables.  Use
12271         $(c++-cstdlib-header), $(c++-cmath-header) instead.
12272         * configure: Regenerate.
12274 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12276         * Makeconfig (all-object-suffixes): Include .op only if
12277         $(build-profile).
12279 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12281         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
12282         conditionals.  Do not define PATH_MAX.
12284 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12286         * posix/Makefile (tests): Add tst-spawn3.
12287         * posix/tst-spawn3.c: New file.
12288         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
12289         if it is already opened for open action.
12291         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
12292         all signals when executing the clone vfork child.
12293         (SIGALL_SET): Remove macro.
12295         * nptl/Makefile (tests): Add tst-exec5.
12296         * nptl/tst-exec5.c: New file.
12297         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
12298         asynchronous cancellation.
12300 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12302         * hurd/exc2signal.c: #include <hurd/signal.h>
12303         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
12304         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
12305         accordingly.
12306         * mach/mach_error.c (mach_error): Fix old-style function definition.
12307         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
12309 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12311         * math/Makefile (libm-calls): Remove s_nanF.
12312         (gen-libm-calls): Add s_nanF.
12314         * math/s_nan.c: Refactor into ...
12315         * math/s_nan_template.c: New file.
12317         * math/s_nanf.c: Removed.
12318         * math/s_nanl.c: Removed.
12319         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
12320         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
12322         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12323         (LDOUBLE_nanl_libm_version): New macro.
12325         * sysdeps/generic/math-type-macros-double.h:
12326         (M_STRTO_NAN): New macro.
12327         * sysdeps/generic/math-type-macros-float.h: Likewise.
12328         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12330         * sysdeps/generic/math-type-macros.h: Document
12331         M_STRTO_NAN.
12333 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12335         * math/s_nanf.c: Remove __nanf undef.
12336         * math/s_nan.c: Remove __nan undef.
12337         * math/s_nanl.c: Remove __nanl undef.
12339         * sysdeps/generic/math_private.h (__nan): Remove macro
12340         override.
12341         (__nanf): Likewise.
12342         (__nanl): Likewise.
12344 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12346         * math/Makefile (gen-all-calls): New variable.
12347         (generated): Replace gen-libm-calls with gen-all-calls.
12348         (gen-libm-templates.stmp): Likewise.  Also, ensure
12349         the output directory exists or is created and add
12350         dependency on the Makefile.
12351         (calls): Move s_ldexpF into gen-calls.
12352         (gen-calls): New variable.
12354         * math/s_ldexpf.c: Removed.
12355         * math/s_ldexpl.c: Removed.
12356         * math/s_ldexp.c: Refactored into ...
12357         * math/s_ldexp_template.c: New file.
12359         * sysdeps/generic/math-type-macros-double.h: Remove
12360         redundant fall-through definition of declare_mgen_alias.
12361         (declare_mgen_alias_2): New macro.
12363         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
12364         New macro for function aliased to two exported symbols.
12366         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
12367         new template file.
12368         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12370 2016-09-20  Florian Weimer  <fweimer@redhat.com>
12372         * Makeconfig (all-object-suffixes): Remove .og.
12373         * Makerules (elide-routines.og): Remove.
12374         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
12375         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
12376         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
12378 2016-09-20  Florian Weimer  <fweimer@redhat.com>
12380         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
12381         .os objects.
12383 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12385         [BZ #20615]
12386         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
12387         fpu directory by non-fpu.
12388         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
12389         on non-fpu directory from a fpu directory.
12391 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
12393         * include/limits.h: Define
12394         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12395         <bits/libc-header-start.h> instead of including <features.h>.
12396         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
12397         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
12398         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
12399         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
12400         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
12401         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
12402         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
12403         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
12404         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12405         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
12406         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
12407         * manual/lang.texi (Width of Type): Document these macros.
12408         * stdlib/tst-width.c: New file.
12409         * stdlib/Makefile (tests): Add tst-width.
12411 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12413         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
12414         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
12416 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12418         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
12419         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
12420         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12422 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12424         [BZ #18243]
12425         * rt/Makefile (test): Add tst-shm-cancel.
12426         * rt/tst-shm-cancel.c: New file.
12427         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
12429         [BZ #18243]
12430         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
12431         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
12432         definition.
12433         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
12434         uncontended case.
12435         * nptl/sem_wait.c (__new_sem_wait): Likewise.
12436         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
12437         (tf): Fix check for uncontended case.
12438         (do_test): Likewise.
12439         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
12440         (tf): Fix check for uncontended case.
12441         (do_test): Likewise.
12442         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
12443         (tf): Fix check for uncontended case.
12444         (do_test): Likewise.
12445         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
12446         (tf): Fix check for uncontended case.
12447         (do_test): Likewise.
12449         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
12450         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
12452         [BZ #15765]
12453         * nptl/Makefile (tests): Add tst-sem16.
12454         * nptl/tst-sem16.c: New file.
12455         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
12457         * nptl/sem_open.c (sem_open): Init pad value to 0.
12458         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
12459         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12461 2016-09-15  Florian Weimer  <fweimer@redhat.com>
12463         [BZ #20611]
12464         * inet/Makefile (routines): Add inet6_scopeid_pton.
12465         (tests): Add tst-inet6_scopeid_pton.
12466         * inet/inet6_scopeid_pton.c: New file.
12467         * inet/net-internal.h: Likewise.
12468         * inet/tst-inet6_scopeid_pton.c: New test.
12469         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
12470         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
12471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12473 2016-09-14  Florian Weimer  <fweimer@redhat.com>
12475         Remove support for compiling wrappers with PTW.
12476         * sysdeps/nptl/Makeconfig: Drop ptw- support.
12477         * nptl/Makefile (pthread-compat-wrappers): Define.
12478         (libpthread-routines): Use pthread-compat-wrappers.
12479         * sysdeps/unix/sysv/linux/alpha/Makefile
12480         (libpthread-routines, libpthread-shared-only-routines): Remove
12481         ptw- prefix.
12482         * sysdeps/s390/nptl/Makefile
12483         (libpthread-routines, libpthread-shared-only-routines): Likewise.
12484         * sysdeps/ia64/nptl/Makefile
12485         (libpthread-routines, libpthread-shared-only-routines): Likewise.
12486         * sysdeps/nacl/Makefile (libpthread-routines): Use
12487         pthread-compat-wrappers to filter the routines list instead of the
12488         ptw- prefix.
12490 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12492         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
12493         with L() and remove explicit suffix, convert real literals
12494         which can be equivalentally substituted with integers, and
12495         transform -L(x) to L(-x).
12497         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12498         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12499         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12500         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12501         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12502         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12503         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12504         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12505         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12506         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12507         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12508         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12509         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12510         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12511         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12512         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12513         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12514         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12515         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12516         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12517         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12518         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12519         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12520         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12521         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12522         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12523         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12524         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12525         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12526         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12527         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12528         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12529         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12530         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12531         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12532         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12533         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12534         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12535         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12536         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12537         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12538         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12539         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12540         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12541         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12542         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12543         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12544         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
12545         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12546         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12548 2016-09-13  Florian Weimer  <fweimer@redhat.com>
12550         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
12552 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12554         * malloc/Makefile (tests): Remove individual static test names
12555         and just add all of tests-static.
12557         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
12559 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
12561         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
12562         file.
12564         * sysdeps/sparc/fpu/fegetmode.c: New file.
12565         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
12567         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
12568         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
12570         * sysdeps/s390/fpu/fegetmode.c: New file.
12571         * sysdeps/s390/fpu/fesetmode.c: Likewise.
12573         * sysdeps/powerpc/fpu/fegetmode.c: New file.
12574         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
12575         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
12576         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
12577         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
12578         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
12580         * sysdeps/mips/fpu/fegetmode.c: New file.
12581         * sysdeps/mips/fpu/fesetmode.c: Likewise.
12583         * sysdeps/m68k/fpu/fegetmode.c: New file.
12584         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
12586         * sysdeps/ia64/fpu/fegetmode.c: New file.
12587         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
12589         * sysdeps/hppa/fpu/fegetmode.c: New file.
12590         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
12592         * sysdeps/arm/fegetmode.c: New file.
12593         * sysdeps/arm/fesetmode.c: Likewise.
12595         * sysdeps/alpha/fpu/fegetmode.c: New file.
12596         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
12598         * sysdeps/aarch64/fpu/fegetmode.c: New file.
12599         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
12601         * math/fegetmode.c: New file.
12602         * math/fesetmode.c: Likewise.
12603         * sysdeps/i386/fpu/fegetmode.c: Likewise.
12604         * sysdeps/i386/fpu/fesetmode.c: Likewise.
12605         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
12606         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
12607         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
12608         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
12609         declaration.
12610         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
12611         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
12612         typedef.
12613         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12614         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12615         (femode_t): New typedef.
12616         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12617         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12618         (femode_t): New typedef.
12619         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12620         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12621         (femode_t): New typedef.
12622         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12623         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12624         (femode_t): New typedef.
12625         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12626         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12627         (femode_t): New typedef.
12628         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12629         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12630         (femode_t): New typedef.
12631         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12632         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12633         (femode_t): New typedef.
12634         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12635         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12636         (femode_t): New typedef.
12637         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12638         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12639         (femode_t): New typedef.
12640         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12641         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12642         (femode_t): New typedef.
12643         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
12644         declaration.
12645         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12646         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12647         (femode_t): New typedef.
12648         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12649         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12650         (femode_t): New typedef.
12651         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12652         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12653         (femode_t): New typedef.
12654         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12655         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12656         (femode_t): New typedef.
12657         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12658         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12659         (femode_t): New typedef.
12660         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12661         * manual/arith.texi (FE_DFL_MODE): Document macro.
12662         (fegetmode): Document function.
12663         (fesetmode): Likewise.
12664         * math/Versions (fegetmode): New libm symbol at version
12665         GLIBC_2.25.
12666         (fesetmode): Likewise.
12667         * math/Makefile (libm-support): Add fegetmode and fesetmode.
12668         (tests): Add test-femode and test-femode-traps.
12669         * math/test-femode-traps.c: New file.
12670         * math/test-femode.c: Likewise.
12671         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
12672         alias for __fe_dfl_env.
12673         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
12674         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
12675         (__fe_dfl_mode): Likewise.
12676         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
12677         version GLIBC_2.25.
12678         * sysdeps/nacl/libm.abilist: Update.
12679         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12680         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12681         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12682         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12683         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12684         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12685         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12686         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12687         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12688         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12689         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12690         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12692         Likewise.
12693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12694         Likewise.
12695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12696         Likewise.
12697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12698         Likewise.
12699         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12700         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12701         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12702         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12703         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12705         Likewise.
12706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12707         Likewise.
12708         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12709         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12710         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12712 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12714         [BZ #20495]
12715         [BZ #20508]
12716         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
12717         processors, set Use_dl_runtime_resolve_slow and set
12718         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
12719         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
12720         New.
12721         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
12722         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
12723         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
12724         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
12725         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
12726         if Use_dl_runtime_resolve_opt is set.  Use
12727         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
12728         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
12729         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
12730         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
12731         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
12732         New.
12733         (_dl_runtime_resolve_opt): Likewise.
12734         (_dl_runtime_profile): Define only if _dl_runtime_profile is
12735         defined.
12737 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12739         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
12740         __libc_memalign with "+ RELA R_390_GLOB_DAT".
12742 2016-09-06  Florian Weimer  <fweimer@redhat.com>
12744         Convert malloc to __libc_lock.  Automated part, using this Perl
12745         s/// command:
12746           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
12747             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
12748         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
12749         conversion.
12751 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
12753         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
12754         (linknamespace-symlists-tests): Likewise.
12755         (linknamespace-header-tests): Likewise.
12757 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
12759         [BZ #19810]
12760         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
12761         * elf/tst-noload.c: New test case.
12762         * elf/Makefile (tests): Add tst-noload.
12764 2016-09-02  Roland McGrath  <roland@hack.frob.com>
12766         * sysdeps/nacl/dup.c: Add libc_hidden_def.
12768         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
12769         not any more.
12771         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
12773 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12775         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
12776         (do_cos_slow): Likewise.
12777         (do_sin): Likewise.
12778         (do_sin_slow): Likewise.
12779         (slow): Likewise.
12780         (slow1): Likewise.
12781         (slow2): Likewise.
12782         (sloww): Likewise.
12783         (sloww1): Likewise.
12784         (sloww2): Likewise.
12785         (bsloww): Likewise.
12786         (bsloww1): Likewise.
12787         (bsloww2): Likewise.
12788         (cslow2): Likewise.
12790         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
12792         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
12793         arguments.  Consolidate input partitioning from callers here.
12794         (do_cos_slow): Likewise.
12795         (do_sin): Likewise.
12796         (do_sin_slow): Likewise.
12797         (do_sincos_1): Remove the no longer necessary input partitioning.
12798         (do_sincos_2): Likewise.
12799         (__sin): Likewise.
12800         (__cos): Likewise.
12801         (slow1): Likewise.
12802         (slow2): Likewise.
12803         (sloww1): Likewise.
12804         (sloww2): Likewise.
12805         (bsloww1): Likewise.
12806         (bsloww2): Likewise.
12807         (cslow2): Likewise.
12809 2016-09-02  Florian Weimer  <fweimer@redhat.com>
12811         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
12812         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
12813         outside of allocated array.
12815 2016-09-02  Florian Weimer  <fweimer@redhat.com>
12817         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
12818         instead of MB_CUR_MAX to avoid variable-length array.
12820 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12822         * math/Makefile (libm-calls): Remove k_rem_pio2F.
12823         (type-double-routines): Add k_rem_pio2.
12824         (type-float-routines): Add k_rem_pio2f.
12826         * sysdeps/generic/math_private.h:
12827         (__kernel_rem_pio2l): Removed.
12829         * math/k_rem_pio2l.c: Removed.
12830         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
12831         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
12832         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
12833         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
12835 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12837         * math/Makefile (gen-libm-calls): Add s_fmin
12838         (libm-calls): Remove above.
12840         * math/s_fmin.c: Refactor into ...
12841         * math/s_fmin_template.c: New file.
12843         * math/s_fminf.c: Removed.
12844         * math/s_fminl.c: Removed.
12845         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12846         (LDOUBLE_fmin_libm_version): New macro.
12848         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
12849         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
12851 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12853         * math/Makefile: (gen-libm-calls): Add s_fmax.
12854         (libm-calls): Remove above.
12856         * math/s_fmax.c: Refactor into ...
12857         * math/s_fmax_template.c: New file.
12858         * math/s_fmaxf.c: Removed.
12859         * math/s_fmaxl.c: Removed.
12861         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12862         (LDOUBLE_fmaxl_libm_version): New macro.
12864         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
12865         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
12867         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
12868         s_fmin.c to pick the aarch64 version of the file.
12869         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
12870         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
12872 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12874         * math/Makefile: (gen-libm-calls): Add s_nextdown.
12875         (libm-calls): Remove above.
12877         * math/s_nextdown.c: Refactor into ...
12878         * math/s_nextdown_template.c: New file.
12879         * math/s_nextdownf.c: Removed.
12880         * math/s_nextdownl.c: Removed.
12882         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
12884 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12886         * math/Makefile (gen-libm-calls): Add s_fdim.
12887         (libm-calls): Move to above.
12889         * math/s_fdim.c: Renamed and refactored into to ...
12890         * math/s_fdim_template.c: New file.
12891         * math/s_fdiml.c: Removed.
12892         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
12893         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
12895         * sysdeps/generic/math-type-macros-double.h:
12896         (declare_mgen_alias): Don't declare if already declared.
12897         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
12898         Likewise.
12900         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12901         (declare_mgen_alias): Don't declare if already declared.
12902         (M_LIBM_NEED_COMPAT): Likewise.
12903         (declare_mgen_libm_compat): Likewise.
12904         (LDOUBLE_fdiml_libm_version): New macro.
12906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
12907         Include math/s_fdim.c now that ldbl-opt version is not needed.
12908         (declare_mgen_alias): New macro to disable aliasing.
12910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
12911         (declare_mgen_alias): Likewise.
12912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
12913         (declare_mgen_alias): Likewise.
12914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
12915         (declare_mgen_alias): Likewise.
12916         (M_LIBM_NEED_COMPAT): Likewise.
12918 2016-09-01  Florian Weimer  <fweimer@redhat.com>
12920         [BZ #20525]
12921         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
12922         Include <linux/quota.h>.
12923         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
12924         and btodb.
12925         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
12926         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
12927         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
12928         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
12929         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
12930         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
12931         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
12932         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
12933         types.
12934         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
12935         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
12937 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12939         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
12940         (gammal_positive): Fix spacing.
12941         (__ieee754_gammal_r): Likewise.
12943 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12945         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
12946         (_Float128): Define as long double, always.
12947         (L): Apply long double type suffix, always.
12949         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
12950         _Float128, excepting comments.
12952         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12953         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12954         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12955         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12956         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12957         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12958         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12959         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12960         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12961         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
12962         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12963         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12964         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12965         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12966         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12967         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12968         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12969         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12970         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12971         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12972         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12973         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12974         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12975         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12976         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12977         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12978         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12979         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12980         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12981         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12982         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12983         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12984         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12985         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12986         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12987         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12988         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12989         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12990         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12991         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12992         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12993         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12994         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12995         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12996         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12997         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12998         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12999         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13000         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13001         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13002         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13003         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13004         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13005         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13006         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13007         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13008         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13009         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13010         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13011         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13012         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13013         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13014         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13015         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13016         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13017         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13018         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13019         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13021         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
13022         _Float128, and include math_private.h.
13023         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13025         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
13026         long double semantics.
13027         (_Float128): Likewise.
13028         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
13029         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13030         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
13031         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
13033 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13035         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
13036         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
13037         * sysdeps/s390/configure: Regenerated.
13038         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
13039         instruction for raising over-/underflow if z196 zarch is supported
13040         by default.
13041         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
13043 2016-08-30  Svante Signell  <svante.signell@gmail.com>
13045         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
13046         it point to a dumb buffer for RPC to fill it.
13048 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13050         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
13051         instead of if/else.
13052         (do_sin_slow): Likewise.
13053         (do_sincos_1): Use fabs instead of if/else.
13054         (do_sincos_2): Likewise.
13055         (__sin): Likewise.
13056         (__cos): Likewise.
13057         (slow2): Likewise.
13058         (sloww): Likewise.
13059         (sloww1): Likewise.  Drop argument M.
13060         (sloww2): Use fabs instead of if/else.
13061         (bsloww): Likewise.
13062         (bsloww1): Likewise.
13063         (bsloww2): Likewise.
13065         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
13066         fall through comment.
13067         (do_sincos_1): Likewise.
13069         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
13070         Consolidate switch cases 0 and 2.
13072 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13074         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
13075         (libm-calls): Remove the above.
13077         * math/s_cexp_template.c: Update using type-generic macros.
13078         * math/s_clog10_template.c: Likewise.
13079         * math/s_cpow_template.c: Likewise.
13080         * math/s_clog_template.c: Likewise.
13081         * math/s_cproj_template.c: Likewise.
13082         * math/s_csqrt_template.c: Likewise.
13084         * math/s_cexp.c: Removed.
13085         * math/s_cexpf.c: Removed.
13086         * math/s_cexpl.c: Removed.
13087         * math/s_clog10.c: Removed.
13088         * math/s_clog10f.c: Removed.
13089         * math/s_clog10l.c: Removed.
13090         * math/s_cpow.c: Removed.
13091         * math/s_cpowf.c: Removed.
13092         * math/s_cpowl.c: Removed.
13093         * math/s_clog.c: Removed.
13094         * math/s_clogf.c: Removed.
13095         * math/s_clogl.c: Removed.
13096         * math/s_cproj.c: Removed.
13097         * math/s_cprojf.c: Removed.
13098         * math/s_cprojl.c: Removed.
13099         * math/s_csqrt.c: Removed.
13100         * math/s_csqrtf.c: Removed.
13101         * math/s_csqrtl.c: Removed.
13103         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
13104         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
13105         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
13106         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
13107         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
13108         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
13110         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
13111         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
13112         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
13113         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
13114         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
13115         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
13116         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
13117         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
13118         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
13119         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
13120         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
13122         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
13123         version.
13125         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
13126         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
13127         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
13128         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
13130 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13132         * s_cexp_template.c: Copy of s_cexp.c.
13133         * s_clog_template.c: Copy of s_clog.c.
13134         * s_clog10_template.c: Copy of s_clog10.c.
13135         * s_cpow_template.c: Copy of s_cpow.c.
13136         * s_cproj_template.c: Copy of s_cproj.c.
13137         * s_csqrt_template.c: Copy of s_csqrt.c.
13139 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13141         [BZ #20517]
13142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
13143         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
13144         exported.
13146 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
13148         * math/fetestexceptflag.c: New file.
13149         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
13150         Stefan Liebler.
13151         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13152         (fetestexceptflag): New function declaration.
13153         * manual/arith.texi (fetestexceptflag): Document function.
13154         * math/Versions (fetestexceptflag): New libm symbol at version
13155         GLIBC_2.25.
13156         * math/Makefile (libm-support): Add fetestexceptflag.
13157         (tests): Add test-fetestexceptflag.
13158         * math/test-fetestexceptflag.c: New file.
13159         * sysdeps/nacl/libm.abilist: Update.
13160         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13161         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13162         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13163         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13164         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13165         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13166         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13167         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13168         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13169         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13170         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13171         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13173         Likewise.
13174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13175         Likewise.
13176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13177         Likewise.
13178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13179         Likewise.
13180         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13181         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13182         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13183         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13184         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13186         Likewise.
13187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13188         Likewise.
13189         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13190         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13191         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13193 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13195         [BZ #20432]
13196         Avoid strong references to malloc-internal symbols when linking
13197         statically, to support statically interposed mallocs.
13198         * include/libc-symbols.h (call_function_static_weak): New macro.
13199         * malloc/Makefile (tests): Add tst-interpose-nothread,
13200         tst-interpose-thread, tst-interpose-static-nothread,
13201         tst-interpose-static-thread.
13202         (tests-static): Add tst-interpose-static-nothread,
13203         tst-interpose-static-thread.
13204         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
13205         tst-interpose-aux-thread.o.
13206         (test-extras): Add tst-interpose-aux-nothread,
13207         tst-interpose-aux-thread.
13208         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
13209         tst-interpose-aux-nothread.o.
13210         (tst-interpose-thread, tst-interpose-static-thread): Link with
13211         tst-interpose-aux-thread.o and libthread.
13212         * malloc/tst-interpose-aux-nothread.c: New file.
13213         * malloc/tst-interpose-aux-thread.c: Likewise.
13214         * malloc/tst-interpose-aux.c: Likewise.
13215         * malloc/tst-interpose-aux.h: Likewise.
13216         * malloc/tst-interpose-nothread.c: Likewise.
13217         * malloc/tst-interpose-skeleton.c: Likewise.
13218         * malloc/tst-interpose-static-nothread.c: Likewise.
13219         * malloc/tst-interpose-static-thread.c: Likewise.
13220         * malloc/tst-interpose-thread.c: Likewise.
13221         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
13222         * sysdeps/mach/hurd/fork.c (__fork): Only call
13223         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
13224         __malloc_fork_unlock_child if defined.
13225         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13227 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13229         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
13230         timespec C99 designated initialization.
13232 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13234         [BZ #19946]
13235         Avoid expected SIGALRM signals.
13236         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
13237         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
13238         (xpthread_create, xpthread_detach, xpthread_join)
13239         (delayed_exit_thread, delayed_exit): New functions.
13240         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
13241         (tf): Use xpthread_cond_wait.
13242         (do_test): Likewise.  Replace alarm with delayed_exit.
13243         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13244         (do_test): Call delayed_exit.  Report failure.
13245         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13246         (do_test): Call delayed_exit.
13247         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13248         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
13249         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13250         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
13251         error.
13252         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13253         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
13254         error.
13255         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
13256         (do_test): Call delayed_exit.
13257         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
13258         (do_test): Call delayed_exit.
13259         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
13260         (do_test): Call delayed_exit instead of alarm.  Use
13261         xpthread_mutex_lock.
13262         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
13263         (do_test): Call delayed_exit instead of alarm.  Use
13264         xpthread_mutex_lock.
13265         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
13266         (do_test): Call delayed_exit instead of alarm.
13267         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
13268         (do_test): Call delayed_exit instead of alarm.  Use
13269         xpthread_spin_lock.
13270         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
13271         (do_test): Call delayed_exit instead of alarm.  Use
13272         xpthread_join.
13274 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13276         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
13277         adjust CFA when allocating register save area on re-aligned
13278         stack.
13280 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13282         * string/tst-cmp.c: New test.
13283         * string/Makefile (tests): Add it.
13285 2016-08-25  Mark Wielaard  <mark@klomp.org>
13287         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
13288         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
13289         (check_tree_recurse): Use newly defined accessors.
13290         (check_tree): Likewise.
13291         (maybe_split_for_insert): Likewise.
13292         (__tfind): Likewise.
13293         (__tdelete): Likewise.
13294         (trecurse): Likewise.
13295         (tdestroy_recurse): Likewise.
13296         (__tsearch): Likewise. And add asserts for malloc alignment.
13297         (__twalk): Cast root to node in case CHECK_TREE is defined.
13299 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13301         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
13303 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13305         * math/Makefile (libm-gen-calls): Add
13306         catan, catanh, ctan, ctanh.
13307         (libm-calls): Remove the above.
13309         * math/s_catan_template.c: Update using type-generic macros.
13310         * math/s_catanh_template.c: Likewise.
13311         * math/s_ctan_template.c: Likewise.
13312         * math/s_ctanh_template.c: Likewise.
13314         * math/s_catanf.c: Removed.
13315         * math/s_catan.c: Removed.
13316         * math/s_catanl.c: Removed.
13317         * math/s_catanhf.c: Removed.
13318         * math/s_catanh.c: Removed.
13319         * math/s_catanhl.c: Removed.
13320         * math/s_ctanf.c: Removed.
13321         * math/s_ctan.c: Removed.
13322         * math/s_ctanl.c: Removed.
13323         * math/s_ctanhf.c: Removed.
13324         * math/s_ctanh.c: Removed.
13325         * math/s_ctanhl.c: Removed.
13327         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
13328         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
13329         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
13330         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
13331         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
13332         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
13334         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
13335         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
13336         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
13337         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
13339 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13341         * s_catan_template.c: Copy of s_catan.c.
13342         * s_catanh_template.c: Copy of s_catanh.c.
13343         * s_ctan_template.c: Copy of s_ctan.c.
13344         * s_ctanh_template.c: Copy of s_ctanh.c.
13346 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13348         * math/Makefile (gen-libm-calls): Move
13349         casin, casinh, csin, csinh here.
13350         (libm-calls): Remove the above.
13352         * math/s_casin_template.c: Update using type-generic macros.
13353         * math/s_casinh_template.c: Likewise.
13354         * math/s_csin_template.c: Likewise.
13355         * math/s_csinh_template.c: Likewise.
13356         * math/k_casinh_template.c: Likewise.
13358         * math/s_casinf.c: Removed.
13359         * math/s_casin.c: Removed.
13360         * math/s_casinl.c: Removed.
13361         * math/s_casinh.c: Removed.
13362         * math/s_casinhf.c: Removed.
13363         * math/s_casinhl.c: Removed.
13364         * math/s_csin.c: Removed.
13365         * math/s_csinf.c: Removed.
13366         * math/s_csinl.c: Removed.
13367         * math/s_csinh.c: Removed.
13368         * math/s_csinhf.c: Removed.
13369         * math/s_csinhl.c: Removed.
13370         * math/k_casinh.c: Removed.
13371         * math/k_casinhf.c: Removed.
13372         * math/k_casinhl.c: Removed.
13374         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
13375         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
13376         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
13377         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
13379         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
13380         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
13381         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
13382         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
13383         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
13384         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
13385         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
13386         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
13388         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
13389         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
13390         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
13391         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
13393         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
13394         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
13395         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
13396         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
13398 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13400         * s_casin_template.c: Copy of s_casin.c.
13401         * s_casinh_template.c: Copy of s_casinh.c.
13402         * s_csin_template.c: Copy of s_csin.c.
13403         * s_csinh_template.c: Copy of s_csinh.c.
13404         * k_casinh_template.c: Copy of k_casinh.c.
13406 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13408         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
13410 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13412         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
13413         (mul_split) Remove, rename as mul_splitl, remove
13414         redundant float.h include, and include via mul_splitl.h
13416         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13417         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13418         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13419         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13420         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13422         * math/mul_splitl.h: New file.
13424         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
13425         Move into mul_split.h, and remove redundant float.h include.
13427         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13428         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13429         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13430         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
13432         * math/mul_split.h: New file.
13434 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13436         * math/Makefile (libm-gen-calls): Move
13437         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
13438         (libm-calls): Remove above.
13440         * math/s_cacos_template.c: Update using type-generic macros.
13441         * math/s_cacosh_template.c: Likewise.
13442         * math/s_ccos_template.c: Likewise.
13443         * math/s_ccosh_template.c: Likewise.
13445         * math/s_cacosf.c: Removed.
13446         * math/s_cacos.c: Removed.
13447         * math/s_cacosl.c: Removed.
13448         * math/s_cacoshf.c: Removed.
13449         * math/s_cacosh.c: Removed.
13450         * math/s_cacoshl.c: Removed.
13451         * math/s_ccosf.c: Removed.
13452         * math/s_ccos.c: Removed.
13453         * math/s_ccosl.c: Removed.
13454         * math/s_ccoshf.c: Removed.
13455         * math/s_ccosh.c: Removed.
13456         * math/s_ccoshl.c: Removed.
13458         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
13459         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
13460         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
13461         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
13462         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
13463         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
13465         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
13466         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
13467         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
13468         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
13470         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
13471         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
13472         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
13473         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
13475 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13477         * s_cacos_template.c: Copy of s_cacos.c.
13478         * s_cacosh_template.c: Copy of s_cacosh.c.
13479         * s_ccos_template.c: Copy of s_ccos.c.
13480         * s_ccosh_template.c: Copy of s_ccosh.c.
13482 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13484         * stdlib/tst-strtod-round-skeleton.c:
13485         Refactored from tst-strtod-round.c.
13487         (L_): New macro to apply literal modifier.
13488         (FNPFX): New macro to select str or wcs prefix.
13489         (CHAR): New macro to choose wchar_t or char.
13490         (STRM): New macro to choose printf for tested character type.
13492         (STRTO): New macro to choose appropriate string -> real function.
13493         (FNPFXS): Stringitized version of FNPFX.
13494         (STR): Support for above macro.
13495         (STRX): Likewise.
13497         (TEST): Update with above macros.
13498         (test): Likewise.
13499         (GEN_ONE_TEST): Likewise.
13500         (test_in_one_mode): Likewise.
13502         * stdlib/tst-strtod-round.c: New file.
13503         * wcsmbs/tst-wcstod-round.c: New file.
13505         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
13506         (tst-wcstod-round): Add libm depencency for fesetround.
13508 2016-08-19  Zack Weinberg  <zackw@panix.com>
13510         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
13512 2016-08-18  Torvald Riegel  <triegel@redhat.com>
13514         [BZ #20477]
13515         * resolv/res_hconf.c (do_init): Use atomic access.
13516         * resolv/res_hconf.h: Add comments.
13517         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
13518         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
13519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13521 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
13523         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13524         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
13525         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13526         Likewise.
13528 2016-08-18  Florian Weimer  <fweimer@redhat.com>
13530         [BZ #16907]
13531         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
13532         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
13533         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
13534         (__attribute__): Remove definition.
13536 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13538         * sysdeps/ieee754/ldbl-128/e_asinl.c:
13539         Remove unused sqrtl declaration.
13541 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13543         * math/Makefile: (gen-libm-templates.stmp): New rule.
13544         (libm-calls): Move carg conj cimag and cabs into ...
13545         (gen-libm-calls): New variable.
13546         (generated): Inform Make objects from gen-libm-calls
13547         may be generated.
13549         * sysdeps/generic/math-type-macros.h: New file.
13550         * sysdeps/generic/math-type-macros-float.h: Likewise.
13551         * sysdeps/generic/math-type-macros-double.h: Likewise.
13552         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13553         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
13554         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
13556         * math/cabs.c: Refactor into
13557         * math/cabs_template.c: new file.
13558         * math/cabsf.c: Removed.
13559         * math/cabsl.c: Removed.
13560         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
13561         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
13563         * math/carg.c: Refactor into
13564         * math/carg_template.c: new file.
13565         * math/cargf.c: Removed.
13566         * math/cargl.c: Removed.
13567         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
13568         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
13570         * math/conj.c: Refactor into
13571         * math/conj_template.c: new file.
13572         * math/conjf.c: Removed.
13573         * math/conjl.c: Removed.
13574         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
13575         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
13577         * math/cimag.c: Refactor into
13578         * math/cimag_template.c: new file.
13579         * math/cimagf.c: Removed.
13580         * math/cimagl.c: Removed.
13581         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
13582         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
13584         * math/cimag.c: Refactor into
13585         * math/cimag_template.c: new file.
13586         * math/cimagf.c: Removed.
13587         * math/cimagl.c: Removed.
13588         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
13589         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
13591 2016-08-17  Florian Weimer  <fweimer@redhat.com>
13593         Reduce time to expected nptl/tst-once5 failure.
13594         * nptl/tst-once5.cc (TIMEOUT): Define.
13596 2016-08-17  Florian Weimer  <fweimer@redhat.com>
13598         [BZ #20452]
13599         Avoid additional copies of objects in libc.a in static libraries.
13600         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
13601         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
13602         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
13603         rt-sysdep.
13604         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
13605         Add nptl-sysdep.
13606         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
13607         Add ptw-sysdep.
13608         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
13609         rt-sysdep.
13610         * sysdeps/unix/sysv/linux/alpha/Makefile
13611         (libpthread-shared-only-routines): Add ptw-sysdep,
13612         ptw-sigprocmask, ptw-rt_sigaction.
13613         * sysdeps/unix/sysv/linux/ia64/Makefile
13614         (librt-shared-only-routines): Add rt-sysdep.
13615         * sysdeps/unix/sysv/linux/i386/Makefile
13616         (libpthread-shared-only-routines): Add libc-do-syscall.
13617         * sysdeps/unix/sysv/linux/microblaze/Makefile
13618         (libpthread-shared-only-routines): Add sysdep.
13619         * sysdeps/unix/sysv/linux/powerpc/Makefile
13620         (librt-shared-only-routines): Add rt-sysdep.
13621         (libpthread-shared-only-routines): Add sysdep.
13622         * sysdeps/unix/sysv/linux/s390/Makefile
13623         (librt-shared-only-routines): Add rt-sysdep.
13624         * sysdeps/unix/sysv/linux/sparc/Makefile
13625         (librt-shared-only-routines): Add rt-sysdep.
13626         (libpthread-shared-only-routines): Add sysdep.
13627         * sysdeps/unix/sysv/linux/tile/Makefile
13628         (libpthread-shared-only-routines): Likewise.
13630 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
13632         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
13633         Mask implicit bit out of unpacked value.
13634         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
13635         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
13636         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
13638         * sysdeps/sparc/fpu/fesetexcept.c: New file.
13640         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
13642         * sysdeps/s390/fpu/fesetexcept.c: New file.
13644         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
13645         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
13646         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
13648         * sysdeps/mips/fpu/fesetexcept.c: New file.
13650         * sysdeps/m68k/fpu/fesetexcept.c: New file.
13652         * sysdeps/ia64/fpu/fesetexcept.c: New file.
13654         * sysdeps/hppa/fpu/fesetexcept.c: New file.
13656         * sysdeps/arm/fesetexcept.c: New file.
13658         * sysdeps/alpha/fpu/fesetexcept.c: New file.
13660         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
13662         * math/fesetexcept.c: New file.
13663         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
13664         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
13665         * math/fenv.h: Define
13666         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13667         <bits/libc-header-start.h> instead of including <features.h>.
13668         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
13669         declaration.
13670         * manual/arith.texi (fesetexcept): Document function.
13671         * math/Versions (fesetexcept): New libm symbol at version
13672         GLIBC_2.25.
13673         * math/Makefile (libm-support): Add fesetexcept.
13674         (tests): Add test-fesetexcept and test-fesetexcept-traps.
13675         * math/test-fesetexcept.c: New file.
13676         * math/test-fesetexcept-traps.c: Likewise.
13677         * sysdeps/nacl/libm.abilist: Update.
13678         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13679         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13680         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13681         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13682         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13683         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13684         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13685         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13686         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13687         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13688         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13689         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13691         Likewise.
13692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13693         Likewise.
13694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13695         Likewise.
13696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13697         Likewise.
13698         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13699         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13700         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13701         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13702         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13704         Likewise.
13705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13706         Likewise.
13707         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13708         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13709         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13711 2016-08-16  Florian Weimer  <fweimer@redhat.com>
13713         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
13714         New.
13715         (do_test): Apply default_stack_size_in_mb if not set.
13716         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
13718 2016-08-15  Andreas Schwab  <schwab@suse.de>
13720         [BZ #20435]
13721         CVE-2016-6323
13722         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
13723         as .cantunwind.
13725 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
13727         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
13728         comment from fraiseexcpt.c.
13730         * math/test-fexcept.c (feraiseexcept_exact): New function.
13731         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
13732         (test_except): Likewise.
13734 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
13736         [BZ #20455]
13737         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
13738         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
13739         to be restored.
13741         * math/test-fexcept-traps.c: New file.
13742         * math/test-fexcept.c: Likewise.
13743         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
13744         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
13745         macro.
13746         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
13747         (EXCEPTION_SET_FORCES_TRAP): Likewise.
13749 2016-08-09  Torvald Riegel  <triegel@redhat.com>
13751         * include/atomic.h (atomic_fetch_and_relaxed,
13752         atomic_fetch_and_release, atomic_fetch_or_release,
13753         atomic_fetch_xor_release): New.
13755 2016-08-06  Christian Seiler  <christian@iwakd.de>
13757         [BZ #20444]
13758         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
13759         MACH_PORT_NULL.
13761 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
13763         * math/s_fdim.c: Avoid alias renamed.
13764         * math/s_fdimf.c: Likewise.
13765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13766         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13767         Add s_fdimf-vis3, s_fdim-vis3.
13768         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
13769         (CFLAGS-s_fdim-vis3.c): Likewise.
13770         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
13771         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
13773 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
13775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13776         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13777         Remove s_fdimf-vis3, s_fdim-vis3.
13778         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
13779         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
13780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
13781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
13782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
13783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
13784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
13785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
13786         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
13787         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
13789 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
13791         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
13792         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
13793         -Wa,-Av9a -mvis.
13795 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13797         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
13798         LIT() to individual constants in simple expressions
13799         after splitting on spaces.
13800         (_apply_lit): Rename replaced version, and use it to
13801         apply to what appears to be a token.
13803         * math/libm-test.inc: Fix many, many issues with
13804         spacing.
13806 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
13808         * math/math.h: Move comment about <bits/mathdef.h> definitions
13809         above inclusion of <bits/mathdef.h>.  Do not mention
13810         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
13812 2016-08-05  Torvald Riegel  <triegel@redhat.com>
13814         * include/atomic.h (atomic_exchange_relaxed): New.
13816 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
13818         * math/e_scalb.c: Do not include <fenv.h>.
13819         (invalid_fn): Do calculation resulting in NaN instead of raising
13820         FE_INVALID and returning a NaN explicitly.
13821         * math/e_scalbf.c: Do not include <fenv.h>.
13822         (invalid_fn): Do calculation resulting in NaN instead of raising
13823         FE_INVALID and returning a NaN explicitly.
13824         * math/e_scalbl.c: Do not include <fenv.h>.
13825         (invalid_fn): Do calculation resulting in NaN instead of raising
13826         FE_INVALID and returning a NaN explicitly.
13828 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
13830         * po/de.po: Updated from Translation Project.
13831         * po/fi.po: Likewise.
13832         * po/sv.po: Likewise.
13834 2016-08-04  Florian Weimer  <fweimer@redhat.com>
13836         [BZ #20452]
13837         Use sysdep.o from libc.a in static libraries.
13838         * sysdeps/unix/sysv/linux/i386/Makefile
13839         (libpthread-shared-only-routines): Add sysdep.
13840         (librt-shared-only-routines): Likewise.
13842 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13844         * math/tgmath.h (nextdown): Define if
13845         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
13846         (nextup): Likewise.
13848         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
13849         macro.
13850         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
13851         Document.
13852         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
13853         Document macro.
13854         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
13855         (exp10f): Likewise.
13856         (exp10l): Likewise.
13857         * math/bits/mathcalls.h (exp10): Declare if
13858         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
13860         * manual/arith.texi (nextup): Fix typo in last change.
13862 2016-08-03  Zack Weinberg  <zackw@panix.com>
13864         [BZ #19239]
13865         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
13866         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
13867         define major, minor, and makedev to issue deprecation warnings on use.
13868         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
13869         previously-activated deprecation warnings for these macros and prevent
13870         subsequent inclusions of this header from having any effect.
13871         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
13872         including <sys/sysmacros.h>, and undefine it again afterward.
13874 2016-08-03  Zack Weinberg  <zackw@panix.com>
13876         * sysdeps/generic/sys/sysmacros.h: Delete file.
13877         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
13878         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
13879         * bits/sysmacros.h: ... here; this encoding is now the generic
13880         encoding.  Now defines only the following macros:
13881         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
13882         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
13883         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
13885         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
13886         bits/sysmacros.h and the above new macros to generate the
13887         public implementations of major, minor, and makedev.
13888         * misc/tst-makedev.c: New test.
13889         * include/sys/sysmacros.h: New wrapper.
13891         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
13892         (routines): Add makedev.
13893         (tests): Add tst-makedev.
13894         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
13895         gnu_dev_makedev.
13896         * posix/Makefile (headers): Remove sys/sysmacros.h.
13897         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
13899         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
13900         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
13901         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
13902         * sysdeps/unix/sysv/linux/alpha/libc.abilist
13903         * sysdeps/unix/sysv/linux/arm/libc.abilist
13904         * sysdeps/unix/sysv/linux/hppa/libc.abilist
13905         * sysdeps/unix/sysv/linux/i386/libc.abilist
13906         * sysdeps/unix/sysv/linux/ia64/libc.abilist
13907         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13908         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
13909         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
13910         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13911         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13912         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13913         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13914         * sysdeps/unix/sysv/linux/nios2/libc.abilist
13915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13919         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
13920         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13921         * sysdeps/unix/sysv/linux/sh/libc.abilist
13922         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13923         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13926         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
13927         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
13928         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
13929         Add GLIBC_2.25.
13931         * include/features.h (__glibc_clang_prereq): New macro.
13932         * misc/sys/cdefs.h (__glibc_clang_has_extension)
13933         (__attribute_deprecated_msg__): New macros.
13935 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13937         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
13938         macro.
13939         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
13940         * manual/arith.texi (issignaling): Document as ISO from TS
13941         18661-1:2014.
13942         (nextup): Likewise.
13943         (nextupf): Likewise.
13944         (nextupl): Likewise.
13945         (nextdown): Likewise.
13946         (nextdownf): Likewise.
13947         (nextdownl): Likewise.
13948         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
13949         macro.
13950         * math/math.h: Define
13951         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13952         <bits/libc-header-start.h> instead of including <features.h>.
13953         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
13954         [__USE_GNU].
13955         * math/bits/mathcalls.h (nextdown): Declare if
13956         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
13957         (nextup): Likewise.
13958         (__issignaling): Likewise.
13960 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13962         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
13963         check, and remove __glibc_likely hint
13964         from FP_INFINITE check.
13965         * s_csinhf.c (__csinhf): Likewise.
13967         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
13968         hint from FP_INFINITE check.
13969         * s_csinhl.c (__csinhl): Likewise.
13971 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13973         * math/Makefile (libm-calls): Insert F placeholder into
13974         object names.  Move w_lgamma_compat* routines into
13975         (libm-compat-calls): New variable.
13976         (libm-compat-calls-ldouble-yes): New variable.
13977         (calls): Insert F placeholder.
13978         (generated): Redefine using new type-foreach macro call.
13979         (routines): Likewise.
13981         (types): New variable to hold a list of symbolic names
13982         for each type supported by the target machine.
13983         (libm-routines): Redefine using new types variable.
13984         (type-foreach): macro to replace fooF with the
13985         appropriately suffixed foo for each types.
13987         (type-ldouble-suffix): New variable.
13988         (type-ldouble-routines): Likewise.
13989         (type-ldouble-yes): Likewise.
13990         (type-double-suffix): Likewise.
13991         (type-double-routines): Likewise.
13992         (type-float-suffix): Likewise.
13993         (type-float-routines): Likewise.
13995         (dbl-only-routines): Remove.
13996         (long-c-yes): Likewise.
13997         (long-m-routines): Likewise.
13998         (long-m-support): Likewise.
13999         (long-m-yes): Likewise.
14000         (test-longdouble-yes): Likewise.
14002         (test-float.o): Simplify by increasing the scope of the
14003         recipe which adds libm-test.stmp to the vector types.
14004         (test-ifloat.o): Likewise.
14005         (test-float-finite.o): Likewise.
14006         (test-double.o): Likewise
14007         (test-idouble.o): Likewise.
14008         (test-double-finite.o): Likewise.
14009         (test-ldouble.o): Likewise
14010         (test-ildoubl.o): Likewise.
14011         (test-ldouble-finite.o): Likewise.
14013         (libm-tests): Redefine type tests using foreach and the
14014         list of types in types.
14016         (CPPFLAGS-test-ildoubl.c): Rename to
14017         (CPPFLAGS-test-ildouble.c): New variable
14019         * math/test-ildoubl.c: Rename to
14020         * math/test-ildouble.c: New file.
14022 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14024         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
14025         Use fabsl instead of fabs.
14026         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
14027         Likewise.
14028         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
14029         Add long double suffix to constant to ensure proper
14030         promotion to long double.
14032 2016-08-03  Tom Tromey  <tom@tromey.com>
14034         [BZ #20311]
14035         * nptl_db/Makefile (headers): Add proc_service.h.
14036         * nptl_db/proc_service.h: Add include guard.  Use
14037         __BEGIN/__END_DECLS.
14038         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
14039         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
14040         arguments.
14043 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14045         [BZ #17730]
14046         Avoid using memalign for TCB allocations.
14047         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
14048         (_dl_allocate_tls_storage): Use malloc and manual alignment.
14049         Avoid alignment gap in the TLS_DTV_AT_TP case.
14050         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
14051         determine the pointer to free.
14052         * nptl/tst-tls3-malloc.c: New test.
14053         * nptl/Makefile (tests): Add it.
14054         (tst-tls3-malloc): Link with libdl, libpthread.
14055         (LDFLAGS-tst-tls3-malloc): Set.
14056         (tst-tls3-malloc.out): Depend on DSO used in test.
14058 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14060         [BZ #17730]
14061         Avoid using memalign for TLS allocations.
14062         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
14063         is_static member with to_free member.
14064         (union dtv): Use struct dtv_pointer.
14065         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
14066         dtv_pointer instead of is_static.
14067         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
14068         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
14069         instead of val.
14070         (allocate_dtv_entry): New function.
14071         (allocate_and_init): Return struct dtv_pointer.  Call
14072         allocate_dtv_entry instead of __libc_memalign.
14073         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
14074         instead of val.
14075         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
14076         instead of is_static.  Adjust call to allocate_and_init.
14077         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
14078         struct dtv_pointer instead of val.
14080 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14082         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
14083         (MALLOC_ALIGN_MASK): Move ...
14084         * malloc/malloc-internal.h: ... to here.
14085         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
14087 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14089         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
14090         (UDP_ENCAP_GTP1U): Likewise.
14092         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
14093         (PF_MAX): Update value.
14094         (AF_QIPCRTR): New macro.
14096 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
14098         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
14099         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14100         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14101         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
14102         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14103         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
14104         s_truncf-vis3, s_trunc-vis3.
14105         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14106         (CFLAGS-s_ceil-vis3.c): Likewise.
14107         (CFLAGS-s_floorf-vis3.c): Likewise.
14108         (CFLAGS-s_floor-vis3.c): Likewise.
14109         (CFLAGS-s_truncf-vis3.c): Likewise.
14110         (CFLAGS-s_trunc-vis3.c): Likewise.
14111         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
14112         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
14113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
14114         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
14115         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
14116         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
14117         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
14118         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
14119         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
14120         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
14121         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
14122         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
14124 2016-08-02  David S. Miller  <davem@davemloft.net>
14126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
14127         (__nearbyint_vis3): Don't check for sNaN before float register is
14128         loaded with the incoming argument.
14129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
14130         (__nearbyintf_vis3): Likewise.
14131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
14132         Likewise.
14133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
14134         Likewise.
14136         * string/test-strncmp.c (do_test_limit): Make sure the test data
14137         stream is aligned as required for the type "CHAR".
14138         (do_test): Likewise.
14140 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
14142         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
14143         by beq instructions jumping to the end of the function.
14144         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
14145         clobber list. Use "i" constraint instead of "X".
14146         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
14147         of "X".
14149 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
14151         * bits/libc-header-start.h: New file.
14152         * Makefile (headers): Add bits/libc-header-start.h.
14153         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
14154         (__GLIBC_USE): New macro.
14155         * libio/stdio.h: Define
14156         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14157         <bits/libc-header-start.h> instead of including <features.h>.
14158         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
14159         (open_memstream): Likewise.
14160         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
14161         (__asprintf): Likewise.
14162         (asprintf): Likewise.
14163         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
14164         (getdelim): Likewise.
14165         (getline): Likewise.
14166         * string/string.h: Define
14167         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14168         <bits/libc-header-start.h> instead of including <features.h>.
14169         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
14170         (strndup): Likewise.
14171         * wcsmbs/wchar.h: Define
14172         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14173         <bits/libc-header-start.h> instead of including <features.h>.
14174         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
14175         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
14177 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14179         Support linking against compatibility symbols, for use in tests.
14180         * include/libc-symbols.h (symbol_version_reference): New macro.
14181         (symbol_version): Use it.
14182         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
14183         (compat_symbol): Use compat_symbol_reference.
14184         (compat_symbol_1, compat_symbol_2): Remove.
14185         (compat_symbol_reference, compat_symbol_reference_1)
14186         (compat_symbol_reference_2): New macro.  Use
14187         symbol_version_reference.
14189 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14191         [BZ #19469]
14192         * malloc/Makefile (CPPFLAGS): Compile tests with
14193         -DTEST_NO_MALLOPT.
14194         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
14196 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
14198         [BZ #20033]
14199         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
14200         finite version.
14201         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
14202         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
14203         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
14204         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
14205         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
14206         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
14207         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
14208         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
14209         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
14210         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
14211         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
14212         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
14213         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
14214         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
14215         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
14216         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
14217         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
14218         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
14219         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
14220         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
14221         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
14222         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
14223         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
14224         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
14225         in zero power.
14227 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14229         [BZ #20370]
14230         * malloc/arena.c (get_free_list): Update comment.  Assert that
14231         arenas on the free list have no attached threads.
14232         (remove_from_free_list): New function.
14233         (reused_arena): Call it.
14235 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
14237         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
14238         when it is a NaN.
14239         [_IEEE_FP_INEXACT] Remove.
14240         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
14241         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
14242         when it is a NaN.
14243         [_IEEE_FP_INEXACT] Remove.
14244         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
14245         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
14246         when it is a NaN.
14247         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
14248         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
14249         when its absolute value is greater than 0x1.0p52.
14250         [_IEEE_FP_INEXACT] Remove.
14251         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
14252         when its absolute value is greater than 0x1.0p23.
14253         [_IEEE_FP_INEXACT] Remove.
14255 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
14257         * version.h (RELEASE): Set to "development"
14258         (VERSION): Set to 2.24.90.
14259         * NEWS: Add 2.25 section.
14261         * version.h (RELEASE): Set to "stable"
14262         (VERSION): Set to 2.24.
14263         * include/features.h (__GLIBC_MINOR__): Set to 24.
14265         * NEWS: Add 2.24 fixed bugs.
14266         * po/libc.pot: Regenerate.
14268 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
14270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14271         [$(subdir) = math] (libm-sysdep_routines): Remove.
14272         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14273         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
14274         s_truncf-vis3, s_trunc-vis3.
14275         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
14277         file.
14278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
14279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
14280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
14281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
14284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
14285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
14287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
14288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
14289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
14290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
14291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
14292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
14293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
14297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
14298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
14299         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
14300         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14301         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14302         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
14303         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14304         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
14306         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14307         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
14309         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14310         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14311         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
14312         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
14313         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
14314         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
14315         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14316         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14317         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
14318         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
14319         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
14320         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
14322 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
14324         [BZ #20384]
14325         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
14326         test-double-libmvec-sincos-avx-main.o,
14327         test-double-libmvec-sincos-avx2-main.o,
14328         test-double-libmvec-sincos-main.o,
14329         test-float-libmvec-sincosf-avx-main.o,
14330         test-float-libmvec-sincosf-avx2-main.o and
14331         test-float-libmvec-sincosf-main.o.
14332         test-float-libmvec-sincosf-avx512-main.o.
14333         ($(objpfx)test-double-libmvec-sincos): Also link with
14334         $(objpfx)test-double-libmvec-sincos-main.o.
14335         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
14336         $(objpfx)test-double-libmvec-sincos-avx-main.o.
14337         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
14338         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
14339         ($(objpfx)test-float-libmvec-sincosf): Also link with
14340         $(objpfx)test-float-libmvec-sincosf-main.o.
14341         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
14342         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
14343         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
14344         test-double-libmvec-sincos-avx512-main.o and
14345         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
14346         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
14347         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
14348         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
14349         (CFLAGS-test-double-libmvec-sincos.c): Removed.
14350         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
14351         (CFLAGS-test-double-libmvec-sincos-main.c): New.
14352         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
14353         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
14354         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
14355         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
14356         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
14357         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
14358         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
14359         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
14360         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
14361         -DREQUIRE_AVX2.
14362         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
14363         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
14364         -DREQUIRE_AVX512F.
14365         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
14366         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
14367         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
14368         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
14369         file.
14370         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
14371         Likewise.
14372         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
14373         Likewise.
14374         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
14375         Likewise.
14376         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
14377         Likewise.
14378         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
14379         Likewise.
14380         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
14381         Likewise.
14382         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
14383         Likewise.
14385 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
14387         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
14389 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
14391         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
14392         and typo in a comment about AT_HWCAP entry.
14394 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14396         * sysdeps/aarch64/libm-test-ulps: Updated.
14398 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14400         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
14401         of r13 as it is not restored in mvcle case.
14403 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
14405         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
14406         Rename "ret" to "__ret".
14407         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
14408         inline_syscall5, inline_syscall6): Likewise.
14410 2016-07-19   Will Newton  <will.newton@gmail.com>
14412         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
14413         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
14414         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
14415         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
14416         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
14418 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
14420         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
14421         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
14422         -mfpmath=387 with $(rtld-CFLAGS).
14423         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
14424         $(rtld-CFLAGS).
14426 2016-07-18   Ross Burton  <ross.burton@intel.com>
14427              Khem Raj  <raj.khem@gmail.com>
14429         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
14430         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
14431         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
14432         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
14433         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
14434         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
14435         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
14436         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
14437         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
14438         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
14439         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
14440         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
14441         R_METAG_TLS_DTPOFF): New.
14443 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14444             Matt Clay  <mclay@lycos.com>
14446         [BZ #20357]
14447         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
14448         to call __mpsin/__mpcos and to negate values.
14449         * math/auto-libm-test-in: Add test.
14450         * math/auto-libm-test-out: Regenerate.
14452 2016-07-18  Zack Weinberg  <zackw@panix.com>
14454         * grp/Makefile: Don't install the internal header grp-merge.h.
14456 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14458         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14460 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14462         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
14464 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14466         [BZ #15368]
14467         * sysdeps/unix/sysv/linux/nptl-signals.h
14468         (__nptl_clear_internal_signals): New function.
14469         (__libc_signal_block_all): Likewise.
14470         (__libc_signal_block_app): Likewise.
14471         (__libc_signal_restore_set): Likewise.
14472         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
14473         implementation.
14474         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
14475         the cached pid/tid value in pthread structure.
14477 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
14479         [BZ #20347]
14480         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14482 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14484         [BZ #20348]
14485         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
14486         preadv64, pwrite64 and pwritev64.
14488 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14490         [BZ #20350]
14491         * posix/tst-preadwrite.c: Renamed to ...
14492         * posix/tst-preadwrite-common.c: This.
14493         (PREAD): Removed.
14494         (PWRITE): Likewise.
14495         (STRINGIFY): Likewise.
14496         (STRINGIFY2): Likewise.
14497         (do_prepare): Make it static and remove function arguments.
14498         (do_test): Likewise.
14499         (PREPARE): Updated.
14500         (TEST_FUNCTION): New.
14501         (name): Make it static.
14502         (fd): Likewise.
14503         (do_prepare): Use create_temp_file.
14504         (do_test): Renamed to ...
14505         (do_test_with_offset): This.  Make it static and accept offset.
14506         Properly check return value of PWRITE and PREAD.  Return bytes
14507         read.  Don't close fd nor unlink name.
14508         * posix/tst-preadwrite.c: Rewrite.
14509         * posix/tst-preadwrite64.c: Likewise.
14511 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14513         [BZ #20309]
14514         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
14515         -mtls-dialect=gnu2 works.
14516         * configure: Regenerated.
14517         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
14518         (tests): Add tst-gnu2-tls1.
14519         (modules-names): Add tst-gnu2-tls1mod.
14520         ($(objpfx)tst-gnu2-tls1): New.
14521         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
14522         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
14523         * elf/tst-gnu2-tls1.c: New file.
14524         * elf/tst-gnu2-tls1mod.c: Likewise.
14525         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
14526         bytes for push in the PLT entry to align the stack.
14528 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14530         [BZ #20349]
14531         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
14533 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14535         [BZ #18707]
14536         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
14537         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
14539 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14541         * sysdeps/unix/sysv/linux/sysdep.h
14542         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
14543         guards.
14544         * misc/tst-preadvwritev-common.c: New file.
14545         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
14546         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
14547         a check for files larger than 2GB.
14549         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14550         (__ASSUME_OFF_DIFF_OFF64): Remove define.
14551         * sysdeps/unix/sysv/linux/pread.c
14552         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
14553         __OFF_T_MATCHES_OFF64_T.
14554         * sysdeps/unix/sysv/linux/pread64.c
14555         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
14556         * sysdeps/unix/sysv/linux/preadv.c
14557         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
14558         * sysdeps/unix/sysv/linux/preadv64.c
14559         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
14560         * sysdeps/unix/sysv/linux/pwrite.c
14561         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
14562         * sysdeps/unix/sysv/linux/pwrite64.c
14563         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
14564         * sysdeps/unix/sysv/linux/pwritev.c
14565         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
14566         * sysdeps/unix/sysv/linux/pwritev64.c
14567         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
14569 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
14571         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14572         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
14574 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
14576         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
14578 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
14580         [BZ #20240]
14581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
14582         (CFLAGS-s_modf-ppc32.c): New variable.
14583         (CFLAGS-s_modff-ppc32.c): Likewise.
14584         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14585         (CFLAGS-s_modf-ppc64.c): Likewise.
14586         (CFLAGS-s_modff-ppc64.c): Likewise.
14588 2016-07-07  Andreas Schwab  <schwab@suse.de>
14590         [BZ #20263]
14591         * nptl/tst-robust10.c: New test.
14592         * nptl/Makefile (tests): Add tst-robust10.
14594 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
14596         [BZ #20263]
14597         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
14599 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14601         * sysdeps/s390/linkmap.h (struct link_map_machine):
14602         Remove member gotplt and add member jmprel.
14603         * sysdeps/s390/s390-32/dl-machine.h
14604         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
14605         instead of gotplt with &got[3].
14606         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
14607         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14609 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
14611         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
14613 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14615         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
14616         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
14617         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
14618         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
14619         * libio/vtables.c (_IO_vtable_check)
14620         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
14621         * libio/libioP.h (IO_set_accept_foreign_vtables)
14622         [!PTR_MANGLE]: Do not call PTR_MANGLE.
14624 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
14626         [BZ #20314]
14627         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
14628         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
14629         $(common-objpfx)cmath.
14630         ($(common-objpfx)cstdlib): New target.
14631         ($(common-objpfx)cmath): Likewise.
14633 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
14635         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
14637 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14639         [BZ #20327]
14640         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
14641         are not part of the string.
14643 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14645         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
14646         * nptl/tst-cancel4-common.h (fifoname): New variable.
14647         (fifofd): Likewise.
14648         (cl_fifo): New function.
14649         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
14650         SIGINT.
14651         (tf_open): Add early cancel test.
14653 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
14655         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
14657 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
14659         * sysdeps/generic/ldsodefs.h
14660         (dl_symbol_visibility_binds_local_p): New inline function.
14661         * elf/dl-addr.c (determine_info): Treat hidden and internal
14662         symbols as local.
14663         * elf/dl-lookup.c (do_lookup_x): Likewise.
14664         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
14666 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
14668         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
14669         invalid exception for a sNaN input.
14670         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14671         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
14672         (__nearbyint_vis3): Likewise
14673         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
14674         (__nearbyintf_vis3): Likewise
14675         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
14676         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14677         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
14678         Likewise.
14679         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
14680         Likewise.
14682 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
14684         [BZ #20139]
14685         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
14686         (HAVE_AVX512DQ_ASM_SUPPORT): This.
14687         * sysdeps/x86_64/configure.ac: Require assembler from binutils
14688         2.24 or above.
14689         (HAVE_AVX512_ASM_SUPPORT): Removed.
14690         (HAVE_AVX512DQ_ASM_SUPPORT): New.
14691         * sysdeps/x86_64/configure: Regenerated.
14692         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
14693         check unconditional.
14694         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14695         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14696         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14697         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
14698         Likewise.
14699         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14700         Likewise.
14701         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14702         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14703         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14704         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14705         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
14706         Likewise.
14707         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14708         Likewise.
14709         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14710         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14711         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
14712         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
14713         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
14714         Likewise.
14715         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
14716         Likewise.
14717         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
14718         Likewise.
14719         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
14720         Likewise.
14721         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
14722         Likewise.
14723         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
14724         Likewise.
14725         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
14726         Likewise.
14727         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
14728         Likewise.
14729         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
14730         Likewise.
14731         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
14732         Likewise.
14733         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
14734         Likewise.
14736 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
14738         [BZ #20024]
14739         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
14740         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
14741         of this implementation of vector function.
14742         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
14743         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
14744         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
14745         Likewise.
14746         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14747         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14748         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
14749         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
14750         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
14751         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
14752         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
14753         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
14754         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
14755         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
14756         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
14757         for testing vector sincos with fixed ABI.
14758         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14759         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14760         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14761         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14762         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14763         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14764         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14765         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
14766         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
14767         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
14768         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
14769         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
14770         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
14771         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
14772         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
14773         * sysdeps/x86_64/fpu/Makefile: Added new tests.
14775 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
14777         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
14779 2016-06-30  Anton Blanchard  <anton@samba.org>
14781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14782         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
14783         s_sinf-ppc64.
14784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
14785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
14786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
14787         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
14789 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14792         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14793         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
14794         e_expf-ppc64.
14795         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
14796         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
14797         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
14798         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
14800 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
14802         [BZ #20277]
14803         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
14804         when SHARED is defined.
14806 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
14808         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
14809         (index_arch_Prefer_ERMS): Likewise.
14810         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
14811         __memcpy_erms for Prefer_ERMS.
14812         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14813         (__memmove_erms): Enabled for libc.a.
14814         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
14815         __memmove_erms or Prefer_ERMS.
14816         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
14817         __mempcpy_erms for Prefer_ERMS.
14818         * sysdeps/x86_64/multiarch/memset.S (memset): Return
14819         __memset_erms for Prefer_ERMS.
14821 2016-06-30  Andreas Schwab  <schwab@suse.de>
14823         [BZ #20262]
14824         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
14825         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
14826         of memory.
14828 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
14830         [BZ #18645]
14831         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
14832         (test-extras): Add tst-cleanupx4aux.
14833         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
14834         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
14835         tst-cleanupx4aux.o.
14836         * nptl/tst-cleanupx4aux.c: New file.
14838 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
14840         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14842 2016-06-29  Andreas Schwab  <schwab@suse.de>
14844         [BZ #20260]
14845         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
14846         address before the beginning of the string as an integer to avoid
14847         array-bounds warning.
14849 2016-06-28  Richard Henderson  <rth@redhat.com>
14851         * elf/elf.h (EM_BPF): New.
14852         (EM_NUM): Update.
14853         (R_BPF_NONE, R_BPF_MAP_FD): New.
14855         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
14856         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
14857         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
14858         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
14859         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
14860         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
14861         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
14862         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
14863         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
14864         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
14865         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
14866         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
14867         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
14868         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
14869         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
14870         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
14871         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
14872         (EM_NUM): Update.
14874 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
14876         [BZ #18960]
14877         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
14878         Set _nl_current_LC_CATEGORY_used to two instead of one.
14880 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
14882         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
14883         (do_test): ... this.
14884         (TEST_FUNCTION): New macro.
14885          Include test-skeleton.c.
14886         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
14887         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
14889 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
14891         [BZ #15479]
14892         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
14893         floating-point environment rather than just control word.
14894         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14895         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
14896         floating-point environment, with "invalid" exceptions merged in,
14897         rather than just control word.
14898         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
14899         * math/libm-test.inc (trunc_test_data): Do not allow spurious
14900         "inexact" exceptions.
14902         [BZ #15479]
14903         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
14904         floating-point environment rather than just control word.
14905         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14906         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
14907         floating-point environment, with "invalid" exceptions merged in,
14908         rather than just control word.
14909         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
14910         * math/libm-test.inc (floor_test_data): Do not allow spurious
14911         "inexact" exceptions.
14913         [BZ #15479]
14914         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
14915         floating-point environment rather than just control word.
14916         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14917         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
14918         floating-point environment, with "invalid" exceptions merged in,
14919         rather than just control word.
14920         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
14921         * math/libm-test.inc (ceil_test_data): Do not allow spurious
14922         "inexact" exceptions.
14924 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
14926         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
14927         __libc_vfork.
14928         (__vfork) [IS_IN (libc)]: Remove alias.
14929         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
14930         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14931         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14933 2016-06-24  Torvald Riegel  <triegel@redhat.com>
14935         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
14936         of atomic_compare_and_exchange_bool_rel.
14937         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14938         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
14939         catomic_compare_and_exchange_bool_rel): Remove.
14940         * sysdeps/aarch64/atomic-machine.h
14941         (atomic_compare_and_exchange_bool_rel): Likewise.
14942         * sysdeps/alpha/atomic-machine.h
14943         (atomic_compare_and_exchange_bool_rel): Likewise.
14944         * sysdeps/arm/atomic-machine.h
14945         (atomic_compare_and_exchange_bool_rel): Likewise.
14946         * sysdeps/mips/atomic-machine.h
14947         (atomic_compare_and_exchange_bool_rel): Likewise.
14948         * sysdeps/microblaze/atomic-machine.h
14949         ( __arch_compare_and_exchange_bool_8_rel,
14950         __arch_compare_and_exchange_bool_16_rel): Likewise.
14951         * sysdeps/powerpc/atomic-machine.h
14952         ( __arch_compare_and_exchange_bool_8_rel,
14953         __arch_compare_and_exchange_bool_16_rel): Likewise.
14954         * sysdeps/powerpc/powerpc32/atomic-machine.h
14955         ( __arch_compare_and_exchange_bool_32_rel,
14956         __arch_compare_and_exchange_bool_64_rel): Likewise.
14957         * sysdeps/powerpc/powerpc64/atomic-machine.h
14958         ( __arch_compare_and_exchange_bool_32_rel,
14959         __arch_compare_and_exchange_bool_64_rel): Likewise.
14960         * sysdeps/tile/atomic-machine.h
14961         (atomic_compare_and_exchange_bool_rel): Likewise.
14963 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
14965         [BZ #20296]
14966         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
14967         when either argument is a NaN.
14968         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14969         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
14971         * math/libm-test.inc (snan_value_ld): New macro.
14972         (isgreater_test_data): Add sNaN tests.
14973         (isgreaterequal_test_data): Likewise.
14974         (isless_test_data): Likewise.
14975         (islessequal_test_data): Likewise.
14976         (islessgreater_test_data): Likewise.
14977         (isunordered_test_data): Likewise.
14978         (nextafter_test_data): Likewise.
14979         (nexttoward_test_data): Likewise.
14980         (remainder_test_data): Likewise.
14981         (remquo_test_data): Likewise.
14982         (significand_test_data): Likewise.
14983         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
14985 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14987         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
14988         environment macros are defined.
14989         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
14991 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14993         [BZ #20191]
14994         Implement vtable verification in libio.
14995         * Makerules (shlib.lds): Place __libc_IO_vtables section.
14996         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
14997         * debug/vdprintf_chk.c (__vdprintf_chk): Call
14998         _IO_new_file_init_internal instead of _IO_file_init.
14999         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
15000         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
15001         * libio/Makefile (routines): Add vtables.
15002         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
15003         (_IO_init): Remove, not for internal use.
15004         (_IO_init_internal): Declare, internal replacement for _IO_init.
15005         (_IO_file_init): Remove, not for internal use.
15006         (_IO_new_file_init): Remove, not for internal use.
15007         (_IO_new_file_init_internal): Declare, internal replacement for
15008         _IO_new_file_init.
15009         (_IO_old_file_init): Remove, not for internal use.
15010         (_IO_old_file_init_internal): Declare, internal replacement for
15011         _IO_old_file_init.
15012         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
15013         internal use.
15014         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
15015         Declare.
15016         (libio_vtable): New macro.
15017         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
15018         functions.
15019         * libio/fileops.c (_IO_new_file_init_internal): Rename from
15020         _IO_new_file_init.
15021         (_IO_new_file_init): New externally visible wrapper which disables
15022         vtable verification.
15023         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
15024         Define as vtables.
15025         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
15026         (_IO_init): New externally visible wrapper which disables
15027         vtable verification.
15028         * libio/iofdopen.c (_IO_new_fdopen): Call
15029         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
15030         comment.
15031         * libio/iofopen.c (__fopen_internal): Call
15032         _IO_new_file_init_internal instead of _IO_file_init.
15033         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
15034         Define as vtables.
15035         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
15036         _IO_new_file_init_internal instead of _IO_file_init.
15037         * libio/iopopen.c (_IO_new_popen): Likewise.
15038         (_IO_proc_jumps): Define as vtable.
15039         * libio/iovdprintf.c (_IO_vdprintf): Call
15040         _IO_new_file_init_internal instead of _IO_file_init.
15041         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
15042         (__open_memstream): Call _IO_init_internal instead of _IO_init.
15043         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
15044         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
15045         _IO_old_file_init.
15046         (_IO_old_file_init): New externally visible wrapper which disables
15047         vtable verification.
15048         (_IO_old_file_jumps): Define as vtable.
15049         * libio/oldiofdopen.c (_IO_old_fdopen): Call
15050         _IO_old_file_init_internal instead of _IO_old_file_init.
15051         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15052         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15053         (_IO_old_proc_jumps): Define as vtable.
15054         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
15055         Define as vtables.
15056         * libio/vtables.c: New file.
15057         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
15058         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
15059         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
15060         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
15061         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
15062         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
15063         instead of _IO_init.
15065 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15067         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
15069 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15071         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
15072         potentially unused.
15074 2016-06-22  Florian Weimer  <fweimer@redhat.com>
15076         * test-skeleton.c (write_message): New function.
15077         * malloc/tst-mallocfork2.c (write_message): Remove.
15078         * debug/tst-longjmp_chk2.c (write_indented): New function.
15079         (write_message): Remove.
15080         (stackoverflow_handler): Call write_indented.
15082 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
15084         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
15085         "inexact" exceptions after fnstenv.
15086         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15087         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15088         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15090 2015-06-22  Zack Weinberg  <zackw@panix.com>
15092         * sysdeps/generic/bits/hwcap.h: Moved to ...
15093         * bits/hwcap.h: Here.
15095 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
15097         * sysdeps/aarch64/memcpy.S (memcpy):
15098         Further tuning for performance.
15100 2016-06-21  Florian Weimer  <fweimer@redhat.com>
15102         [BZ #20284]
15103         * malloc/arena.c (reused_arena): Do not return NULL if we start
15104         out with a non-corrupted arena.
15106 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15108         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
15109         * misc/tst-preadvwritev.c: New file.
15110         * misc/tst-preadvwritev64.c: Likewise.
15111         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
15112         usage.
15113         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
15114         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
15115         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
15116         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
15118 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
15120         [BZ #19654]
15121         * sysdeps/x86_64/fpu/Makefile: Added new tests.
15122         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
15123         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
15124         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
15125         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
15126         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
15127         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
15128         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
15129         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
15130         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
15131         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
15132         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
15133         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
15134         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
15135         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
15136         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
15137         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
15138         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
15139         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
15140         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
15141         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
15142         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
15143         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
15144         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
15145         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
15146         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
15148 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
15150         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
15151         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
15153 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
15155         * sysdeps/aarch64/memcpy.S (memcpy):
15156         Rewrite of optimized memcpy and memmove.
15157         * sysdeps/aarch64/memmove.S (memmove): Remove
15158         memmove code (merged into memcpy.S).
15160 2016-06-20  Florian Weimer  <fweimer@redhat.com>
15162         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
15163         * sysdeps/generic/dl-dtv.h: New file.
15164         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15165         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
15166         (dtv_t): Remove.
15167         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15168         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
15169         (dtv_t): Remove.
15170         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15171         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
15172         (dtv_t): Remove.
15173         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15174         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
15175         (dtv_t): Remove.
15176         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15177         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
15178         (dtv_t): Remove.
15179         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15180         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
15181         (dtv_t): Remove.
15182         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15183         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
15184         (dtv_t): Remove.
15185         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
15186         (dtv_t): Remove.
15187         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15188         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
15189         (dtv_t): Remove.
15190         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15191         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
15192         (dtv_t): Remove.
15193         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15194         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
15195         (dtv_t): Remove.
15196         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15197         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
15198         (dtv_t): Remove.
15199         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15200         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
15201         (dtv_t): Remove.
15202         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15203         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
15204         (dtv_t): Remove.
15205         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15206         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
15207         (dtv_t): Remove.
15208         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15209         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
15210         (dtv_t): Remove.
15212 2016-06-20  Florian Weimer  <fweimer@redhat.com>
15214         Revert symbol poisoning of  __malloc_initialize_hook.
15215         * include/stdc-predef.h (__malloc_initialize_hook): Remove
15216         poisoning.
15217         * malloc/Makefile: Remove un-poisoning.
15218         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
15219         instead of old__malloc_initialize_hook.
15220         * malloc/malloc-hooks.h: Likewise.
15221         * malloc/malloc.c: Likewise.
15222         * malloc/mcheck-init.c: Likewise.
15224 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
15226         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
15228 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
15230         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
15231         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
15232         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15233         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15235 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15237         * NEWS: Mention addition of nextup and nextdown.
15238         * manual/arith.texi: Document nextup and nextdown.
15239         * manual/libm-err-tab.pl: Add nextup and nextdown.
15240         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
15241         * math/Versions (libm): Add GLIBC_2.24.
15242         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
15243         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15244         Add new test.
15245         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
15246         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
15247         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
15248         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
15249         (nextup_test_data): Likewise.
15250         (nextdown_test_data): Likewise.
15251         * math/s_nextdown.c: New file.
15252         * math/s_nextdownf.c: Likewise.
15253         * math/s_nextdownl.c: Likewise.
15254         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
15255         F(nextup): New function.
15256         F(nextdown): Likewise.
15257         * math/tgmath.h: Add nextup and nextdown.
15258         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
15259         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
15260         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15261         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15262         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15263         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
15264         Add nextup and nextdown.
15265         (CFLAGS-nldbl-nextup.c): New variable.
15266         (CFLAGS-nldbl-nextdown.c): Likewise.
15267         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
15268         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
15269         * sysdeps/nacl/libm.abilist: Update.
15270         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15271         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15272         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15273         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15274         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15275         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15276         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15277         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15278         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15279         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15280         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15281         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15284         Likewise.
15285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15287         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15288         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15289         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15290         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15291         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
15293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
15294         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15295         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15296         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15297         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15299 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15301         * manual/pattern.texi: Fix typos & grammar errors.
15303 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15305         * manual/search.texi: Fix typos & grammar errors.
15307 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15309         * manual/message.texi: Fix typos & grammar errors.
15311 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
15313         * manual/contrib.texi: Fix spelling typos.
15314         * manual/crypt.texi: Likewise.
15315         * manual/filesys.texi: Likewise.
15316         * manual/locale.texi: Likewise.
15317         * manual/message.texi: Likewise.
15318         * manual/nss.texi: Likewise.
15319         * manual/string.texi: Likewise.
15321 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15323         * manual/locale.texi: Fix typos & grammar errors.
15325 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15327         * manual/charset.texi: Fix typos & grammar errors.
15329 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15331         * manual/string.texi: Fix typos.
15333 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15335         * manual/ctype.texi: Fix typos.
15337 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15339         * manual/memory.texi: Fix various typos & grammar errors.
15341 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
15343         [BZ #20255]
15344         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
15345         * math/libm-test.inc (fdim_test_data): Add another test.
15347         [BZ #6796]
15348         [BZ #20255]
15349         [BZ #20256]
15350         * math/s_fdim.c: Include <math_private.h>.
15351         (__fdim): Use math_narrow_eval on result.
15352         * math/s_fdimf.c: Include <math_private.h>.
15353         (__fdimf): Use math_narrow_eval on result.
15354         * sysdeps/i386/fpu/s_fdim.S: Remove file.
15355         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
15356         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
15357         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
15358         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
15359         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
15360         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
15361         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
15362         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
15363         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
15364         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
15365         * math/libm-test.inc (fdim_test_data): Expect errno setting on
15366         overflow.  Add sNaN tests.
15368         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
15369         fpclassify.
15370         * math/s_fdimf.c (__fdimf): Likewise.
15371         * math/s_fdiml.c (__fdiml): Likewise.
15373 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15375         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15376         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
15377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15378         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15379         ifunc'ed strcasecmp/strncasecmp.
15380         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
15381         [EALIGN]: Removed.
15382         [END]: Likewise.
15383         [__strcasecmp]: Define instead of the above to control symbol name.
15384         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
15385         for __strcasecmp_power8.
15386         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
15387         for __strncasecmp_power8.
15388         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
15389         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
15390         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
15391         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
15392         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
15393         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
15395 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
15397         [BZ #20252]
15398         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
15399         arguments when second argument is a NaN.
15400         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
15401         qNaN tests.
15403         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
15404         (conj_test_data): Likewise.
15405         (copysign_test_data): Likewise.
15406         (creal_test_data): Likewise.
15407         (fma_test_data): Likewise.
15408         (fmod_test_data): Likewise.
15410         [BZ #20250]
15411         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
15412         itself.
15413         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
15414         zero input to itself.
15415         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
15416         Likewise.
15417         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
15418         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
15419         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15420         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
15421         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
15423 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15425         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
15426         * nptl/tst-cancel4-common.c: New file.
15427         * nptl/tst-cancel4-common.h: Likewise.
15428         * nptl/tst-cancel4.c: Move common definitions to
15429         tst-cancel4-common.{c,h} file.
15430         * nptl/tst-cancel4_1.c: New test.
15431         * nptl/tst-cancel4_2.c: New test.
15433 2016-06-13  Florian Weimer  <fweimer@redhat.com>
15435         [BZ #20248]
15436         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
15437         (write_message): New function.
15438         (stackoverflow_handler): Call it instead of printf, to avoid
15439         excessive stack usage by printf.
15440         (do_test): Restore SIGSEGV, SIGBUS default handlers.
15442 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15444         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
15445         (prio_inherit_missing): Remove define.
15446         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15447         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15448         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
15449         Likewise.
15450         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15451         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15452         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15453         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15454         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15455         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15457 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15459         [BZ #19670]
15460         [BZ #19672]
15462         * io/test-lfs.c (do_prepare): Use xmalloc.
15463         * io/tst-fcntl.c (do_prepare): Likewise.
15464         * libio/tst-fopenloc.c (do_bz17916): Likewise.
15465         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
15466         * login/tst-utmp.c (do_prepare): Likewise.
15467         * posix/tst-exec.c (do_prepare): Likewise.
15468         * posix/tst-pathconf.c (prepare): Likewise.
15469         * posix/tst-spawn.c (do_prepare): Likewise.
15470         * posix/tst-truncate.c (do_prepare): Likewise.
15471         * rt/tst-aio.c (do_prepare): Likewise.
15472         * rt/tst-aio64.c (do_prepare): Likewise.
15474 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15476         [BZ #20237]
15477         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
15478         (get*ent): Set entidx to NULL during initialization.  If entidx is
15479         NULL, start iteration from the beginning.
15481 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15483         * malloc/malloc.c (musable): Return correct size for dumped fake
15484         mmapped chunk.
15486 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15488         [BZ #20222]
15489         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
15490         (_IO_cookie_write): Likewise.
15491         (_IO_cookie_seek): Likewise.
15492         (_IO_cookie_close): Likewise.
15493         (_IO_old_cookie_seek): Likewise.
15494         (set_callbacks): New function.
15495         (_IO_cookie_init): Call set_callbacks to copy callbacks.
15497 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
15499         * locale/programs/localedef.c (oldstyle_tables): Remove.
15500         * locale/programs/localedef.h (oldstyle_tables): Likewise.
15502 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
15504         [BZ #20240]
15505         * math/Makefile (CFLAGS-s_modf.c): New variable.
15506         (CFLAGS-s_modff.c): Likewise.
15507         (CFLAGS-s_modfl.c): Likewise.
15508         * math/libm-test.inc (modf_test_data): Add sNaN tests.
15510 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
15512         [BZ #20215]
15513         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
15514         [!__GNUC_PREREQ (3,2)]: Likewise.
15516 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15518         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
15519         (msghdr.msg_controllen): Likewise.
15520         (cmsghdr.cmsg_len): Likewise.
15521         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
15522         ptw-oldsendmsg.
15523         (CFLAGS-oldrecvmsg.c): Remove rule.
15524         (CFLAGS-oldsendmsg.c): Likewise.
15525         (CFLAGS-recvmsg.c): Add rule.
15526         (CFLAGS-sendmsg.c): Likewise.
15527         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
15528         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
15529         (CFLAGS-recvmsg.c): Remove rule.
15530         (CFLAGS-sendmsg.c): Likewise.
15531         (CFLAGS-oldrecvmsg.c): Likewise.
15532         (CFLAGS-oldsendmsg.c): Likewise.
15533         (CFLAGS-recvmmsg.c): Likewise.
15534         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
15535         to kernel defined interfaces.
15536         (msghdr.msg_controllen): Likewise.
15537         (cmsghdr.cmsg_len): Likewise.
15538         (msghdr.__glibc_reserved1): Remove member.
15539         (msghdr.__glibc_reserved2): Likewise.
15540         (cmsghdr.__glibc_reserved1): Likewise.
15541         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
15542         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
15543         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15544         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15545         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
15546         version.
15547         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15548         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
15549         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15550         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
15551         Remove recvmsg and sendmsg.
15552         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
15553         Likewise.
15554         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15555         Likewise.
15556         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15557         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15558         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15559         Likewise.
15560         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15561         Likewise.
15562         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
15563         [libc] (GLIBC_2.24): Likewise.
15564         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15565         Likewise.
15566         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15567         Likewise.
15568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15569         [libc] (GLIBC_2.24): Likewise.
15570         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15571         Likewise.
15572         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15573         Likewise.
15574         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15575         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15576         Likewise.
15577         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15578         Likewise.
15579         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15580         Likewise.
15581         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
15582         Likewise.
15583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
15584         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
15585         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
15586         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
15587         version for {recv,send,recm,sendm}msg.
15588         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15589         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15590         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15591         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15592         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15593         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15594         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15595         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15596         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15597         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15598         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15599         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15601         Likewise.
15602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15603         Likewise.
15604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15606         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15607         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15608         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15609         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15610         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15611         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15614         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15615         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15616         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15618 2016-06-10  Florian Weimer  <fweimer@redhat.com>
15620         [BZ #19564]
15621         Remove __malloc_initialize_hook from the API.
15622         * malloc/malloc.h (__malloc_initialize_hook): Remove.
15623         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
15624         #pragma GCC poison.
15625         * malloc/malloc-hooks.h: New file.
15626         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
15627         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
15628         (old__malloc_initialize_hook): Rename from
15629         __malloc_initialize_hook to evade poisoning.  Turn into compat
15630         symbol.
15631         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
15632         __malloc_initialize_hook.
15633         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
15634         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
15635         * manual/memory.texi (Hooks for Malloc): Remove
15636         __malloc_initialize_hook.  Adjust hook example.
15638 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
15640         [BZ #20235]
15641         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
15642         itself.
15643         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15644         * math/libm-test.inc (log2_test_data): Add sNaN tests.
15646         [BZ #20234]
15647         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
15648         infinity or NaN input to itself.
15650         [BZ #20233]
15651         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
15652         to itself.
15654         [BZ #20232]
15655         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
15656         itself.
15658 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
15660         * sysdeps/x86_64/start.S (_start): Always indirect branch to
15661         __libc_start_main via GOT.
15663 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
15665         * sysdeps/x86_64/memcopy.h: New file.
15666         * sysdeps/x86_64/wordcopy.c: Likewise.
15668 2016-06-09  Florian Weimer  <fweimer@redhat.com>
15670         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
15671         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
15672         <cstdlib>.
15673         (optimization_barrier): New.
15674         (do_test): Use it.  Call quick_exit in the global namespace.
15675         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
15676         instead of <cstdlib>, <thread>.
15677         (optimization_barrier): New.
15678         (non_main_thread): Adjust declaration.  Call optimization_barrier.
15679         Call quick_exit in the global namespace.
15680         (do_test): Call optimization_barrier.  Use pthread_create,
15681         pthread_join instead of std::thread.
15683 2016-06-09  Andreas Schwab  <schwab@suse.de>
15685         [BZ #19755]
15686         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
15687         new entries in auto-propagate mode.
15688         * nscd/grpcache.c (cache_addgr): Likewise.
15690 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15692         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
15693         New functions.
15694         (add_temp_file): Use them.
15696 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
15698         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
15700 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
15702         [BZ #20229]
15703         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
15704         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
15705         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
15707         [BZ #20228]
15708         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
15709         itself.
15710         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15711         * math/libm-test.inc (log10_test_data): Add sNaN tests.
15713         [BZ #20227]
15714         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
15715         itself.
15716         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15717         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15718         * math/libm-test.inc (log_test_data): Add sNaN tests.
15720         [BZ #20226]
15721         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
15722         itself.
15723         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15724         * math/libm-test.inc (exp_test_data): Add sNaN tests.
15725         (exp10_test_data): Likewise.
15726         (expm1_test_data): Likewise.
15728         [BZ #20225]
15729         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
15730         itself.
15731         * math/s_ldexpf.c (__ldexpf): Likewise.
15732         * math/s_ldexpl.c (__ldexpl): Likewise.
15733         * math/w_scalbln.c (__w_scalbln): Likewise.
15734         * math/w_scalblnf.c (__w_scalblnf): Likewise.
15735         * math/w_scalblnl.c (__w_scalblnl): Likewise.
15736         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
15737         (scalbln_test_data): Likewise.
15739         [BZ #20224]
15740         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
15741         argument to itself.
15742         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
15744 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
15746         [BZ #19776]
15747         * sysdeps/x86_64/memcpy.S: Make it dummy.
15748         * sysdeps/x86_64/mempcpy.S: Likewise.
15749         * sysdeps/x86_64/memmove.S: New file.
15750         * sysdeps/x86_64/memmove_chk.S: Likewise.
15751         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
15752         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
15753         * sysdeps/x86_64/memmove.c: Removed.
15754         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
15755         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15756         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
15757         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
15758         Likewise.
15759         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15760         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15762         memcpy-sse2-unaligned, memmove-avx-unaligned,
15763         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
15764         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15765         (__libc_ifunc_impl_list): Replace
15766         __memmove_chk_avx512_unaligned_2 with
15767         __memmove_chk_avx512_unaligned.  Remove
15768         __memmove_chk_avx_unaligned_2.  Replace
15769         __memmove_chk_sse2_unaligned_2 with
15770         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
15771         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
15772         with __memmove_avx512_unaligned.  Replace
15773         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
15774         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
15775         with __memcpy_chk_avx512_unaligned.  Remove
15776         __memcpy_chk_avx_unaligned_2.  Replace
15777         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
15778         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
15779         Replace __memcpy_avx512_unaligned_2 with
15780         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
15781         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
15782         with __mempcpy_chk_avx512_unaligned.  Remove
15783         __mempcpy_chk_avx_unaligned_2.  Replace
15784         __mempcpy_chk_sse2_unaligned_2 with
15785         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
15786         Replace __mempcpy_avx512_unaligned_2 with
15787         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
15788         Replace __mempcpy_sse2_unaligned_2 with
15789         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
15790         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
15791         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
15792         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
15793         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
15794         (ENTRY): Removed.
15795         (END): Likewise.
15796         (ENTRY_CHK): Likewise.
15797         (libc_hidden_builtin_def): Likewise.
15798         Don't include ../memcpy.S.
15799         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
15800         __memcpy_chk_avx512_unaligned_erms and
15801         __memcpy_chk_avx512_unaligned.  Use
15802         __memcpy_chk_avx_unaligned_erms and
15803         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
15804         Default to __memcpy_chk_sse2_unaligned.
15805         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15806         Change function suffix from unaligned_2 to unaligned.
15807         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
15808         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
15809         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
15810         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
15811         (ENTRY): Removed.
15812         (END): Likewise.
15813         (ENTRY_CHK): Likewise.
15814         (libc_hidden_builtin_def): Likewise.
15815         Don't include ../mempcpy.S.
15816         (mempcpy): New.  Add a weak alias.
15817         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
15818         __mempcpy_chk_avx512_unaligned_erms and
15819         __mempcpy_chk_avx512_unaligned.  Use
15820         __mempcpy_chk_avx_unaligned_erms and
15821         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
15822         Default to __mempcpy_chk_sse2_unaligned.
15824 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
15826         [BZ #19881]
15827         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
15828         into ...
15829         * sysdeps/x86_64/memset.S: This.
15830         (__bzero): Removed.
15831         (__memset_tail): Likewise.
15832         (__memset_chk): Likewise.
15833         (memset): Likewise.
15834         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
15835         defined.
15836         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
15837         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
15838         (__memset_zero_constant_len_parameter): Check SHARED instead of
15839         PIC.
15840         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15841         memset-avx2 and memset-sse2-unaligned-erms.
15842         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15843         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
15844         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
15845         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15846         (__bzero): Enabled.
15847         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
15848         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
15849         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
15850         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
15851         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15852         (memset): Removed.
15853         (__memset_chk): Likewise.
15854         (MEMSET_SYMBOL): New.
15855         (libc_hidden_builtin_def): Replace __memset_sse2 with
15856         __memset_sse2_unaligned.
15857         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
15858         __memset_chk_sse2 and __memset_chk_avx2 with
15859         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
15860         Use __memset_chk_sse2_unaligned_erms or
15861         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
15862         __memset_chk_avx512_unaligned_erms and
15863         __memset_chk_avx512_unaligned.
15865 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15867         * math/gen-auto-libm-test.c (fp_format_desc): remove
15868         suffix member.
15869         (output_generic_value): Remove usage of suffix member,
15870         and the resulting unuse of the fp_format argument.
15871         (output_for_one_input_case): Remove unused fp_format
15872         parameter.
15874         * math/auto-libm-test-out: Regenerate.
15876         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
15877         usage with TEST_COND_ibm128.
15878         (TEST_COND_flt_32): Remove.
15879         (TEST_COND_dbl_64): Remove.
15880         (TEST_COND_ldbl_96_intel): Remove.
15881         (TEST_COND_ldbl_96_m68k): Remove.
15882         (TEST_COND_ldbl_128): Remove.
15884 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15886         * auto-libm-test-in:
15887         Replace flt-32 usage with binary32.
15888         Replace dbl-64 usage with binary64.
15889         Replace ldbl-intel-96 usage with intel96.
15890         Replace ldbl-m68k-96 usage with m68k96.
15891         Replace ldbl-128ibm usage with ibm128.
15892         Replace ldbl-128 usage with binary128.
15894         * auto-libm-test-out: Regenerate.
15896 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15898         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
15899         (parse_ulps): Dynamically generate type name matching
15900         string from all_floats.
15901         (get_ulps): Generate the ulps as an array instead.
15902         (output_ulps): Dynamically compose the type based
15903         on the number of supported formats, and print
15904         the indices as type specific helper macros.
15906         * math/libm-test.inc: Remove comment about CHOOSE.
15907         (ulp_data): Generate the type in libm-test-ulps.h.
15908         (ULP_IDX): New macro.
15909         (find_ulps): Update usage of max_ulp.
15911         * math/test-double-vlen2.h (CHOOSE): Remove.
15912         * math/test-double-vlen4.h (CHOOSE): Likewise.
15913         * math/test-double-vlen8.h (CHOOSE): Likewise.
15914         * math/test-float.c (CHOOSE): Likewise.
15915         * math/test-float-finite.c (CHOOSE): Likewise.
15916         * math/test-double.c (CHOOSE): Likewise.
15917         * math/test-double-finite.c (CHOOSE): Likewise.
15918         * math/test-idouble.c (CHOOSE): Likewise.
15919         * math/test-ifloat.c (CHOOSE): Likewise.
15920         * math/test-ildoubl.c (CHOOSE): Likewise.
15921         * math/test-ldouble-finite.c (CHOOSE): Likewise.
15922         * math/test-ldouble.c (CHOOSE): Likewise.
15924         * math/test-float.h (TEST_FLOAT): Remove.
15925         * math/test-double.h (TEST_DOUBLE): Likewise.
15926         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
15928 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15930         * math/gen-libm-test.pl: (apply_lit): New subroutine.
15931         (parse_args): Strip C suffix from floating point literals
15932         typed with 'f' and wrap them with LIT().
15934         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
15935         (test_ff_f_data_nexttoward): Rename to
15936         (test_fj_f_data): New struct.
15937         (nexttoward_test_data): Relabel tests as
15938         TEST_fj_f instead of TEST_ff_f.
15940 2016-06-08  Florian Weimer  <fweimer@redhat.com>
15942         Emacs bug 23726.
15943         * malloc/malloc.c (dumped_main_arena_start): Update comment.
15944         (__libc_realloc): Correct size computation for dumped fake mmapped
15945         chunks.
15947 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
15949         [BZ #20219]
15950         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
15951         to itself.
15952         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
15954         [BZ #20218]
15955         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
15956         to itself.
15957         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
15959 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
15961         [BZ #20195]
15962         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
15963         check to ...
15964         (init_cpu_features): Here.
15966 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
15968         [BZ #20214]
15969         * sysdeps/unix/sysv/linux/bits/in.h
15970         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
15971          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
15972         Define to 1.
15973         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
15974          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
15975         Define to 0.
15976         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
15977         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
15979 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
15981         [BZ #20198]
15982         * stdlib/Makefile (tests): Add tst-quick_exit, and
15983         tst-thread-quick_exit.
15984         [ifeq ($(have-cxx-thread_local),yes)]
15985         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
15986         (CFLAGS-tst-thread-quick_exit.o): Likewise.
15987         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
15988         (LDLIBS-tst-thread-quick_exit): Likewise.
15989         [ifneq ($(have-cxx-thread_local),yes)]
15990         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
15991         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
15992         If run_dtors is true call __call_tls_dtors.
15993         (exit): Call __run_exit_handlers with run_dtors set to true.
15994         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
15995         definition.
15996         * stdlib/quick_exit.c (quick_exit): Remove function.
15997         (__new_quick_exit): New function.
15998         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
15999         function.
16000         * stdlib/tst-quick_exit.cc: New file.
16001         * stdlib/tst-thread-quick_exit.cc: New file.
16002         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
16003         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
16004         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
16005         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
16006         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
16007         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
16008         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
16009         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
16010         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
16011         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
16012         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
16013         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
16014         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
16015         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
16016         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
16017         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
16018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
16019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
16020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
16021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
16022         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
16023         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
16024         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
16025         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
16026         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
16027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
16028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
16029         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
16030         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
16031         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
16033 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
16035         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
16036         a typo in comments.
16038 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
16040         [BZ #20213]
16041         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
16042         argument to itself.
16043         * math/libm-test.inc (asin_test_data): Add sNaN tests.
16045 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16047         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
16048         required flags.
16049         (CFLAGS-pwritev64.c): Likewise.
16050         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
16051         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16052         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
16053         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16054         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
16055         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
16056         syscall from auto-generation.
16057         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
16058         [WORDSIZE == 64] (pwritev64): Remove macro.
16059         [!PWRITEV] (PWRITEV): Likewise.
16060         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
16061         [!PWRITEV] (PWRITE): Likewise.
16062         [!PWRITEV] (OFF_T): Likewise.
16063         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
16064         (LO_HI_LONG): Remove macro.
16065         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
16066         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
16067         (PWRITEV): Remove macro.
16068         (PWRITEV_REPLACEMENTE): Likewise.
16069         (PWRITE): Likewise.
16070         (OFF_T): Likewise.
16071         (pwritev64): New function.
16072         * nptl/tst-cancel4.c (tf_writev): Add test.
16074         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
16075         required flags.
16076         (CFLAGS-preadv64.c): Likewise.
16077         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
16078         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16079         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
16080         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
16081         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
16082         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
16083         syscall from auto-generation.
16084         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
16085         [WORDSIZE == 64] (preadv64): Remove macro.
16086         [!PREADV] (PREADV): Likewise.
16087         [!PREADV] (PREADV_REPLACEMENT): Likewise.
16088         [!PREADV] (PREAD): Likewise.
16089         [!PREADV] (OFF_T): Likewise.
16090         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
16091         (LO_HI_LONG): Remove macro.
16092         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
16093         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
16094         (PREADV): Remove macro.
16095         (PREADV_REPLACEMENTE): Likewise.
16096         (PREAD): Likewise.
16097         (OFF_T): Likewise.
16098         (preadv64): New function.
16099         * nptl/tst-cancel4.c (tf_preadv): Add test.
16101 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
16103         [BZ #20212]
16104         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
16105         argument to itself.
16106         * math/libm-test.inc (acos_test_data): Add sNaN tests.
16108 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16110         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
16111         New symbol defined as libc_hidden_def.
16112         (strcasestr): Became a weak alias to __strcasestr.
16113         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
16114         according to multi-arch support.  Move __stpncpy hidden
16115         definition from here to...
16116         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
16117         symbol stpncpy.
16118         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
16119         libc_hidden_builtin_def.
16120         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
16121         memset symbol to use when multi-arch support is available.
16123 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16125         * dlfcn/tst-rec-dlopen.c: Include string.h.
16127 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16129         * manual/install.texi: Remove mention of --without-tls
16130         * INSTALL: Regenerate.
16132 2016-06-05  Florian Weimer  <fweimer@redhat.com>
16134         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
16135         Remove.
16136         (call_function, interposed_malloc_called): New variables.
16137         (malloc): New function.
16138         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
16139         and clear call_function as needed.
16141 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
16143         * include/wchar.h (__wmemset): Use __typeof.
16145 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
16147         * include/wchar.h (__wmemset): Declare function without typeof.
16149 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
16151         [BZ #20205]
16152         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
16153         exponent when incrementing negative subnormal with low mantissa
16154         word zero.
16155         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16156         Add another test.
16158 2016-06-03  Florian Weimer  <fweimer@redhat.com>
16160         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
16161         __wmemset instead of wmemset.
16163 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
16165         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
16166         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
16167         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
16168         __USE_KERNEL_IPV6_DEFS to 0.
16169         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
16170         Update comment.
16172 2016-06-01  Florian Weimer  <fweimer@redhat.com>
16174         [BZ #19861]
16175         Do not use IFUNC resolver with potentially unrelocated symbol.
16176         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
16177         (DEFINE_FORK): Remove macro and inline definition.
16178         (fork_alias): Renamed from fork_ifunc.
16179         (__fork_alias): Renamed from __fork_ifunc.
16181 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
16183         [BZ 19653]
16184         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
16185         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
16187 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16189         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
16190         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
16191         i386-linux-gnu).
16192         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
16193         Set to no.
16194         * sysdeps/mach/hurd/configure: Refresh.
16196 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16198         [BZ #20178]
16199         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
16200         on failure instead of exit.
16202 2016-05-30  Roland McGrath  <roland@hack.frob.com>
16204         [BZ #3629]
16205         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
16206         of POSIX.1-2008.
16208 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16210         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
16211           Use PLT entry for calling _hurd_self_sigstate.
16213 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
16215         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
16216         available logical processors with SMT level type sharing L2
16217         cache for Intel processors.
16219 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16221         [BZ #20160]
16222         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
16223         argument to itself before returning the result.
16224         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
16225         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
16226         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
16227         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16228         Likewise.
16229         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16230         Likewise.
16231         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
16232         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
16233         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16234         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16235         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
16236         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
16238         [BZ #20160]
16239         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
16240         argument to itself before returning the result.
16241         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
16242         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
16243         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
16244         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
16245         Likewise.
16246         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16247         Likewise.
16248         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
16249         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
16250         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
16251         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16252         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
16253         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
16255 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16257         * libm-test.inc: Replace usage of M_El with
16258         (lit_e): New macro.
16260 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16262         * libm-test.inc: Replace usage of M_PI_4l with
16263         (lit_pi_4_d): New macro.
16265 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16267         * libm-test.inc: Replace usage of M_PIl with
16268         (lit_pi): New macro.
16270 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16272         * libm-test.inc: Replace usage of M_PI2l with
16273         (lit_pi_2_d): New macro.
16275         * math/test-double.h (LITM): New macro.
16276         * math/test-float.h (LITM): Likewise.
16277         * math/test-ldouble.h (LITM): Likewise.
16279 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16281         * libm-test.inc (M_PI_34l): Rename to
16282         (lit_pi_3_m_4_d): New Macro.
16283         (M_PI_34_LOG10El): Rename to
16284         (lit_pi_3_m_4_ln10_m_d): New Macro.
16285         (M_PI2_LOG10El): Rename to
16286         (lit_pi_2_ln10_m_d):  New Macro.
16287         (M_PI4_LOG10El): Rename to
16288         (lit_pi_4_ln10_m_d):  New Macro.
16289         (M_PI_LOG10El): Rename to
16290         (lit_pi_ln10_d):  New Macro.
16292 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16294         [BZ #20157]
16295         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
16296         determine whether to negate low half if [_ARCH_PPCGR], and integer
16297         comparison otherwise.
16298         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
16299         determine whether to negate low half.
16301         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
16302         (NO_TEST_INLINE_DOUBLE): Likewise.
16303         (TEST_COND_x86_64): Likewise.
16304         (TEST_COND_x86): Likewise.
16305         (M_PI_6l): Likewise.
16307 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16309         * math/libm-test.inc:
16310         (TEST_FLOAT): Change usage to TEST_COND_binary32.
16311         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
16312         (TEST_LDOUBLE): Update usage to evaluate as true if
16313         the guarded tests match the property being tested.
16314         (LDBL_MAX_EXP): Change to MAX_EXP.
16315         (LDBL_MIN_EXP): Change to MIN_EXP.
16316         (LDBL_MANT_DIG): Change to MANT_DIG, except for
16317         nexttoward tests.
16319 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16321         * math/libm-test.inc:
16322         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
16323         (TYPE_MIN): Likewise.
16324         (TYPE_TRUE_MIN): Likewise.
16325         (TYPE_MAX): Likewise.
16326         (MIN_EXP): Likewise.
16327         (MAX_EXP): Likewise.
16328         (MANT_DIG): Likewise.
16330         (FSTR_MAX): New macro.
16331         (__CONCATX): Likewise.
16332         (QTYPE_STR): Likewise.
16333         (TEST_COND_binary32): Likewise.
16334         (TEST_COND_binary64): Likewise.
16335         (TEST_COND_binary128): Likewise.
16336         (TEST_COND_ibm128): Likewise.
16337         (TEST_COND_intel96): Likewise.
16338         (TEST_COND_m68k96): Likewise.
16340         (TEST_COND_flt_32): Redefine as equivalent format test macro.
16341         (TEST_COND_dbl_64): Likewise.
16342         (TEST_COND_ldbl_96_intel): Likewise.
16343         (TEST_COND_ldbl_96_m68k): Likewise.
16344         (TEST_COND_ldbl_128): Likewise.
16345         (TEST_COND_ldbl_128ibm): Likewise.
16347         (plus_zero): Redefine using LIT macro.
16348         (minus_zero): Likewise.
16349         (plus_infty): Redefine as (INF).
16350         (minux_infty): Redefine as (-INF).
16351         (max_value): Redefine as TYPE_MAX.
16352         (min_value): Redefine as TYPE_MIN.
16353         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
16355         (print_float): Refactor to use snprintf to convert FLOAT values
16356         to string. This brings it closer to dropin replacement of strtof
16357         for the TS 18661 defined types.
16358         (update_stats): Likewise.
16359         (print_complex_function_ulps): Likewise.
16360         (print_max_error): Likewise.
16361         (print_complex_max_error): Likewise.
16362         (check_float_internal): Likewise.
16364         * math/test-float.h (PREFIX): New macro.
16365         (LIT): Likewise.
16366         (TYPE_STR): Likewise.
16367         (FTOSTR): Likewise.
16369         * math/test-double.h (PREFIX): New macro.
16370         (LIT): Likewise.
16371         (TYPE_STR): Likewise.
16372         (FTOSTR): Likewise.
16374         * math/test-ldouble.h (PREFIX): New macro.
16375         (LIT): Likewise.
16376         (TYPE_STR): Likewise.
16377         (FTOSTR): Likewise.
16379 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16381         [BZ #20156]
16382         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
16383         to itself when zero or not finite.
16384         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
16385         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16386         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
16387         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
16389 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
16391         [BZ #20153]
16392         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
16393         x * x + x for infinities and NaNs.
16395         [BZ #20151]
16396         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
16397         argument to itself before returning result.
16398         (__ieee754_y0l): Likewise.
16399         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16400         (__ieee754_y1l).
16402         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
16403         (atan_test_data): Likewise.
16404         (ceil_test_data): Likewise.
16405         (cos_test_data): Likewise.
16406         (cosh_test_data): Likewise.
16407         (erf_test_data): Likewise.
16408         (exp2_test_data): Likewise.
16409         (fabs_test_data): Likewise.
16410         (floor_test_data): Likewise.
16411         (ilogb_test_data): Likewise.
16412         (j0_test_data): Likewise.
16413         (j1_test_data): Likewise.
16414         (jn_test_data): Likewise.
16415         (lgamma_test_data): Likewise.
16416         (lrint_test_data): Likewise.
16417         (llrint_test_data): Likewise.
16418         (logb_test_data): Likewise.
16419         (lround_test_data): Likewise.
16420         (llround_test_data): Likewise.
16421         (nearbyint_test_data): Likewise.
16422         (rint_test_data): Likewise.
16423         (round_test_data): Likewise.
16424         (sin_test_data): Likewise.
16425         (sincos_test_data): Likewise.
16426         (sinh_test_data): Likewise.
16427         (sqrt_test_data): Likewise.
16428         (tan_test_data): Likewise.
16429         (tanh_test_data): Likewise.
16430         (tgamma_test_data): Likewise.
16431         (trunc_test_data): Likewise.
16432         (y0_test_data): Likewise.
16433         (y1_test_data): Likewise.
16434         (yn_test_data): Likewise.
16436         * math/libm-test.inc: Update comment about NaN testing.
16437         (TEST_SNAN): New macro.
16438         (snan_value): Likewise.
16439         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
16440         (fpclassify_test_data): Add sNaN tests.
16441         (isfinite_test_data): Likewise.
16442         (isinf_test_data): Likewise.
16443         (isnan_test_data): Likewise.
16444         (isnormal_test_data): Likewise.
16445         (issignaling_test_data): Likewise.
16446         (signbit_test_data): Likewise.
16447         * math/gen-libm-test.pl (%beautify): Add snan_value.
16448         (show_exceptions): Add argument $test_snan.
16449         (parse_args): Handle snan_value as non-finite.  Update call to
16450         show_exceptions.
16451         * math/Makefile (libm-test-no-inline-cflags): Add
16452         -fsignaling-nans.
16454 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16456         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
16457         (CFLAGS-oldsendmsg.c): Add rule.
16458         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16459         Correct recvmsg symbol name.
16460         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
16461         Likewise.
16463 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16465         * sysdeps/unix/sysv/linux/Makefile
16466         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
16467         oldsendmmsg.
16468         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
16469         sendmmsg.
16470         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16471         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16472         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16473         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16475         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16476         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16478         Likewise.
16479         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16480         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
16481         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16482         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
16483         iovlen and controllen fields to adjust to POSIX specification.
16484         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16486         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
16487         and change to correct expected type.
16488         (msghdr.msg_controllen): Likewise.
16489         (cmsghdr.cmsg_len): Likewise.
16490         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
16491         expected POSIX assumption about the size.
16492         (msghdr.msg_controllen): Likewise.
16493         (msghdr.__glibc_reserved1): Likewise.
16494         (msghdr.__glibc_reserved2): Likewise.
16495         (cmsghdr.cmsg_len): Likewise.
16496         (cmsghdr.__glibc_reserved1): Likewise.
16497         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
16498         Add ptw-oldrecvmsg and ptw-oldsendmsg.
16499         (CFLAGS-sendmsg.c): Remove rule.
16500         (CFLAGS-recvmsg.c): Likewise.
16501         (CFLAGS-oldsendmsg.c): Add rule.
16502         (CFLAGS-oldrecvmsg.c): Likewise.
16503         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
16504         recvmsg and sendmsg.
16505         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
16506         Likewise.
16507         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
16508         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
16509         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16510         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
16511         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16512         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16513         Likewise.
16514         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16515         Likewise.
16516         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
16517         Likewise.
16518         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
16519         Likewise.
16520         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
16521         Likewise.
16522         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
16523         Likewise.
16524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
16525         (GLIBC_2.24): Likewise.
16526         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
16527         Likewise.
16528         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
16529         Likewise.
16530         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
16531         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
16532         Likewise.
16533         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
16534         Likewise.
16535         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
16536         Likewise.
16537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
16538         (GLIBC_2.24): Likewise.
16539         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
16540         Likewise.
16541         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
16542         Likewise.
16543         * sysdeps/unix/sysv/linux/Makefile
16544         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
16545         (CFLAGS-sendmsg.c): Add rule.
16546         (CFLAGS-recvmsg.c): Likewise.
16547         (CFLAGS-oldsendmsg.c): Likewise.
16548         (CFLAGS-oldrecvmsg.c): Likewise.
16549         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
16550         initialization.
16551         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16552         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16553         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
16554         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
16555         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
16556         iovlen and controllen fields to adjust to POSIX specification.
16557         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
16558         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
16559         added recvmsg and sendmsg.
16560         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16561         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16562         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16563         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16564         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16565         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16566         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16567         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16568         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16569         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16570         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16571         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
16572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16573         Likewise.
16574         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
16575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16576         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16577         Likewise.
16578         Likewise.
16579         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16580         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16581         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16582         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16583         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16584         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16586         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16588         Likewise.
16589         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16590         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16592         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
16593         from auto-generation.
16594         (sendmsg): Likewise.
16595         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
16596         (sendmsg): Likewise.
16597         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
16598         (sendmsg): Likewise.
16599         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
16600         (sendmsg): Likewise.
16601         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
16602         (sendmsg): Likewise.
16603         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
16604         (sendmsg): Likewise.
16605         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
16606         Likewise.
16607         (sendmsg): Likewise.
16608         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
16609         (sendmsg): Likewise.
16610         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16611         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16612         Remove.
16613         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16614         Likewise.
16615         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16616         Undefine.
16617         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16618         Likewise.
16619         * sysdeps/unix/sysv/linux/kernel-features.h
16620         (__ASSUME_SENDMSG_SYSCALL): Define.
16621         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16622         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16623         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16624         Remove.
16625         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16626         Likewise.
16627         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16628         Undefine.
16629         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16630         Likewise.
16631         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16632         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16633         Remove.
16634         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16635         Likewise.
16636         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16637         Undefine.
16638         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16639         Likewise.
16640         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16641         (__ASSUME_SENDMSG_SYSCALL): Undefine.
16642         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16643         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16644         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16645         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16646         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16647         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16648         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16650 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16652         * stdlib/gen-tst-strtod-round.c: Add backslash to
16653         compile command in comment.
16654         (printfp): Remove the literal suffix, and define an infinite
16655         value as INF to avoid expansion clash with INFINITY.
16656         (round_str): Remove the literal suffix.
16657         (round_for_all): Likewise, remove the now duplicate ldbl-64
16658         entry, and remove some magic constants.
16660         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
16661         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
16662         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
16663         (_CONCAT): New macro.
16664         (CONCAT): Likewise.
16665         (CHOOSE_ld): Likewise.
16666         (CHOOSE_f): Likewise.
16667         (CHOOSE_d): Likewise.
16668         (FTYPE_MEMBER): Likewise.
16669         (BOOL_MEMBER): Likewise.
16670         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
16671         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
16672         (_XNTRY): Likewise.
16673         (XNTRY): Likewise.
16674         (_ENTRY): Likewise.
16675         (ENTRY): Likewise.
16676         (test_exactness): Generate members via macro.
16677         (test_results): Likewise.
16678         (test): Update members.
16679         (TEST): Redefine using new macros.
16680         (INF): New macro.
16681         (fetestmodes): New structure.
16682         (do_test): Refactor to be type generic.
16683         (test_in_one_mode): Refactor duplicate code into
16684         (GEN_ONE_TEST): New macro.
16686         * stdlib/tst-strtod-round-data.h: Regenerate.
16688         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
16689         Extend to pass additional arbitrary parameters to
16690         generators.
16692 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
16694         [BZ #15479]
16695         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
16696         floating-point state after first floating-point operation on
16697         input.  Restore full floating-point state instead of just rounding
16698         mode.
16699         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
16700         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
16701         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
16702         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
16703         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
16705         [BZ #15479]
16706         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
16707         floating-point state after first floating-point operation on
16708         input.  Restore full floating-point state instead of just rounding
16709         mode.
16710         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
16711         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
16712         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
16713         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
16714         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
16716 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16718         [BZ #19727]
16719         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
16720         valid high surrogate.
16721         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
16722         of an utf16 surrogate.
16723         * iconv/gconv_simple.c (BODY): Likewise.
16724         * iconvdata/bug-iconv12.c: New file.
16725         * iconvdata/Makefile (tests): Add bug-iconv12.
16727 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16729         [BZ #19726]
16730         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
16731         outptrp in case of an illegal input.
16732         * iconv/tst-iconv6.c: New file.
16733         * iconv/Makefile (tests): Add tst-iconv6.
16735 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16737         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
16738         an error in case of a value in range of an utf16 low surrogate.
16740 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16742         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
16743         an error in case of a value in range of an utf16 low surrogate.
16745 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16747         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
16748         Move to ...
16749         * sysdeps/s390/Makefile: ... here.
16750         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
16751         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
16752         (BRANCH_ON_COUNT): New define.
16753         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
16754         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
16755         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
16756         run on s390-32, too.
16757         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
16758         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
16759         run on s390-32, too.
16760         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
16761         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
16762         run on s390-32, too.
16764 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16766         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
16767         etf3eh or new vector loop-variant.
16769 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16771         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
16772         etf3eh or new vector loop-variant.
16774 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16776         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
16777         or new vector loop-variant.
16779 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16781         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
16782         Rename to TR_LOOP and usage of tr instead of troo instruction.
16784 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16786         * sysdeps/s390/multiarch/gconv_simple.c: New File.
16787         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
16789 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16791         * sysdeps/s390/multiarch/8bit-generic.c: New File.
16792         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
16793         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
16794         New override define.
16795         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
16797 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16799         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
16800         * sysdeps/s390/configure.ac: Add test for S390 vector register
16801         support in gcc.
16802         * sysdeps/s390/configure: Regenerated.
16804 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16806         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
16807         Install file from $(objpfx)gconv-modules.
16808         ($(objpfx)gconv-modules): Concatenate architecture specific file
16809         in variable sysdeps-gconv-modules and gconv-modules in src dir.
16810         * sysdeps/s390/gconv-modules: New file.
16811         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
16812         Deleted.
16813         ($(objpfx)gconv-modules-s390): Deleted.
16814         (sysdeps-gconv-modules): New variable.
16816 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
16818         [BZ #15479]
16819         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
16820         of immediate operand to rounding instruction.
16821         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
16822         Likewise.
16823         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
16824         Likewise.
16825         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
16826         Likewise.
16828 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16830         * math/libm-test.inc (MIN_EXP): Directly define as
16831         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
16833 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16835         * math/libm-test.inc (MANT_DIG): Directly define as
16836         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
16838 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16840         * stdlib/gen-tst-strtod-round.c (main):
16841           Change usage to more closely match the generated
16842           output.  Add usage and compilation instructions.
16843           (string_to_fp): Add and use FILE* parameter as
16844           output target.
16845           (print_fp): Likewise.
16846           (round_str): Likewise.
16847           (round_for_all): Likewise.
16848         * stdlib/tst-strtod-round.c (tests): Move into
16849         * stdlib/tst-strtod-round-data.h: New file.
16851 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
16853         [BZ #15479]
16854         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
16855         (__round): Do not force "inexact" exception.
16856         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
16857         variable.
16858         (__round): Do not force "inexact" exception.
16859         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
16860         (__roundf): Do not force "inexact" exception.
16861         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
16862         (__roundl): Do not force "inexact" exception.
16863         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
16864         (__roundl): Do not force "inexact" exception.
16865         * math/libm-test.inc (round_test_data): Do not allow spurious
16866         "inexact" exceptions.
16868         [BZ #15479]
16869         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
16870         exception in comment.
16871         (huge): Remove variable.
16872         (__floor): Do not force "inexact" exception.
16873         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
16874         "inexact" exception in comment.
16875         (huge): Remove variable.
16876         (__floor): Do not force "inexact" exception.
16877         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
16878         exception in comment.
16879         (huge): Remove variable.
16880         (__floorf): Do not force "inexact" exception.
16881         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
16882         exception in comment.
16883         (huge): Remove variable.
16884         (__floorl): Do not force "inexact" exception.
16886         [BZ #15479]
16887         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
16888         exception in comment.
16889         (huge): Remove variable.
16890         (__ceil): Do not force "inexact" exception.
16891         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
16892         "inexact" exception in comment.
16893         (huge): Remove variable.
16894         (__ceil): Do not force "inexact" exception.
16895         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
16896         (__ceilf): Do not force "inexact" exception.
16897         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
16898         exception in comment.
16899         (huge): Remove variable.
16900         (__ceill): Do not force "inexact" exception.
16902 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16904         * config.h.in (BIND_NOW): New.
16905         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
16906         * configure: Regenerated.
16907         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
16908         indirect branch via the GOT slot.
16910 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16912         [BZ #19765]
16913         * sysdeps/s390/mempcpy.S: New File.
16914         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16915         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
16916         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16917         Add mempcpy variants.
16918         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
16919         (memcpy): Adjust to be usable from mempcpy entry point.
16920         (__memcpy_mvcle): Likewise.
16921         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16922         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
16923         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
16924         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
16925         (__memcpy_z10): Likewise.
16926         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
16928 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16930         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
16931         Remove __GI_ symbol.
16932         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
16933         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
16934         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
16935         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
16936         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
16937         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
16939 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16941         * sysdeps/s390/s390-64/memcpy.S (memcpy):
16942         Use cghi instead of chi to compare 64bit value.
16944 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16946         * sysdeps/s390/s390-32/memcpy.S (memcpy):
16947         Jump to 1MB check before executing mvc-loop.
16949 2016-05-24  Florian Weimer  <fweimer@redhat.com>
16951         [BZ #6527]
16952         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
16953         unconditionally.
16954         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
16956 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16958         * stdlib/tst-strtod6.c (do_test): Use new type generic
16959         invocation of the test function.
16960         (test): Refactor into ...
16961         (TEST_STRTOD): New macro base function.
16963 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16965         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
16966         (TEST_STRTOD): New macro.
16967         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
16969 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16971         * stdlib/tst-strtod6.c (do_test): Use new type generic
16972         invocation of the test function.
16973         (test): Refactor into ...
16974         (TEST_STRTOD): New macro base function.
16976 2016-05-23  Florian Weimer  <fweimer@redhat.com>
16978         CVE-2016-4429
16979         [BZ #20112]
16980         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
16981         payload.
16983 2016-05-23  Florian Weimer  <fweimer@redhat.com>
16985         [BZ #20111]
16986         * bits/sockaddr.h (_SS_SIZE): Define.
16987         * bits/socket.h (_SS_SIZE): Remove.
16988         (_SS_PADSIZE): Adjust to account for all padding.
16989         (struct sockaddr_storage): Update comment.  Avoid implicit
16990         padding.
16991         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
16992         (_SS_PADSIZE): Adjust to account for all padding.
16993         (struct sockaddr_storage): Update comment.  Avoid implicit
16994         padding.
16995         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
16996         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
16997         (_SS_PADSIZE): Adjust to account for all padding.
16998         (struct sockaddr_storage): Update comment.  Avoid implicit
16999         padding.
17000         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
17001         __SS_SIZE is 126 in this version.
17002         * inet/tst-sockaddr.c: New file.
17003         * inet/Makefile (tests): Add tst-sockaddr.c
17004         (tst-sockaddr.c): Compile with non-strict aliasing.
17006 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
17008         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
17009         [XPG3 || XPG4].
17010         (NL_ARGMAX): Also expect for [XPG3].
17011         (NL_LANGMAX): Likewise.
17012         (NL_MSGMAX): Likewise.
17013         (NL_NMAX): Likewise.
17014         (NL_SETMAX): Likewise.
17015         (NL_TEXTMAX): Likewise.
17016         (NZERO): Likewise.
17017         (TMP_MAX): Likewise.
17018         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
17019         variable.
17021         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
17022         (PF_MAX): Update value.
17023         (AF_KCM): New macro.
17024         (SOL_NETBEUI): Likewise.
17025         (SOL_LLC): Likewise.
17026         (SOL_DCCP): Likewise.
17027         (SOL_NETLINK): Likewise.
17028         (SOL_TIPC): Likewise.
17029         (SOL_RXRPC): Likewise.
17030         (SOL_PPPOL2TP): Likewise.
17031         (SOL_BLUETOOTH): Likewise.
17032         (SOL_PNPIPE): Likewise.
17033         (SOL_RDS): Likewise.
17034         (SOL_IUCV): Likewise.
17035         (SOL_CAIF): Likewise.
17036         (SOL_ALG): Likewise.
17037         (SOL_NFC): Likewise.
17038         (SOL_KCM): Likewise.
17039         (MSG_BATCH): New enum value and macro.
17041 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
17043         [BZ #18185]
17044         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
17045         sharing L2 cache to 2 for Knights Landing.
17047 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
17049         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
17050         (FTW_DP): Do not expect for [XPG3 || XPG4].
17051         (FTW_SL): Do not expect for [XPG3].
17052         (FTW_SLN): Likewise.
17053         (FTW_PHYS): Likewise.
17054         (FTW_MOUNT): Likewise.
17055         (FTW_DEPTH): Likewise.
17056         (FTW_CHDIR): Likewise.
17057         (nftw): Likewise.
17058         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
17059         variable.
17061 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
17063         * manual/errno.texi: Fix various typos & grammar errors.
17065 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
17067         * manual/intro.texi: Fix duplicated typo.
17069 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
17071         [BZ #13304]
17072         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
17073         <float.h>, <math_private.h> and <stdlib.h>.
17074         (add_split): New function.
17075         (mul_split): Likewise.
17076         (ext_val): New typedef.
17077         (store_ext_val): New function.
17078         (mul_ext_val): New function.
17079         (compare): New function.
17080         (add_split_ext): New function.
17081         (__fmal): After checking for Inf, NaN and zero, compute result as
17082         an exact sum of scaled double values in round-to-nearest before
17083         adding those up and adjusting for other rounding modes.
17084         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
17085         tests of fma.
17086         * math/auto-libm-test-out: Regenerated.
17088 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17090         [BZ #20119]
17091         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
17092         processor level type mask for CPUID with EAX == 11.
17094 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17096         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
17097         logical threads if the HTT bit is 0.
17098         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
17099         (index_cpu_HTT): Likewise.
17100         (reg_HTT): Likewise.
17102 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17104         [BZ #20115]
17105         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
17106         Remove alignments on jump targets.
17108 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
17110         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
17111         (getpwent): Likewise.
17112         (setpwent): Likewise.
17113         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
17114         variable.
17116         * conform/data/search.h-data (insque): Do not expect for [XPG3].
17117         (remque): Likewise.
17118         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
17119         variable.
17121 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
17123         * math/libm-test.inc: Update comment not to refer to signs of NaNs
17124         not being tested.
17126 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17128         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17129         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
17130         call.
17131         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17132         (__condvar_cleanup1): Likewise.
17134 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17136         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
17137         New
17138         (__pthread_unwind): Renamed to ...
17139         (PTHREAD_UNWIND): This.
17140         (__pthread_enable_asynccancel): Replace
17141         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
17143 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
17145         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
17146         (CLONE_NEWCGROUP): New macro.
17148         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
17149         (Q_GETNEXTQUOTA): New macro.
17151 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17153         [BZ #19907]
17154         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
17155         buffer updated by the previous run.
17156         * string/test-memcpy.c (do_one_test): Likewise.
17157         * benchtests/bench-memmove.c (do_one_test): Add a comment.
17158         * string/test-memmove.c (do_one_test): Likewise.
17160 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
17162         [BZ #20094]
17163         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
17164         not [__USE_XOPEN].
17165         (unlockpt): Likewise.
17166         (ptsname): Likewise.
17167         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
17168         variable.
17170         [BZ #20076]
17171         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
17172         instead of [__USE_UNIX98].
17173         (S_ISSOCK): Likewise.
17174         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
17175         variable.
17177         [BZ #20074]
17178         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
17179         [__USE_POSIX].
17180         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
17181         variable.
17183         [BZ #20051]
17184         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
17185         (ttyslot): Do not declare.
17186         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
17187         (ttyslot): New prototype.
17188         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
17189         variable.
17190         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17192 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17194         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
17196 2016-05-13  Florian Weimer  <fweimer@redhat.com>
17198         Fix race condition in tst-mallocfork2, use fewer resources.
17199         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
17200         to current process group.
17201         (signal_sender): Yield in the non-sleeping case.
17203 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
17205         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
17206         (ecvt): Likewise.
17207         (fcvt): Likewise.
17208         (gcvt): Likewise.
17209         (getsubopt): Likewise.
17210         (grantpt): Likewise.
17211         (initstate): Likewise.
17212         (l64a): Likewise.
17213         (mktemp): Likewise.
17214         (mkstemp): Likewise.
17215         (ptsname): Likewise.
17216         (random): Likewise.
17217         (realpath): Likewise.
17218         (setstate): Likewise.
17219         (srandom): Likewise.
17220         (ttyslot): Likewise.
17221         (unlockpt): Likewise.
17222         (valloc): Likewise.
17224         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
17225         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
17226         variable.
17228 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17230         [BZ #20072]
17231         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
17232         init_cpu_features only if SHARED is defined.
17233         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
17235 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17237         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
17238         non-inclusive caches on Intel processors.
17240 2016-05-13  Florian Weimer  <fweimer@redhat.com>
17242         * malloc/malloc.c (dumped_main_arena_start)
17243         (dumped_main_arena_end): New variables.
17244         (DUMPED_MAIN_ARENA_CHUNK): New macro.
17245         (do_check_chunk): Skip dumped fake mmapped chunks.
17246         (munmap_chunk): Likewise.
17247         (__libc_free): Do not adjust statistics for fake mmapped chunks.
17248         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
17249         mmapped chunks.
17250         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
17251         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
17252         and dumped_main_arena_end to cover the dumped heap.
17254 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
17256         * conform/data/time.h-data (getdate_err): Do not expect for
17257         [XPG3].
17258         (getdate): Likewise.
17259         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
17260         variable.
17262         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
17263         (F_ULOCK): Likewise.
17264         (F_TEST): Likewise.
17265         (F_TLOCK): Likewise.
17266         (useconds_t): Likewise.
17267         (intptr_t): Do not expect for [XPG3] or [XPG4].
17268         (brk): Do not expect for [XPG3]
17269         (fchown): Likewise.
17270         (fchdir): Likewise.
17271         (ftruncate): Likewise.
17272         (getdtablesize): Likewise.
17273         (gethostid): Likewise.
17274         (getpagesize): Likewise.
17275         (getpgid): Likewise.
17276         (getsid): Likewise.
17277         (getwd): Likewise.
17278         (lchown): Likewise.
17279         (lockf): Likewise.
17280         (readlink): Likewise.
17281         (sbrk): Likewise.
17282         (setpgrp): Likewise.
17283         (setregid): Likewise.
17284         (setreuid): Likewise.
17285         (symlink): Likewise.
17286         (sync): Likewise.
17287         (truncate): Likewise.
17288         (ualarm): Likewise.
17289         (usleep): Likewise.
17290         (vfork): Likewise.
17291         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
17292         variable.
17294         [BZ #20054]
17295         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
17296         not [__USE_UNIX98].
17297         * conform/data/unistd.h-data (gethostname): Do not expect for
17298         [XPG3].
17300         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
17301         [!POSIX] (S_IFBLK): Likewise.
17302         [!POSIX] (S_IFCHR): Likewise.
17303         [!POSIX] (S_IFIFO): Likewise.
17304         [!POSIX] (S_IFREG): Likewise.
17305         [!POSIX] (S_IFDIR): Likewise.
17306         [!POSIX] (S_IFLNK): Likewise.
17307         [!POSIX] (S_IFSOCK): Likewise.
17308         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
17309         variable.
17310         (test-xfail-XPG4/fcntl.h/conform): Likewise.
17312 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
17314         * sysdeps/aarch64/memset.S (__memset):
17315         Rewrite of optimized memset.
17317 2016-05-12  Florian Weimer  <fweimer@redhat.com>
17319         [BZ #19703]
17320         Partially async-signal-safe fork for single-threaded processes.
17321         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
17322         variable.  Do not acquire and reset/release malloc and libio locks
17323         in single-threaded processes.
17324         * malloc/tst-mallocfork2.c: New file.
17325         * malloc/Makefile (tests): Add it.
17327 2016-05-12  Florian Weimer  <fweimer@redhat.com>
17329         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
17330         argument.  Use scratch buffer instead of extend_alloca.
17331         (gethosts): Use scratch buffer instead of extend_alloca.
17332         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
17333         extend_alloca.
17334         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
17336 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
17338         [BZ #20055]
17339         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
17340         instead of [__USE_UNIX98].
17341         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
17342         [__USE_UNIX98].
17343         * conform/data/termios.h-data (tcgetsid): Do not expect for
17344         [XPG3].
17345         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
17346         variable.
17347         (test-xfail-XPG4/termios.h/conform): Likewise.
17349 2016-05-11  Florian Weimer  <fweimer@redhat.com>
17351         Do not use mcheck in localedef.
17352         * locale/programs/localedef.c (turn_on_mcheck)
17353         (__malloc_initialize_hook): Remove.
17355 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17357         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
17358         * sysdeps/s390/s390-64/Makefile: Likewise.
17360 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17362         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
17363         Remove ifunc-defines.sym.
17364         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
17365         Likewise.
17366         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
17367         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17368         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
17369         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
17370         rtld-global-offsets.sym.
17371         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
17372         * sysdeps/x86/cpu-features-offsets.sym: This.
17373         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
17374         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
17376 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
17378         [BZ #20073]
17379         * io/sys/stat.h (fchmod): Declare for
17380         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
17381         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
17382         variable.
17384         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
17385         [XPG3] (S_IFSOCK): Likewise.
17386         [XPG3] (S_ISVTX): Likewise.
17387         [XPG3] (S_ISLNK): Likewise.
17388         [XPG3] (S_ISSOCK): Likewise.
17389         [XPG3] (fchmod): Likewise.
17390         [XPG3] (lstat): Likewise.
17391         [XPG3] (mknod): Likewise.
17393         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
17394         [XPG3].  Expect type long and XFAIL for [XPG4].
17395         (st_blocks): Likewise.
17397         [BZ #20044]
17398         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
17399         (pthread_atfork): New prototype.
17400         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
17401         variable.
17403         [BZ #20043]
17404         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
17405         prototype.
17407 2016-05-10  Florian Weimer  <fweimer@redhat.com>
17409         [BZ #20017]
17410         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
17411         gmtime.
17413 2016-05-10  Florian Weimer  <fweimer@redhat.com>
17415         [BZ #19994]
17416         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
17417         flag in _res.options.
17419 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
17421         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
17422         [XPG3 || XPG4].
17423         (blksize_t): Likewise.
17424         (clockid_t): Likewise.
17425         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
17426         variable.
17427         (test-xfail-XPG4/sys/types.h/conform): Likewise.
17429 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17431         * sysdeps/unix/sysv/linux/s390/init-first.c:
17432         Add VDSO_SYMBOL(getcpu).
17433         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
17434         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
17435         Add VDSO_SYMBOL(getcpu).
17436         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
17437         New define HAVE_GETCPU_VSYSCALL.
17438         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17440 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
17442         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
17443         instead of <sysdeps/x86_64/cacheinfo.c>.
17444         * sysdeps/x86_64/cacheinfo.c: Moved to ...
17445         * sysdeps/x86/cacheinfo.c: Here.
17447 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17449         * malloc/malloc-internal.h: Adjust header file guard.
17451 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17453         [BZ #19787]
17454         * inet/getnameinfo.c (check_sprintf_result): New function.
17455         (CHECKED_SNPRINTF): New macro.
17456         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
17457         to the host buffer.
17458         (gni_host_local): Use checked_copy to copy the host name.
17459         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
17460         (gni_serv_local): Use checked_copy to copy the service name.
17461         (getnameinfo): Remove unnecessary truncation of result buffers.
17463 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17465         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
17466         in case of inet_ntop failure.
17468 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17470         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
17471         avoid long lines.
17472         (gni_host_inet_numeric): Likewise.  Reduce scope of local
17473         variables.
17474         (gni_host_inet, gni_host_local): Add comment.
17475         (gni_host): Add comment.  Use temporary to avoid long lines.
17477 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17479         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
17480         registers specifiers where general purpose registers specifiers should
17481         have been used.
17483 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17485         [BZ #19779]
17486         CVE-2016-1234
17487         Avoid copying names of directory entries.
17488         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
17489         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
17490         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
17491         (struct readdir_result): New type.
17492         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
17493         (GL_READDIR): New macros.
17494         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
17495         (convert_dirent, convert_dirent64): New functions.
17496         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
17497         convert_dirent64.  Adjust references to the readdir result.
17498         * sysdeps/unix/sysv/linux/i386/glob64.c:
17499         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
17500         * posix/bug-glob2.c (LONG_NAME): Define.
17501         (filesystem): Add LONG_NAME.
17502         (my_DIR): Increase the size of room_for_dirent.
17504 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
17506         [BZ #20041]
17507         * misc/sys/select.h (__need_timespec): Only define if
17508         [__USE_XOPEN2K].
17509         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
17510         variable.
17511         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17512         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17513         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17515 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17516             Segher Boessenkool  <segher@gcc.gnu.org>
17518         [BZ #20004]
17519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
17520         (__novec_swapcontext): Add missing load.
17522 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
17524         [BZ #20023]
17525         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
17526         <time.h>.
17527         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
17528         variable.
17529         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17531 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
17534         flags CLONE_VM compare.
17536 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17538         [BZ #20031]
17539         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
17540         completely empty.
17542 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17544         [BZ #19573]
17545         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
17546         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
17547         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
17548         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
17549         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
17550         (hesiod_free_list): Mark as hidden.
17551         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
17552         res_set, res_get.
17553         * hesiod/hesiod.c: Remove unnecessary forward declarations.
17554         (init, __hesiod_res_get, __hesiod_res_set): Remove.
17555         (hesiod_init): Remove obsolete res_ninit call.
17556         (hesiod_end): Do not free resolver state.  Do not invoke callback.
17557         (hesiod_bind): Do not call init.
17558         (get_txt_records): Use res_mkquery, res_send instead of
17559         res_nmkquery, res_nsend.
17560         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
17561         instead of _nss_hesiod_init.
17562         (_nss_hesiod_initgroups_dyn): Likewise.
17563         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
17564         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
17565         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
17567 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17569         * hesiod/hesiod_p.h (DEF_RHS): Remove.
17570         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
17572 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17574         * hesiod/hesiod.h: Remove RCS keyword.
17575         * hesiod/hesiod_p.h: Likewise.
17577         * hesiod/hesiod.c: Likewise.
17579 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
17581         [BZ #12450]
17582         * locale/iso-639.def: Add Samogitian/sgs.
17584 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
17586         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
17588         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
17590 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
17591             Carlos O'Donell  <carlos@redhat.com>
17593         [BZ #19072]
17594         * grp/Makefile (headers): Add grp-merge.h
17595         (routines): Add grp-merge.
17596         * grp/getgrgid_r.c: Include grp-merge.h.
17597         (DEEPCOPY_FN): Define.
17598         (MERGE_FN): Define.
17599         * grp/getgrname_r.c: Include grp-merge.h.
17600         (DEEPCOPY_FN): Define.
17601         (MERGE_FN): Define.
17602         * grp/grp-merge.c: New file.
17603         * grp/grp-merge.h: New file.
17604         * include/grp-merge.h: New file.
17605         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
17606         __copy_grp@GLIBC_PRIVATE.
17607         * manual/nss.texi (Actions in the NSS configuration): Describe
17608         return, continue, and merge.
17609         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
17610         (DEEPCOPY_FN): Define.
17611         (MERGE_FN): Define.
17612         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
17613         (DEEPCOPY_FN): Define.
17614         (MERGE_FN): Define.
17615         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
17616         [!MERGE_FN]: Define __merge_einval.
17617         (CHECK_MERGE): Define.
17618         (REENTRANT_NAME): Process merge if do_merge is true.
17619         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
17620         (__nss_getent_r): Likewise.
17621         * nss/nsswitch.c (nss_parse_service_list): Likewise.
17622         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
17624 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17626         [BZ #20012]
17627         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
17628         length to calculate the buffer to read.
17629         (fmemopen_write): Set the buffer position based on bytes written.
17630         (fmemopen_seek): Return EINVAL for invalid whence modes.
17632         [BZ #19957]
17633         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
17634         tst-getpid2.
17635         (test): Add tst-clone2.
17636         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
17637         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
17638         pid/tid fields for CLONE_VM.
17639         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17640         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17641         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17642         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
17643         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17644         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17645         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17646         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17648         Likewise.
17649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17650         Likewise.
17651         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17652         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17653         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17654         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17655         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17656         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17657         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17658         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
17660 2016-04-29  Florian Weimer  <fweimer@redhat.com>
17662         [BZ #19642]
17663         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
17664         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
17665         (gni_serv_local, gni_serv): New functions extracted from
17666         getnameinfo.
17667         (getnameinfo): Call gni_host and gni_serv to perform the
17668         processing.  Always free scratch buffer.
17670 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17672         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
17673         remaining bytes in the dest string, with zeros.
17675 2016-04-29  Florian Weimer  <fweimer@redhat.com>
17677         [BZ #20010]
17678         CVE-2016-3706
17679         * sysdeps/posix/getaddrinfo.c
17680         (convert_hostent_to_gaih_addrtuple): New function.
17681         (gethosts): Call convert_hostent_to_gaih_addrtuple.
17682         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
17683         AF_INET data.
17685 2016-04-29  Florian Weimer  <fweimer@redhat.com>
17687         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
17688         callback function gl_readdir.
17689         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
17690         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
17691         (glob_in_dir): Remove len.  Use strdup instead of malloc and
17692         memcpy to copy the name.
17693         * manual/pattern.texi (Calling Glob): Document requirements for
17694         implementations of the gl_readdir callback function.
17695         * manual/examples/mkdirent.c: New example.
17696         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
17697         per the manual guidance.
17698         * posix/tst-gnuglob.c (my_readdir): Likewise.
17700 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
17702         [BZ #20014]
17703         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
17704         not [__USE_POSIX].
17705         (getchar_unlocked): Likewise.
17706         (putc_unlocked): Likewise.
17707         (putchar_unlocked): Likewise.
17708         (flockfile): Likewise.
17709         (ftrylockfile): Likewise.
17710         (funlockfile): Likewise.
17711         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
17712         variable.
17713         (test-xfail-XPG4/stdio.h/conform): Likewise.
17715         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
17716         Expect constant.
17717         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
17718         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
17719         variable.
17720         (test-xfail-XPG4/langinfo.h/conform): Likewise.
17721         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17723         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
17724         [__USE_LARGEFILE64] (off64_t): Likewise.
17725         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
17726         variable.
17728 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17730         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
17732 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17734         * resolv/inet_addr.c: Reindent preprocessor conditionals.
17735         * resolv/res_init.c: Likewise.
17736         * resolv/res_mkquery.c: Likewise.
17738 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17740         * resolv/res_init.c (isascii): Do not define.  Use definition in
17741         <ctype.h>.
17742         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
17743         (LOG_AUTH): Remove.
17744         (SPRINTF): Remove, adjust caller.
17745         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
17747 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17749         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
17750         SUNSECURITY conditional.
17751         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
17753 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17755         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
17756         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
17757         Remove BSD-related preprocessor conditionals.
17758         * conf/portability.h: Remove.
17760 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17762         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
17763         * resolv/res_data.c: Likewise.
17765 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17767         * resolv/res_comp.c: Remove code conditional on __ultrix__.
17768         * resolv/res_data.c: Remove code conditional on ultrix.
17770 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17772         * resolv/res_init.c (RFC1535): Do not define.  Remove
17773         RFC1535 preprocessor conditionals.
17774         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
17775         because there configuration options which make the resolver
17776         behavior different.
17778 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17780         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
17781         RESOLVSORT preprocessor conditionals.
17782         * resolv/nss_dns/dns-host.c: Likewise.
17783         * resolv/res_init.c: Likewise.
17785 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17787         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
17788         is never defined.
17790 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17792         * inet/inet_lnaof.c: Remove SCSS keyword.
17793         * inet/inet_mkadr.c: Likewise.
17794         * inet/inet_net.c: Likewise.
17795         * inet/inet_netof.c: Likewise.
17796         * inet/rcmd.c: Likewise.
17797         * inet/rexec.c: Likewise.
17798         * inet/ruserpass.c: Likewise.
17800 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17802         * resolv/inet_addr.c: Remove _LIBC conditionals.
17803         * resolv/res_data.c: Likewise.
17804         * resolv/res_init.c: Likewise.
17805         * resolv/res_mkquery.c: Likewise.
17806         * resolv/res_libc.c: Update comment.
17807         * resolv/README: Update.
17809 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17811         * resolv/gethnamaddr.c: Remove SCSS keyword.
17812         * resolv/herror.c: Likewise.
17813         * resolv/inet_addr.c: Likewise.
17814         * resolv/inet_net_ntop.c: Likewise.
17815         * resolv/inet_net_pton.c: Likewise.
17816         * resolv/inet_neta.c: Likewise.
17817         * resolv/inet_ntop.c: Likewise.
17818         * resolv/inet_pton.c: Likewise.
17819         * resolv/ns_date.c: Remove RCS keyword.
17820         * resolv/ns_name.c: Likewise.
17821         * resolv/ns_netint.c: Likewise.
17822         * resolv/ns_parse.c: Likewise.
17823         * resolv/ns_print.c: Likewise.
17824         * resolv/ns_samedomain.c: Likewise.
17825         * resolv/ns_ttl.c: Likewise.
17826         * resolv/nsap_addr.c: Likewise.
17827         * resolv/res_comp.c: Remove SCSS and RCS keyword.
17828         * resolv/res_data.c: Remove RCS keyword.
17829         * resolv/res_debug.c: Remove SCSS and RCS keyword.
17830         * resolv/res_init.c: Likewise.
17831         * resolv/res_mkquery.c: Likewise.
17832         * resolv/res_query.c: Likewise.
17833         * resolv/res_send.c: Likewise.
17835 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
17837         * conform/data/stdio.h-data (fdopen): Expect also for
17838         [XPG3 || XPG4].
17840         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
17841         (fseeko): Likewise.
17842         (ftello): Likewise.
17843         (ftrylockfile): Likewise.
17844         (funlockfile): Likewise.
17845         (getc_unlocked): Likewise.
17846         (getchar_unlocked): Likewise.
17847         (putc_unlocked): Likewise.
17848         (putchar_unlocked): Likewise.
17850 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17852         [BZ #19868]
17853         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
17854         DNS packet syntax checks (which were not needed before).  Skip
17855         over non-PTR records.
17857 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17859         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
17860         definition.  Include <stddef.h> instead.
17862 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17864         [BZ #19831]
17865         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
17866         function.
17867         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
17868         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
17870 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17872         [BZ #19862]
17873         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
17874         (getanswer_r): Do not call syslog.
17875         (gaih_getanswer_slice): Likewise.
17876         * resolv/gethnamaddr.c (AskedForGot): Remove.
17877         (getanswer): Do not call syslog.
17878         (gethostbyaddr): Likewise.
17880 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
17882         * conform/data/signal.h-data (union sigval): Expect also if
17883         [XOPEN2K].
17884         (struct sigevent): Likewise.
17885         (SIGEV_NONE): Likewise.
17886         (SIGEV_SIGNAL): Likewise.
17887         (SIGEV_THREAD): Likewise.
17888         (SIGRTMIN): Likewise.
17889         (SIGRTMAX): Likewise.
17890         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
17891         variable.
17892         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17894 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17896         [BZ #19830]
17897         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
17898         (gaih_getanswer_slice): Likewise.
17899         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
17900         Also check for availability of RR metadata.
17902 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17904         [BZ #19825]
17905         * resolv/res_send.c (send_vc): Remove early *resplen2
17906         initialization.  Set *resplen2 on socket error.  Call
17907         close_and_return_error for other errors.
17909 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17911         * sysdeps/unix/sysv/linux/netiucv/iucv.h
17912         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
17913         (SCM_IUCV_TRGCLS): New define.
17915 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17917         [BZ #20005]
17918         * libio/fmemopen.c (fmemopen_write): Update internal position after
17919         write.
17920         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
17921         * stdio-common/tst-fmemopen4.c: New file..
17923 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
17925         [BZ #19996]
17926         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
17927         not [__USE_XOPEN2K].
17928         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
17929         variable.
17931         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
17932         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
17933         variable.
17935         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
17936         [__USE_XOPEN2K8].
17937         [__USE_LARGEFILE64] (off64_t): Likewise.
17938         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
17939         variable.
17941 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
17943         [BZ #19989]
17944         * libio/stdio.h (cuserid): Do not declare if
17945         [__USE_XOPEN2K && !__USE_GNU].
17946         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
17947         variable.
17949 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17951         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17952         (sysdep_routines): Add P8 and PPC64 strcspn targets.
17953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17954         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
17955         ifunc'ed strcspn.
17956         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
17957         [EALIGN]: Removed.
17958         [END]: Likewise
17959         [STRSPN]: Define instead of the above to control symbol name.
17960         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
17961         New file.
17962         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
17963         Likewise.
17964         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
17965         Likewise.
17966         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
17967         Likewise.
17968         * sysdeps/powerpc/powerpc64/power8/strspn.S:
17969         [INITIAL_MASK]: New macro.
17970         [STRCSPN]: Likewise.
17971         [UPDATE_MASK]: Likewise.
17972         [USE_AS_STRCSPN]: Likewise.
17974 2016-04-25  Florian Weimer  <fweimer@redhat.com>
17976         [BZ #19931]
17977         * stdio-common/tst-vfprintf-width-prec.c: New file.
17978         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
17979         (tests-special): Add tst-vfprintf-width-prec-mem.out.
17980         (generated): Add mtrace-related files.
17981         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
17982         (tst-%-mem.out): New pattern rule, replaces
17983         tst-printf-bz18872-mem.out.
17984         * stdio-common/vfprintf.c (vfprintf): When handling a precision
17985         specifier, deallocate any previously allocated work buffer.
17987 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
17989         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
17990         Add nop before __startcontext, add explaining comments.
17992 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
17994         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
17995         any more. Notably since IPV6_PKTINFO has been reintroduced with a
17996         completely different API.
17998         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
17999         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
18000         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
18001         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
18002         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
18003         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
18004         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
18005         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
18006         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
18007         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
18009 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
18011         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
18013 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
18015         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
18016         when it is the default of 0.
18018 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18020         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
18021         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18022         (sysdep_routines): Add new strcasestr targets.
18023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18024         (__libc_ifunc_impl_list): Likewise.
18025         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
18026         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
18027         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
18028         * sysdeps/powerpc/powerpc64/power8/Makefile:
18029         New file to add strcasestr-ppc64 to sysdep_routines.
18030         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
18031         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
18033 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
18035         * benchtests/Makefile (wcsmbs-benchset): Include only for
18036         native builds and runs.
18037         (LOCALES): Likewise.
18038         (bench-build): Build timing-type here instead of the bench
18039         target.  Generate locale only for native builds.
18040         * benchtests/README: Add note for cross-building.
18042         * benchtests/Makefile (bench-clean): Clean up extra-objs.
18044         * benchtests/README: Update README to include instructions on
18045         using bench-build.
18047         * Makefile.in (bench-build): New target.
18048         * Rules (PHONY): Add bench-build target.
18049         * benchtests/Makefile (bench): Depend on bench-build.
18050         (bench-build): New target.
18052 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18054         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
18055         profil_reply_port.
18056         (profile_waiter): Do not initialize profil_reply_port.
18057         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
18058         frequency instead of tick length in us.
18060 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
18062         [BZ #18712]
18063         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
18064         (__old_mempcpy_small): Likewise.
18065         (__old_strcpy_small): Likewise.
18066         (__old_stpcpy_small): Likewise.
18067         (__old_strpbrk_c2): Fix compat symbol name.
18068         (__old_strpbrk_c3): Likewise.
18069         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
18070         (__mempcpy_small): Remove.
18071         (__strcpy_small): Remove.
18072         (__stpcpy_small): Remove.
18074 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
18076         [BZ #19400]
18077         * locale/iso-639.def: Add the Talossan/tzl language.
18079 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
18081         [BZ #16983]
18082         * locale/programs/ld-address.c (address_finish): Update postal_fmt
18083         comment.  Add "ln" to strchr check on postal_fmt.
18085 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
18087         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
18088         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
18089         tel_dom_fmt.
18091 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18093         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18094         (sysdep_routines): Added __strlen_power8.
18095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
18096         __strlen_power8 entry.
18097         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
18098         Implementation for POWER8.
18099         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
18100         for __strlen_power8.
18101         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
18102         Implementation for POWER8.
18104 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
18106         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
18108 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
18110         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
18111         Goldmont and Airmont processors.
18113 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
18115         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
18116         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
18117         (__STRING2_SMALL_GET32): Remove.
18118         (memset): Remove.
18119         (__memset_1): Remove.
18120         (__memset_gc): Remove.
18121         (__mempcpy): Remove.
18122         (mempcpy): Remove.
18123         (__mempcpy_args): Remove.
18124         (strchr): Remove.
18125         (strcpy): Remove.
18126         (strcpy_args): Remove.
18127         (__stpcpy_args): Remove.
18128         (__strcmp_cc): Remove.
18129         (__strcmp_gc): Remove.
18130         (strstr): Remove.
18132 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
18134         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
18135         * nis/nis_call.c (nis_server_cache_add): Likewise.
18137 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18139         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
18141 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18143         * malloc/arena.c (__malloc_fork_lock_parent)
18144         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
18145         internal_function attribute.
18147 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
18149         * stdio-common/printf_fp.c (__printf_fp_l):
18150         Rename ___printf_fp_l to __printf_fp_l and
18151         remove strong alias. Use libc_hidden_def instead
18152         of ldbl_hidden_def macro.
18154 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18156         Remove malloc hooks from fork handler.  They are no longer needed
18157         because malloc runs right before fork, and no malloc calls from
18158         other fork handlers are not possible anymore.
18159         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
18160         declarations.
18161         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
18162         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
18163         (atfork_recursive_cntr): Remove.
18164         (__malloc_fork_lock_parent): Do not override malloc hooks and
18165         thread_arena.
18166         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
18167         thread_arena.
18168         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
18169         thread_arena instead of save_arena.
18171 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18173         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
18174         (thread_atfork, thread_atfork_static): Remove.
18175         * sysdeps/mach/hurd/malloc-machine.h:
18176         (thread_atfork, thread_atfork_static): Remove.
18178 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18180         [BZ #19431]
18181         Run the malloc fork handler as late as possible to avoid deadlocks.
18182         * malloc/malloc-internal.h: New file.
18183         * malloc/malloc.c: Include it.
18184         * malloc/arena.c (ATFORK_MEM): Remove.
18185         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
18186         Update comment.
18187         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
18188         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
18189         Remove outdated comment.
18190         (ptmalloc_init): Do not call thread_atfork.  Remove
18191         thread_atfork_static.
18192         * malloc/tst-malloc-fork-deadlock.c: New file.
18193         * Makefile (tests): Add tst-malloc-fork-deadlock.
18194         (tst-malloc-fork-deadlock): Link against libpthread.
18195         * manual/memory.texi (Aligned Memory Blocks): Update safety
18196         annotation comments.
18197         * sysdeps/nptl/fork.c (__libc_fork): Call
18198         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
18199         __malloc_fork_unlock_child.
18200         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
18202 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18204         [BZ #19613]
18205         Remove union wait.
18206         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
18207         (w_stopsig, w_stopval): Remove.
18208         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
18209         stat_loc argument.
18210         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
18211         (__WAIT_STATUS_DEFN): Remove.
18212         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
18213         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
18214         (wait, wait3, wait4): Use int * for the stat_loc argument.
18215         * posix/wait.c (__wait): Likewise.
18216         * posix/wait3.c (__wait3): Likewise.
18217         * posix/wait4.c (__wait4): Likewise.
18218         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
18219         (__WAIT_STATUS_DEFN): Remove.
18220         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
18221         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
18222         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
18223         argument.
18224         * sysdeps/posix/wait.c (__libc_wait): Likewise.
18225         * sysdeps/posix/wait3.c (__wait3): Likewise.
18226         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
18227         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
18228         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
18229         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
18230         stat_loc argument.
18231         * manual/process.texi (BSD Wait Functions): Remove union wait.
18233 2016-04-13  Andreas Schwab  <schwab@suse.de>
18235         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
18236         (test-extras): Add tst-tlsalign-vars.
18237         * math/Makefile: Wrap long lines.
18238         (libm-vec-test-wrappers): Define.
18239         (test-extras): Add $(libm-vec-test-wrappers).
18240         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
18241         * nss/Makefile (extra-test-objs): Add nss_test1.os.
18242         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
18243         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
18244         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
18245         (extra-test-objs): Add corresponding objects.
18247 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
18249         [BZ #19928]
18250         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
18251         New.
18252         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
18253         times of shared cache size.
18254         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
18255         (VMOVNT): New.
18256         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
18257         (VMOVNT): Likewise.
18258         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
18259         (VMOVNT): Likewise.
18260         (VMOVU): Changed to movups for smaller code sizes.
18261         (VMOVA): Changed to movaps for smaller code sizes.
18262         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
18263         comments.
18264         (PREFETCH): New.
18265         (PREFETCH_SIZE): Likewise.
18266         (PREFETCHED_LOAD_SIZE): Likewise.
18267         (PREFETCH_ONE_SET): Likewise.
18268         Rewrite to use forward and backward loops, which move 4 vector
18269         registers at a time, to support overlapping addresses and use
18270         non temporal store if size is above the threshold and there is
18271         no overlap between destination and source.
18273 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
18275         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
18276         Include dl-vdso.
18277         * sysdeps/unix/sysv/linux/mips/Versions: Add
18278         __vdso_clock_gettime.
18279         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
18280         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
18281         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
18282         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
18283         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
18284         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
18285         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18286         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18287         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18289 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18291         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
18292         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
18293         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18294         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18295         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18296         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18299         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
18300         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
18301         syscalls generation.
18302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18303         [__NR_pwrite64] (__NR_write): Remove define.
18304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18305         [__NR_pwrite64] (__NR_write): Remove define.
18306         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
18307         Remove define.
18308         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
18309         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
18310         Remove define.
18311         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
18312         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
18313         Linux implementation as base.
18314         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18316         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
18317         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
18318         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18319         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
18321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18322         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
18323         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
18324         syscall generation.
18325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18326         [__NR_pread64] (__NR_pread): Remove define.
18327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18328         [__NR_pread64] (__NR_pread): Likewise.
18329         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
18330         define.
18331         (__libc_pread): Use SYSCALL_LL macro on offset argument.
18332         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
18333         Remove define.
18334         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
18335         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
18336         Linux implementation as base.
18337         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18338         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18339         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18341         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
18342         definition.
18343         (__ALIGNMENT_COUNT): Likewise.
18344         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
18345         (__ALIGNMENT_COUNT): Likewise.
18346         (SYSCALL_LL): New define.
18347         (SYSCALL_LL64): Likewise.
18348         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
18349         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
18350         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
18351         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
18353         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18354         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
18355         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18356         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
18357         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18358         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
18360 2016-04-11  Florian Weimer  <fweimer@redhat.com>
18362         [BZ #19865]
18363         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
18364         original buffer before retry.
18366 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18368         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
18369         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
18370         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
18371         GLRO(dl_auxv) list.
18372         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
18373         including <ldsodefs.h>.
18374         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
18376 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
18378         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
18379         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
18380         $(CPPFLAGS).
18382 2016-04-09  Khem Raj  <raj.khem@gmail.com>
18384         [BZ #17950]
18385         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
18386         Add -mfpmath=387.
18388 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
18390         * sysdeps/i386/configure.ac: Change == to = when calling test.
18391         * sysdeps/x86_64/configure.ac: Likewise.
18392         * sysdeps/i386/configure: Regenerated.
18393         * sysdeps/x86_64/configure: Likewise.
18395 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
18397         [BZ #16137]
18398         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
18399         * benchtests/bench-strcoll.c (input_files): Likewise.
18400         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18401         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
18402         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
18404 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
18406         [BZ #19929]
18407         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
18408         [__USE_XOPEN2K8 && !__USE_GNU].
18409         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
18410         variable.
18412         [BZ #19925]
18413         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
18414         define if [!__USE_MISC && __USE_XOPEN2K].
18415         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
18416         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
18417         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
18418         Likewise.
18419         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
18420         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
18421         variable.
18422         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18424 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18426         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18427         (sysdep_routines): Add new strspn targets.
18428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18429         (__libc_ifunc_impl_list): Add strspn.
18430         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18431         New file.
18432         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
18433         Likewise.
18434         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
18435         Likewise.
18436         * sysdeps/powerpc/powerpc64/power8/strspn.S:
18437         Likewise.
18439 2016-04-07  Florian Weimer  <fweimer@redhat.com>
18441         * misc/hsearch_r.c: Include <limits.h>.
18443 2016-04-07  Florian Weimer  <fweimer@redhat.com>
18445         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
18447 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18449         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18450         (MEMCPY_SYMBOL): New.
18451         (MEMPCPY_SYMBOL): Likewise.
18452         (MEMMOVE_CHK_SYMBOL): Likewise.
18453         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
18454         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
18455         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
18456         Provide alias for memcpy in libc.a and ld.so.
18458 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18460         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18461         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
18462         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
18463         Disabled fro now.
18464         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
18465         symbols.  Properly check USE_MULTIARCH on __memset symbols.
18467 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18469         * benchtests/Makefile (string-benchset): Add memcpy-large,
18470         memmove-large and memset-large.
18471         * benchtests/bench-memcpy-large.c: New file.
18472         * benchtests/bench-memmove-large.c: Likewise.
18473         * benchtests/bench-memmove-large.c: Likewise.
18474         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
18476 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
18478         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
18479         32-bit displacement to avoid long nop between instructions.
18481 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
18483         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
18484         a comment on VMOVU and VMOVA.
18486 2016-04-04  Florian Weimer  <fweimer@redhat.com>
18488         [BZ #19633]
18489         Use specified locale for number formatting in strfmon_l.
18490         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
18491         (__nl_lookup_word): New inline functions.
18492         * include/printf.h (__print_fp_l): Declare.
18493         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
18494         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
18495         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
18496         (___printf_fp): New function.
18497         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
18498         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
18499         * stdlib/tst-strfmon_l.c (do_test): New test.
18500         * stdlib/Makefile (tests): Add kt.
18501         (LOCALES): Build additional locales.
18502         (tst-strfmon_l.out): Require locales.
18504 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
18506         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
18507         if not in libc.
18508         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18509         Likewise.
18510         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
18511         Likewise.
18512         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18513         Likewise.
18515 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
18517         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
18518         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
18519         with unaligned_erms.
18520         (__memmove_erms): Skip if source == destination.
18521         (__memmove_unaligned_erms): Don't check source == destination
18522         first.
18524 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18526         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
18527         bit_arch_Fast_Copy_Backward for Intel Core proessors.
18529 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18531         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
18532         * string/strspn.c (strspn): Likewise.
18534 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18536         * benchtests/bench-memset.c (do_test): Support 64-byte
18537         alignment.
18538         (test_main): Test 64-byte alignment.
18540 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18542         * benchtests/bench-memmove.c (test_main): Test 64-byte
18543         alignment.
18545 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18547         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
18549 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18551         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
18552         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
18553         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
18555         * string/strpbrk.c (strpbrk): Rewrite function.
18556         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
18557         (__strpbrk_c2): Likewise.
18558         (__strpbrk_c3): Likewise.
18559         * string/string-inlines.c
18560         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
18561         Likewise.
18562         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
18563         Likewise.
18565         * string/strspn.c (strcspn): Rewrite function.
18566         * string/bits/string2.h (strspn): Use __builtin_strcspn.
18567         (__strspn_c1): Remove inline function.
18568         (__strspn_c2): Likewise.
18569         (__strspn_c3): Likewise.
18570         * string/string-inlines.c
18571         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
18572         compatibility symbol.
18573         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
18574         Likewise.
18575         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
18576         Likewise.
18577         * string/string-inlines.c: Include generic version.
18579 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
18580             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18582         * string/Version (libc): Add GLIBC_2.24.
18583         * string/strcspn.c (strcspn): Rewrite function.
18584         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
18585         (__strcspn_c1): Remove inline function.
18586         (__strcspn_c2): Likewise.
18587         (__strcspn_c3): Likewise.
18588         * string/string-inline.c
18589         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
18590         compatibility symbol.
18591         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
18592         Likewise.
18593         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
18594         Likewise.
18595         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
18597 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
18599         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18600         Use ahi instead of aghi to adjust stack pointer.
18602 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18604         [BZ #19853]
18605         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
18606         TEST to take significant digits as second parameter.
18607         [TEST]: Redefine in terms of TEST_N taking 30
18608         significant digits.
18609         (do_test): Add test case to demonstrate precision
18610         failure in the ldbl-128ibm printf.
18611         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
18612         (__mpn_extract_long_double): Carry 7 extra intermediate
18613         bits of precision to aide computing difference when
18614         signs differ.
18616 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
18618         [BZ #19881]
18619         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18620         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
18621         memset-avx512-unaligned-erms.
18622         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18623         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
18624         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
18625         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
18626         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
18627         __memset_sse2_unaligned_erms, __memset_erms,
18628         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
18629         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18630         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
18631         file.
18632         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18633         Likewise.
18634         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
18635         Likewise.
18636         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
18637         Likewise.
18639 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
18641         [BZ #19776]
18642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18643         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
18644         memmove-avx512-unaligned-erms.
18645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18646         (__libc_ifunc_impl_list): Test
18647         __memmove_chk_avx512_unaligned_2,
18648         __memmove_chk_avx512_unaligned_erms,
18649         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
18650         __memmove_chk_sse2_unaligned_2,
18651         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
18652         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
18653         __memmove_avx512_unaligned_erms, __memmove_erms,
18654         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
18655         __memcpy_chk_avx512_unaligned_2,
18656         __memcpy_chk_avx512_unaligned_erms,
18657         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
18658         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
18659         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
18660         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
18661         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
18662         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
18663         __mempcpy_chk_avx512_unaligned_erms,
18664         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
18665         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
18666         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
18667         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
18668         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
18669         __mempcpy_erms.
18670         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
18671         file.
18672         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18673         Likewise.
18674         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18675         Likewise.
18676         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
18677         Likewise.
18679 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
18681         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
18682         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
18683         (La_s390_64_regs): Likewise.
18684         (La_s390_32_retval): Append vector register lrv_v24.
18685         (La_s390_64_retval): Likeweise.
18686         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
18687         Handle extended structs La_s390_32_regs and La_s390_32_retval.
18688         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
18689         Handle extended structs La_s390_64_regs and La_s390_64_retval.
18691 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
18693         [BZ #19916]
18694         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
18695         to create a non-vector/vector version for _dl_runtime_resolve and
18696         _dl_runtime_profile. Move implementation to ...
18697         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
18698         (_dl_runtime_resolve) Save and restore fpr/vrs.
18699         (_dl_runtime_profile) Save and restore vrs and fix some issues
18700         if _dl_call_pltexit is called.
18701         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
18702         Choose the correct resolver function if running on a machine with vx.
18703         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
18704         to create a non-vector/vector version for _dl_runtime_resolve and
18705         _dl_runtime_profile. Move implementation to ...
18706         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
18707         (_dl_runtime_resolve) Save and restore fpr/vrs.
18708         (_dl_runtime_profile) Save and restore vrs and fix some issues
18709         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
18710         Choose the correct resolver function if running on a machine with vx.
18712 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18714         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
18716 2016-03-31  Florian Weimer  <fweimer@redhat.com>
18718         [BZ #19509]
18719         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
18720         skip_map != NULL.
18721         * elf/tst-dlsym-error.c: New file.
18722         * elf/Makefile (tests): Add tst-dlsym-error.
18723         (tst-dlsym-error): Link against libdl.
18725 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
18727         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18728         (__ASSUME_FUTIMESAT): Remove macro.
18729         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
18731 2016-03-29  Florian Weimer  <fweimer@redhat.com>
18733         [BZ #19879]
18734         CVE-2016-3075
18735         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
18736         copy name.
18738 2016-03-29  Florian Weimer  <fweimer@redhat.com>
18740         [BZ #19837]
18741         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
18742         error if parse_line fails.
18744 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
18746         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
18747         (index_cpu_ERMS): Likewise.
18748         (reg_ERMS): Likewise.
18750 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
18752         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
18753         PER_LINUX_FDPIC): Add.
18755 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
18757         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18758         memcpy-avx512-no-vzeroupper.
18759         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
18760         to ...
18761         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
18762         (MEMCPY): Don't define.
18763         (MEMCPY_CHK): Likewise.
18764         (MEMPCPY): Likewise.
18765         (MEMPCPY_CHK): Likewise.
18766         (MEMPCPY_CHK): Renamed to ...
18767         (__mempcpy_chk_avx512_no_vzeroupper): This.
18768         (MEMPCPY_CHK): Renamed to ...
18769         (__mempcpy_chk_avx512_no_vzeroupper): This.
18770         (MEMCPY_CHK): Renamed to ...
18771         (__memmove_chk_avx512_no_vzeroupper): This.
18772         (MEMCPY): Renamed to ...
18773         (__memmove_avx512_no_vzeroupper): This.
18774         (__memcpy_avx512_no_vzeroupper): New alias.
18775         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
18777 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
18779         [BZ #18858]
18780         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18781         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
18782         and mempcpy-avx512-no-vzeroupper.
18783         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
18784         New.
18785         (MEMPCPY): Likewise.
18786         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
18787         (MEMPCPY_CHK): New.
18788         (MEMPCPY): Likewise.
18789         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
18790         (MEMPCPY): Likewise.
18791         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
18792         (MEMPCPY): Likewise.
18793         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
18794         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
18795         Likewise.
18796         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
18797         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
18799 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
18800              Amit Pawar  <Amit.Pawar@amd.com>
18802         [BZ #19583]
18803         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18804         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
18805         processors.  Set Fast_Copy_Backward for AMD Excavator
18806         processors.
18807         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
18808         New.
18809         (index_arch_Fast_Unaligned_Copy): Likewise.
18810         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
18811         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
18813 2016-03-25  Florian Weimer  <fweimer@redhat.com>
18815         [BZ #19791]
18816         * resolv/res_send.c (close_and_return_error): New function.
18817         (send_dg): Initialize *resplen2 after reopen failure.  Call
18818         close_and_return_error for error returns.  On error paths without
18819         __res_iclose, initialze *resplen2 explicitly.  Update comment for
18820         successful return.
18822 2016-03-25  Florian Weimer  <fweimer@redhat.com>
18824         [BZ #19860]
18825         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
18826         zero if the compiler does not provide the AVX512F bit.
18828 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
18830         [BZ #19848]
18831         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
18832         from 8 to 4.
18833         (__ieee754_powl): Compare integer exponent against 4 not 8.
18834         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
18835         from 8 to 4.
18836         (__ieee754_powl): Compare integer exponent against 4 not 8.
18837         * math/auto-libm-test-in: Add more tests of pow.
18838         * math/auto-libm-test-out: Regenerated.
18839         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18842 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
18844         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
18845         Make code unconditional.
18846         [!__NR_utimensat]: Remove conditional code.
18847         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
18848         Make code unconditional.
18849         [!__NR_utimensat]: Remove conditional code.
18850         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
18851         Make code unconditional.
18852         [!__NR_utimensat]: Remove conditional code.
18854 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
18856         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
18857         Make code unconditional.
18859 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
18861         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
18862         call-clobbered %eax on retry path.
18863         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18865 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18867         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
18868         Don't set %rcx twice before "rep movsb".
18870 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18872         [BZ #19583]
18873         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
18874         inline.  Check family before setting family, model and
18875         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
18876         bits here.
18877         (init_cpu_features): Replace HAS_CPU_FEATURE and
18878         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
18879         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
18880         for Intel processors with usable AVX2.  Call get_common_indeces
18881         for other processors with family == NULL.
18882         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
18883         (CPU_FEATURES_ARCH_P): Likewise.
18884         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
18885         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
18887 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18889         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
18890         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
18891         $(shared-thread-library) instead of hardcoding the path to libpthread.
18893 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
18895         * sysdeps/unix/sysv/linux/kernel-features.h
18896         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
18897         * sysdeps/unix/sysv/linux/getdents.c
18898         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
18899         [!have_no_getdents64_defined]: Likewise.
18900         (__GETDENTS): Remove __have_no_getdents64 conditional.
18902 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
18904         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
18905         Remove macro.
18906         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
18907         <kernel-features.h>.
18908         (signalfd) [__NR_signalfd4]: Make code unconditional.
18909         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
18911 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18913         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
18914         style.
18916 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
18918         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
18919         (__pthread_enable_asynccancel): Use JUMPTARGET to call
18920         __pthread_unwind.
18921         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18922         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
18923         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18924         (__condvar_cleanup1): Likewise.
18926 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
18928         [BZ #19822]
18929         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
18930         move it to the final $@ location.
18932 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18934         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
18935         access where posix_spawn success and pid argument is null.
18936         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
18937         success case.
18939 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
18941         * sysdeps/mach/hurd/i386/c++-types.data: New file.
18943         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
18945         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
18946         and __fcntl.
18947         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
18948         __fcntl only.
18949         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
18950         adding attribute_hidden to __open and __fcntl.
18952         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
18953         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
18954         depend on libc-modules.h,
18955         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
18957 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
18959         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
18960         Remove macro.
18961         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
18962         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
18963         entry.
18965         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
18966         Remove macro.
18967         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
18968         include <kernel-features.h>.
18969         [!__ASSUME_FALLOCATE]: Remove conditional code.
18970         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
18972 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18974         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
18975         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
18976         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
18977         (_ZGVdN4v_cos_avx2): Likewise.
18978         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
18979         (_ZGVdN4v_cos): Likewise.
18980         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
18981         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
18982         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
18983         (_ZGVdN4v_exp_avx2): Likewise.
18984         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
18985         (_ZGVdN4v_exp): Likewise.
18986         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
18987         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
18988         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
18989         (_ZGVdN4v_log_avx2): Likewise.
18990         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
18991         (_ZGVdN4v_log): Likewise.
18992         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
18993         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
18994         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
18995         (_ZGVdN4vv_pow_avx2): Likewise.
18996         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
18997         (_ZGVdN4vv_pow): Likewise.
18998         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
18999         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
19000         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
19001         (_ZGVdN4v_sin_avx2): Likewise.
19002         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
19003         (_ZGVdN4v_sin): Likewise.
19004         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
19005         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
19006         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
19007         (_ZGVdN4vvv_sincos_avx2): Likewise.
19008         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
19009         (_ZGVdN4vvv_sincos): Likewise.
19010         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
19011         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
19012         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
19013         (_ZGVbN4v_cosf_sse4): Likewise.
19014         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
19015         (_ZGVdN8v_cosf_avx2): Likewise.
19016         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
19017         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
19018         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
19019         (_ZGVbN4v_expf_sse4): Likewise.
19020         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
19021         (_ZGVdN8v_expf_avx2): Likewise.
19022         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
19023         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
19024         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
19025         (_ZGVbN4v_logf_sse4): Likewise.
19026         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
19027         (_ZGVdN8v_logf_avx2): Likewise.
19028         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
19029         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
19030         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
19031         (_ZGVbN4vv_powf_sse4): Likewise.
19032         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
19033         (_ZGVdN8vv_powf_avx2): Likewise.
19034         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19035         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
19036         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19037         (_ZGVbN4vvv_sincosf_sse4): Likewise.
19038         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19039         (_ZGVdN8vvv_sincosf_avx2): Likewise.
19040         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
19041         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
19042         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
19043         (_ZGVbN4v_sinf_sse4): Likewise.
19044         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
19045         (_ZGVdN8v_sinf_avx2): Likewise.
19046         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19047         Use JUMPTARGET to call callee.
19048         (WRAPPER_IMPL_SSE2_ff): Likewise.
19049         (WRAPPER_IMPL_SSE2_fFF): Likewise.
19050         (WRAPPER_IMPL_AVX): Likewise.
19051         (WRAPPER_IMPL_AVX_ff): Likewise.
19052         (WRAPPER_IMPL_AVX_fFF): Likewise.
19053         (WRAPPER_IMPL_AVX512): Likewise.
19054         (WRAPPER_IMPL_AVX512_ff): Likewise.
19055         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19056         Likewise.
19057         (WRAPPER_IMPL_SSE2_ff): Likewise.
19058         (WRAPPER_IMPL_SSE2_fFF): Likewise.
19059         (WRAPPER_IMPL_AVX): Likewise.
19060         (WRAPPER_IMPL_AVX_ff): Likewise.
19061         (WRAPPER_IMPL_AVX_fFF): Likewise.
19062         (WRAPPER_IMPL_AVX512): Likewise.
19063         (WRAPPER_IMPL_AVX512_ff): Likewise.
19064         (WRAPPER_IMPL_AVX512_fFF): Likewise.
19066 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19068         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
19069         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
19070         qualifier.
19071         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
19072         internal_function qualifiers.
19074 2016-03-15  Carlos O'Donell <carlos@redhat.com>
19076         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
19077         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
19078         * math/atest-exp.c (exp_mpn): Mark chk unused.
19079         * math/atest-exp2.c (exp_mpn): Likewise.
19080         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
19081         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
19083 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
19085         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
19086         Remove macro.
19087         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
19088         <kernel-features.h>.
19089         [__NR_ppoll]: Make code unconditional.
19090         [!__ASSUME_PPOLL]: Remove conditional code.
19092         * sysdeps/unix/sysv/linux/kernel-features.h
19093         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
19094         (__ASSUME_ACCEPT4): Likewise.
19095         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19096         Define.
19097         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
19098         Likewise.
19099         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19100         Likewise.
19101         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
19102         Likewise.
19103         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
19104         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
19105         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19106         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19107         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19108         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19109         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19110         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19111         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19112         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19113         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19114         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19115         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19116         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19117         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19118         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19119         Likewise.
19120         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19121         Likewise.
19122         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19123         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19124         0x040300].
19125         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19126         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19127         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19128         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19129         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
19130         0x030300].
19131         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
19132         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19133         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19134         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19135         0x040300].
19136         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19137         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19138         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19139         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19140         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19141         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19142         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
19143         0x030300].
19144         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19145         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19146         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19147         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19148         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19149         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19150         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19151         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19152         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19153         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19154         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19155         0x040300].
19156         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19157         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19158         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19159         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19160         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19161         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19162         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19163         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19164         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19165         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19166         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19167         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19168         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19169         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19170         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
19171         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19172         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19173         Likewise.
19174         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19175         Likewise.
19177 2016-03-15  Andreas Schwab  <schwab@suse.de>
19179         [BZ #19257]
19180         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
19181         statp->_u._ext.nscount as loop count.
19183 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19185         * math/test-signgam-finite-c99.c: Also #undef
19186         __LIBC_INTERNAL_MATH_INLINES.
19187         * math/test-signgam-main.c: Likewise.
19189 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
19191         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
19192         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19193         (MADV_FREE): Likewise.
19194         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
19195         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
19196         EPOLLEXCLUSIVE.
19198 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
19200         * timezone/README: Remove mention of checktab.awk. Mention wiki
19201         SharedSourceFiles.
19203 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
19205         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
19206         WUNTRACED.
19208 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19210         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
19211         order to match the type of p when calling atomic_exchange_acq().
19213 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19215         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
19216         cfi_offset calls.
19217         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
19218         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
19219         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
19220         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
19221         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
19223 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
19225         * timezone/checktab.awk: Removed.
19227 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
19229         * manual/math.texi (Errors in Math Functions): Document relaxed
19230         accuracy goals for IBM long double.
19231         * math/libm-test.inc (test_exceptions): Always allow spurious
19232         "underflow" and "inexact" exceptions for IBM long double.
19234 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
19236         [BZ #19762]
19237         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
19238         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
19239         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
19240         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
19241         (bit_arch_*): This for feature array.
19242         (bit_*): Renamed to ...
19243         (bit_cpu_*): This for cpu array.
19244         (index_*): Renamed to ...
19245         (index_arch_*): This for feature array.
19246         (index_*): Renamed to ...
19247         (index_cpu_*): This for cpu array.
19248         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
19249         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
19250         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
19251         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
19252         bit_##name with index_cpu_##name and bit_cpu_##name.
19253         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
19254         bit_##name with index_arch_##name and bit_arch_##name.
19256 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
19258         [BZ #19792]
19259         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
19260         Terminate FDE before return label.
19262 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
19264         [BZ #19790]
19265         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
19266         (rintl): Define as macro.
19267         [USE_AS_NEARBYINTL] (__rintl): Likewise.
19268         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
19269         of fesetround.  Ensure results are evaluated before end of scope.
19270         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
19271         USE_AS_NEARBYINTL and include s_rintl.c.
19272         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
19273         Disable exception traps in new environment.
19274         (libc_feholdsetround_ppc_ctx): Likewise.
19276 2016-03-08  Roland McGrath  <roland@hack.frob.com>
19278         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
19279         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
19280         (tst_audit10_aux) [__AVX512F__]: ... here.
19282 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
19284         * include/sys/auxv.h: New file.
19286 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
19288         [BZ #19759]
19289         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
19291 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19293         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
19294         operand modifier.
19295         (feclearexcept): Likewise.
19297 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19299         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
19300         to reflect the entire 32-bit HWCAP.
19301         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
19302         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
19304 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
19306         [BZ #19783]
19307         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
19308         $(test-via-rtld-prefix).
19309         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
19311 2016-03-08  Florian Weimer  <fweimer@redhat.com>
19313         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
19314         union wait.  Report any non-zero exit status as error.
19316 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19318         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
19319         configured with --enable-hardcoded-path-in-tests.
19321 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
19323         [BZ #19677]
19324         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
19325         (__ieee754_remainderl): Put zero low parts in canonical form.
19326         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
19327         file.  Based on
19328         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
19329         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
19330         with wrapper round test-fmodrem-ldbl-128ibm.c.
19331         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
19332         file.
19333         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
19334         Likewise.
19335         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
19336         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
19338 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19340         [BZ #19610]
19341         * elf/ldconfig.c (opt_link): Update comment.
19342         (options): Update help string for option -X.
19343         (search_dir): Unlink stale symbolic link only if updating symbolic
19344         links.
19345         * elf/tst-ldconfig-X.sh: New file.
19346         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
19347         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
19349 2016-03-07  Andreas Schwab  <schwab@suse.de>
19351         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
19352         needed arguments.
19354 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
19356         [BZ #15333]
19357         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
19358         to lstat64.
19360 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19362         * libio/filedoalloc.c (isatty): Remove.
19363         (local_isatty): Add comment.  Call __isatty directly.
19364         (_IO_file_doallocate): Update comment.  Assume _LIBC.
19365         * libio/wfiledoalloc.c (isatty): Remove.
19366         (_IO_wfile_doallocate): Update comment.
19368 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19370         [BZ #19269]
19371         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
19372         tst-audit4-aux.o.
19373         (tst-audit10): Depend on tst-audit10-aux.o.
19374         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
19375         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
19376         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
19377         instead of inline AVX code.
19378         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
19379         instead of inline AVX512 code.
19380         * sysdeps/x86_64/tst-audit4-aux.c: New file
19381         * sysdeps/x86_64/tst-audit10-aux.c: New file
19383         [BZ #19648]
19384         * test-skeleton.c (main): Do not set RLIMIT_DATA.
19386 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19388         [BZ #14750]
19389         [BZ #10354]
19390         [BZ #18433]
19391         * include/sched.h (__clone): Add hidden prototype.
19392         (__clone2): Likewise.
19393         * include/unistd.h (__dup): Likewise.
19394         * posix/Makefile (tests): Add tst-spawn2.
19395         * posix/tst-spawn2.c: New file.
19396         * sysdeps/posix/dup.c (__dup): Add hidden definition.
19397         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
19398         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
19399         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
19400         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
19401         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
19402         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
19403         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
19404         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
19405         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
19406         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
19407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
19408         Likewise.
19409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19410         Likewise.
19411         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
19412         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
19413         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
19414         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
19415         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
19416         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
19417         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
19418         * sysdeps/unix/sysv/linux/nptl-signals.h
19419         (____nptl_is_internal_signal): New function.
19420         * sysdeps/unix/sysv/linux/spawni.c: New file.
19422         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
19423         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
19424         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
19425         * posix/tst-execvp2.c (do_test): Likewise.
19426         * posix/tst-execvp3.c (do_test): Likewise.
19427         * posix/tst-execvp4.c (do_test): Likewise.
19428         * posix/tst-execvpe1.c: New file.
19429         * posix/tst-execvpe2.c: Likewise.
19430         * posix/tst-execvpe3.c: Likewise.
19431         * posix/tst-execvpe4.c: Likewise.
19432         * posix/tst-execvpe5.c: Likewise.
19433         * posix/tst-execvpe6.c: Likewise.
19435         [BZ #19534]
19436         * posix/execl.c (execl): Remove dynamic memory allocation.
19437         * posix/execle.c (execle): Likewise.
19438         * posix/execlp.c (execlp): Likewise.
19440 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19442         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
19443         Replace .text with .text.avx512.
19444         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19445         Likewise.
19447 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
19449         * sysdeps/generic/libnsl.abilist: New file.
19450         * sysdeps/generic/libutil.abilist: New file.
19452 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19454         [BZ #19762]
19455         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
19456         HAS_ARCH_FEATURE with Fast_Rep_String.
19457         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
19458         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
19459         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
19460         Likewise.
19461         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
19462         Likewise.
19463         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
19464         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
19465         Likewise.
19466         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
19467         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
19468         Likewise.
19470 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19472         [BZ #19745]
19473         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
19474         with *%rax in call.
19476 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19478         [BZ #19745]
19479         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
19480         with *__libc_start_main@GOTPCREL(%rip) in call.
19482 2016-03-04  Roland McGrath  <roland@hack.frob.com>
19484         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
19485         inside conditional for nonempty $(CXX).
19487         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
19488         nonempty.
19490         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
19491         to test for empty $(CXX) rather than $(CXX) of "no".
19493 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19495         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
19497 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
19498             H.J. Lu  <hongjiu.lu@intel.com>
19500         [BZ #18880]
19501         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
19502         instead of Slow_BSF, and also check for Fast_Copy_Backward to
19503         enable __memcpy_ssse3_back.
19505 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
19507         [BZ #19758]
19508         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
19509         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
19511 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
19513         [BZ #19490]
19514         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
19515         (__fentry__): Likewise.
19517 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
19519         * gmon/Makefile (noprof): Add $(sysdep_noprof).
19520         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
19522 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
19524         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
19525         __mcount_internal directly.
19526         (C_LABEL(__fentry__)): Likewise.
19527         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
19528         directly.
19530 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
19532         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19533         (__start_context): Call __setcontext directly.
19535 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
19537         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19538         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19539         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
19540         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
19541         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19542         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19543         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
19544         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19545         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19546         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
19547         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
19548         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
19549         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19550         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19551         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19552         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19553         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
19554         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19555         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19556         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
19557         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
19558         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19559         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19560         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
19561         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
19562         Remove conditional code.
19563         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19564         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
19565         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19566         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19567         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
19568         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19569         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
19570         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19571         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19572         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19573         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19574         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19576 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
19578         * NEWS (2.23): Fix typo in bug 19048 text.
19580 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
19582         [BZ #14259]
19583         * Makeconfig: Rename msgcatdir to localedir.
19584         Rename inst_msgcatdir to inst_localedir.
19585         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
19586         * config.make.in: Add localedir.
19587         * elf/Makefile ($(objpfx)sotruss): Use localedir.
19588         (ldd-rewrite): Likewise.
19589         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
19590         (install-others): Use inst_localedir.
19591         (CPPFLAGS): Use localedir.
19592         * locale/Makefile (locale-CPPFLAGS): Likewise.
19593         * po/Makefile (mo-installed): Use inst_localedir.
19595         [BZ #19575]
19596         * localedata/charmaps/GB18030: Update comments regarding PAU to
19597         non-PUA mappings.
19599 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
19601         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
19602         test for header.
19603         * sysdeps/unix/sysv/linux/configure: Regenerated.
19604         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
19605         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
19606         Remove conditional code.
19607         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
19609         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19610         Define to 3.2.0.
19611         (arch_minimum_kernel): Likewise.
19612         * sysdeps/unix/sysv/linux/configure: Regenerated.
19613         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
19614         Define to 2.6.32.
19615         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
19616         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
19617         (arch_minimum_kernel): Define to 2.6.32.
19618         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
19619         * README: Document Linux 3.2 requirement.
19620         * manual/install.texi (Linux): Document Linux 3.2 headers
19621         requirement.
19622         * INSTALL: Regenerated.
19624 2016-02-24  Andreas Schwab  <schwab@suse.de>
19626         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
19627         if !NO_LONG_DOUBLE.
19629 2016-02-22  Roland McGrath  <roland@hack.frob.com>
19631         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
19632         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
19634 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
19636         [BZ #19512]
19637         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
19639 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
19641         * posix/tst-dir.c: Include libc-internal.h.
19643 2016-02-20  Florian Weimer  <fweimer@redhat.com>
19645         [BZ #19056]
19646         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
19647         * manual/filesys.texi (Reading/Closing Directory): Mention
19648         deprecaion.
19649         * posix/tst-dir.c (main): Disable deprecation warning in test.
19651 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
19653         [BZ #19679]
19654         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
19655         Renamed to ...
19656         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
19657         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19658         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
19659         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19660         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
19661         * sysdeps/x86_64/dl-trampoline.h
19662         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19663         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
19665 2016-02-19  Mark Wielaard  <mjw@redhat.com>
19667         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
19669 2016-02-19  Mark Wielaard  <mjw@redhat.com>
19671         * elf/elf.h (R_386_GOT32X): New.
19672         (R_386_NUM): Update.
19673         (R_X86_64_GOTPCRELX: New.
19674         (R_X86_64_REX_GOTPCRELX): New.
19675         (R_X86_64_NUM): Update.
19677 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
19679         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
19681 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
19683         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
19684         assign attr->stackaddr to it, and adjust it down when
19685         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
19686         [_STACK_GROWS_UP]: Delete assert.
19687         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
19688         Implement stack grows up logic.
19689         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
19690         stack grows up logic.
19692 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19694         * NEWS: Update with 2.24 template.
19696 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
19698         [BZ #19678]
19699         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19700         Ensure +0.0 is returned when taking the next value below the least
19701         positive value.
19703 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19705         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
19706         available.  Do not define NO_THREADS.
19707         * malloc/malloc.c: Do not check NO_THREADS.
19708         * malloc/arena.c: Likewise.
19710 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19712         * malloc/malloc.c (__libc_mallinfo): Update comment.
19713         (struct malloc_par): Remove max_total_mem member, it was always 0.
19714         (int_mallinfo): Store 0 into usmblks (no functional change).
19715         * malloc/hooks.c (struct malloc_state): Document that
19716         max_total_mem is always 0.
19717         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
19718         always 0.
19719         * manual/memory.texi (Statistics of Malloc): Likewise.
19721 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19723         * malloc/malloc.c (sysmalloc): Do not update arena_max.
19724         * malloc/arena.c (arena_max): Remove.
19725         (heap_trim, _int_new_arena): Do not update arena_max.
19727 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19729         * resolv/res_init.c (res_ninit): Update comment.
19731 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19733         [BZ #19505]
19734         * posix/spawn_int.h: Add headers and include guard.
19735         (__spawn_valid_fd): New function.
19736         * posix/spawn_faction_addopen.c
19737         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
19738         * posix/spawn_faction_addclose.c
19739         (posix_spawn_file_actions_addclose): Likewise.
19740         * posix/spawn_faction_adddup2.c
19741         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
19742         second file descriptor.
19743         * posix/spawn_valid_fd.c: New file.
19744         * posix/tst-posix_spawn-fd.c: New file.
19745         * posix/Makefile (routines): Add spawn_valid_fd.
19746         (tests): Add tst-posix_spawn-fd.
19748 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19750         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
19751         (do_test): Limit the number of arenas, so that we can use fewer
19752         outer threads.  Limit timeout to 3 seconds, in preparation for a
19753         larger TIMEOUT value.
19755 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
19757         [BZ #19674]
19758         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
19759         sign in overflowing and underflowing results when overflow or
19760         underflow is detected early.  Include sign in result before rather
19761         than after scaling.
19763         [BZ #19603]
19764         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
19765         (__ieee754_remainderl): Adjust sign of integer version of low part
19766         when taking absolute value of high part.
19767         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19768         * math/libm-test.inc (remainder_test_data): Add another test.
19769         (remquo_test_data): Likewise.
19771 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
19773         [BZ #19602]
19774         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
19775         equal high parts and both low parts zero specially.
19776         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
19777         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
19778         Add test-fmodl-ldbl-128ibm.
19780         [BZ #19595]
19781         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
19782         common logic for all cases of shifting subnormal results.  Do not
19783         insert sign bit in shifted mantissa.  Always pass -1023 as biased
19784         exponent to ldbl_insert_mantissa in subnormal case.
19786         [BZ #19594]
19787         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
19788         on high and low parts then adjust result and use
19789         ldbl_canonicalize_int if needed.
19791         [BZ #19593]
19792         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
19793         on high part and __floor or __ceil on low part then use
19794         ldbl_canonicalize_int if needed.
19796         [BZ #19592]
19797         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
19798         high and low parts then use ldbl_canonicalize_int if needed.
19800         [BZ #17899]
19801         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
19802         New function.
19803         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
19804         on high and low parts then use ldbl_canonicalize_int if needed.
19806 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19808         * configure: Regenerated.
19810         * po/libc.pot: Regenerated.
19812         * po/be.po: Updated translation.
19813         * po/bg.po: Likewise.
19814         * po/ca.po: Likewise.
19815         * po/cs.po: Likewise.
19816         * po/da.po: Likewise.
19817         * po/el.po: Likewise.
19818         * po/eo.po: Likewise.
19819         * po/es.po: Likewise.
19820         * po/fi.po: Likewise.
19821         * po/fr.po: Likewise.
19822         * po/gl.po: Likewise.
19823         * po/hr.po: Likewise.
19824         * po/hu.po: Likewise.
19825         * po/ia.po: Likewise.
19826         * po/id.po: Likewise.
19827         * po/it.po: Likewise.
19828         * po/ja.po: Likewise.
19829         * po/lt.po: Likewise.
19830         * po/nb.po: Likewise.
19831         * po/nl.po: Likewise.
19832         * po/pt_BR.po: Likewise.
19833         * po/rw.po: Likewise.
19834         * po/sk.po: Likewise.
19835         * po/sl.po: Likewise.
19836         * po/sv.po: Likewise.
19837         * po/tr.po: Likewise.
19838         * po/zh_CN.po: Likewise.
19839         * po/zh_TW.po: Likewise.
19841         * version.h (RELEAES): Set to "development".
19842         (VERSION): Set to 2.23.90.
19844         * version.h (RELEASE): Set to "stable".
19845         (VERSION): Set to 2.23.
19846         * include/feature.h (__GLIBC_MINOR__): Set to 23.
19848         * NEWS: Updated fixed bugs.
19850 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
19851             Wilco Dijkstra  <wdijkstr@arm.com>
19853         [BZ #19462]
19854         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
19855         (_STRING_INLINE_unaligned): This.
19856         * include/string.h: Include <string_private.h>.
19857         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
19858         _STRING_INLINE_unaligned.
19859         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
19860         (_STRING_INLINE_unaligned): New.
19861         * sysdeps/aarch64/string_private.h: New file.
19862         * sysdeps/generic/string_private.h: Likewise.
19863         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
19864         * sysdeps/s390/string_private.h: Likewise.
19865         * sysdeps/x86/string_private.h: Likewise.
19866         * sysdeps/m68k/m680x0/m68020/bits/string.h
19867         (_STRING_ARCH_unaligned): Renamed to ...
19868         (_STRING_INLINE_unaligned): This.
19869         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
19870         to ...
19871         (_STRING_INLINE_unaligned): This.
19872         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
19873         to ...
19874         (_STRING_INLINE_unaligned): This.
19875         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
19876         to ...
19877         (_STRING_INLINE_unaligned): This.
19879 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19880             H.J. Lu  <hongjiu.lu@intel.com>
19882         [BZ #19590]
19883         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
19884         relocation.
19886 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
19888         [BZ #18665]
19889         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
19890         *herrno_p.
19891         (gaih_getanswer): Document functional behviour. Return tryagain
19892         if any result is tryagain.
19893         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
19894         when freed.
19895         * resolv/res_send.c: Add copyright text.
19896         (__libc_res_nsend): Document that MAXPACKET is expected.
19897         (send_vc): Document. Remove buffer reuse.
19898         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
19899         size of the buffer. Add Dprint for truncated UDP buffer.
19901 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
19903         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
19904         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
19905         * INSTALL: Regenerate.
19907 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
19908             Jonathan Wakely  <jwakely@redhat.com>
19909             Carlos O'Donell  <carlos@redhat.com>
19911         [BZ 19439]
19912         * math/Makefile (tests): Add test-math-isinff.
19913         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
19914         * math/bits/mathcalls.h [__USE_MISC]: Use
19915         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
19916         functions not in C++11 and which don't conflict e.g. isinff,
19917         isinfl etc.
19918         * math/test-math-isinff.cc: New file.
19920 2016-02-12  Florian Weimer  <fweimer@redhat.com>
19922         * misc/bug18240.c (do_test): Set RLIMIT_AS.
19924 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19926         [BZ #19529]
19927         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
19929 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19931         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19933 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
19935         [BZ #19550]
19936         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
19937         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
19938         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
19939         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
19940         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
19941         New syscall entry.
19942         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
19943         New syscall entry.
19944         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
19945         syscall entry.
19947 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
19949         [BZ #18240]
19950         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
19951         unsigned int wraparound.
19953 2016-01-27  Florian Weimer  <fweimer@redhat.com>
19955         [BZ #18240]
19956         * misc/bug18240.c: New test.
19957         * misc/Makefile (tests): Add it.
19959 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
19960             Joseph Myers  <joseph@codesourcery.com>
19962         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
19963         load in branch delay slot when less than a word of input left.
19965 2016-01-27  Andreas Schwab  <schwab@suse.de>
19967         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
19968         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
19969         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
19970         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
19972 2016-01-26  David S. Miller  <davem@davemloft.net>
19974         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
19976 2016-01-25  David S. Miller  <davem@davemloft.net>
19978         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
19979         __sqrtl_finite.
19980         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
19981         instead using versioned_symbol.
19982         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
19983         of entries.
19985         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
19986         __sqrtl_finite to GLIBC_2.23
19988 2016-01-25  Ricchard Henderson  <rth@redhat.com>
19990         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19992 2016-01-25  Andreas Schwab  <schwab@suse.de>
19994         [BZ #17514]
19995         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
19996         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
19997         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
19998         * nptl/tst-mutex-errorcheck.c: New file.
20000 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20002         [BZ #18560]
20003         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
20004         (IPCOP_semop): Likewise.
20005         (IPCOP_semget): Likewise.
20006         (IPCOP_semctl): Likewise.
20007         (IPCOP_msgsnd): Likewise.
20008         (IPCOP_msgrcv): Likewise.
20009         (IPCOP_msgget): Likewise.
20010         (IPCOP_msgctl): Likewise.
20011         (IPCOP_shmat): Likewise.
20012         (IPCOP_shmdt): Likewise.
20013         (IPCOP_shmget): Likewise.
20014         (IPCOP_shmctl): Likewise.
20016 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
20018         * string/tst-endian.c: Include <libc-internal.h>.
20019         (do_test): Ignore tautological-compare warnings around
20020         "htobeXX (beXXtoh (i)) != i" and
20021         "htoleXX (leXXtoh (i)) != i" if-statements.
20023 2016-01-24  David S. Miller  <davem@davemloft.net>
20025         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
20026         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
20027         alias.
20028         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
20029         __sqrtl_finite.
20031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20033 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
20035         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
20036         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
20037         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20039 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20041         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
20042         (thread_func): Use new function to simplify barrier check.
20043         (do_test): Use new function to simplify checking barrier exit
20044         code, and actually join the child thread.
20046 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20048         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
20049         semicolon.
20050         (__libc_tend): Likewise.
20051         (__libc_tabort): Likewise.
20053 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
20055         * sysdeps/nios2/libm-test-ulps: Update.
20056         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
20057         (__gtsf2): Likewise.
20058         (__unorddf2): Likewise.
20059         (__unordsf2): Likewise.
20060         (__ledf2): Likewise.
20062 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
20064         * nis/nis_table.c (__follow_path): Disable diagnostic for
20065         uninitialized variable that is a false positive for gcc 4.7.
20066         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
20068 2016-01-20  Roland McGrath  <roland@hack.frob.com>
20070         * sysdeps/nacl/lowlevellock-futex.h
20071         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
20072         Always evaluate PRIVATE argument.
20074 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
20076         [BZ #19490]
20077         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
20078         (pthread_cond_broadcast): Use ENTRY/END
20079         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
20080         (pthread_cond_signal): Likewise.
20081         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
20082         Likewise.
20083         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
20084         Likewise.
20085         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
20086         Likewise.
20088 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
20090         * sysdeps/ieee754/dbl-64/s_finite.c
20091         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
20092         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
20093         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
20094         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
20095         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
20097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
20098         (__gtsf2): Add as optional for libc.so.
20099         (__unordsf2): Likewise.
20100         (__signbit): Remove for libc.so.
20101         (__signbitl): Likewise.
20103 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20105         * iconvdata/bug-iconv11.c (test_ibm93x):
20106         Use %zu printf format specifier for size_t argument.
20108 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
20110         * math/gen-libm-test.pl (parse_ulps): Do not reduce
20111         already-recorded ulps.
20112         * sysdeps/arm/libm-test-ulps: Regenerated.
20113         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20114         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20115         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20117 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20118             Paul Pluzhnikov  <ppluzhnikov@google.com>
20120         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
20121         assembler not supporting AVX-512.
20123 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
20125         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20127 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
20129         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20130         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20132         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20134         * sysdeps/arm/libm-test-ulps: Regenerated.
20136 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20138         [BZ #19451]
20139         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
20141 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20143         [BZ #19486]
20144         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
20145         * sysdeps/generic/fix-fp-int-convert-overflow.h
20146         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
20147         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
20148         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
20149         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
20150         Likewise.
20151         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
20152         Avoid conversions to long int where inexact exceptions
20153         could be raised.
20154         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
20155         Likewise.
20156         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
20157         Avoid conversions to long long int where inexact exceptions
20158         could be raised.
20159         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
20160         Likewise.
20162 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
20164         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
20165         * configure: Regenerated.
20167 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
20169         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
20171 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
20173         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
20174         outside of comment.
20176 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20178         * nptl/tst-barrier1.c: Add description on first line.
20179         * nptl/tst-barrier2.c: Likewise.
20180         * nptl/tst-barrier3.c: Likewise.
20181         * nptl/tst-barrier4.c: Likewise.
20182         * nptl/tst-barrier5.c: Likewise.
20184 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20186         [BZ #18868]
20187         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
20189 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
20191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
20192         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
20193         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
20194         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
20195         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
20196         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
20197         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20198         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20199         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20200         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20201         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20203 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20205         [BZ #13065]
20206         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
20207         new implementation.
20208         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
20209         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
20210         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
20211         (BARRIER_IN_THRESHOLD): New macro.
20212         * nptl/pthread_barrierattr_setpshared.c
20213         (pthread_barrierattr_setpshared): Clean up.
20214         * nptl/tst-barrier4.c: Correct comment.
20215         * nptl/tst-barrier5.c: New file.
20216         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
20217         (gen-as-const-headers): Remove lowlevelbarrier.sym.
20218         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
20219         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
20220         * nptl/lowlevelbarrier.sym: Remove.
20221         * nptl/DESIGN-barrier.txt: Remove.
20222         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
20223         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
20224         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
20225         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
20226         error.
20227         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
20228         implementation.
20230 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20232         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
20233         (do_child): Mask SIGRTMIN while thr is running.
20235 2016-01-15  Martin Sebor  <msebor@redhat.com>
20237         [BZ #19432]
20238         * iconvdata/Makefile: Add bug-iconv11.
20239         * iconvdata/bug-iconv11.c: New test.
20240         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
20241         * iconvdata/ibm933.c: Same.
20242         * iconvdata/ibm935.c: Same.
20243         * iconvdata/ibm937.c: Same.
20244         * iconvdata/ibm939.c: Same.
20246 2016-01-15  Martin Sebor  <msebor@redhat.com>
20248         [BZ #19443]
20249         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
20250         [DEBUG] (_ufc_set_bits): Declare used.
20251         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
20252         [DEBUG] (print_all): Declare used.
20253         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
20254         operands of the ternary ?: expression to target type.
20255         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
20256         calling the undeclared abort.
20257         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
20259 2016-01-15  Martin Sebor  <msebor@redhat.com>
20261         [BZ #18755]
20262         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
20263         warnings.
20264         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
20265         (__gai_create_helper_thread): Same.
20266         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
20267         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
20268         to suppress -Wmaybe-uninitialized warnings.
20270 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
20272         [BZ #19465]
20273         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
20274         inside if.
20275         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20276         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20277         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20279 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
20281         [BZ #19466]
20282         * time/tst-mktime2.c (time_t_max): Removed.
20283         (time_t_min): Likewise.
20284         (TYPE_SIGNED): New.
20285         (TYPE_MINIMUM): Likewise.
20286         (TYPE_MAXIMUM): Likewise.
20287         (TIME_T_MIN): Likewise.
20288         (TIME_T_MAX): Likewise.
20289         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
20290         and TIME_T_MIN.
20291         (do_test): Likewise.
20293 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
20295         [BZ #19467]
20296         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20297         index_Fast_Unaligned_Load flag for Excavator family CPUs.
20299 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
20301         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
20303 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
20305         * benchtests/Makefile (PYTHON): Define.
20306         (bench-func): Use $(PYTHON) to run python scripts.
20307         ($(objpfx)bench-%.c): Likewise.
20309 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
20311         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
20312         leading slash when `file_name' is "/".
20314 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
20316         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
20317         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
20318         Likewise.
20319         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
20320         Likewise.
20321         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
20322         Likewise.
20323         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
20324         enum constant and macro.
20325         (PTRACE_SETSIGMASK): Likewise.
20326         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20327         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20328         (PTRACE_GETSIGMASK): Likewise.
20329         (PTRACE_SETSIGMASK): Likewise.
20330         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20331         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
20332         Likewise.
20333         (PTRACE_SETSIGMASK): Likewise.
20334         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20335         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20336         (PTRACE_GETSIGMASK): Likewise.
20337         (PTRACE_SETSIGMASK): Likewise.
20338         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20339         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
20340         Likewise.
20341         (PTRACE_SETSIGMASK): Likewise.
20342         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20343         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
20344         Likewise.
20345         (PTRACE_SETSIGMASK): Likewise.
20346         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20347         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
20348         Likewise.
20349         (PTRACE_SETSIGMASK): Likewise.
20350         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20352 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
20353             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20355         [BZ #19439]
20356         * math/bits/mathcalls.h
20357         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
20358         prototype.
20359         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
20361 2016-01-11  Andreas Schwab  <schwab@suse.de>
20363         [BZ #19253]
20364         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
20365         cache when TZDEFRULES was used.
20366         * time/tst-tzname.c: New file.
20367         * time/Makefile (test): Add tst-tzname.
20368         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
20369         * timezone/Makefile (test-zones): Add $(posixrules-file).
20370         ($(testdata)/$(posixrules-file)): New rule.
20372 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
20374         Fix doc quoting problems with Texinfo 5
20375         Without this change, in the info file output, Texinfo 5 quotes code
20376         in text with undirected single quotes 'like this' and generates
20377         code examples that with many PDF readers cannot be cut out of PDFs
20378         and pasted into code.
20379         * manual/libc.texinfo: Configure the libc manual like the GNU
20380         Emacs manual, by using @documentencoding and setting
20381         txicodequoteundirected and txicodequotebacktick.  This way,
20382         Texinfo 5 quotes code in text with directed single quotes ‘like
20383         this’ and produces examples that can be cut out of PDFs.  This
20384         change causes Texinfo 5 to generate info files that contain UTF-8
20385         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
20386         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
20388 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20390         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
20391         __libc_tabort, __libc_tend): New wrappers that enforce compiler
20392         barriers to their respective compiler built-ins.
20393         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
20394         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
20395         * sysdeps/powerpc/sysdep.h: Likewise.
20396         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
20397         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
20398         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
20400 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
20402         * scripts/config.guess: Revert previous shebang change.
20403         * scripts/config.sub: Likewise.
20404         * scripts/mkinstalldirs: Likewise.
20406 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20408         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
20409         PPC_FEATURE2_HAS_IEEE128.
20410         * sysdeps/powerpc/dl-procinfo.c:
20411         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
20413 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
20415         [BZ #19415]
20416         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
20417         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
20418         (_dl_lookup_address): Rewrite using function resolver trampoline.
20419         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
20420         two bits in address.
20422 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
20424         * longlong.h: Change !__SHMEDIA__ to
20425         (!defined (__SHMEDIA__) || !__SHMEDIA__).
20426         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
20428 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
20429             Joseph Myers  <joseph@codesourcery.com>
20430             Mark Shinwell  <shinwell@codesourcery.com>
20431             Andrew Stubbs  <ams@codesourcery.com>
20432             Rich Felker <dalias@libc.org>
20434         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
20436 2016-01-07  Richard Henderson  <rth@redhat.com>
20438         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
20440 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
20442         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
20443         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
20444         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20445         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20446         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
20448 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
20449             Joseph Myers  <joseph@codesourcery.com>
20451         * timezone/private.h: Update from tzcode 2015g.
20452         * timezone/tzfile.h: Likewise.
20453         * timezone/tzselect.ksh: Likewise.
20454         * timezone/zdump.c: Likewise.
20455         * timezone/zic.c: Likewise.
20456         * timezone/ialloc.c: Remove file.
20457         * timezone/scheck.c: Likewise.
20458         * timezone/Makefile (extra-objs): Remove variable.
20459         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
20460         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
20461         -Wno-maybe-uninitialized.
20462         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
20463         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
20464         (CFLAGS-ialloc.c): Remove variable.
20465         (CFLAGS-scheck.c): Likewise.
20466         * timezone/README: Update list of files from tzcode.
20468 2016-01-07  Khem Raj  <raj.khem@gmail.com>
20470         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
20471         instead of __fxprintf when _LIBC is undefined.
20473 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
20475         * catgets/test-gencat.sh: Remove space after shebang.
20476         * conform/GlibcConform.pm: Likewise.
20477         * conform/check-header-lists.sh: Likewise.
20478         * conform/conformtest.pl: Likewise.
20479         * conform/linknamespace.pl: Likewise.
20480         * conform/list-header-symbols.pl: Likewise.
20481         * debug/catchsegv.sh: Likewise.
20482         * elf/genrtldtbl.awk: Likewise.
20483         * elf/tst-pathopt.sh: Likewise.
20484         * elf/tst-rtld-load-self.sh: Likewise.
20485         * grp/tst_fgetgrent.sh: Likewise.
20486         * iconvdata/gen-8bit-gap-1.sh: Likewise.
20487         * iconvdata/gen-8bit-gap.sh: Likewise.
20488         * iconvdata/gen-8bit.sh: Likewise.
20489         * iconvdata/run-iconv-test.sh: Likewise.
20490         * intl/tst-gettext.sh: Likewise.
20491         * intl/tst-gettext2.sh: Likewise.
20492         * intl/tst-gettext4.sh: Likewise.
20493         * intl/tst-gettext6.sh: Likewise.
20494         * intl/tst-translit.sh: Likewise.
20495         * io/ftwtest-sh: Likewise.
20496         * libio/test-freopen.sh: Likewise.
20497         * locale/gen-translit.pl: Likewise.
20498         * malloc/tst-mtrace.sh: Likewise.
20499         * manual/check-safety.sh: Likewise.
20500         * manual/libc-texinfo.sh: Likewise.
20501         * manual/tsort.awk: Likewise.
20502         * manual/xtract-typefun.awk: Likewise.
20503         * nptl/tst-cancel-wrappers.sh: Likewise.
20504         * nptl/tst-tls6.sh: Likewise.
20505         * posix/globtest.sh: Likewise.
20506         * posix/tst-getconf.sh: Likewise.
20507         * posix/wordexp-tst.sh: Likewise.
20508         * scripts/check-c++-types.sh: Likewise.
20509         * scripts/check-local-headers.sh: Likewise.
20510         * scripts/config.guess: Likewise.
20511         * scripts/config.sub: Likewise.
20512         * scripts/cpp: Likewise.
20513         * scripts/cross-test-ssh.sh: Likewise.
20514         * scripts/documented.sh: Likewise.
20515         * scripts/evaluate-test.sh: Likewise.
20516         * scripts/gen-libc-abis: Likewise.
20517         * scripts/gen-sorted.awk: Likewise.
20518         * scripts/list-fixed-bugs.py: Likewise.
20519         * scripts/merge-test-results.sh: Likewise.
20520         * scripts/mkinstalldirs: Likewise.
20521         * scripts/rellns-sh: Likewise.
20522         * scripts/test-installation.pl: Likewise.
20523         * scripts/update-copyrights: Likewise.
20524         * stdio-common/tst-printf.sh: Likewise.
20525         * stdio-common/tst-unbputc.sh: Likewise.
20526         * stdlib/tst-fmtmsg.sh: Likewise.
20527         * stdlib/tst-setcontext3.sh: Likewise.
20528         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
20529         * sysdeps/unix/make-syscalls.sh: Likewise.
20531 2016-01-06  John David Anglin  <dave.anglin@bell.net>
20533         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
20534         asm stw with atomic_exchange_rel.  Add explanatory comment.
20535         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20536         Likewise.
20538 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
20540         [BZ #19122]
20541         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
20542         * sysdeps/generic/dl-unistd.h: New file.
20543         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
20545 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
20547          [BZ #19122]
20548          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
20549          * sysdeps/generic/dl-mman.h: New file.
20550          * sysdeps/mach/hurd/dl-mman.h: Likewise.
20552 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
20554         * manual/texinfo.tex: Update to version 2016-01-04.21 with
20555         trailing whitespace removed.
20556         * scripts/config.guess: Update to version 2016-01-01.
20557         * scripts/config.sub: Update to version 2016-01-01.
20558         * scripts/move-if-change: Update from gnulib.
20560 2016-01-04  Anton Blanchard  <anton@samba.org>
20562         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
20563         for array indices.
20564         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
20566 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
20568         * NEWS: Update copyright dates.
20569         * catgets/gencat.c (print_version): Likewise.
20570         * csu/version.c (banner): Likewise.
20571         * debug/catchsegv.sh: Likewise.
20572         * debug/pcprofiledump.c (print_version): Likewise.
20573         * debug/xtrace.sh (do_version): Likewise.
20574         * elf/ldconfig.c (print_version): Likewise.
20575         * elf/ldd.bash.in: Likewise.
20576         * elf/pldd.c (print_version): Likewise.
20577         * elf/sotruss.sh: Likewise.
20578         * elf/sprof.c (print_version): Likewise.
20579         * iconv/iconv_prog.c (print_version): Likewise.
20580         * iconv/iconvconfig.c (print_version): Likewise.
20581         * locale/programs/locale.c (print_version): Likewise.
20582         * locale/programs/localedef.c (print_version): Likewise.
20583         * login/programs/pt_chown.c (print_version): Likewise.
20584         * malloc/memusage.sh (do_version): Likewise.
20585         * malloc/memusagestat.c (print_version): Likewise.
20586         * malloc/mtrace.pl: Likewise.
20587         * manual/libc.texinfo: Likewise.
20588         * nptl/version.c (banner): Likewise.
20589         * nscd/nscd.c (print_version): Likewise.
20590         * nss/getent.c (print_version): Likewise.
20591         * nss/makedb.c (print_version): Likewise.
20592         * posix/getconf.c (main): Likewise.
20593         * scripts/test-installation.pl: Likewise.
20594         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20596         * All files with FSF copyright notices: Update copyright dates
20597         using scripts/update-copyrights.
20598         * intl/plural.c: Regenerated.
20599         * locale/programs/charmap-kw.h: Likewise.
20600         * locale/programs/locfile-kw.h: Likewise.
20602 2016-01-02  Helge Deller  <deller@gmx.de>
20604         [BZ #19285]
20605         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
20606         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
20607         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
20608         (MADV_xxK_PAGES): Remove.
20610 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
20612         [BZ #15421]
20613         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
20614         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
20615         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
20616         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
20618 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
20620         [BZ #19408]
20621         * sysdeps/unix/sysv/linux/personality.c: New file.
20622         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
20623         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
20624         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
20625         (sysdep_routines): Add personality.
20626         (tests): Add tst-personality.
20627         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
20628         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
20629         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
20630         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
20631         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
20632         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
20633         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
20634         Likewise.
20635         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
20636         Likewise.
20637         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
20638         Likewise.
20639         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
20640         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
20641         Likewise.
20643 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
20645         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
20646         (PATH_ARM_SYSTYPE): Remove.
20647         (PATH_CPUINFO): Likewise.
20648         (IO_BASE_FOOTBRIDGE): Likewise.
20649         (IO_SHIFT_FOOTBRIDGE): Likewise.
20650         (struct platform): Likewise.
20651         (init_iosys): Remove compatibility code for 2.4 kernels.
20652         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
20654 2015-12-29  Florian Weimer  <fweimer@redhat.com>
20656         * malloc/tst-malloc-thread-fail.c: New file.
20657         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
20658         (tst-malloc-thread-fail): Link against libpthread.
20660 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
20662         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
20663         (get_parser): New function.
20664         (main): New function.
20666 2015-12-29  Rob Wu  <rob@robwu.nl>
20668         [BZ #19369]
20669         * resolv/res_init.c (__res_vinit): Reset defdname before use.
20671 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
20673         [BZ #19270]
20674         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
20676 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
20678         [BZ #15421]
20679         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
20681 2015-12-23  Torvald Riegel  <triegel@redhat.com>
20683         [BZ #13690]
20684         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
20685         after releasing it.
20686         (__lll_robust_unlock): Likewise.
20687         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20688         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
20689         (lll_robust_unlock): Likewise.
20690         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
20691         Prevent warnings in callers.
20693 2015-12-23  Florian Weimer  <fweimer@redhat.com>
20695         * malloc/arena.c (list_lock): Update comment.
20697 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20699         * sysdeps/powerpc/hwcapinfo.c: Export symbol
20700         __parse_hwcap_and_convert_at_platform to libc.a.
20702 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20704         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
20705         platform and feature support for POWER9.
20706         * sysdeps/powerpc/dl-procinfo.h: Likewise.
20707         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
20708         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
20709         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
20710         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
20711         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
20712         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
20713         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
20715 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20717         Harmonize generic stdio-lock support with nptl
20719         This fixes build when _IO_funlockfile is a macro, fixes build where
20720         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
20721         stack unwind.
20723         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
20724         _IO_release_lock ): Use cleanup attribute on new
20725         _IO_acquire_lock_file variable instead of assuming that
20726         _IO_release_lock will be called.
20727         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
20728         _IO_acquire_lock_needs_exceptions_enabled.
20729         (_IO_acquire_lock_clear_flags2): New macro.
20731 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20733         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
20735 2015-12-21  Florian Weimer  <fweimer@redhat.com>
20737         [BZ #19182]
20738         * malloc/arena.c (list_lock): Document lock ordering requirements.
20739         (free_list_lock): New lock.
20740         (ptmalloc_lock_all): Comment on free_list_lock.
20741         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
20742         (detach_arena): Update comment.  free_list_lock is now needed.
20743         (_int_new_arena): Use free_list_lock around detach_arena call.
20744         Acquire arena lock after list_lock.  Add comment, including FIXME
20745         about incorrect synchronization.
20746         (get_free_list): Switch to free_list_lock.
20747         (reused_arena): Acquire free_list_lock around detach_arena call
20748         and attached threads counter update.  Add two FIXMEs about
20749         incorrect synchronization.
20750         (arena_thread_freeres): Switch to free_list_lock.
20751         * malloc/malloc.c (struct malloc_state): Update comments to
20752         mention free_list_lock.
20754 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20756         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
20757         Remove functions.
20758         (sloww, sloww1): Accept argument to offset quadrant.
20759         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
20760         quadrant.
20761         (__sin, __cos): Consolidate common code into new functions.
20762         (reduce_sincos_1, do_sincos_1): New functions.
20763         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
20765         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
20766         code to new functions.
20767         (reduce_sincos_2, do_sincos_2): New functions.
20768         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
20770         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
20771         common code for sincos.
20772         (__cos) [!IN_SINCOS]: Likewise.
20773         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
20774         New function.
20775         (__sincos): Use it.
20777 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
20779         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
20780         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
20781         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20783 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20785         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
20786         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
20787         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
20788         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
20789         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20790         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
20791         index_Prefer_No_VZEROUPPER): New feature.
20792         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
20793         Prefer_No_VZEROUPPER for Knights Landing.
20795 015-12-18  Torvald Riegel  <triegel@redhat.com>
20797         * math/atest-exp2.c (mp_exp_m1): Remove.
20799 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20801         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
20802         syscalls.
20803         (__SYSCALL0): New macro.
20804         (__SYSCALL1): Likewise.
20805         (__SYSCALL2): Likewise.
20806         (__SYSCALL3): Likewise.
20807         (__SYSCALL4): Likewise.
20808         (__SYSCALL5): Likewise.
20809         (__SYSCALL6): Likewise.
20810         (__SYSCALL_CONCAT_X): Likewise.
20811         (__SYSCALL_CONCAT): Likewise.
20812         (__SYSCALL_DIST): Likewise.
20813         (__SYSCALL_CALL): Likewise.
20815 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
20817         [BZ #19363]
20818         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
20820 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20822         [BZ #19375]
20823         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
20824         negative subnormals.
20826 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
20828         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20829         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
20830         (INTERNAL_SYSCALL_NCS): Use it.
20831         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20833 2015-12-16  Florian Weimer  <fweimer@redhat.com>
20835         [BZ #19243]
20836         * malloc/arena.c (get_free_list): Remove assert and adjust
20837         reference count handling.  Add comment about reused_arena
20838         interaction.
20839         (reused_arena): Add comments abount get_free_list interaction.
20840         * malloc/tst-malloc-thread-exit.c: New file.
20841         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
20842         (tst-malloc-thread-exit): Link against libpthread.
20844 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
20846         [BZ #19367]
20847         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
20848         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
20849         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
20850         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
20851         (index_Prefer_MAP_32BIT_EXEC): Likewise.
20853 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
20855         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
20856         Silvermont optimizations for Knights Landing.
20858 2015-12-15  Andreas Schwab  <schwab@suse.de>
20860         [BZ #17197]
20861         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
20862         immediately after emitting SI.
20863         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
20864         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
20865         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
20866         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
20867         * iconvdata/bug-iconv10.c: New file.
20868         * iconvdata/Makefile (tests): Add bug-iconv10.
20869         ($(objpfx)bug-iconv10.out): New rule.
20871 2015-12-15  Florian Weimer  <fweimer@redhat.com>
20873         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
20874         aliasing violation.
20876 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
20878         [BZ #18472]
20879         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
20880         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
20881         conditionals for them.
20882         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
20883         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
20884         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
20885         sys/kdaemon.h.
20886         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
20887         compat-only syscall, obsoleted in glibc 2.23.
20888         (create_module): Likewise.
20889         (get_kernel_syms): Likewise.
20890         (query_module): Likewise.
20891         (uselib): Likewise.
20892         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
20894 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
20896         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
20897         <linux/version.h>.
20898         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
20899         conditional code.
20900         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
20901         and ioshift_name initialization.
20903 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20905         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20906         Fix indentation.
20908 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20910         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
20912 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20914         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
20916 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
20917             Jakub Wilk  <jwilk@debian.org>
20919         [BZ #19347]
20920         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
20921         to change the group of the device to the tty group.
20923 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
20925         Split large string section; add truncation advice
20926         * manual/examples/strncat.c: Remove.
20927         This example was misleading, as the code would have undefined
20928         behavior if "hello" was longer than SIZE.  Anyway, the manual
20929         shouldn't encourage strncpy+strncat for this sort of thing.
20930         * manual/string.texi (Copying Strings and Arrays): Split into
20931         three sections Copying Strings and Arrays, Concatenating Strings,
20932         and Truncating Strings, as this section was way too long.  All
20933         cross-referenced changed.  Add advice about string-truncation
20934         functions.  Remove misleading strncat example.
20936 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
20938         * manual/nss.texi (NSS Modules Interface): Document
20939         NSS_STATUS_NOTFOUND and SUCCESS.
20941 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
20943         [BZ 18568]
20944         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20945         201505L, for Unicode 8.
20947 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
20949         * locale/C-translit.h: Regenerate.
20951 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
20953         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
20954         and U+0153.
20956 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
20958         [BZ #19351]
20959         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
20960         expanding log(1+z), compare z rather than its square with epsilon
20961         to determine when to avoid evaluating the expansion.
20963         [BZ #19350]
20964         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20965         Increase overflow threshold.
20967         [BZ #19349]
20968         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
20969         when small.
20971         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20972         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
20973         New macro.
20974         [__LINUX_KERNEL_VERSION >= 0x040300]
20975         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20976         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
20977         Likewise.
20978         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
20979         Likewise.
20980         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
20981         Likewise.
20982         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
20983         Likewise.
20984         [__LINUX_KERNEL_VERSION >= 0x040300]
20985         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
20986         [__LINUX_KERNEL_VERSION >= 0x040300]
20987         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20988         [__LINUX_KERNEL_VERSION >= 0x040300]
20989         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20990         [__LINUX_KERNEL_VERSION >= 0x040300]
20991         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20992         [__LINUX_KERNEL_VERSION >= 0x040300]
20993         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20994         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
20995         Likewise.
20996         [__LINUX_KERNEL_VERSION >= 0x040300]
20997         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
20998         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20999         Likewise.
21000         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21001         Likewise.
21002         [__LINUX_KERNEL_VERSION >= 0x040300]
21003         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21004         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21005         Likewise.
21006         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21007         Likewise.
21008         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21009         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
21010         Likewise.
21011         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
21012         Likewise.
21013         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21014         Likewise.
21015         [__LINUX_KERNEL_VERSION >= 0x040300]
21016         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21017         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21018         Likewise.
21019         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21020         Likewise.
21021         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21022         Likewise.
21023         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21024         Likewise.
21025         [__LINUX_KERNEL_VERSION >= 0x040300]
21026         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21027         [__LINUX_KERNEL_VERSION >= 0x040300]
21028         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21029         [__LINUX_KERNEL_VERSION >= 0x040300]
21030         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21031         [__LINUX_KERNEL_VERSION >= 0x040300]
21032         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21033         [__LINUX_KERNEL_VERSION >= 0x040300]
21034         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21035         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21036         Likewise.
21037         [__LINUX_KERNEL_VERSION >= 0x040300]
21038         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21039         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21040         Likewise.
21041         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21042         Likewise.
21043         [__LINUX_KERNEL_VERSION >= 0x040300]
21044         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21045         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21046         Likewise.
21047         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21048         Likewise.
21049         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21050         (__ASSUME_SOCKET_SYSCALL): Likewise.
21051         (__ASSUME_BIND_SYSCALL): Likewise.
21052         (__ASSUME_CONNECT_SYSCALL): Likewise.
21053         (__ASSUME_LISTEN_SYSCALL): Likewise.
21054         (__ASSUME_ACCEPT_SYSCALL): Likewise.
21055         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21056         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21057         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21058         (__ASSUME_SEND_SYSCALL): Likewise.
21059         (__ASSUME_SENDTO_SYSCALL): Likewise.
21060         (__ASSUME_RECV_SYSCALL): Likewise.
21061         (__ASSUME_RECVFROM_SYSCALL): Likewise.
21062         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
21063         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21064         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21065         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21066         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21067         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21068         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
21069         Likewise.
21070         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
21071         Likewise.
21072         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
21073         Likewise.
21074         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
21075         Likewise.
21076         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
21077         Likewise.
21078         [__LINUX_KERNEL_VERSION >= 0x020625]
21079         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21080         [__LINUX_KERNEL_VERSION >= 0x020625]
21081         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21082         [__LINUX_KERNEL_VERSION >= 0x020625]
21083         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21084         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
21085         Likewise.
21086         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
21087         Likewise.
21088         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
21089         Likewise.
21090         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
21091         Likewise.
21092         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
21093         Likewise.
21094         [__LINUX_KERNEL_VERSION >= 0x020625]
21095         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21096         [__LINUX_KERNEL_VERSION >= 0x020625]
21097         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21098         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
21099         Likewise.
21100         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
21101         Likewise.
21103 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
21105         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
21106         record the current if the current ABI and CPU support the FP64
21107         extension.
21108         (has-modd-spreg): Define to record the current if the current ABI and
21109         CPU support 32-bit floating point values in odd FPU registers.
21110         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21111         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
21112         $(has-modd-spreg) equals yes.
21113         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
21114         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
21115         $(has-modd-spreg) equal yes.
21117 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
21119         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
21120         basename.
21122 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
21124         * benchtests/Makefile (bench-math): Move ffs and ffsll...
21125         (bench-string): ... here.
21126         (bench): Add bench-string.
21127         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
21128         to *-benchset to reflect what they are.
21129         (benchset): Adjust.
21131         * benchtests/sincos-inputs: Add inputs from sin-inputs and
21132         cos-inputs.
21134 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
21136         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
21137         __attribute__ ((__simd__)) for vector math function declarations.
21139 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21141         Fix typo in strncat, wcsncat manual entries
21142         * manual/string.texi (Copying and Concatenation): Fix typos in
21143         sample implementations of strncat and wcsncat, by having them use
21144         the old value of the destination length, not the new one.
21146 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
21148         [BZ #16961]
21149         [BZ #16962]
21150         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
21151         string on the stack for strtod.
21152         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
21153         a string on the stack for strtof.
21154         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
21155         constructing a string on the stack for strtold.
21156         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
21157         __strtold_nan to GLIBC_PRIVATE.
21158         * math/test-nan-overflow.c: New file.
21159         * math/test-nan-payload.c: Likewise.
21160         * math/Makefile (tests): Add test-nan-overflow and
21161         test-nan-payload.
21163 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21165         Consistency about byte vs character in string.texi
21166         * manual/string.texi (String and Array Utilities):
21167         Distinguish more carefully among bytes, multibyte characters,
21168         and wide characters.  Use "byte" when talking about C 'char',
21169         to distinguish it more clearly from multibyte characters.
21170         Say "wide character" or "multibyte character" instead of
21171         "character", when a wide or multibyte character is intended.
21172         Similarly for "multibyte string" versus "string".
21173         Define these terms more carefully.
21175 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
21177         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
21178         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
21179         Likewise.
21180         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21181         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21182         * sysdeps/sh/math_private.h: New file.
21183         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
21184         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
21185         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
21186         long double function name.
21187         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21188         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21189         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21190         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21191         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21193         Remove __finitel, __isinfl, and __isnanl.
21194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21195         Likewise.
21196         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21198         Remove __finitel.
21199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21200         Likewise.
21201         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21203 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
21205         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
21206         installed libmvec_nonshared.a.
21208 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21210         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
21211         (sysdep_routines): Likewise.
21212         (sysdep-rtld-routines): Likewise.
21213         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
21214         [$(subdir) = nptl](tests-static): test-get_hwcap-static
21215         * sysdeps/powerpc/Versions: Added new
21216         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
21217         * sysdeps/powerpc/hwcapinfo.c: New file.
21218         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
21219         and parse hwcap, hwcap2 and platform number information.
21220         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
21221         to store HWCAP+HWCAP2 and platform number.
21222         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
21223         for HWCAP+HWCAP2 and platform number in the TCB.
21224         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
21225         the HWCAP, HWCAP2 and platform number in the TCB.
21226         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
21227         (TLS_INIT_TP): Included calls to add the hwcap and
21228         at_platform values in the TCB in TP initialization.
21229         (TLS_DEFINE_INIT_TP): Likewise.
21230         (THREAD_GET_HWCAP): New macro.
21231         (THREAD_SET_HWCAP): Likewise.
21232         (THREAD_GET_AT_PLATFORM): Likewise.
21233         (THREAD_SET_AT_PLATFORM): Likewise.
21234         * sysdeps/powerpc/powerpc32/dl-machine.h:
21235         (dl_platform_init): New function that calls
21236         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
21237         powerpc32.
21238         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
21239         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
21240         this functionality, static linking case.
21241         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
21242         linking case.
21243         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
21244         __parse_hwcap_and_convert_at_platform for the static linking case.
21245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
21246         Included the new __parse_hwcap_and_convert_at_platform symbol in the
21247         ABI list for GLIBC 2.23.
21248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
21249         Likewise.
21250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
21251         Likewise.
21253 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
21255         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
21256         * configure: Regenerate.
21257         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
21258         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
21260 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
21262         * iconvdata/ibm930.c: Add comment explaining encoding uses.
21263         * iconvdata/ibm933.c: Likewise.
21264         * iconvdata/ibm935.c: Likewise.
21265         * iconvdata/ibm937.c: Likewise.
21266         * iconvdata/ibm939.c: Likewise.
21268 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21270         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
21271         pthread_join.
21272         * nptl/tst-cancel21.c (tf): Likewise.
21274 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
21276         [BZ #19313]
21277         * bits/typesizes.h (__CPU_MASK_TYPE): New.
21278         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
21279         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
21280         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
21281         Likewise.
21282         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
21283         Likewise.
21284         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
21285         Likewise.
21286         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
21287         Likewise.
21288         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
21289         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
21290         unsigned long int with __CPU_MASK_TYPE.
21292 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21294         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21296 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
21298         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
21299         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
21300         t512.x.
21301         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
21303 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
21305         [BZ #19214]
21306         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
21307         argument to return extended model.  Update family and model
21308         with extended family and model when family == 0x0f.
21309         (init_cpu_features): Updated.
21311 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21313         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
21314         signed off_t, so 32bit bigger than 2GiB values are fine actually.
21316         * sysdeps/mach/hurd/mmap64.c: New file.
21318 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
21320         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
21321         rights for its main user thread in NEWTASK.
21323 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
21325         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
21326         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
21328 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
21330         [BZ #14259]
21331         * Makeconfig: Rename localedir to complocaledir.
21332         Rename inst_localedir to inst_complocaledir.
21333         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
21334         * config.make.in: Use complocaledir and libc_cv_complocaledir.
21335         * configure.ac: Use libc_cv_complocaledir.
21336         * configure: Regenerate.
21337         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
21338         -DCOMPLOCALEDIR.
21339         * locale/findlocale.c: Use COMPLOCALEDIR.
21340         * locale/loadarchive.c: Likewise.
21341         * locale/programs/locale.c: Likewise.
21342         * locale/programs/localedef.c: Likewise.
21343         * locale/programs/locarchive.c: Likewise.
21344         * localedata/Makefile: Use inst_complocaledir.
21345         * sysdeps/gnu/configure: Regenerate.
21346         * sysdeps/hppa/configure: Regenerate.
21347         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
21348         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21350         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
21351         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
21352         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
21353         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
21355 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
21357         [BZ #19058]
21358         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
21359         AS_NEEDED.
21360         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
21361         workaround.
21362         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
21363         libmvec-static-only-routines): Added new file.
21364         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
21366 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21368         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
21369         of interrupted RPC instead of restoring it.
21371         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
21372         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
21373         libc_hidden_def.
21374         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
21375         into initialized data instead of common. Define rtld_hidden_data_def.
21376         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
21377         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
21378         libc_hidden_def.
21379         (if_freenameindex): Add libc_hidden_weak.
21380         (if_nameindex): Add libc_hidden_weak.
21381         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
21382         __open64.
21383         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
21384         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
21385         * sysdeps/mach/nanosleep.c: Include <time.h>
21386         (__nanosleep): Rename to __libc_nanosleep.
21387         (__nanosleep): Add weak_alias.
21388         (nanosleep): Update alias.
21390 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
21392         * stdlib/strtod_nan.c: New file.
21393         * stdlib/strtod_nan_double.h: Likewise.
21394         * stdlib/strtod_nan_float.h: Likewise.
21395         * stdlib/strtod_nan_main.c: Likewise.
21396         * stdlib/strtod_nan_narrow.h: Likewise.
21397         * stdlib/strtod_nan_wide.h: Likewise.
21398         * stdlib/strtof_nan.c: Likewise.
21399         * stdlib/strtold_nan.c: Likewise.
21400         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
21401         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
21402         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
21403         * wcsmbs/wcstod_nan.c: Likewise.
21404         * wcsmbs/wcstof_nan.c: Likewise.
21405         * wcsmbs/wcstold_nan.c: Likewise.
21406         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
21407         strtold_nan.
21408         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
21409         wcstof_nan.
21410         * include/stdlib.h (__strtof_nan): Declare and use
21411         libc_hidden_proto.
21412         (__strtod_nan): Likewise.
21413         (__strtold_nan): Likewise.
21414         (__wcstof_nan): Likewise.
21415         (__wcstod_nan): Likewise.
21416         (__wcstold_nan): Likewise.
21417         * include/wchar.h (____wcstoull_l_internal): Declare.
21418         * stdlib/strtod_l.c: Do not include <ieee754.h>.
21419         (____strtoull_l_internal): Remove declaration.
21420         (STRTOF_NAN): Define macro.
21421         (SET_MANTISSA): Remove macro.
21422         (STRTOULL): Likewise.
21423         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
21424         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
21425         (STRTOF_NAN): Define macro.
21426         (SET_MANTISSA): Remove macro.
21427         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
21428         (SET_MANTISSA): Remove macro.
21429         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
21430         macro.
21431         (SET_MANTISSA): Remove macro.
21432         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
21433         macro.
21434         (SET_MANTISSA): Remove macro.
21435         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
21436         (SET_MANTISSA): Remove macro.
21437         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
21438         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
21439         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
21441         [BZ #19266]
21442         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
21443         upper case and lower case letters inside NAN(), not using TOLOWER.
21444         * stdlib/tst-strtod-nan-locale-main.c: New file.
21445         * stdlib/tst-strtod-nan-locale.c: Likewise.
21446         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
21447         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
21448         Depend on $(gen-locales).
21449         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
21450         * wcsmbs/tst-wcstod-nan-locale.c: New file.
21451         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
21452         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
21453         Depend on $(gen-locales).
21454         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
21456 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
21458         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
21460         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
21462         __finitel, __isinfl, and __isnanl.
21463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21464         Likewise.
21465         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
21467         __finitel.
21468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21469         Likewise.
21470         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21472 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21474         * malloc/memusage.c (me): Remove redundant getenv call.
21476 2015-10-24  Florian Weimer  <fweimer@redhat.com>
21478         [BZ #19143]
21479         [BZ #19164]
21480         * nptl/check-cpuset.h: Remove.
21481         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21482         Remove CPU set size check.
21483         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21484         Likewise.
21485         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
21486         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21487         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
21488         (__pthread_setaffinity_new): Remove CPU set size check.
21489         * sysdeps/unix/sysv/linux/sched_setaffinity.c
21490         (__kernel_cpumask_size): Remove.
21491         (__sched_setaffinity_new): Remove CPU set size check.
21492         * manual/threads.texi (Default Thread Attributes): Remove stale
21493         reference to check_cpuset_attr, determine_cpumask_size in comment.
21494         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
21495         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
21496         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
21497         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
21498         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
21499         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
21500         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
21501         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
21502         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
21503         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
21504         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
21505         skeleton test file.
21506         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
21507         tst-affinity-pid.
21509 2015-11-24  Florian Weimer  <fweimer@redhat.com>
21511         * scripts/update-abilist.sh: New file.
21512         * Makefile (+subdir_targets): Add subdir_update-all-abi.
21513         * Makerules (update-all-abi-%, update-all-abi)
21514         (subdir_update-all-abi): New targets.
21515         * elf/Makefile (update-all-abi): New target.
21517 2015-11-24  Florian Weimer  <fweimer@redhat.com>
21519         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
21520         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
21521         (__libc_lock_define_initialized): Use it.
21522         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
21523         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
21524         * malloc/malloc.c (main_arena): Likewise.
21525         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
21526         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
21528 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
21530         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21531         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
21532         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21533         (PTRACE_O_MASK): Update value.
21534         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
21535         New value in enum __ptrace_setoptions.
21536         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21537         (PTRACE_O_MASK): Update value.
21538         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21539         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21540         (PTRACE_O_MASK): Update value.
21541         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
21542         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21543         (PTRACE_O_MASK): Update value.
21544         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
21545         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21546         (PTRACE_O_MASK): Update value.
21547         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
21548         New value in enum __ptrace_setoptions.
21549         (PTRACE_O_MASK): Update value.
21550         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
21551         New value in enum __ptrace_setoptions.
21552         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21553         (PTRACE_O_MASK): Update value.
21555         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
21556         New macro.
21557         (PACKET_AUXDATA): Likewise.
21558         (PACKET_ORIGDEV): Likewise.
21559         (PACKET_VERSION): Likewise.
21560         (PACKET_HDRLEN): Likewise.
21561         (PACKET_RESERVE): Likewise.
21562         (PACKET_TX_RING): Likewise.
21563         (PACKET_LOSS): Likewise.
21564         (PACKET_VNET_HDR): Likewise.
21565         (PACKET_TX_TIMESTAMP): Likewise.
21566         (PACKET_TIMESTAMP): Likewise.
21567         (PACKET_FANOUT): Likewise.
21568         (PACKET_TX_HAS_OFF): Likewise.
21569         (PACKET_QDISC_BYPASS): Likewise.
21570         (PACKET_ROLLOVER_STATS): Likewise.
21571         (PACKET_FANOUT_DATA): Likewise.
21572         (PACKET_MR_UNICAST): Likewise.
21574         [BZ #19242]
21575         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
21576         (TOUPPER): Likewise.
21577         * stdlib/tst-strtol-locale-main.c: New file.
21578         * stdlib/tst-strtol-locale.c: Likewise.
21579         * stdlib/Makefile (tests): Add tst-strtol-locale.
21580         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
21581         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
21582         Depend on $(gen-locales).
21583         * wcsmbs/tst-wcstol-locale.c: New file.
21584         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
21585         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
21586         tr_TR.ISO-8859-9.
21587         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
21588         Depend on $(gen-locales).
21590 2015-11-20  Roland McGrath  <roland@hack.frob.com>
21592         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
21593         __glibc_likely instead of __builtin_expect.  After falling back to
21594         dyncode_create in a non-ET_DYN case, use the allocate_code_data
21595         system interface to register the code pages as occupied.
21597 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
21599         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21600         [!ARM_MATH_PRIVATE_H].
21601         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
21602         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21603         [!HPPA_MATH_PRIVATE_H].
21604         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
21605         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
21606         to [!I386_MATH_PRIVATE_H].
21607         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
21608         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
21609         Change guard to [!M68K_MATH_PRIVATE_H].
21610         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
21611         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
21612         guard to [!MICROBLAZE_MATH_PRIVATE_H].
21613         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
21614         macro.
21615         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21616         [!MIPS_MATH_PRIVATE_H].
21617         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
21618         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21619         [!NIO2_MATH_PRIVATE_H].
21620         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
21621         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21622         [!TILE_MATH_PRIVATE_H].
21623         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
21625         [BZ #15421]
21626         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
21627         initialize with 0 and define as weak alias of __signgam.
21628         * include/math.h [!_ISOMAC] (__signgam): Declare.
21629         * math/Makefile (libm-calls): Add w_lgamma_compat.
21630         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
21631         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
21632         test-signgam-ullong-init.
21633         (tests-static): Add test-signgam-uchar-static,
21634         test-signgam-uchar-init-static, test-signgam-uint-static,
21635         test-signgam-uint-init-static, test-signgam-ullong-static and
21636         test-signgam-ullong-init-static.
21637         (CFLAGS-test-signgam-uchar.c): New variable.
21638         (CFLAGS-test-signgam-uchar-init.c): Likewise.
21639         (CFLAGS-test-signgam-uchar-static.c): Likewise.
21640         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21641         (CFLAGS-test-signgam-uint.c): Likewise.
21642         (CFLAGS-test-signgam-uint-init.c): Likewise.
21643         (CFLAGS-test-signgam-uint-static.c): Likewise.
21644         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21645         (CFLAGS-test-signgam-ullong.c): Likewise.
21646         (CFLAGS-test-signgam-ullong-init.c): Likewise.
21647         (CFLAGS-test-signgam-ullong-static.c): Likewise.
21648         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21649         * math/Versions (libm): Add GLIBC_2.23.
21650         * math/lgamma-compat.h: New file.
21651         * math/test-signgam-main.c: Likewise.
21652         * math/test-signgam-uchar-init-static.c: Likewise.
21653         * math/test-signgam-uchar-init.c: Likewise.
21654         * math/test-signgam-uchar-static.c: Likewise.
21655         * math/test-signgam-uchar.c: Likewise.
21656         * math/test-signgam-uint-init-static.c: Likewise.
21657         * math/test-signgam-uint-init.c: Likewise.
21658         * math/test-signgam-uint-static.c: Likewise.
21659         * math/test-signgam-uint.c: Likewise.
21660         * math/test-signgam-ullong-init-static.c: Likewise.
21661         * math/test-signgam-ullong-init.c: Likewise.
21662         * math/test-signgam-ullong-static.c: Likewise.
21663         * math/test-signgam-ullong.c: Likewise.
21664         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
21665         wrapper of w_lgamma_main.c.
21666         * math/w_lgamma_compat.c: New file.
21667         * math/w_lgamma_compatf.c: Likewise.
21668         * math/w_lgamma_compatl.c: Likewise.
21669         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
21670         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
21671         defining compatibility symbols.
21672         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
21673         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
21674         wrapper of w_lgammaf_main.c.
21675         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
21676         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
21677         defining compatibility symbols.
21678         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
21679         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
21680         wrapper of w_lgammal_main.c.
21681         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
21682         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
21683         defining compatibility symbols.
21684         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
21685         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
21686         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
21687         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
21688         <lgamma-compat.h>.
21689         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
21690         (__ieee754_gamma): Define as alias.
21691         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
21692         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
21693         <lgamma-compat.h>.
21694         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
21695         (__ieee754_gammaf): Define as alias.
21696         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
21697         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
21698         <lgamma-compat.h>.
21699         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
21700         (__ieee754_gammal): Define as alias.
21701         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
21702         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
21703         <math/w_lgamma_compat.c>.
21704         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
21705         Define as alias of __lgamma_compat and use in defining lgammal.
21706         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
21707         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
21708         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
21709         (USE_AS_COMPAT): New macro.
21710         (LGAMMA_OLD_VER): Undefine and redefine.
21711         (lgammal): Do not define here.
21712         (gammal): Only define here if [GAMMA_ALIAS].
21713         * conform/linknamespace.pl (@whitelist): Remove signgam.
21714         * sysdeps/nacl/libm.abilist: Update.
21715         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21716         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21717         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21718         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21719         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21720         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21721         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21722         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21723         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21724         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21725         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21726         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21728         Likewise.
21729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21730         Likewise.
21731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21732         Likewise.
21733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21734         Likewise.
21735         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21736         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21737         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21738         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21739         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21741         Likewise.
21742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21743         Likewise.
21744         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21745         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21746         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21748 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21750         [BZ #16364]
21751         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
21752         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
21754 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21756         * sysdeps/s390/fpu/bits/mathinline.h:
21757         Use __asm__ [__volatile__] instead of asm [volatile].
21758         * sysdeps/s390/abort-instr.h: Likewise.
21759         * sysdeps/s390/atomic-machine.h: Likewise.
21760         * sysdeps/s390/bits/string.h: Likewise.
21761         * sysdeps/s390/dl-tls.h: Likewise.
21762         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21763         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21764         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21765         * sysdeps/s390/fpu/fesetround.c: Likewise.
21766         * sysdeps/s390/fpu/fpu_control.h: Likewise.
21767         * sysdeps/s390/fpu/s_fma.c: Likewise.
21768         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
21769         * sysdeps/s390/memusage.h: Likewise.
21770         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
21771         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
21772         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
21773         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
21774         * sysdeps/s390/nptl/tls.h: Likewise.
21775         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
21776         * sysdeps/s390/s390-32/backtrace.c: Likewise.
21777         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21778         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
21779         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21780         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21781         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
21782         * sysdeps/s390/s390-64/backtrace.c: Likewise.
21783         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21784         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
21785         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
21786         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21787         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21788         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
21789         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21790         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21791         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
21792         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21793         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
21794         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21795         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
21796         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21797         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
21799 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21800             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21802         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
21803         Add lwarx hint, and use macro for acquire instruction.
21804         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21805         Likewise.
21806         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
21807         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
21808         update to use new atomic macros.
21810 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21812         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21813         (__lll_trylock_elision): Fix setting of adapt_count.
21814         * sysdeps/unix/sysv/linux/powerpc/htm.h
21815         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
21816         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
21817         (_ABORT_SYSCALL): Renumber, and clarify definition.
21818         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
21820 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21822         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
21823         after system headers to prevent MIN/MAX redefinition.  Define
21824         HAVE_ALLOCA to preserve builtin alloca usage.
21826 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
21828         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
21829         static and don't set or restore rounding.
21830         (__cos)[IN_SINCOS]: Likewise.
21831         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
21832         (__sincos): Set and restore rounding mode.  Remove check for infinite
21833         or NaN input.
21835         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
21837         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
21838         as used.
21840 2015-11-16  Florian Weimer  <fweimer@redhat.com>
21842         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
21844 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
21846         * config.make.in (have-glob-dat-reloc): New.
21847         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
21848         target supports GLOB_DAT relocaton. AC_SUBST.
21849         * configure: Regenerated.
21850         * elf/Makefile (tests): Add tst-prelink.
21851         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
21852         (tst-prelink-ENV): New.
21853         ($(objpfx)tst-prelink-conflict.out): Likewise.
21854         ($(objpfx)tst-prelink-cmp.out): Likewise.
21855         * sysdeps/x86/tst-prelink.c: Moved to ...
21856         * elf/tst-prelink.c: Here.
21857         * sysdeps/x86/tst-prelink.exp: Moved to ...
21858         * elf/tst-prelink.exp: Here.
21859         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
21860         (tst-prelink-ENV): Removed.
21861         ($(objpfx)tst-prelink-conflict.out): Likewise.
21862         ($(objpfx)tst-prelink-cmp.out): Likewise.
21863         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
21865 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
21867         [BZ #14551]
21868         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
21869         (__mpn_construct_long_double): If high part overflows to infinity,
21870         set errno and recompute overflowed result of the correct sign.
21871         * sysdeps/ieee754/ldbl-128ibm/Makefile
21872         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
21873         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
21874         $(libm).
21875         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
21877 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
21879         [BZ #15479]
21880         [BZ #19238]
21881         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
21882         floating-point state after first operation on input.  Restore full
21883         state rather than just rounding mode.
21884         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
21885         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
21886         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
21888         [BZ #19235]
21889         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
21890         add 0.5 to integer arguments.
21891         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
21892         Likewise.
21893         (.LC2): New object.
21895 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
21897         * scripts/pylintrc (reports): Set to no.
21899 2015-11-10  Roland McGrath  <roland@hack.frob.com>
21901         * elf/dl-load.c (open_verify): Take new argument FD.
21902         Skip __open call if passed FD is not -1.
21903         (_dl_map_object, open_path): Update callers.
21904         * elf/dl-sysdep-open.h: New file.
21905         * elf/dl-load.c: Include it.
21906         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
21907         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
21908         * sysdeps/nacl/dl-sysdep-open.h: New file.
21909         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
21910         from libc to rtld.
21912 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
21914         [BZ #19228]
21915         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
21916         and restore full floating-point state.
21917         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21918         Likewise.
21919         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
21920         Likewise.
21921         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
21922         Likewise.
21923         * math/test-nearbyint-except-2.c: New file.
21924         * math/Makefile (tests): Add test-nearbyint-except-2.
21926 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
21928         [BZ #19178]
21929         * sysdeps/x86/Makefile (tests): Add tst-prelink.
21930         (tst-prelink-ENV): New.
21931         ($(objpfx)tst-prelink-conflict.out): Likewise.
21932         ($(objpfx)tst-prelink-cmp.out): Likewise.
21933         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
21934         * sysdeps/x86/tst-prelink.c: New file.
21935         * sysdeps/x86/tst-prelink.exp: Likewise.
21937 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
21939         * math/auto-libm-test-in: Add another test of pow.
21940         * math/auto-libm-test-out: Regenerated.
21941         * math/libm-test.inc (pow_test_data): Add another test.
21943 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21945         [BZ #19219]
21946         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
21947         weak_alias to nearbyintl.
21949 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
21951         * sysdeps/aarch64/bits/string.h: New file.
21952         (_STRING_ARCH_unaligned): Define.
21954 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
21956         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
21957         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21958         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21959         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
21960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
21962 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
21964         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
21965         for original name of the DSO.  Add it to the name list of the DSO
21966         if it is actually given.
21967         (_dl_map_object): Keep track of whether an audit module rewrote
21968         the file name.  If yes, pass the original name to
21969         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
21970         debugging is enabled, log the change of the file name.
21971         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
21972         _dl_map_object_from_fd.
21973         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
21974         * elf/tst-audit11.c: New file
21975         * elf/tst-auditmod11.c: New file.
21976         * elf/tst-audit11mod1.c: New file.
21977         * elf/tst-audit11mod2.c: New file.
21978         * elf/tst-audit11mod2.map: New file.
21979         * elf/tst-audit12.c: New file
21980         * elf/tst-auditmod12.c: New file.
21981         * elf/tst-audit12mod1.c: New file.
21982         * elf/tst-audit12mod2.c: New file.
21983         * elf/tst-audit12mod2.map: New file.
21984         * elf/tst-audit12mod3.c: New file.
21986 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21988         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
21989         Don't create weak aliases,
21990         because versioned symbols are created later.
21991         * sysdeps/s390/s390-32/setjmp.S
21992         (setjmp, _setjmp): Remove weak and rename to an unique name
21993         in SHARED case due to existing versioned symbols.
21994         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21995         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
21996         (getcontext): Create weak alias only in non SHARED case.
21997         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21999 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22001         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
22002         (__ASSUME_*_SYSCALL) Define new macros.
22003         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
22004         Remove socketcall syscalls.
22005         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
22006         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
22007         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
22008         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
22009         * sysdeps/unix/sysv/linux/send.c (__libc_send):
22010         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
22012 2015-11-09  Florian Weimer  <fweimer@redhat.com>
22014         [BZ #12926]
22015         Terminate process on invalid netlink response.
22016         * sysdeps/unix/sysv/linux/netlinkaccess.h
22017         (__netlink_assert_response): Declare.
22018         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
22019         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
22020         (sysdep_routines): Add netlink_assert_response.
22021         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
22022         __netlink_assert_response.
22023         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
22024         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
22025         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
22026         __netlink_assert_response.
22028 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22030         [BZ #19178]
22031         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
22032         (RTYPE_CLASS_PLT): Likewise.
22033         (RTYPE_CLASS_COPY): Likewise.
22034         (RTYPE_CLASS_TLS): Likewise.
22035         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
22036         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
22037         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
22038         DL_DEBUG_PRELINK.
22040 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
22042         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
22043         calls with argument -0.5.
22044         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
22046         * configure.ac (libc_cv_z_nodelete): Remove configure test.
22047         (libc_cv_z_nodlopen): Likewise.
22048         (libc_cv_z_initfirst): Likewise.
22049         * configure: Regenerated.
22051 2015-11-06  Florian Weimer  <fweimer@redhat.com>
22053         Simplify abilist format to be line-based.
22054         * scripts/abilist.awk: Collect descriptors in the descs variable.
22055         (emit): Write descs variable and sort it
22056         externally, with sort.
22057         * sysdeps/**/*.abilist: Convert to new format.
22059 2015-11-06  Mark Wielaard  <mjw@redhat.com>
22061         [BZ #11460]
22062         * io/Makefile (routines): Add fts64.
22063         (tests): Add tst-fts and tst-fts-lfs.
22064         (CFLAGS-fts64.c): New.
22065         * io/Versions (GLIBC_2.23): New.
22066         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
22067         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
22068         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
22069         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
22070         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
22071         (FTSENT64): Likewise.
22072         (fts64_children): Likewise.
22073         (fts64_close): Likewise.
22074         (fts64_open): Likewise.
22075         (fts64_read): Likewise.
22076         (fts64_set): Likewise.
22077         * io/fts64.c: New file.
22078         * io/tst-fts.c: New test.
22079         * io/tst-fts-lfs.c: Likewise.
22080         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
22081         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
22082         fts64_set.
22083         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22084         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22085         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22086         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22087         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22088         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22089         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22090         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22091         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22092         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
22093         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22094         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22095         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22097         Likewise.
22098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22099         Likewise.
22100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
22101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
22102         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22103         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22104         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22105         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22106         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
22108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
22109         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22110         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22111         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22112         * sysdeps/wordsize-64/fts.c: New file.
22113         * sysdeps/wordsize-64/fts64.c: Likewise.
22114         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
22115         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
22116         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
22117         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
22119 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
22121         * math/libm-test.inc (NON_FINITE): New macro.
22122         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
22123         * math/gen-libm-test.pl (show_exceptions): Add argument
22124         $non_finite.
22125         (parse_args): Update call to show_exceptions.
22126         * math/test-math-finite.h: New file.
22127         * math/test-math-no-finite.h: Likewise.
22128         * math/test-double-finite.c: Likewise.
22129         * math/test-float-finite.c: Likewise.
22130         * math/test-ldouble-finite.c: Likewise.
22131         * math/test-double.c: Include "test-math-no-finite.h".
22132         * math/test-float.c: Include "test-math-no-finite.h".
22133         * math/test-ldouble.c: Include "test-math-no-finite.h".
22134         * math/test-math-inline.h (TEST_FINITE): New macro.
22135         * math/test-math-vector.h (TEST_FINITE): Likewise.
22136         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
22137         (libm-tests): Add test-float-finite and test-double-finite.
22138         ($(objpfx)test-float-finite.o): New dependency on
22139         $(objpfx)libm-test.stmp.
22140         ($(objpfx)test-double-finite.o): Likewise.
22141         ($(objpfx)test-ldouble-finite.o): Likewise.
22142         (libm-test-no-inline-cflags): New variable.
22143         (libm-test-finite-cflags): Likewise.
22144         (CFLAGS-test-float-finite.c): Likewise.
22145         (CFLAGS-test-double-finite.c): Likewise.
22146         (CFLAGS-test-ldouble-finite.c): Likewise.
22147         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
22148         (CFLAGS-test-double.c): Likewise.
22149         (CFLAGS-test-ldouble.c): Likewise.
22151 2015-11-05  Roland McGrath  <roland@hack.frob.com>
22153         * io/fcntl.c (__fcntl): Add ... to prototype.
22154         * misc/ioctl.c (__ioctl): Likewise.
22155         * misc/syscall.c (syscall): Likewise.
22157 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
22159         * scripts/list-fixed-bugs.py: New file.
22161         [BZ #19213]
22162         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
22163         returned for argument 1.
22164         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
22165         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
22166         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
22167         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
22168         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
22169         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
22171         [BZ #19211]
22172         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
22173         __USE_XOPEN], not if [!__USE_ISOC99].
22174         (lgammaf): Likewise.
22175         (lgammal): Likewise.
22176         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
22177         (gammaf): Likewise.
22178         (gammal): Likewise.
22179         * math/test-signgam-finite-c11.c: New file.
22180         * math/test-signgam-finite-c99.c: Likewise.
22181         * math/test-signgam-finite.c: Likewise.
22182         * math/Makefile (tests): Add test-signgam-finite,
22183         test-signgam-finite-c99 and test-signgam-finite-c11.
22184         (CFLAGS-test-signgam-finite.c): New variable.
22185         (CFLAGS-test-signgam-finite-c99.c): Likewise.
22186         (CFLAGS-test-signgam-finite-c11.c): Likewise.
22188         [BZ #19212]
22189         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
22190         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
22191         500].
22192         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
22193         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
22194         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
22195         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
22196         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
22197         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
22198         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
22199         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
22200         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
22201         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
22203         [BZ #19209]
22204         * math/bits/math-finite.h (ldexp): Remove declaration.
22205         (ldexpf): Likewise.
22206         (ldexpl): Likewise.
22208         [BZ #19205]
22209         * math/bits/math-finite.h (acosf): Condition declaration on
22210         [__USE_ISOC99].
22211         (acosl): Likewise.
22212         (acoshf): Likewise.
22213         (acoshl): Likewise.
22214         (asinf): Likewise.
22215         (asinl): Likewise.
22216         (atan2f): Likewise.
22217         (atan2l): Likewise.
22218         (atanhf): Likewise.
22219         (atanhl): Likewise.
22220         (coshf): Likewise.
22221         (coshl): Likewise.
22222         (expf): Likewise.
22223         (expl): Likewise.
22224         (fmodf): Likewise.
22225         (fmodl): Likewise.
22226         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
22227         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
22228         (j0l): Likewise.
22229         (y0f): Likewise.
22230         (y0l): Likewise.
22231         (j1f): Likewise.
22232         (j1l): Likewise.
22233         (y1f): Likewise.
22234         (y1l): Likewise.
22235         (jnf): Likewise.
22236         (jnl): Likewise.
22237         (ynf): Likewise.
22238         (ynl): Likewise.
22239         (lgammaf_r): Condition declaration on [__USE_ISOC99].
22240         (lgammal_r): Likewise.
22241         (__lgamma_r_finite): New declaration.
22242         (__lgammaf_r_finite): Likewise.
22243         (__lgammal_r_finite): Likewise.
22244         (lgamma): Use __lgamma_r_finite.
22245         (lgammaf): Condition definition on [__USE_ISOC99].  Use
22246         __lgammaf_r_finite.
22247         (lgammal): Condition definition on [__USE_ISOC99].  Use
22248         __lgammal_r_finite.
22249         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
22250         __lgamma_r_finite.
22251         (gammaf): Condition definition on [__USE_ISOC99].  Use
22252         __lgammaf_r_finite.
22253         (gammal): Condition definition on [__USE_ISOC99].  Use
22254         __lgammal_r_finite.
22255         (logf): Condition declaration on [__USE_ISOC99].
22256         (logl): Likewise.
22257         (log10f): Likewise.
22258         (log10l): Likewise.
22259         (ldexpf): Likewise.
22260         (ldexpl): Likewise.
22261         (powf): Likewise.
22262         (powl): Likewise.
22263         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
22264         __USE_ISOC99].
22265         (remainderf): Condition declaration on [__USE_ISOC99].
22266         (remainderl): Likewise.
22267         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
22268         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
22269         (scalbl): Likewise.
22270         (sinhf): Condition declaration on [__USE_ISOC99].
22271         (sinhl): Likewise.
22272         (sqrtf): Likewise.
22273         (sqrtl): Likewise.
22275 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
22277         * sysdeps/arm/atomic-machine.h
22278         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
22279         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
22280         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
22281         Remove conditional code.
22282         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
22283         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
22284         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
22285         Change conditional to [__ASSEMBLER__].
22286         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
22287         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
22288         [!__ASSEMBLER__].
22289         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
22290         code.
22291         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
22292         conditional macro definitions.
22293         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
22294         (__arch_compare_and_exchange_val_16_acq): Likewise.
22295         (__arch_compare_and_exchange_val_32_acq): Likewise.
22296         (atomic_exchange_and_add): Likewise.
22297         (atomic_add): Likewise.
22298         (atomic_add_negative): Likewise.
22299         (atomic_add_zero): Likewise.
22300         (atomic_bit_set): Likewise.
22301         (atomic_bit_test_set): Likewise.
22302         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
22303         code unconditional.
22304         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22306         * math/test-math-errno.h: New file.
22307         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
22308         empty.
22309         (TEST_ERRNO): New macro.
22310         (TEST_EXCEPTIONS): Likewise.
22311         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
22312         (TEST_EXCEPTIONS): Likewise.
22313         * math/test-math-vector.h (TEST_ERRNO): Likewise.
22314         * math/test-double.c: Include "test-math-errno.h".
22315         * math/test-float.c: Likewise.
22316         * math/test-ldouble.c: Likewise.
22317         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
22318         code unconditional.
22319         (test_exceptions): Only run code if TEST_EXCEPTIONS.
22320         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
22321         unconditional.
22322         (test_errno): Only run code if TEST_ERRNO.
22323         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
22325 2015-11-04  Florian Weimer  <fweimer@redhat.com>
22327         * nptl/tst-once5.cc: Remove attribution.
22329 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
22331         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
22332         sqrt, tan, tanh, y0, y1 and yn.
22333         * math/auto-libm-test-out: Regenerated.
22334         * math/libm-test.inc (scalb_test_data): Add more tests.
22335         (scalbn_test_data): Likewise.
22336         (scalbln_test_data): Likewise.
22337         (signbit_test_data): Likewise.
22338         (sin_test_data): Likewise.
22339         (sincos_test_data): Likewise.
22340         (sinh_test_data): Likewise.
22341         (sqrt_test_data): Likewise.
22342         (tan_test_data): Likewise.
22343         (tanh_test_data): Likewise.
22344         (tgamma_test_data): Likewise.
22345         (y0_test_data): Likewise.
22346         (y1_test_data): Likewise.
22347         (yn_test_data): Likewise.
22348         (significand_test_data): Likewise.
22349         * sysdeps/i386/fpu/libm-test-ulps: Update.
22351 2015-11-03  David Kastrup  <dak@gnu.org>
22353         [BZ #18604]
22354         * assert/assert.h (assert): Don't macro-expand failed assertion
22355         expression in error message.
22356         * malloc/malloc.c (assert): Likewise.
22358 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
22360         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
22361         test.
22362         * configure: Regenerated.
22364 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
22366         * math/libm-test.inc (modf_test_data): Add more tests.
22367         (nearbyint_test_data): Likewise.
22368         (nextafter_test_data): Likewise.
22369         (nexttoward_test_data): Likewise.
22370         (pow_test_data): Likewise.
22371         (remainder_test_data): Likewise.
22372         (remquo_test_data): Likewise.
22373         (rint_test_data): Likewise.
22375         [BZ #19201]
22376         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22377         Check for zero remainder in case of large exponents and ensure
22378         correct sign of result in that case.
22379         * math/libm-test.inc (remainder_test_data): Add more tests.
22381         [BZ #6799]
22382         * math/s_nextafter.c: Include <errno.h>.
22383         (__nextafter): Set errno on overflow and underflow.
22384         * math/s_nexttowardf.c: Include <errno.h>.
22385         (__nexttowardf): Set errno on overflow and underflow.
22386         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
22387         (__nextafterl): Set errno on overflow and underflow.
22388         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
22389         (__nexttoward): Set errno on overflow and underflow.
22390         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
22391         (__nexttowardf): Set errno on overflow and underflow.
22392         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
22393         (__nextafterf): Set errno on overflow and underflow.
22394         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
22395         (__nextafterl): Set errno on overflow and underflow.
22396         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
22397         (__nexttoward): Set errno on overflow and underflow.
22398         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
22399         (__nexttowardf): Set errno on overflow and underflow.
22400         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
22401         (__nextafterl): Set errno on overflow and underflow.
22402         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
22403         (__nexttoward): Set errno on overflow and underflow.
22404         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
22405         (__nexttowardf): Set errno on overflow and underflow.
22406         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
22407         (__nexttoward): Set errno on overflow and underflow.
22408         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
22409         (__nexttowardf): Set errno on overflow and underflow.
22410         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
22411         (__nldbl_nexttowardf): Set errno on overflow and underflow.
22412         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
22413         (__nextafterl): Set errno on overflow and underflow.
22414         * math/libm-test.inc (nextafter_test_data): Do not allow errno
22415         setting to be missing on overflow.  Add more tests.
22416         (nexttoward_test_data): Likewise.
22418         * configure.ac (libc_cv_initfini_array): Remove configure test.
22419         * configure: Regenerated.
22421 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
22423         [BZ #19189]
22424         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
22425         non-finite argument handle arguments with negative sign.
22427         * math/libm-test.inc (j0_test_data): Do not test sign of zero
22428         result from infinite argument.
22429         (j1_test_data): Likewise.
22430         (jn_test_data): Likewise.
22431         (y0_test_data): Likewise.
22432         (y1_test_data): Likewise.
22433         (yn_test_data): Likewise.
22435         [BZ #16171]
22436         * math/w_remainder.c (drem): Define as weak alias of __remainder.
22437         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
22438         * math/w_remainderf.c (dremf): Define as weak alias of
22439         __remainderf.
22440         * math/w_remainderl.c (dreml): Define as weak alias of
22441         __remainderl.
22442         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
22443         __remainder.
22444         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
22445         __remainderf.
22446         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
22447         __remainderl.
22448         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
22449         weak alias of remainderl.
22450         * sysdeps/ieee754/ldbl-opt/w_remainder.c
22451         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
22452         alias of __remainder.
22453         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
22454         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
22455         strong alias of __remainderl.
22456         (dreml): Use long_double_symbol.
22457         * math/Makefile (libm-calls): Remove w_drem.
22458         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
22459         (CFLAGS-nldbl-drem.c): Remove variable.
22460         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
22461         * math/w_drem.c: Remove file.
22462         * math/w_dremf.c: Likewise.
22463         * math/w_dreml.c: Likewise.
22464         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
22465         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
22466         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
22468         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
22469         * sysdeps/i386/configure: Regenerated.
22470         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
22471         * sysdeps/x86_64/configure: Regenerated.
22473         * configure.ac (libc_cv_asm_protected_directive): Remove configure
22474         test.
22475         (libc_cv_visibility_attribute): Likewise.
22476         (libc_cv_protected_data): Test unconditionally.
22477         (libc_cv_broken_visibility_attribute): Remove configure test.
22478         (libc_cv_have_sdata_section): Test unconditionally.
22479         * configure: Regenerated.
22481         * include/libc-internal.h (libc_max_align_t): Remove typedef.
22482         * include/scratch_buffer.h: Include <stddef.h> instead of
22483         <libc-internal.h>.
22484         (struct scratch_buffer): Use max_align_t instead of
22485         libc_max_align_t.
22487 2015-10-29  Florian Weimer  <fweimer@redhat.com>
22489         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
22490         instead of extend_alloca.  Change control flow to avoid a goto.
22491         Remove assert which is trivially always true.
22493 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22495         [BZ #16068]
22496         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
22497         (FE_ALL_EXCEPT_X86): New macro.
22498         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
22499         FE_ALL_EXCEPT.  Ensure precision control is included in
22500         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
22501         handle "denormal operand exception" and clear FZ and DAZ bits.
22502         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
22503         (FE_ALL_EXCEPT_X86): New macro.
22504         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
22505         FE_ALL_EXCEPT.  Ensure precision control is included in
22506         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
22507         handle "denormal operand exception" and clear FZ and DAZ bits.
22508         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
22509         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
22510         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22511         test-fenv-x87 and test-fenv-sse-2.
22512         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
22514         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
22515         * math/test-double.h (BUILD_COMPLEX): New macro.
22516         * math/test-float.h (BUILD_COMPLEX): Likewise.
22517         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
22519         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
22520         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
22521         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
22522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
22523         instead of DBL_DENORM_MIN in comment.
22524         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
22525         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
22526         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
22527         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
22528         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
22529         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
22531 2015-10-28  Florian Weimer  <fweimer@redhat.com>
22533         [BZ #19048]
22534         * malloc/malloc.c (struct malloc_state): Update comment.  Add
22535         attached_threads member.
22536         (main_arena): Initialize attached_threads.
22537         * malloc/arena.c (list_lock): Update comment.
22538         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
22539         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
22540         (deattach_arena): New function.
22541         (_int_new_arena): Initialize arena reference count and deattach
22542         replaced arena.
22543         (get_free_list, reused_arena): Update reference count and deattach
22544         replaced arena.
22545         (arena_thread_freeres): Update arena reference count and only put
22546         unreferenced arenas on the free list.
22548 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22550         [BZ #19181]
22551         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
22552         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
22553         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
22554         * math/test-fenv-clear-main.c: New file.
22555         * math/test-fenv-clear.c: Likewise.
22556         * math/Makefile (tests): Add test-fenv-clear.
22557         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
22558         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22559         test-fenv-clear-sse.
22560         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
22562         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
22563         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
22564         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
22566 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22568         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
22569         static libc.
22571 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22573         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
22574         test.
22575         * sysdeps/i386/configure: Regenerated.
22576         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
22577         test.
22578         * sysdeps/x86_64/configure: Regenerated.
22579         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
22580         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22581         memset-avx2 unconditionally instead of conditionally on
22582         [$(config-cflags-avx2) = yes].
22583         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22584         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
22585         unconditional.
22586         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
22587         * sysdeps/x86_64/multiarch/memset_chk.S
22588         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
22589         to [IS_IN (libc) && SHARED].
22591 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
22593         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
22594         configure test.
22595         * sysdeps/arm/configure: Regenerated.
22596         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
22597         Define variable if not already defined.
22599         [BZ #17404]
22600         * sysdeps/mips/atomic-machine.h
22601         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
22602         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
22603         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
22605         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
22606         unconditional.
22607         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
22608         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22609         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
22610         unconditional.
22611         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22612         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
22613         unconditional.
22614         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22615         * stdlib/setenv.c
22616         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
22617         code unconditional.
22618         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
22619         Remove conditional code.
22620         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
22621         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
22622         unconditional.
22623         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22624         code.
22625         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
22626         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
22627         unconditional.
22628         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22629         code.
22630         * sysdeps/ieee754/ldbl-128/k_tanl.c
22631         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22632         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22633         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
22634         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22635         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22636         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
22637         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
22638         unconditional.
22639         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22640         code.
22641         * sysdeps/ieee754/ldbl-96/k_tanl.c
22642         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22643         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22645         * nptl/tst-initializers1-c11.c: New file.
22646         * nptl/tst-initializers1-gnu11.c: Likewise.
22647         * nptl/Makefile (tests): Add these new tests.
22648         (CFLAGS-tst-initializers1-c11.c): New variable.
22649         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22651         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
22652         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
22653         instead of -std=gnu99.
22654         * configure.ac (systemtap): Test with -std=gnu11 instead of
22655         -std=gnu99.
22656         * configure: Regenerated.
22657         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
22658         in compilation command in comment.
22660         * sysdeps/nptl/configure.ac: Remove file.
22661         * sysdeps/nptl/configure: Remove generated file.
22662         * configure.ac (libc_cv_forced_unwind): Do not substitute.
22663         * configure: Regenerated.
22664         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
22665         * config.make.in (have-forced-unwind): Remove variable.
22666         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
22667         unconditional.
22668         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
22669         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
22670         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
22671         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
22672         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
22673         unconditional.
22675 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22677         [BZ #19174]
22678         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
22679         .skip_lock_out_of_tbegin_retries.
22680         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22681         (__lll_lock_elision): Likewise, and respect a value of
22682         try_tbegin <= 0.
22684 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22686         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
22687         statement.
22689 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
22691         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
22692         variable.
22693         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22694         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22696         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
22697         of -std=c1x -D_ISOC11_SOURCE.
22699         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
22700         * configure: Regenerated.
22701         * manual/install.texi (Tools for Compilation): Document
22702         requirement for GCC 4.7 or later.
22703         * INSTALL: Regenerated.
22705 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
22707         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
22708         on CNT to a conditional jump to 'puntdata'.
22710 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
22712         * configure.ac (libc_cv_gcc___thread): Remove configure test.
22713         (libc_cv_gcc_tls_model_attr): Likewise.
22714         * configure: Regenerated.
22716         * configure.ac (libc_cv_need_minus_P): Remove configure test.
22717         * configure: Regenerated.
22718         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
22720 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
22722         * configure.ac (old_glibc_headers): Remove configure test.
22723         * configure: Regenerated.
22724         * config.make.in (old-glibc-headers): Remove variable.
22725         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
22726         (install): Remove dependency on remove-old-headers.
22727         (headers2_0): Remove variable.
22728         (remove-old-headers): Remove rule.
22730         * configure.ac (libc_cv_dot_text): Remove configure test.
22731         (libc_cv_asm_set_directive): Use .text instead of
22732         ${libc_cv_dot_text} in configure test.
22733         * configure: Regenerated.
22735 2015-10-26  Florian Weimer  <fweimer@redhat.com>
22737         [BZ #19168]
22738         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22740 2015-10-26  Florian Weimer  <fweimer@redhat.com>
22742         * configure.ac (CXX): Clear the variable if the C++ toolchain does
22743         not support static linking.
22744         * configure: Regenerate.
22746 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
22748         * math/libm-test.inc (check_float_internal): Do not special-case
22749         errors up to 0.5 ulp.
22751         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22752         log2.
22753         * math/auto-libm-test-out: Regenerated.
22754         * math/libm-test.inc (MAX_EXP): New macro.
22755         (ilogb_test_data): Add more tests.
22756         (isfinite_test_data): Likewise.
22757         (isgreater_test_data): Likewise.
22758         (isgreaterequal_test_data): Likewise.
22759         (isinf_test_data): Likewise.
22760         (isless_test_data): Likewise.
22761         (islessequal_test_data): Likewise.
22762         (islessgreater_test_data): Likewise.
22763         (isnan_test_data): Likewise.
22764         (isnormal_test_data): Likewise.
22765         (issignaling_test_data): Likewise.
22766         (isunordered_test_data): Likewise.
22767         (j0_test_data): Likewise.
22768         (j1_test_data): Likewise.
22769         (jn_test_data): Likewise.
22770         (lgamma_test_data): Likewise.
22771         (log_test_data): Likewise.
22772         (log10_test_data): Likewise.
22773         (log1p_test_data): Likewise.
22774         (log2_test_data): Likewise.
22775         (logb_test_data): Likewise.
22776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22778         [BZ #18611]
22779         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
22780         avoid excess range and precision on underflow.
22781         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22782         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
22783         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22784         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
22785         underflow.
22786         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22787         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22788         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22789         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22790         * math/auto-libm-test-in: Do not allow missing errno setting for
22791         tests of j1 and jn.
22792         * math/auto-libm-test-out: Regenerated.
22794 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
22796         [BZ #15491]
22797         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
22798         floating-point environment instead of clearing all exceptions.
22799         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
22800         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
22801         merging in "invalid" exceptions from frndint.
22802         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
22803         * math/test-nearbyint-except.c: New file.
22804         * math/Makefile (tests): Add test-nearbyint-except.
22806 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
22808         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
22810         * sysdeps/tile/libm-test-ulps: Regenerated.
22812 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
22815         (__NR_sync_file_range2): Assume it is always defined.
22816         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
22817         (__NR_sync_file_range): Assume it is always defined.
22819 2015-10-22  Andreas Schwab  <schwab@suse.de>
22821         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22822         INTERNAL_SYSCALL_ERRNO.
22823         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22824         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22825         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22826         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22827         Likewise.
22828         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22830 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
22832         * io/tst-fcntl.c (fd): New static variable.
22833         (do_prepare): Open temporary file here....
22834         (do_test): ...not here.
22836         * io/ftwtest-sh: Also trap on exit to remove temporary files.
22838 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
22840         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
22841         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
22842         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
22843         Moved before "#ifdef __ASSEMBLER__".
22845 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
22847         [BZ #19156]
22848         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
22849         arguments very close to 0.
22851 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
22853         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
22854         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
22856 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
22858         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
22859         New.  Defined for GCC 5 and above when not compiling for
22860         profiling.
22861         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
22863         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
22864         Renamed to ...
22865         (CFLAGS-epoll_pwait.o): This.
22866         (CFLAGS-mmap.c): Renamed to ...
22867         (CFLAGS-mmap.o): This.
22868         (CFLAGS-mmap64.c): Renamed to ...
22869         (CFLAGS-mmap64.o): This.
22870         (CFLAGS-epoll_pwait.os): New.
22871         (CFLAGS-mmap.os): Likewise.
22872         (CFLAGS-mmap64.os): Likewise.
22873         (CFLAGS-semtimedop.os): Likewise.
22874         (CFLAGS-semtimedop.c): Renamed to ...
22875         (CFLAGS-semtimedop.o): This.
22877 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22879         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
22880         warning message.
22882 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
22884         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
22885         * Makefile ($(objpfx)c++-types-check.out): Filter out
22886         $(+gccwarn-c) instead of -Wstrict-prototypes.
22888         * io/fts.c (fts_open): Convert to prototype-style function
22889         definition.
22890         * malloc/mcheck.c (mcheck): Likewise.
22891         (mcheck_pedantic): Likewise.
22892         * posix/regexec.c (re_search_2_stub): Likewise.  Use
22893         internal_function.
22894         (re_search_internal): Likewise.
22895         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
22896         prototype-style function definition.
22897         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22898         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
22899         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
22900         (xdr_utmpptr): Likewise.
22901         (xdr_utmparr): Likewise.
22902         (xdr_utmpidle): Likewise.
22903         (xdr_utmpidleptr): Likewise.
22904         (xdr_utmpidlearr): Likewise.
22906         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
22907         log, log10 and log2.
22908         * math/auto-libm-test-out: Regenerated.
22909         * math/libm-test.inc (fmod_test_data): Add more tests.
22910         (fpclassify_test_data): Likewise.
22911         (frexp_test_data): Likewise.
22912         (hypot_test_data): Likewise.
22913         (ilogb_test_data): Likewise.
22915 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
22917         * debug/fortify_fail.c (__fortify_fail): Convert to
22918         prototype-style function definition.  Use internal_function.
22919         * libio/genops.c (save_for_backup): Convert to prototype-style
22920         function definition.
22921         * libio/wgenops.c (save_for_wbackup): Likewise.
22922         * login/grantpt.c (grantpt): Likewise.
22923         * login/ptsname.c (ptsname): Likewise.
22924         (__ptsname_r): Likewise.
22925         * login/unlockpt.c (unlockpt): Likewise.
22926         * mach/msgserver.c (__mach_msg_server): Likewise.
22927         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
22928         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
22929         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
22930         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
22931         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
22932         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
22933         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
22934         Likewise.
22935         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
22936         internal_function.
22937         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
22938         prototype-style function definition.
22939         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
22940         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
22941         (__pthread_create_2_0): Likewise.
22942         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
22943         * nptl/register-atfork.c (__register_atfork): Likewise.
22944         * posix/glob.c (glob): Likewise.
22945         * posix/regcomp.c (re_comp): Likewise.
22946         * posix/regexec.c (re_exec): Likewise.
22947         * stdlib/add_n.c [__STDC__]: Make code unconditional.
22948         [!__STDC__]: Remove conditional code.
22949         * stdlib/cmp.c [__STDC__]: Make code unconditional.
22950         [!__STDC__]: Remove conditional code.
22951         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
22952         [!__STDC__]: Remove conditional code.
22953         * stdlib/divrem.c [__STDC__]: Make code unconditional.
22954         [!__STDC__]: Remove conditional code.
22955         * stdlib/lshift.c [__STDC__]: Make code unconditional.
22956         [!__STDC__]: Remove conditional code.
22957         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
22958         [!__STDC__]: Remove conditional code.
22959         * stdlib/mul.c [__STDC__]: Make code unconditional.
22960         [!__STDC__]: Remove conditional code.
22961         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
22962         [!__STDC__]: Remove conditional code.
22963         * stdlib/rshift.c [__STDC__]: Make code unconditional.
22964         [!__STDC__]: Remove conditional code.
22965         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
22966         function definition.
22967         (STRTOF): Likewise.
22968         * stdlib/strtod_l.c (__STRTOF): Likewise.
22969         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
22970         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
22971         (__strtol_l): Likewise.
22972         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
22973         [!__STDC__]: Remove conditional code.
22974         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
22975         definition.
22976         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
22977         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22978         type.
22979         (__strcasecmp): Convert to prototype-style function definition.
22980         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
22981         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22982         type.
22983         (__strncasecmp): Convert to prototype-style function definition.
22984         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
22985         * sunrpc/xdr.c (xdr_union): Likewise.
22986         * sunrpc/xdr_array.c (xdr_array): Likewise.
22987         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
22988         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
22989         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
22990         Likewise.
22991         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
22992         Likewise.
22993         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
22994         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22995         Likewise.
22996         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
22997         (LOCALE_PARAM_PROTO): Likewise.
22998         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
22999         argument type.
23000         (ut_argument_spec): Remove macro.
23001         (ut_argument_spec_iso): Rename to ut_argument_spec.
23002         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
23003         prototype-style function definition.
23004         (memcpy_uppcase): Likewise.
23005         (__strftime_internal): Likewise.
23006         (my_strftime): Likewise.
23007         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
23008         (LOCALE_PARAM_DECL): Likewise.
23009         [_LIBC] (LOCALE_PARAM): Include argument type.
23010         (__strptime_internal): Convert to prototype-style function
23011         definition.
23012         (strptime): Likewise.
23013         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23014         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23015         type.
23016         (__wcscasecmp): Convert to prototype-style function definition.
23017         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
23018         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23019         type.
23020         (__wcsncasecmp): Convert to prototype-style function definition.
23022         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
23023         function definition.
23024         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23025         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23026         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
23027         * elf/dl-minimal.c (_itoa): Likewise.
23028         * hurd/hurdmalloc.c (malloc): Likewise.
23029         (free): Likewise.
23030         (realloc): Likewise.
23031         * inet/inet6_option.c (inet6_option_space): Likewise.
23032         (inet6_option_init): Likewise.
23033         (inet6_option_append): Likewise.
23034         (inet6_option_alloc): Likewise.
23035         (inet6_option_next): Likewise.
23036         (inet6_option_find): Likewise.
23037         * io/ftw.c (FTW_NAME): Likewise.
23038         (NFTW_NAME): Likewise.
23039         (NFTW_NEW_NAME): Likewise.
23040         (NFTW_OLD_NAME): Likewise.
23041         * libio/iofwide.c (_IO_fwide): Likewise.
23042         * libio/strops.c (_IO_str_init_static_internal): Likewise.
23043         (_IO_str_init_static): Likewise.
23044         (_IO_str_init_readonly): Likewise.
23045         (_IO_str_overflow): Likewise.
23046         (_IO_str_underflow): Likewise.
23047         (_IO_str_count): Likewise.
23048         (_IO_str_seekoff): Likewise.
23049         (_IO_str_pbackfail): Likewise.
23050         (_IO_str_finish): Likewise.
23051         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
23052         (_IO_wstr_overflow): Likewise.
23053         (_IO_wstr_underflow): Likewise.
23054         (_IO_wstr_count): Likewise.
23055         (_IO_wstr_seekoff): Likewise.
23056         (_IO_wstr_pbackfail): Likewise.
23057         (_IO_wstr_finish): Likewise.
23058         * locale/programs/localedef.c (normalize_codeset): Likewise.
23059         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23060         (add_locales_to_archive): Likewise.
23061         (delete_locales_from_archive): Likewise.
23062         * malloc/malloc.c (__libc_mallinfo): Likewise.
23063         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
23064         * misc/tsearch.c (__tfind): Likewise.
23065         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
23066         * nptl/pthread_attr_getdetachstate.c
23067         (__pthread_attr_getdetachstate): Likewise.
23068         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23069         Likewise.
23070         * nptl/pthread_attr_getinheritsched.c
23071         (__pthread_attr_getinheritsched): Likewise.
23072         * nptl/pthread_attr_getschedparam.c
23073         (__pthread_attr_getschedparam): Likewise.
23074         * nptl/pthread_attr_getschedpolicy.c
23075         (__pthread_attr_getschedpolicy): Likewise.
23076         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
23077         Likewise.
23078         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
23079         Likewise.
23080         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23081         Likewise.
23082         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23083         Likewise.
23084         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
23085         (__pthread_attr_init_2_0): Likewise.
23086         * nptl/pthread_attr_setdetachstate.c
23087         (__pthread_attr_setdetachstate): Likewise.
23088         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23089         Likewise.
23090         * nptl/pthread_attr_setinheritsched.c
23091         (__pthread_attr_setinheritsched): Likewise.
23092         * nptl/pthread_attr_setschedparam.c
23093         (__pthread_attr_setschedparam): Likewise.
23094         * nptl/pthread_attr_setschedpolicy.c
23095         (__pthread_attr_setschedpolicy): Likewise.
23096         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
23097         Likewise.
23098         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
23099         Likewise.
23100         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23101         Likewise.
23102         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23103         Likewise.
23104         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
23105         Likewise.
23106         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
23107         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23108         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
23109         use internal_function.
23110         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
23111         prototype-style function definition.
23112         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23113         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
23114         internal_function.
23115         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
23116         Convert to prototype-style function definition.
23117         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23118         Likewise.
23119         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
23120         Likewise.
23121         (__pthread_mutex_unlock): Likewise.
23122         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
23123         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
23124         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
23125         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
23126         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
23127         * nss/makedb.c (process_input): Likewise.
23128         * posix/fnmatch.c (__strchrnul): Likewise.
23129         (__wcschrnul): Likewise.
23130         (fnmatch): Likewise.
23131         * posix/fnmatch_loop.c (FCT): Likewise.
23132         * posix/glob.c (globfree): Likewise.
23133         (__glob_pattern_type): Likewise.
23134         (__glob_pattern_p): Likewise.
23135         * posix/regcomp.c (re_compile_pattern): Likewise.
23136         (re_set_syntax): Likewise.
23137         (re_compile_fastmap): Likewise.
23138         (regcomp): Likewise.
23139         (regerror): Likewise.
23140         (regfree): Likewise.
23141         * posix/regexec.c (regexec): Likewise.
23142         (re_match): Likewise.
23143         (re_search): Likewise.
23144         (re_match_2): Likewise.
23145         (re_search_2): Likewise.
23146         (re_search_stub): Likewise.  Use internal_function
23147         (re_copy_regs): Likewise.
23148         (re_set_registers): Convert to prototype-style function
23149         definition.
23150         (prune_impossible_nodes): Likewise.  Use internal_function.
23151         * resolv/inet_net_pton.c (inet_net_pton): Convert to
23152         prototype-style function definition.
23153         (inet_net_pton_ipv4): Likewise.
23154         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23155         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
23156         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
23157         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
23158         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23159         Make variadic.
23160         * time/strptime_l.c (localtime_r): Convert to prototype-style
23161         function definition.
23162         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23163         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23164         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23165         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23167         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
23168         definition.
23169         (_ufc_doit_r): Likewise.
23170         * crypt/crypt_util.c (_ufc_copymem): Likewise.
23171         (_ufc_output_conversion_r): Likewise.
23172         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
23173         * inet/rcmd.c (rcmd_af): Likewise.
23174         (rcmd): Likewise.
23175         (ruserok_af): Likewise.
23176         (ruserok): Likewise.
23177         (ruserok2_sa): Likewise.
23178         (ruserok_sa): Likewise.
23179         (iruserok_af): Likewise.
23180         (iruserok): Likewise.
23181         (__ivaliduser): Likewise.
23182         (__validuser2_sa): Likewise.
23183         * inet/rexec.c (rexec_af): Likewise.
23184         (rexec): Likewise.
23185         * inet/ruserpass.c (ruserpass): Likewise.
23186         * locale/programs/xmalloc.c (xcalloc): Likewise.
23187         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
23188         * math/w_drem.c (__drem): Likewise.
23189         * math/w_dremf.c (__dremf): Likewise.
23190         * math/w_dreml.c (__dreml): Likewise.
23191         * misc/daemon.c (daemon): Likewise.
23192         * resolv/res_debug.c (p_fqnname): Likewise.
23193         * stdlib/div.c (div): Likewise.
23194         * string/memcmp.c (memcmp_bytes): Likewise.
23195         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
23196         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
23198         * crypt/cert.c (main): Convert to prototype-style function
23199         definition.
23200         * io/pipe.c (__pipe): Likewise.
23201         * io/pipe2.c (__pipe2): Likewise.
23202         * misc/futimesat.c (futimesat): Likewise.
23203         * misc/utimes.c (__utimes): Likewise.
23204         * posix/execve.c (__execve): Likewise.
23205         * posix/execvp.c (execvp): Likewise.
23206         * posix/execvpe.c (__execvpe): Likewise.
23207         * posix/fexecve.c (fexecve): Likewise.
23208         * socket/socketpair.c (socketpair): Likewise.
23209         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23210         * stdlib/erand48.c (erand48): Likewise.
23211         * stdlib/erand48_r.c (__erand48_r): Likewise.
23212         * stdlib/jrand48.c (jrand48): Likewise.
23213         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
23214         * stdlib/lcong48.c (lcong48): Likewise.
23215         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
23216         * stdlib/nrand48.c (nrand48): Likewise.
23217         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
23218         * stdlib/seed48.c (seed48): Likewise.
23219         * stdlib/seed48_r.c (__seed48_r): Likewise.
23220         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
23221         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
23222         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
23224 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
23226         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
23227         * configure: Regenerated.
23228         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
23229         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
23230         unconditional.
23231         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23232         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23233         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23234         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
23235         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
23236         unconditional.
23237         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23239         * posix/Makefile (CFLAGS-regex.c): Remove variable.
23240         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
23242         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
23243         function definition.
23244         * crypt/crypt_util.c (__encrypt_r): Likewise.
23245         * libio/genops.c (_IO_no_init): Likewise.
23246         * libio/iofopncook.c (_IO_fopencookie): Likewise.
23247         (_IO_old_fopencookie): Likewise.
23248         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23249         * libio/iogetline.c (_IO_getline): Likewise.
23250         (_IO_getline_info): Likewise.
23251         * libio/iogetwline.c (_IO_getwline): Likewise.
23252         (_IO_getwline_info): Likewise.
23253         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
23254         * libio/vswprintf.c (_IO_vswprintf): Likewise.
23255         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
23256         (find_entry): Likewise.
23257         (iterate_table): Likewise.
23258         (lookup): Likewise.
23259         * login/forkpty.c (forkpty): Likewise.
23260         * misc/hsearch_r.c (__hsearch_r): Likewise.
23261         * misc/select.c (__select): Likewise.
23262         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
23263         Likewise.
23264         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
23265         Likewise.
23266         * nptl/old_pthread_cond_timedwait.c
23267         (__pthread_cond_timedwait_2_0): Likewise.
23268         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23269         * nptl/pthread_barrierattr_getpshared.c
23270         (pthread_barrierattr_getpshared): Likewise.
23271         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
23272         Likewise.
23273         * nptl/pthread_mutex_setprioceiling.c
23274         (pthread_mutex_setprioceiling): Likewise.
23275         * nptl/pthread_mutexattr_getprioceiling.c
23276         (pthread_mutexattr_getprioceiling): Likewise.
23277         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23278         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23279         Likewise.
23280         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23281         Likewise.
23282         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
23283         Likewise.
23284         * socket/recvfrom.c (__recvfrom): Likewise.
23285         * socket/sendto.c (__sendto): Likewise.
23286         * socket/setsockopt.c (__setsockopt): Likewise.
23287         * stdio-common/_itoa.c (_itoa): Likewise.
23288         * stdio-common/_itowa.c (_itowa): Likewise.
23289         * stdio-common/reg-printf.c (__register_printf_specifier):
23290         Likewise.
23291         (__register_printf_function): Likewise.
23292         * stdio-common/tempname.c (__path_search): Likewise.
23293         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
23294         * stdlib/mul_1.c (mpn_mul_1): Likewise.
23295         * stdlib/random_r.c (__initstate_r): Likewise.
23296         * stdlib/setenv.c (__add_to_environ): Likewise.
23297         * stdlib/submul_1.c (mpn_submul_1): Likewise.
23298         * streams/getpmsg.c (getpmsg): Likewise.
23299         * streams/putmsg.c (putmsg): Likewise.
23300         * streams/putpmsg.c (putpmsg): Likewise.
23301         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
23302         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
23303         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
23304         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
23305         * sunrpc/pm_getport.c (pmap_getport): Likewise.
23306         * sunrpc/svc_udp.c (cache_get): Likewise.
23307         * sunrpc/xdr_array.c (xdr_vector): Likewise.
23308         * sysdeps/mach/hurd/getcwd.c
23309         (__canonicalize_directory_name_internal): Likewise.
23310         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
23311         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
23312         * sysdeps/mach/hurd/select.c (__select): Likewise.
23313         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
23314         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
23315         * sysdeps/sparc/nptl/pthread_barrier_init.c
23316         (__pthread_barrier_init): Likewise.
23317         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
23318         (__pthread_cond_timedwait): Likewise.
23319         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
23320         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
23321         Likewise.
23322         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
23323         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
23324         Likewise.
23325         * sysvipc/semtimedop.c (semtimedop): Likewise.
23326         * time/setitimer.c (__setitimer): Likewise.
23327         * time/strftime_l.c (emacs_strftime): Likewise.
23329 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
23331         * config.make.in (have-ssp): Delete.
23332         (stack-protector): New variable.
23333         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
23334         cache test for -fstack-protector-strong.  Export stack_protector to
23335         the best ssp flag.
23336         * configure: Regenerated.
23337         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
23338         * nscd/Makefile (CFLAGS-nscd): Likewise.
23339         * resolv/Makefile (CFLAGS-libresolv): Likewise.
23341 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
23343         [BZ #19122]
23344         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
23345         attribute_hidden.
23347 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23349         [BZ #18743]
23350         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
23351         code to...
23352         (ELIDE_LOCK): ...here.
23353         (__get_new_count): New function with part of the code from
23354         __elide_lock that updates the value of adapt_count after a
23355         transaction abort.
23356         (__elided_trylock): Moved this code to...
23357         (ELIDE_TRYLOCK): ...here.
23359 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
23361         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
23362         * configure: Regenerate.
23363         * INSTALL: Regenerate.
23364         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
23365         and tweak grammar.
23367 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
23369         * login/programs/pt_chown.c: Include signal.h
23370         (main): Clear any signal mask from the parent process.
23372 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
23374         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
23375         * configure: Regenerated.
23376         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
23377         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
23378         $(gnu89-inline-CFLAGS).
23380         * configure.ac (libc_cv_asm_weak_directive): Remove configure
23381         test.
23382         (libc_cv_asm_weakext_directive): Likewise.
23383         * configure: Regenerated.
23384         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
23385         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
23386         * include/libc-symbols.h
23387         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
23388         #error.
23389         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
23390         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
23392         * sysdeps/arm/backtrace.c (__backtrace): Convert to
23393         prototype-style function definition.
23394         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
23395         * sysdeps/i386/ffs.c (__ffs): Likewise.
23396         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23397         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
23398         Likewise.
23399         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23400         Likewise.
23401         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
23402         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23403         Likewise.
23404         * sysdeps/m68k/ffs.c (__ffs): Likewise.
23405         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
23406         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
23407         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
23408         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
23409         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
23410         * sysdeps/mach/hurd/access.c (__access): Likewise.
23411         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
23412         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
23413         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
23414         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
23415         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
23416         (cthread_getspecific): Likewise.
23417         (cthread_setspecific): Likewise.
23418         (__libc_getspecific): Likewise.
23419         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
23420         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
23421         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
23422         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
23423         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
23424         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
23425         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
23426         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
23427         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
23428         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
23429         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
23430         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
23431         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
23432         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
23433         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
23434         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
23435         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
23436         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
23437         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
23438         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
23439         * sysdeps/mach/hurd/link.c (__link): Likewise.
23440         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
23441         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
23442         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
23443         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
23444         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23445         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
23446         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
23447         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
23448         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
23449         * sysdeps/mach/hurd/rename.c (rename): Likewise.
23450         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
23451         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
23452         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
23453         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
23454         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
23455         * sysdeps/mach/hurd/send.c (__send): Likewise.
23456         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
23457         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
23458         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
23459         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
23460         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
23461         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
23462         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
23463         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
23464         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
23465         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
23466         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
23467         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
23468         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
23469         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
23470         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
23471         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
23472         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
23473         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
23474         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
23475         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
23476         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
23477         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
23478         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
23479         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
23480         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
23481         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
23482         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
23483         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
23484         * sysdeps/posix/alarm.c (alarm): Likewise.
23485         * sysdeps/posix/cuserid.c (cuserid): Likewise.
23486         * sysdeps/posix/dirfd.c (dirfd): Likewise.
23487         * sysdeps/posix/dup.c (__dup): Likewise.
23488         * sysdeps/posix/dup2.c (__dup2): Likewise.
23489         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
23490         (main): Likewise.
23491         * sysdeps/posix/flock.c (__flock): Likewise.
23492         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
23493         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
23494         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
23495         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
23496         * sysdeps/posix/isatty.c (__isatty): Likewise.
23497         * sysdeps/posix/killpg.c (killpg): Likewise.
23498         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23499         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
23500         * sysdeps/posix/raise.c (raise): Likewise.
23501         * sysdeps/posix/remove.c (remove): Likewise.
23502         * sysdeps/posix/rename.c (rename): Likewise.
23503         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
23504         * sysdeps/posix/seekdir.c (seekdir): Likewise.
23505         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
23506         * sysdeps/posix/sigignore.c (sigignore): Likewise.
23507         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
23508         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
23509         * sysdeps/posix/sigset.c (sigset): Likewise.
23510         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
23511         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
23512         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
23513         * sysdeps/posix/time.c (time): Likewise.
23514         * sysdeps/posix/ttyname.c (getttyname): Likewise.
23515         (ttyname): Likewise.
23516         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
23517         * sysdeps/posix/utime.c (utime): Likewise.
23518         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
23519         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23520         Likewise.
23521         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
23522         (pthread_spin_trylock): Likewise.
23523         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
23524         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
23525         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
23526         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
23527         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
23528         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
23529         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
23530         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
23531         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
23532         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
23533         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
23534         * sysdeps/s390/ffs.c (__ffs): Likewise.
23535         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
23536         Likewise.
23537         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23538         Likewise.
23539         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
23540         Likewise.
23541         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
23542         (pthread_barrier_destroy): Likewise.
23543         * sysdeps/sparc/nptl/pthread_barrier_wait.c
23544         (__pthread_barrier_wait): Likewise.
23545         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
23546         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
23547         (__pthread_barrier_wait): Likewise.
23548         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
23549         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
23550         (memcmp_not_common_alignment): Likewise.
23551         (MEMCMP): Likewise.
23552         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
23553         (_wordcopy_fwd_dest_aligned): Likewise.
23554         (_wordcopy_bwd_aligned): Likewise.
23555         (_wordcopy_bwd_dest_aligned): Likewise.
23556         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
23557         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
23558         * sysdeps/unix/bsd/stty.c (stty): Likewise.
23559         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
23560         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
23561         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
23562         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
23563         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
23564         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
23565         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
23566         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
23567         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
23568         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
23569         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
23570         * sysdeps/unix/stime.c (stime): Likewise.
23571         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
23572         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
23573         Likewise.  Use internal_function.
23574         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
23575         Convert to prototype-style function definition.
23576         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23577         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23578         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
23579         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23580         Likewise.  Use internal_function.
23581         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
23582         prototype-style function definition
23583         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23584         Likewise.
23585         (__getlogin_r): Likewise.
23586         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
23587         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
23588         (__pthread_cond_broadcast): Likewise.
23589         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
23590         (__pthread_cond_destroy): Likewise.
23591         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
23592         (__pthread_cond_init): Likewise.
23593         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
23594         (__pthread_cond_signal): Likewise.
23595         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
23596         (__pthread_cond_wait): Likewise.
23597         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
23598         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23599         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
23600         Likewise.
23601         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
23602         Likewise.
23603         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
23604         Likewise.
23605         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
23606         Likewise.
23607         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
23608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
23609         (__ftruncate64): Likewise.
23610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
23611         (truncate64): Likewise.
23612         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
23613         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
23614         (pthread_getcpuclockid): Likewise.
23615         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
23616         Likewise.
23617         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
23618         Likewise.
23619         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
23620         Likewise.
23621         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
23622         Likewise.
23623         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
23624         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
23625         (__libc_sigaction): Likewise.
23626         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
23627         Likewise.
23628         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
23629         (__sigprocmask): Likewise.
23630         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
23631         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
23632         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
23633         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23634         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23635         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
23636         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23637         Likewise.
23638         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
23639         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
23640         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23641         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
23642         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
23643         Likewise.
23644         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
23645         (__sigprocmask): Likewise.
23646         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
23647         (cfgetispeed): Likewise.
23648         (cfsetospeed): Likewise.
23649         (cfsetispeed): Likewise.
23650         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
23651         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
23652         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23653         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23654         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
23655         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
23656         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
23657         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
23658         Likewise.
23659         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
23660         Likewise.
23661         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
23662         Likewise.
23663         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
23664         Likewise.
23665         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
23667 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23669         sunrpc: Rewrite with explicit TLS access using __thread.
23670         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
23671         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
23672         directly.
23673         (__rpc_thread_variables): Access thread_rpc_vars directly.
23674         Eliminate redundant assignment of the tvp variable.
23676 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23678         malloc: Rewrite with explicit TLS access using __thread.
23679         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
23680         (tsd_setspecific, tsd_getspecific): Remove.
23681         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
23682         (tsd_setspecific, tsd_getspecific): Likewise.
23683         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
23684         (tsd_setspecific, tsd_getspecific): Likewise.
23685         * malloc/arena.c (thread_arena): New TLS variable.
23686         (arena_key): Remove variable.
23687         (arena_get): Use thread_arena.
23688         (arena_lookup): Remove macro.
23689         (malloc_atfork, free_atfork, ptmalloc_lock_all)
23690         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
23691         (_int_new_arena, get_free_list, reused_arena)
23692         (arena_thread_freeres): Use thread_arena.
23693         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
23694         tsd_getspecific, tsd_setspecific from safety annotations.
23695         (Allocating Cleared Space): Remove arena_lookup from safety
23696         annotations.
23698 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23700         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
23701         struct scratch_buffer instead of extend_alloca.
23703 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23705         * sysdeps/unix/sysv/linux/kernel-features.h
23706         (__ASSUME_SOCK_CLOEXEC): Remove.
23707         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
23708         (__have_paccept): Remove unused macro.
23709         * include/unistd.h (__have_sock_cloexec): Remove declaration.
23710         * misc/syslog.c (openlog_internal): Remove fallback code for
23711         !__ASSUME_SOCK_CLOEXEC.
23712         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
23713         missing SOCK_CLOEXEC.
23714         * nscd/connections.c (have_sock_cloexec): Remove definition.
23715         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
23716         * nscd/nscd_helper.c (open_socket): Remove fallback code for
23717         !__ASSUME_SOCK_CLOEXEC.
23718         * resolv/res_send.c (__have_o_nonblock): Remove definition.
23719         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
23720         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
23721         definition.
23722         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
23723         code for !__ASSUME_SOCK_CLOEXEC.
23725 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23727         [BZ #18982]
23728         * manual/stdio.texi (Variable Arguments Output): Add portability
23729         note, explaining that vfprintf clobbers the va_list pointer.
23731 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
23733         * math/libm-test.inc (fabs_test_data): Add more tests.
23734         (fdim_test_data): Likewise.
23735         (fma_test_data): Likewise.
23736         (fmax_test_data): Likewise.
23737         (fmin_test_data): Likewise.
23738         (fmod_test_data): Likewise.
23740 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
23742         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
23743         data.
23745 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
23747         * math/libm-test.inc (ceil_test_data): Add more tests and more
23748         expectations for "inexact".
23749         (floor_test_data): Add more tests.
23750         (round_test_data): Likewise.
23751         (trunc_test_data): Likewise.
23753         * crypt/cert.c (good_bye): Convert to prototype-style function
23754         definition.
23755         (get8): Likewise.
23756         (put8): Likewise.
23757         * crypt/crypt-entry.c (crypt): Likewise.
23758         (__fcrypt): Likewise.
23759         * crypt/crypt_util.c (_ufc_prbits): Likewise.
23760         (_ufc_set_bits): Likewise.
23761         (_ufc_clearmem): Likewise.
23762         (__init_des_r): Likewise.
23763         (shuffle_sb): Likewise.
23764         (shuffle_sb): Likewise.
23765         (_ufc_setup_salt_r): Likewise.
23766         (_ufc_mk_keytab_r): Likewise.
23767         (_ufc_dofinalperm_r): Likewise.
23768         (encrypt): Likewise.
23769         (__setkey_r): Likewise.
23770         (setkey): Likewise.
23771         * crypt/md5.c (md5_init_ctx): Likewise.
23772         (md5_read_ctx): Likewise.
23773         (md5_finish_ctx): Likewise.
23774         (md5_stream): Likewise.
23775         (md5_buffer): Likewise.
23776         (md5_process_bytes): Likewise.
23777         * crypt/sha256.c (__sha256_init_ctx): Likewise.
23778         (__sha256_finish_ctx): Likewise.
23779         (__sha256_process_bytes): Likewise.
23780         * crypt/sha512.c (__sha512_init_ctx): Likewise.
23781         (__sha512_finish_ctx): Likewise.
23782         (__sha512_process_bytes): Likewise.
23783         * ctype/isctype.c (__isctype): Likewise.
23784         * debug/backtrace.c (__backtrace): Likewise.
23785         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
23786         * debug/fgets_chk.c (__fgets_chk): Likewise.
23787         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
23788         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
23789         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23790         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23791         * debug/memset_chk.c (__memset_chk): Likewise.
23792         * debug/strcat_chk.c (__strcat_chk): Likewise.
23793         * debug/strncat_chk.c (__strncat_chk): Likewise.
23794         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
23795         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
23796         * dirent/dirfd.c (dirfd): Likewise.
23797         * dirent/getdents.c (__getdirentries): Likewise.
23798         * dirent/getdents64.c (getdirentries64): Likewise.
23799         * dirent/rewinddir.c (__rewinddir): Likewise.
23800         * dirent/seekdir.c (seekdir): Likewise.
23801         * dirent/telldir.c (telldir): Likewise.
23802         * elf/sln.c (makesymlinks): Likewise.
23803         (makesymlink): Likewise.
23804         * gmon/gmon.c (__moncontrol): Likewise.
23805         (__monstartup): Likewise.
23806         (write_hist): Likewise.
23807         (write_call_graph): Likewise.
23808         (write_bb_counts): Likewise.
23809         * grp/setgroups.c (setgroups): Likewise.
23810         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23811         * inet/inet_net.c (inet_network): Likewise.
23812         * inet/inet_netof.c (inet_netof): Likewise.
23813         * inet/rcmd.c (rresvport_af): Likewise.
23814         (rresvport): Likewise.
23815         * io/access.c (__access): Likewise.
23816         * io/chdir.c (__chdir): Likewise.
23817         * io/chmod.c (__chmod): Likewise.
23818         * io/chown.c (__chown): Likewise.
23819         * io/close.c (__close): Likewise.
23820         * io/creat.c (creat): Likewise.
23821         * io/creat64.c (creat64): Likewise.
23822         * io/dup.c (__dup): Likewise.
23823         * io/dup2.c (__dup2): Likewise.
23824         * io/dup3.c (__dup3): Likewise.
23825         * io/euidaccess.c (__euidaccess): Likewise.
23826         * io/faccessat.c (faccessat): Likewise.
23827         * io/fchmod.c (__fchmod): Likewise.
23828         * io/fchmodat.c (fchmodat): Likewise.
23829         * io/fchown.c (__fchown): Likewise.
23830         * io/fchownat.c (fchownat): Likewise.
23831         * io/fcntl.c (__fcntl): Likewise.
23832         * io/flock.c (__flock): Likewise.
23833         * io/fts.c (fts_load): Likewise.
23834         (fts_close): Likewise.
23835         (fts_read): Likewise.
23836         (fts_set): Likewise.
23837         (fts_children): Likewise.
23838         (fts_build): Likewise.
23839         (fts_stat): Likewise.
23840         (fts_sort): Likewise.
23841         (fts_alloc): Likewise.
23842         (fts_lfree): Likewise.
23843         (fts_palloc): Likewise.
23844         (fts_padjust): Likewise.
23845         (fts_maxarglen): Likewise.
23846         (fts_safe_changedir): Likewise.
23847         * io/getwd.c (getwd): Likewise.
23848         * io/isatty.c (__isatty): Likewise.
23849         * io/lchown.c (__lchown): Likewise.
23850         * io/link.c (__link): Likewise.
23851         * io/linkat.c (linkat): Likewise.
23852         * io/lseek.c (__libc_lseek): Likewise.
23853         * io/mkdir.c (__mkdir): Likewise.
23854         * io/mkdirat.c (mkdirat): Likewise.
23855         * io/mkfifo.c (mkfifo): Likewise.
23856         * io/mkfifoat.c (mkfifoat): Likewise.
23857         * io/open.c (__libc_open): Likewise.
23858         * io/open64.c (__libc_open64): Likewise.
23859         * io/readlink.c (__readlink): Likewise.
23860         * io/readlinkat.c (readlinkat): Likewise.
23861         * io/rmdir.c (__rmdir): Likewise.
23862         * io/symlink.c (__symlink): Likewise.
23863         * io/symlinkat.c (symlinkat): Likewise.
23864         * io/ttyname.c (ttyname): Likewise.
23865         * io/ttyname_r.c (__ttyname_r): Likewise.
23866         * io/umask.c (__umask): Likewise.
23867         * io/unlink.c (__unlink): Likewise.
23868         * io/unlinkat.c (unlinkat): Likewise.
23869         * io/utime.c (utime): Likewise.
23870         * libio/clearerr.c (clearerr): Likewise.
23871         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
23872         * libio/feof.c (_IO_feof): Likewise.
23873         * libio/feof_u.c (feof_unlocked): Likewise.
23874         * libio/ferror.c (_IO_ferror): Likewise.
23875         * libio/ferror_u.c (ferror_unlocked): Likewise.
23876         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23877         * libio/fileno.c (__fileno): Likewise.
23878         * libio/fputc.c (fputc): Likewise.
23879         * libio/fputc_u.c (fputc_unlocked): Likewise.
23880         * libio/fputwc.c (fputwc): Likewise.
23881         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
23882         * libio/freopen.c (freopen): Likewise.
23883         * libio/freopen64.c (freopen64): Likewise.
23884         * libio/fseek.c (fseek): Likewise.
23885         * libio/fseeko.c (fseeko): Likewise.
23886         * libio/fseeko64.c (fseeko64): Likewise.
23887         * libio/ftello.c (__ftello): Likewise.
23888         * libio/ftello64.c (ftello64): Likewise.
23889         * libio/fwide.c (fwide): Likewise.
23890         * libio/genops.c (_IO_un_link): Likewise.
23891         (_IO_link_in): Likewise.
23892         (_IO_least_marker): Likewise.
23893         (_IO_switch_to_main_get_area): Likewise.
23894         (_IO_switch_to_backup_area): Likewise.
23895         (_IO_switch_to_get_mode): Likewise.
23896         (_IO_free_backup_area): Likewise.
23897         (_IO_switch_to_put_mode): Likewise.
23898         (__overflow): Likewise.
23899         (__underflow): Likewise.
23900         (__uflow): Likewise.
23901         (_IO_setb): Likewise.
23902         (_IO_doallocbuf): Likewise.
23903         (_IO_default_underflow): Likewise.
23904         (_IO_default_uflow): Likewise.
23905         (_IO_default_xsputn): Likewise.
23906         (_IO_sgetn): Likewise.
23907         (_IO_default_xsgetn): Likewise.
23908         (_IO_sync): Likewise.
23909         (_IO_default_setbuf): Likewise.
23910         (_IO_default_seekpos): Likewise.
23911         (_IO_default_doallocate): Likewise.
23912         (_IO_init): Likewise.
23913         (_IO_old_init): Likewise.
23914         (_IO_default_sync): Likewise.
23915         (_IO_default_finish): Likewise.
23916         (_IO_default_seekoff): Likewise.
23917         (_IO_sputbackc): Likewise.
23918         (_IO_sungetc): Likewise.
23919         (_IO_set_column): Likewise.
23920         (_IO_set_column): Likewise.
23921         (_IO_adjust_column): Likewise.
23922         (_IO_get_column): Likewise.
23923         (_IO_init_marker): Likewise.
23924         (_IO_remove_marker): Likewise.
23925         (_IO_marker_difference): Likewise.
23926         (_IO_marker_delta): Likewise.
23927         (_IO_seekmark): Likewise.
23928         (_IO_unsave_markers): Likewise.
23929         (_IO_nobackup_pbackfail): Likewise.
23930         (_IO_default_pbackfail): Likewise.
23931         (_IO_default_seek): Likewise.
23932         (_IO_default_stat): Likewise.
23933         (_IO_default_read): Likewise.
23934         (_IO_default_write): Likewise.
23935         (_IO_default_showmanyc): Likewise.
23936         (_IO_default_imbue): Likewise.
23937         (_IO_iter_next): Likewise.
23938         (_IO_iter_file): Likewise.
23939         * libio/getc.c (_IO_getc): Likewise.
23940         * libio/getwc.c (_IO_getwc): Likewise.
23941         * libio/iofclose.c (_IO_new_fclose): Likewise.
23942         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23943         * libio/iofflush.c (_IO_fflush): Likewise.
23944         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
23945         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
23946         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
23947         * libio/iofgets.c (_IO_fgets): Likewise.
23948         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
23949         * libio/iofgetws.c (fgetws): Likewise.
23950         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23951         * libio/iofopen64.c (_IO_fopen64): Likewise.
23952         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23953         (_IO_cookie_write): Likewise.
23954         (_IO_cookie_seek): Likewise.
23955         (_IO_cookie_close): Likewise.
23956         (_IO_cookie_seekoff): Likewise.
23957         (_IO_old_cookie_seek): Likewise.
23958         * libio/iofputs.c (_IO_fputs): Likewise.
23959         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
23960         * libio/iofputws.c (fputws): Likewise.
23961         * libio/iofputws_u.c (fputws_unlocked): Likewise.
23962         * libio/iofread.c (_IO_fread): Likewise.
23963         * libio/iofread_u.c (__fread_unlocked): Likewise.
23964         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
23965         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
23966         * libio/ioftell.c (_IO_ftell): Likewise.
23967         * libio/iofwrite.c (_IO_fwrite): Likewise.
23968         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23969         * libio/iogets.c (_IO_gets): Likewise.
23970         * libio/iopadn.c (_IO_padn): Likewise.
23971         * libio/iopopen.c (_IO_new_proc_open): Likewise.
23972         (_IO_new_popen): Likewise.
23973         (_IO_new_proc_close): Likewise.
23974         * libio/ioputs.c (_IO_puts): Likewise.
23975         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
23976         (_IO_seekoff): Likewise.
23977         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
23978         (_IO_seekpos): Likewise.
23979         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
23980         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
23981         * libio/ioungetc.c (_IO_ungetc): Likewise.
23982         * libio/ioungetwc.c (ungetwc): Likewise.
23983         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23984         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
23985         * libio/iowpadn.c (_IO_wpadn): Likewise.
23986         * libio/libc_fatal.c (__libc_fatal): Likewise.
23987         * libio/memstream.c (__open_memstream): Likewise.
23988         (_IO_mem_sync): Likewise.
23989         (_IO_mem_finish): Likewise.
23990         * libio/oldfileops.c (_IO_old_file_init): Likewise.
23991         (_IO_old_file_close_it): Likewise.
23992         (_IO_old_file_finish): Likewise.
23993         (_IO_old_file_fopen): Likewise.
23994         (_IO_old_file_attach): Likewise.
23995         (_IO_old_file_setbuf): Likewise.
23996         (_IO_old_do_write): Likewise.
23997         (old_do_write): Likewise.
23998         (_IO_old_file_underflow): Likewise.
23999         (_IO_old_file_overflow): Likewise.
24000         (_IO_old_file_sync): Likewise.
24001         (_IO_old_file_seekoff): Likewise.
24002         (_IO_old_file_write): Likewise.
24003         (_IO_old_file_xsputn): Likewise.
24004         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
24005         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24006         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
24007         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
24008         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24009         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
24010         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
24011         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
24012         (_IO_old_popen): Likewise.
24013         (_IO_old_proc_close): Likewise.
24014         * libio/oldpclose.c (__old_pclose): Likewise.
24015         * libio/pclose.c (__new_pclose): Likewise.
24016         * libio/peekc.c (_IO_peekc_locked): Likewise.
24017         * libio/putc.c (_IO_putc): Likewise.
24018         * libio/putc_u.c (putc_unlocked): Likewise.
24019         * libio/putchar.c (putchar): Likewise.
24020         * libio/putchar_u.c (putchar_unlocked): Likewise.
24021         * libio/putwc.c (putwc): Likewise.
24022         * libio/putwc_u.c (putwc_unlocked): Likewise.
24023         * libio/putwchar.c (putwchar): Likewise.
24024         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
24025         * libio/rewind.c (rewind): Likewise.
24026         * libio/setbuf.c (setbuf): Likewise.
24027         * libio/setlinebuf.c (setlinebuf): Likewise.
24028         * libio/vasprintf.c (_IO_vasprintf): Likewise.
24029         * libio/vscanf.c (_IO_vscanf): Likewise.
24030         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
24031         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
24032         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24033         * libio/wgenops.c (_IO_least_wmarker): Likewise.
24034         (_IO_switch_to_main_wget_area): Likewise.
24035         (_IO_switch_to_wbackup_area): Likewise.
24036         (_IO_wsetb): Likewise.
24037         (_IO_wdefault_pbackfail): Likewise.
24038         (_IO_wdefault_finish): Likewise.
24039         (_IO_wdefault_uflow): Likewise.
24040         (__woverflow): Likewise.
24041         (__wuflow): Likewise.
24042         (__wunderflow): Likewise.
24043         (_IO_wdefault_xsputn): Likewise.
24044         (_IO_wdefault_xsgetn): Likewise.
24045         (_IO_wdoallocbuf): Likewise.
24046         (_IO_wdefault_doallocate): Likewise.
24047         (_IO_switch_to_wget_mode): Likewise.
24048         (_IO_free_wbackup_area): Likewise.
24049         (_IO_switch_to_wput_mode): Likewise.
24050         (_IO_sputbackwc): Likewise.
24051         (_IO_sungetwc): Likewise.
24052         (_IO_adjust_wcolumn): Likewise.
24053         (_IO_init_wmarker): Likewise.
24054         (_IO_wmarker_delta): Likewise.
24055         (_IO_seekwmark): Likewise.
24056         (_IO_unsave_wmarkers): Likewise.
24057         * libio/wmemstream.c (open_wmemstream): Likewise.
24058         (_IO_wmem_sync): Likewise.
24059         (_IO_wmem_finish): Likewise.
24060         * locale/nl_langinfo.c (nl_langinfo): Likewise.
24061         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
24062         * locale/programs/simple-hash.c (init_hash): Likewise.
24063         (delete_hash): Likewise.
24064         (insert_entry): Likewise.
24065         (set_entry): Likewise.
24066         (next_prime): Likewise.
24067         (is_prime): Likewise.
24068         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
24069         (xmalloc): Likewise.
24070         (xrealloc): Likewise.
24071         * locale/programs/xstrdup.c (xstrdup): Likewise.
24072         * localedata/collate-test.c (xstrcoll): Likewise.
24073         * localedata/xfrm-test.c (xstrcmp): Likewise.
24074         * login/getlogin_r.c (__getlogin_r): Likewise.
24075         * login/getpt.c (__posix_openpt): Likewise.
24076         * login/login_tty.c (login_tty): Likewise.
24077         * login/setlogin.c (setlogin): Likewise.
24078         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
24079         (mach_msg_destroy_port): Likewise.
24080         (mach_msg_destroy_memory): Likewise.
24081         * malloc/mcheck.c (flood): Likewise.
24082         * misc/acct.c (acct): Likewise.
24083         * misc/brk.c (__brk): Likewise.
24084         * misc/chflags.c (chflags): Likewise.
24085         * misc/chroot.c (chroot): Likewise.
24086         * misc/fchflags.c (fchflags): Likewise.
24087         * misc/fstab.c (getfsspec): Likewise.
24088         (getfsfile): Likewise.
24089         * misc/fsync.c (fsync): Likewise.
24090         * misc/ftruncate.c (__ftruncate): Likewise.
24091         * misc/ftruncate64.c (__ftruncate64): Likewise.
24092         * misc/getdomain.c (getdomainname): Likewise.
24093         (getdomainname): Likewise.
24094         * misc/gethostname.c (__gethostname): Likewise.
24095         * misc/getpass.c (getpass): Likewise.
24096         * misc/getttyent.c (skip): Likewise.
24097         (value): Likewise.
24098         * misc/gtty.c (gtty): Likewise.
24099         * misc/hsearch.c (hsearch): Likewise.
24100         (hcreate): Likewise.
24101         * misc/hsearch_r.c (__hcreate_r): Likewise.
24102         (__hdestroy_r): Likewise.
24103         * misc/ioctl.c (__ioctl): Likewise.
24104         * misc/mkdtemp.c (mkdtemp): Likewise.
24105         * misc/mkostemp.c (mkostemp): Likewise.
24106         * misc/mkostemp64.c (mkostemp64): Likewise.
24107         * misc/mkostemps.c (mkostemps): Likewise.
24108         * misc/mkostemps64.c (mkostemps64): Likewise.
24109         * misc/mkstemp.c (mkstemp): Likewise.
24110         * misc/mkstemp64.c (mkstemp64): Likewise.
24111         * misc/mkstemps.c (mkstemps): Likewise.
24112         * misc/mkstemps64.c (mkstemps64): Likewise.
24113         * misc/mktemp.c (__mktemp): Likewise.
24114         * misc/preadv.c (preadv): Likewise.
24115         * misc/preadv64.c (preadv64): Likewise.
24116         * misc/pwritev.c (pwritev): Likewise.
24117         * misc/pwritev64.c (pwritev64): Likewise.
24118         * misc/readv.c (__readv): Likewise.
24119         * misc/revoke.c (revoke): Likewise.
24120         * misc/setdomain.c (setdomainname): Likewise.
24121         * misc/setegid.c (setegid): Likewise.
24122         * misc/seteuid.c (seteuid): Likewise.
24123         * misc/sethostid.c (sethostid): Likewise.
24124         * misc/sethostname.c (sethostname): Likewise.
24125         * misc/setregid.c (__setregid): Likewise.
24126         * misc/setreuid.c (__setreuid): Likewise.
24127         * misc/sstk.c (sstk): Likewise.
24128         * misc/stty.c (stty): Likewise.
24129         * misc/syscall.c (syscall): Likewise.
24130         * misc/syslog.c (setlogmask): Likewise.
24131         * misc/truncate.c (__truncate): Likewise.
24132         * misc/truncate64.c (truncate64): Likewise.
24133         * misc/ualarm.c (ualarm): Likewise.
24134         * misc/usleep.c (usleep): Likewise.
24135         * misc/ustat.c (ustat): Likewise.
24136         * misc/writev.c (__writev): Likewise.
24137         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
24138         * nptl/old_pthread_cond_broadcast.c
24139         (__pthread_cond_broadcast_2_0): Likewise.
24140         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
24141         Likewise.
24142         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
24143         Likewise.
24144         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
24145         Likewise.
24146         * nptl/pt-raise.c (raise): Likewise.
24147         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
24148         Likewise.
24149         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
24150         * nptl/pthread_barrierattr_destroy.c
24151         (pthread_barrierattr_destroy): Likewise.
24152         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24153         Likewise.
24154         * nptl/pthread_barrierattr_setpshared.c
24155         (pthread_barrierattr_setpshared): Likewise.
24156         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
24157         Likewise.
24158         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
24159         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24160         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
24161         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
24162         Likewise.
24163         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
24164         Likewise.
24165         * nptl/pthread_condattr_getpshared.c
24166         (pthread_condattr_getpshared): Likewise.
24167         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
24168         Likewise.
24169         * nptl/pthread_condattr_setpshared.c
24170         (pthread_condattr_setpshared): Likewise.
24171         * nptl/pthread_detach.c (pthread_detach): Likewise.
24172         * nptl/pthread_equal.c (__pthread_equal): Likewise.
24173         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
24174         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
24175         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
24176         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
24177         Likewise.
24178         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
24179         Likewise.
24180         * nptl/pthread_mutex_getprioceiling.c
24181         (pthread_mutex_getprioceiling): Likewise.
24182         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
24183         Likewise.
24184         * nptl/pthread_mutexattr_getprotocol.c
24185         (pthread_mutexattr_getprotocol): Likewise.
24186         * nptl/pthread_mutexattr_getpshared.c
24187         (pthread_mutexattr_getpshared): Likewise.
24188         * nptl/pthread_mutexattr_getrobust.c
24189         (pthread_mutexattr_getrobust): Likewise.
24190         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24191         Likewise.
24192         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
24193         Likewise.
24194         * nptl/pthread_mutexattr_setprioceiling.c
24195         (pthread_mutexattr_setprioceiling): Likewise.
24196         * nptl/pthread_mutexattr_setprotocol.c
24197         (pthread_mutexattr_setprotocol): Likewise.
24198         * nptl/pthread_mutexattr_setpshared.c
24199         (pthread_mutexattr_setpshared): Likewise.
24200         * nptl/pthread_mutexattr_setrobust.c
24201         (pthread_mutexattr_setrobust): Likewise.
24202         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
24203         Likewise.
24204         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
24205         Likewise.
24206         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
24207         Likewise.
24208         * nptl/pthread_rwlockattr_getkind_np.c
24209         (pthread_rwlockattr_getkind_np): Likewise.
24210         * nptl/pthread_rwlockattr_getpshared.c
24211         (pthread_rwlockattr_getpshared): Likewise.
24212         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
24213         Likewise.
24214         * nptl/pthread_rwlockattr_setkind_np.c
24215         (pthread_rwlockattr_setkind_np): Likewise.
24216         * nptl/pthread_rwlockattr_setpshared.c
24217         (pthread_rwlockattr_setpshared): Likewise.
24218         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
24219         Likewise.
24220         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
24221         Likewise.
24222         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
24223         Likewise.
24224         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
24225         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
24226         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
24227         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
24228         * nptl/sem_close.c (sem_close): Likewise.
24229         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
24230         * nptl/sem_init.c (__old_sem_init): Likewise.
24231         * nptl/sigaction.c (__sigaction): Likewise.
24232         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
24233         * posix/_exit.c (_exit): Likewise.
24234         * posix/alarm.c (alarm): Likewise.
24235         * posix/confstr.c (confstr): Likewise.
24236         * posix/fpathconf.c (__fpathconf): Likewise.
24237         * posix/getgroups.c (__getgroups): Likewise.
24238         * posix/getpgid.c (__getpgid): Likewise.
24239         * posix/group_member.c (__group_member): Likewise.
24240         * posix/pathconf.c (__pathconf): Likewise.
24241         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
24242         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
24243         * posix/setgid.c (__setgid): Likewise.
24244         * posix/setpgid.c (__setpgid): Likewise.
24245         * posix/setuid.c (__setuid): Likewise.
24246         * posix/sleep.c (__sleep): Likewise.
24247         * posix/sysconf.c (__sysconf): Likewise.
24248         * posix/times.c (__times): Likewise.
24249         * posix/uname.c (__uname): Likewise.
24250         * posix/waitid.c (__waitid): Likewise.
24251         * pwd/getpw.c (__getpw): Likewise.
24252         * resolv/base64.c (b64_pton): Likewise.
24253         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
24254         * resolv/gethnamaddr.c (Dprintf): Likewise.
24255         (gethostbyname): Likewise.
24256         (gethostbyname2): Likewise.
24257         (gethostbyaddr): Likewise.
24258         (_sethtent): Likewise.
24259         (_gethtbyname): Likewise.
24260         (_gethtbyname2): Likewise.
24261         (_gethtbyaddr): Likewise.
24262         (map_v4v6_address): Likewise.
24263         (map_v4v6_hostent): Likewise.
24264         (addrsort): Likewise.
24265         (ht_sethostent): Likewise.
24266         (ht_gethostbyname): Likewise.
24267         (ht_gethostbyaddr): Likewise.
24268         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
24269         (inet_net_ntop_ipv4): Likewise.
24270         * resolv/inet_neta.c (inet_neta): Likewise.
24271         * resolv/inet_ntop.c (inet_ntop): Likewise.
24272         (inet_ntop4): Likewise.
24273         (inet_ntop6): Likewise.
24274         * resolv/inet_pton.c (__inet_pton): Likewise.
24275         (inet_pton4): Likewise.
24276         (inet_pton6): Likewise.
24277         * resolv/res_debug.c (loc_aton): Likewise.
24278         (loc_ntoa): Likewise.
24279         * resource/getpriority.c (__getpriority): Likewise.
24280         * resource/getrusage.c (__getrusage): Likewise.
24281         * resource/nice.c (nice): Likewise.
24282         * resource/setpriority.c (__setpriority): Likewise.
24283         * resource/setrlimit64.c (setrlimit64): Likewise.
24284         * resource/vlimit.c (vlimit): Likewise.
24285         * resource/vtimes.c (vtimes): Likewise.
24286         * rt/aio_error.c (aio_error): Likewise.
24287         * rt/aio_return.c (aio_return): Likewise.
24288         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
24289         * signal/kill.c (__kill): Likewise.
24290         * signal/killpg.c (killpg): Likewise.
24291         * signal/raise.c (raise): Likewise.
24292         * signal/sigaction.c (__sigaction): Likewise.
24293         * signal/sigaddset.c (sigaddset): Likewise.
24294         * signal/sigaltstack.c (sigaltstack): Likewise.
24295         * signal/sigandset.c (sigandset): Likewise.
24296         * signal/sigblock.c (__sigblock): Likewise.
24297         * signal/sigdelset.c (sigdelset): Likewise.
24298         * signal/sigempty.c (sigemptyset): Likewise.
24299         * signal/sigfillset.c (sigfillset): Likewise.
24300         * signal/sighold.c (sighold): Likewise.
24301         * signal/sigignore.c (sigignore): Likewise.
24302         * signal/sigintr.c (siginterrupt): Likewise.
24303         * signal/sigisempty.c (sigisemptyset): Likewise.
24304         * signal/sigismem.c (sigismember): Likewise.
24305         * signal/signal.c (signal): Likewise.
24306         * signal/sigorset.c (sigorset): Likewise.
24307         * signal/sigpause.c (__sigpause): Likewise.
24308         * signal/sigpending.c (sigpending): Likewise.
24309         * signal/sigprocmask.c (__sigprocmask): Likewise.
24310         * signal/sigrelse.c (sigrelse): Likewise.
24311         * signal/sigreturn.c (__sigreturn): Likewise.
24312         * signal/sigset.c (sigset): Likewise.
24313         * signal/sigsetmask.c (__sigsetmask): Likewise.
24314         * signal/sigstack.c (sigstack): Likewise.
24315         * signal/sigsuspend.c (__sigsuspend): Likewise.
24316         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
24317         * signal/sysv_signal.c (__sysv_signal): Likewise.
24318         * socket/accept.c (accept): Likewise.
24319         * socket/accept4.c (__libc_accept4): Likewise.
24320         * socket/bind.c (__bind): Likewise.
24321         * socket/connect.c (__connect): Likewise.
24322         * socket/getpeername.c (getpeername): Likewise.
24323         * socket/getsockname.c (__getsockname): Likewise.
24324         * socket/getsockopt.c (getsockopt): Likewise.
24325         * socket/listen.c (__listen): Likewise.
24326         * socket/recv.c (__recv): Likewise.
24327         * socket/recvmsg.c (__recvmsg): Likewise.
24328         * socket/send.c (__send): Likewise.
24329         * socket/sendmsg.c (__sendmsg): Likewise.
24330         * socket/shutdown.c (shutdown): Likewise.
24331         * socket/sockatmark.c (sockatmark): Likewise.
24332         * socket/socket.c (__socket): Likewise.
24333         * stdio-common/ctermid.c (ctermid): Likewise.
24334         * stdio-common/cuserid.c (cuserid): Likewise.
24335         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
24336         * stdio-common/remove.c (remove): Likewise.
24337         * stdio-common/rename.c (rename): Likewise.
24338         * stdio-common/renameat.c (renameat): Likewise.
24339         * stdio-common/tempname.c (__gen_tempname): Likewise.
24340         * stdio-common/xbug.c (InitBuffer): Likewise.
24341         (AppendToBuffer): Likewise.
24342         (ReadFile): Likewise.
24343         * stdlib/a64l.c (a64l): Likewise.
24344         * stdlib/drand48_r.c (drand48_r): Likewise.
24345         * stdlib/getcontext.c (getcontext): Likewise.
24346         * stdlib/getenv.c (getenv): Likewise.
24347         * stdlib/l64a.c (l64a): Likewise.
24348         * stdlib/llabs.c (llabs): Likewise.
24349         * stdlib/lldiv.c (lldiv): Likewise.
24350         * stdlib/lrand48_r.c (lrand48_r): Likewise.
24351         * stdlib/mrand48_r.c (mrand48_r): Likewise.
24352         * stdlib/putenv.c (putenv): Likewise.
24353         * stdlib/random.c (__srandom): Likewise.
24354         (__initstate): Likewise.
24355         (__setstate): Likewise.
24356         * stdlib/random_r.c (__srandom_r): Likewise.
24357         (__setstate_r): Likewise.
24358         (__random_r): Likewise.
24359         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
24360         * stdlib/setcontext.c (setcontext): Likewise.
24361         * stdlib/setenv.c (setenv): Likewise.
24362         (unsetenv): Likewise.
24363         * stdlib/srand48.c (srand48): Likewise.
24364         * stdlib/srand48_r.c (__srand48_r): Likewise.
24365         * stdlib/swapcontext.c (swapcontext): Likewise.
24366         * stdlib/system.c (__libc_system): Likewise.
24367         * stdlib/tst-strtod.c (expand): Likewise.
24368         * stdlib/tst-strtol.c (expand): Likewise.
24369         * stdlib/tst-strtoll.c (expand): Likewise.
24370         * streams/fattach.c (fattach): Likewise.
24371         * streams/fdetach.c (fdetach): Likewise.
24372         * streams/getmsg.c (getmsg): Likewise.
24373         * streams/isastream.c (isastream): Likewise.
24374         * string/ffs.c (__ffs): Likewise.
24375         * string/ffsll.c (ffsll): Likewise.
24376         * string/memcmp.c (memcmp_common_alignment): Likewise.
24377         (memcmp_not_common_alignment): Likewise.
24378         (MEMCMP): Likewise.
24379         * string/memcpy.c (memcpy): Likewise.
24380         * string/memmove.c (MEMMOVE): Likewise.
24381         * string/memset.c (memset): Likewise.
24382         * string/rawmemchr.c (RAWMEMCHR): Likewise.
24383         * string/strchrnul.c (STRCHRNUL): Likewise.
24384         * string/strerror.c (strerror): Likewise.
24385         * string/strndup.c (__strndup): Likewise.
24386         * string/strverscmp.c (__strverscmp): Likewise.
24387         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
24388         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
24389         (clnttcp_freeres): Likewise.
24390         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
24391         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
24392         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
24393         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
24394         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
24395         (xdr_callhdr): Likewise.
24396         * sunrpc/rpcinfo.c (udpping): Likewise.
24397         (tcpping): Likewise.
24398         (pstatus): Likewise.
24399         (pmapdump): Likewise.
24400         (brdcst): Likewise.
24401         (deletereg): Likewise.
24402         (getprognum): Likewise.
24403         (getvers): Likewise.
24404         (get_inet_address): Likewise.
24405         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
24406         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24407         (svcudp_stat): Likewise.
24408         (svcudp_recv): Likewise.
24409         (svcudp_reply): Likewise.
24410         (svcudp_getargs): Likewise.
24411         (svcudp_freeargs): Likewise.
24412         (svcudp_destroy): Likewise.
24413         * sunrpc/xdr.c (xdr_bytes): Likewise.
24414         (xdr_netobj): Likewise.
24415         (xdr_string): Likewise.
24416         (xdr_wrapstring): Likewise.
24417         * sunrpc/xdr_float.c (xdr_float): Likewise.
24418         (xdr_double): Likewise.
24419         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
24420         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
24421         * sysvipc/ftok.c (ftok): Likewise.
24422         * sysvipc/msgctl.c (msgctl): Likewise.
24423         * sysvipc/msgget.c (msgget): Likewise.
24424         * sysvipc/msgrcv.c (msgrcv): Likewise.
24425         * sysvipc/msgsnd.c (msgsnd): Likewise.
24426         * sysvipc/semget.c (semget): Likewise.
24427         * sysvipc/semop.c (semop): Likewise.
24428         * sysvipc/shmat.c (shmat): Likewise.
24429         * sysvipc/shmctl.c (shmctl): Likewise.
24430         * sysvipc/shmdt.c (shmdt): Likewise.
24431         * sysvipc/shmget.c (shmget): Likewise.
24432         * termios/cfmakeraw.c (cfmakeraw): Likewise.
24433         * termios/speed.c (cfgetospeed): Likewise.
24434         (cfgetispeed): Likewise.
24435         (cfsetospeed): Likewise.
24436         (cfsetispeed): Likewise.
24437         * termios/tcflow.c (tcflow): Likewise.
24438         * termios/tcflush.c (tcflush): Likewise.
24439         * termios/tcgetattr.c (__tcgetattr): Likewise.
24440         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
24441         * termios/tcgetsid.c (tcgetsid): Likewise.
24442         * termios/tcsendbrk.c (tcsendbreak): Likewise.
24443         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
24444         * time/adjtime.c (__adjtime): Likewise.
24445         * time/dysize.c (dysize): Likewise.
24446         * time/ftime.c (ftime): Likewise.
24447         * time/getitimer.c (__getitimer): Likewise.
24448         * time/gettimeofday.c (__gettimeofday): Likewise.
24449         * time/gmtime.c (__gmtime_r): Likewise.
24450         (gmtime): Likewise.
24451         * time/localtime.c (__localtime_r): Likewise.
24452         (localtime): Likewise.
24453         * time/offtime.c (__offtime): Likewise.
24454         * time/settimeofday.c (__settimeofday): Likewise.
24455         * time/stime.c (stime): Likewise.
24456         * time/strftime_l.c (tm_diff): Likewise.
24457         (iso_week_days): Likewise.
24458         * time/strptime.c (strptime): Likewise.
24459         * time/time.c (time): Likewise.
24460         * time/timespec_get.c (timespec_get): Likewise.
24461         * time/tzset.c (tzset_internal): Likewise.
24462         (compute_change): Likewise.
24463         (__tz_compute): Likewise.
24464         * wcsmbs/btowc.c (__btowc): Likewise.
24465         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
24466         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
24467         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
24468         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
24469         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
24470         * wcsmbs/wcscat.c (__wcscat): Likewise.
24471         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24472         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
24473         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
24474         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24475         * wcsmbs/wcsdup.c (wcsdup): Likewise.
24476         * wcsmbs/wcslen.c (__wcslen): Likewise.
24477         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
24478         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
24479         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
24480         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
24481         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24482         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
24483         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24484         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24485         * wcsmbs/wcstok.c (wcstok): Likewise.
24486         * wcsmbs/wctob.c (wctob): Likewise.
24487         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
24488         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24489         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
24490         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
24491         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
24492         * wcsmbs/wmemset.c (__wmemset): Likewise.
24493         * wctype/wcfuncs.c (__towlower): Likewise.
24494         (__towupper): Likewise.
24496         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
24497         (lll_unlock_elision): Add adapt_count parameter.
24499 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
24501         * sysdeps/nptl/configure.ac: Do not give errors based on the
24502         results of top-level configure tests.
24503         * sysdeps/nptl/configure: Regenerated.
24505         * configure.ac (libc_cv_Bgroup): Remove configure test.
24506         * configure: Regenerated.
24507         * config.make.in (have-Bgroup): Remove variable.
24509         * configure.ac (sizeof_long_double): Remove configure test.
24510         * configure: Regenerated.
24511         * config.make.in (sizeof-long-double): Remove variable.
24513         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
24514         * configure: Regenerated.
24515         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
24516         variable.
24517         (exceptions): Likewise.
24518         * sysdeps/arm/configure: Regenerated.
24519         * config.make.in (exceptions): Remove variable.
24520         * Makeconfig (uses-callbacks): Use -fexceptions instead of
24521         $(exceptions).
24522         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
24523         (CFLAGS-vdprintf_chk.c): Likewise.
24524         (CFLAGS-printf_chk.c): Likewise.
24525         (CFLAGS-fprintf_chk.c): Likewise.
24526         (CFLAGS-vprintf_chk.c): Likewise.
24527         (CFLAGS-vfprintf_chk.c): Likewise.
24528         (CFLAGS-gets_chk.c): Likewise.
24529         (CFLAGS-fgets_chk.c): Likewise.
24530         (CFLAGS-fgets_u_chk.c): Likewise.
24531         (CFLAGS-fread_chk.c): Likewise.
24532         (CFLAGS-fread_u_chk.c): Likewise.
24533         (CFLAGS-wprintf_chk.c): Likewise.
24534         (CFLAGS-fwprintf_chk.c): Likewise.
24535         (CFLAGS-vwprintf_chk.c): Likewise.
24536         (CFLAGS-vfwprintf_chk.c): Likewise.
24537         (CFLAGS-fgetws_chk.c): Likewise.
24538         (CFLAGS-fgetws_u_chk.c): Likewise.
24539         * libio/Makefile (CFLAGS-fileops.c): Likewise.
24540         (CFLAGS-fputc.c): Likewise.
24541         (CFLAGS-fputwc.c): Likewise.
24542         (CFLAGS-freopen64.c): Likewise.
24543         (CFLAGS-freopen.c): Likewise.
24544         (CFLAGS-fseek.c): Likewise.
24545         (CFLAGS-fseeko64.c): Likewise.
24546         (CFLAGS-fseeko.c): Likewise.
24547         (CFLAGS-ftello64.c): Likewise.
24548         (CFLAGS-ftello.c): Likewise.
24549         (CFLAGS-fwide.c): Likewise.
24550         (CFLAGS-genops.c): Likewise.
24551         (CFLAGS-getc.c): Likewise.
24552         (CFLAGS-getchar.c): Likewise.
24553         (CFLAGS-getwc.c): Likewise.
24554         (CFLAGS-getwchar.c): Likewise.
24555         (CFLAGS-iofclose.c): Likewise.
24556         (CFLAGS-iofflush.c): Likewise.
24557         (CFLAGS-iofgetpos64.c): Likewise.
24558         (CFLAGS-iofgetpos.c): Likewise.
24559         (CFLAGS-iofgets.c): Likewise.
24560         (CFLAGS-iofgetws.c): Likewise.
24561         (CFLAGS-iofputs.c): Likewise.
24562         (CFLAGS-iofputws.c): Likewise.
24563         (CFLAGS-iofread.c): Likewise.
24564         (CFLAGS-iofsetpos64.c): Likewise.
24565         (CFLAGS-iofsetpos.c): Likewise.
24566         (CFLAGS-ioftell.c): Likewise.
24567         (CFLAGS-iofwrite.c): Likewise.
24568         (CFLAGS-iogetdelim.c): Likewise.
24569         (CFLAGS-iogetline.c): Likewise.
24570         (CFLAGS-iogets.c): Likewise.
24571         (CFLAGS-iogetwline.c): Likewise.
24572         (CFLAGS-ioputs.c): Likewise.
24573         (CFLAGS-ioseekoff.c): Likewise.
24574         (CFLAGS-ioseekpos.c): Likewise.
24575         (CFLAGS-iosetbuffer.c): Likewise.
24576         (CFLAGS-iosetvbuf.c): Likewise.
24577         (CFLAGS-ioungetc.c): Likewise.
24578         (CFLAGS-ioungetwc.c): Likewise.
24579         (CFLAGS-oldfileops.c): Likewise.
24580         (CFLAGS-oldiofclose.c): Likewise.
24581         (CFLAGS-oldiofgetpos64.c): Likewise.
24582         (CFLAGS-oldiofgetpos.c): Likewise.
24583         (CFLAGS-oldiofsetpos64.c): Likewise.
24584         (CFLAGS-oldiofsetpos.c): Likewise.
24585         (CFLAGS-peekc.c): Likewise.
24586         (CFLAGS-putc.c): Likewise.
24587         (CFLAGS-putchar.c): Likewise.
24588         (CFLAGS-putwc.c): Likewise.
24589         (CFLAGS-putwchar.c): Likewise.
24590         (CFLAGS-rewind.c): Likewise.
24591         (CFLAGS-wfileops.c): Likewise.
24592         (CFLAGS-wgenops.c): Likewise.
24593         (CFLAGS-oldiofopen.c): Likewise.
24594         (CFLAGS-iofopen.c): Likewise.
24595         (CFLAGS-iofopen64.c): Likewise.
24596         (CFLAGS-oldtmpfile.c): Likewise.
24597         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24598         (CFLAGS-fprintf.c): Likewise.
24599         (CFLAGS-printf.c): Likewise.
24600         (CFLAGS-vfwprintf.c): Likewise.
24601         (CFLAGS-vfscanf.c): Likewise.
24602         (CFLAGS-vfwscanf.c): Likewise.
24603         (CFLAGS-fscanf.c): Likewise.
24604         (CFLAGS-scanf.c): Likewise.
24605         (CFLAGS-isoc99_vfscanf.c): Likewise.
24606         (CFLAGS-isoc99_vscanf.c): Likewise.
24607         (CFLAGS-isoc99_fscanf.c): Likewise.
24608         (CFLAGS-isoc99_scanf.c): Likewise.
24609         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
24610         (CFLAGS-isoc99_fwscanf.c): Likewise.
24611         (CFLAGS-isoc99_vwscanf.c): Likewise.
24612         (CFLAGS-isoc99_vfwscanf.c): Likewise.
24614         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
24615         after mkstemp64.
24616         * login/tst-utmp.c (do_prepare): Likewise.
24617         * rt/tst-aio.c (do_prepare): Likewise.
24618         * rt/tst-aio64.c (do_prepare): Likewise.
24620 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24622         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24623         (__lll_lock_elision): Remove adapt_count decrement...
24624         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24625         (__lll_trylock_elision): Likewise.
24626         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
24627         (__lll_unlock_elision): ... to here. And utilize
24628         new adapt_count parameter.
24629         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
24630         (__lll_unlock_elision): Update to include adapt_count
24631         parameter.
24632         (lll_unlock_elision): Pass pointer to adapt_count
24633         variable.
24635 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24637         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
24638         Add elision adapt_count parameter to list of arguments.
24639         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
24640         (lll_unlock_elision): Update with new parameter list
24641         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
24642         (lll_unlock_elision): Likewise.
24643         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
24644         (lll_unlock_elision): Likewise.
24646 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24648         [BZ #19122]
24649         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
24650         attribute_hidden.
24652         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
24653         attribute_hidden.
24654         [IS_IN (rtld)] (__strdup): Likewise.
24655         [IS_IN (rtld)] (__strerror_r): Likewise.
24656         [IS_IN (rtld)] (__strsep_g): Likewise.
24657         [IS_IN (rtld)] (memchr): Likewise.
24658         [IS_IN (rtld)] (memcmp): Likewise.
24659         [IS_IN (rtld)] (memcpy): Likewise.
24660         [IS_IN (rtld)] (memmove): Likewise.
24661         [IS_IN (rtld)] (memset): Likewise.
24662         [IS_IN (rtld)] (rawmemchr): Likewise.
24663         [IS_IN (rtld)] (stpcpy): Likewise.
24664         [IS_IN (rtld)] (strchr): Likewise.
24665         [IS_IN (rtld)] (strcmp): Likewise.
24666         [IS_IN (rtld)] (strlen): Likewise.
24667         [IS_IN (rtld)] (strnlen): Likewise.
24668         [IS_IN (rtld)] (strsep): Likewise.
24670         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
24671         attribute_hidden.
24672         [IS_IN (rtld)] (__strtoul_internal): Likewise.
24674         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
24675         attribute_hidden.
24676         [IS_IN (rtld)] (__libc_sigaction): Likewise.
24678         * include/setjmp.h (__longjmp): Add attribute_hidden.
24679         [IS_IN (rtld)] (__sigsetjmp): Likewise.
24681         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
24682         Add attribute_hidden.
24684         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
24685         [IS_IN (rtld)] (__open): Likewise.
24686         [IS_IN (rtld)] (__fcntl): Likewise.
24688         * include/dirent.h (__opendirat): Add attribute_hidden.
24689         (__getdents): Likewise.
24690         (__getdents64): Likewise.
24691         (__alloc_dir): Likewise.
24692         [IS_IN (rtld)] (__closedir): Likewise.
24693         [IS_IN (rtld)] (__fdopendir): Likewise.
24694         [IS_IN (rtld)] (__readdir): Likewise.
24695         [IS_IN (rtld)] (__readdir64): Likewise.
24696         [IS_IN (rtld)] (__rewinddir): Likewise.
24698         * include/dlfcn.h (_dl_catch_error): Moved to ...
24699         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
24700         attribute_hidden.
24702         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
24703         (_itoa_word): Likewise.
24705         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
24706         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
24707         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
24708         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
24709         (_dl_higher_prime_number): Likewise.
24710         (_dl_debug_printf_c): Likewise.
24711         (_dl_signal_cerror): Likewise.
24712         (_dl_receive_error): Likewise.
24713         (_dl_reloc_bad_type): Likewise.
24714         (_dl_resolve_conflicts): Likewise.
24715         (_dl_check_all_versions): Likewise.
24716         (_dl_check_map_versions): Likewise.
24717         (_dl_sort_fini): Likewise.
24718         (_dl_debug_initialize): Likewise.
24719         (_dl_init_paths): Likewise.
24720         (_dl_show_auxv): Likewise.
24721         (_dl_next_ld_env_entry): Likewise.
24722         (_dl_important_hwcaps): Likewise.
24723         (_dl_load_cache_lookup): Likewise.
24724         (_dl_update_slotinfo): Likewise.
24725         (_dl_show_scope): Likewise.
24727         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
24728         attribute_hidden.
24729         (_wordcopy_fwd_dest_aligned): Likewise.
24730         (_wordcopy_bwd_aligned): Likewise.
24731         (_wordcopy_bwd_dest_aligned): Likewise.
24733         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
24734         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
24735         Likewise.
24736         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
24737         Likewise.
24738         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
24740 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24742         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
24743         GCC 5 requirement.
24745 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
24747         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
24748         test.
24749         * sysdeps/i386/configure: Regenerated.
24750         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
24751         code unconditional.
24753         * configure.ac (libc_cv_asm_previous_directive): Remove configure
24754         test.
24755         (libc_cv_asm_popsection_directive): Likewise.
24756         * configure: Regenerated.
24757         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
24758         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
24759         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
24760         (__make_section_unallocated): Make definition unconditional.
24761         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
24762         Remove conditional definition.
24763         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
24764         (__make_section_unallocated): Likewise.
24766         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
24767         * configure: Regenerated.
24768         * config.make.in (static-libgcc): Remove variable.
24769         * Makerules (build-shlib-helper): Use -static-libgcc instead of
24770         $(static-libgcc).
24771         (build-module-helper): Likewise.
24773         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
24774         * configure: Regenerated.
24776 2015-10-15  Florian Weimer  <fweimer@redhat.com>
24778         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
24779         (struct char_buffer): New type.
24780         (char_buffer_start, char_buffer_size, char_buffer_error)
24781         (char_buffer_rewind, char_buffer_add): New functions.
24782         (ADDW): Remove macro, replaced by the char_buffer_add function.
24783         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
24784         of extend_alloca.  Make control flow more explicit.
24786 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24788         [BZ #19137]
24789         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
24790         Add -fomit-frame-pointer.
24791         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
24793 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24795         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
24796         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
24797         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
24798         only if !__GNUC_PREREQ (5,0).
24799         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
24800         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
24801         (INTERNAL_SYSCALL_NCS): Likewise.
24802         (LOADREGS_0): New macro for GCC 5.
24803         (ASMARGS_0): Likewise.
24804         (LOADREGS_1): Likewise.
24805         (ASMARGS_1): Likewise.
24806         (LOADREGS_2): Likewise.
24807         (ASMARGS_2): Likewise.
24808         (LOADREGS_3): Likewise.
24809         (ASMARGS_3): Likewise.
24810         (LOADREGS_4): Likewise.
24811         (ASMARGS_4): Likewise.
24812         (LOADREGS_5): Likewise.
24813         (ASMARGS_5): Likewise.
24814         (LOADREGS_6): Likewise.
24815         (ASMARGS_6): Likewise.
24817 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24819         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
24820         -fomit-frame-pointer.
24821         (CFLAGS-mmap64.c): Likewise.
24822         (CFLAGS-semtimedop.c): Likewise.
24823         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
24824         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
24825         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24826         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24828 2015-10-15  Florian Weimer  <fweimer@redhat.com>
24830         [BZ #18928]
24831         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
24832         _dl_pointer_guard member.
24833         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
24834         initializer.
24835         (security_init): Always set up pointer guard.
24836         (process_envvars): Do not process LD_POINTER_GUARD.
24838 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
24840         [BZ #19134]
24841         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
24842         (.LC2): Likewise.
24843         (.LC3): Likewise.
24844         (__lround): Do not add 0.5 to integer or out-of-range arguments.
24846 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24848         [BZ #19129]
24849         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
24850         r0 and r1.
24852 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
24854         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
24856 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
24858         * include/stap-probe.h: Fix macro definition formatting.
24860 2015-10-14  Florian Weimer  <fweimer@redhat.com>
24862         [BZ #19074]
24863         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
24864         load and store num_ifs.
24866 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24868         [BZ #18822]
24869         * sysdeps/unix/sysv/linux/sched_getaffinity.c
24870         (__sched_getaffinity_new): Add libc_hidden_proto and
24871         libc_hidden_def.
24873 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24875         [BZ #19007]
24876         * scripts/localplt.awk: Also allow GOT references.
24877         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
24878         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
24879         with "+ REL R_386_GLOB_DAT".
24880         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
24881         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
24883 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24885         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
24886         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24887         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
24888         Likewise.
24889         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
24890         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
24891         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
24892         INTERNAL_SYSCALLINTERNAL_SYSCALL and
24893         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24894         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
24895         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24896         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
24897         Likewise.
24898         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24900 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
24902         [BZ #19125]
24903         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
24904         <math_private.h> and <stdint.h>.
24905         (__llround): Avoid conversions to and from long long int, and
24906         subtractions, where those might raise spurious exceptions.
24907         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
24908         <math_private.h> and <stdint.h>.
24909         (__llroundf): Avoid conversions to and from long long int, and
24910         subtractions, where those might raise spurious exceptions.
24912 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24914         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
24915         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24916         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24917         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
24918         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24919         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24920         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
24921         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
24922         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
24923         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24924         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24925         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24926         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
24927         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24928         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24929         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
24930         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
24931         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24932         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
24933         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
24934         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
24935         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
24936         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
24937         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24938         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
24939         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24940         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
24941         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24942         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24943         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
24944         (__xstat64_conv): Likewise.
24945         (__xstat32_conv): Likewise.
24947 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24949         * sysdeps/unix/sysv/linux/sysdep.h: New file.
24950         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
24951         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
24952         <sysdeps/unix/sysv/linux/sysdep.h>.
24953         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24954         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
24955         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
24956         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24957         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24958         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
24959         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
24960         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
24961         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
24962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24964         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24965         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24966         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24967         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24968         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24969         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
24970         (sysdep-dl-routines): Add sysdep.
24971         [$(subdir) == nptl] (libpthread-routines): Likewise.
24972         [$(subdir) == rt] (librt-routines): Likewise.
24973         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
24974         PIC when branching to SYSCALL_ERROR_LABEL.
24975         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
24976         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
24977         <sysdeps/unix/sysv/linux/sysdep.h>.
24978         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
24979         (SYSCALL_ERROR_ERRNO): Removed.
24980         (SYSCALL_ERROR_HANDLER): Changed to empty.
24981         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
24982         (__syscall_error): New prototype.
24983         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
24984         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
24986 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24988         [BZ #19124]
24989         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
24990         (_dl_runtime_resolve_avx512): Make it a hidden alias of
24991         _dl_runtime_resolve_avx.
24992         (_dl_runtime_profile_avx512): Make it a hidden alias of
24993         _dl_runtime_profile_avx.
24995 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
24997         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
24998         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
24999         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
25000         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
25002         [BZ #16422]
25003         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
25004         New configure test.
25005         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
25006         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
25007         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
25008         <math_private.h> and <stdint.h>.
25009         (__llrint): Avoid conversions to long long int where those might
25010         raise spurious exceptions.
25011         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25012         <math_private.h> and <stdint.h>.
25013         (__llrintf): Avoid conversions to long long int where those might
25014         raise spurious exceptions.
25016 2015-10-12  Andreas Schwab  <schwab@suse.de>
25018         [BZ #18969]
25019         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
25020         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
25021         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
25022         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
25023         $(gen-locales).
25024         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
25025         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
25026         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
25027         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
25028         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
25029         $(gen-locales).
25030         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
25031         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
25032         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
25033         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
25034         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
25035         ($(objpfx)tst-ftell-active-handler.out)
25036         ($(objpfx)tst-ftell-append.out)
25037         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
25038         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
25039         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
25040         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
25041         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
25042         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
25043         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
25044         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
25045         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
25046         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
25047         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
25048         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
25049         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
25050         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
25051         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
25052         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
25053         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
25054         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
25055         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
25056         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
25057         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
25058         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
25059         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
25060         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
25061         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
25062         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
25063         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
25064         $(gen-locales).
25065         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
25066         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
25067         $(gen-locales).
25068         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
25069         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
25070         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
25071         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
25072         $(gen-locales).
25073         * libio/tst_wprintf2.c (main): Use explicit locale.
25074         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
25076 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25078         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
25079         __msg_sig_post.
25080         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
25082 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
25084         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25085         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25087         * sysdeps/arm/libm-test-ulps: Regenerated.
25089         [BZ #15470]
25090         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
25092         [BZ #16399]
25093         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
25094         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
25095         and <fix-fp-int-convert-overflow.h>.
25096         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
25097         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25098         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
25099         and <fix-fp-int-convert-overflow.h>.
25100         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
25101         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25102         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
25103         <fix-fp-int-convert-overflow.h>.
25104         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
25105         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25106         * sysdeps/ieee754/dbl-64/s_lround.c: Include
25107         <fix-fp-int-convert-overflow.h>.
25108         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
25109         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25110         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
25111         and <fix-fp-int-convert-overflow.h>.
25112         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
25113         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25114         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
25115         <limits.h> and <fix-fp-int-convert-overflow.h>.
25116         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
25117         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25118         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
25119         and <fix-fp-int-convert-overflow.h>.
25120         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
25121         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25122         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
25123         and <fix-fp-int-convert-overflow.h>.
25124         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
25125         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25126         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
25128 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
25130         [BZ #18589]
25131         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
25132         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
25133         $(gen-locales).
25135 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25136             Phil Blundell <pb@pbcl.net>
25138         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
25139         * nptl/tst-cancel26.c: New file.
25140         * nptl/tst-cancel27.c: Likewise.
25142 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
25144         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
25145         __ILP32__ isn't defined.
25146         (lrint): Likewise.
25147         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
25148         (lrintf): Likewise.
25149         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
25150         (lrintl): Likewise.
25151         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
25152         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
25153         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
25155 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25157         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
25158         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
25160         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
25161         file.
25162         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
25163         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
25165 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
25167         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
25168         configure test.
25169         * sysdeps/i386/configure: Regenerated.
25170         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
25171         configure test.
25172         * sysdeps/x86_64/configure: Regenerated.
25173         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
25174         Make code unconditional.
25176         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
25177         test.
25178         * sysdeps/i386/configure: Regenerated.
25179         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
25180         test.
25181         * sysdeps/x86_64/configure: Regenerated.
25182         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
25183         Make code unconditional.
25184         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25185         Likewise.
25186         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
25187         Likewise.
25188         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25189         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
25190         code unconditional.
25191         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25192         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
25193         code unconditional.
25194         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25195         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
25196         code unconditional.
25197         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
25198         code unconditional.
25199         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25200         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
25201         code unconditional.
25202         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25203         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
25204         code unconditional.
25205         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25206         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
25207         code unconditional.
25208         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25209         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
25210         code unconditional.
25211         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25212         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
25214         [BZ #19095]
25215         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
25216         mantissa to long int before shifting left.
25218 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
25220         [BZ #19094]
25221         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
25222         <limits.h>.
25223         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25224         when result overflows but exception would not result from cast.
25225         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
25226         <limits.h>.
25227         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25228         when result overflows but exception would not result from cast.
25229         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
25230         <limits.h>.
25231         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25232         when result overflows but exception would not result from cast.
25233         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
25234         <limits.h>.
25235         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25236         when result overflows but exception would not result from cast.
25237         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
25238         <limits.h>.
25239         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25240         when result overflows but exception would not result from cast.
25241         * math/libm-test.inc (lrint_test_data): Add more tests.
25242         (llrint_test_data): Likewise.
25244 2015-10-08  Roland McGrath  <roland@hack.frob.com>
25246         [BZ #18872]
25247         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
25248         Move out from under [$(run-built-tests) = yes] conditional.
25249         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
25250         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
25252 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
25254         [BZ #18589]
25255         * string/Makefile (tests): Add bug-strcoll2.
25256         (LOCALES): Add cs_CZ.UTF-8.
25257         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
25259         [BZ #18589]
25260         * string/bug-strcoll2.c: New file.
25261         * locale/categories.def: Revert commit
25262         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
25263         * locale/langinfo.h: Likewise.
25264         * locale/localeinfo.h: Likewise.
25265         * locale/C-collate.c: Likewise.
25266         * locale/programs/ld-collate.c (collate_output): Likewise.
25267         * string/strcoll_l.c (STRDIFF): Likewise.
25268         (STRCOLL): Likewise.
25269         * wcsmbs/wcscoll_l.c: Likewise.
25271 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
25273         * math/libm-test.inc (lround_test_data): Do not expect the absence
25274         of "inexact" for some tests with non-integer arguments.
25275         (llround_test_data): Likewise.
25277         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
25278         test.
25279         (libc_cv_cc_sse2avx): Likewise.
25280         * sysdeps/i386/configure: Regenerated.
25281         * sysdeps/i386/i686/multiarch/Makefile
25282         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
25283         [$(subdir) = math].
25284         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
25285         code unconditional.
25286         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
25287         Likewise.
25288         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
25289         Likewise.
25290         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
25291         Likewise.
25292         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
25293         test.
25294         (libc_cv_cc_sse2avx): Likewise.
25295         * sysdeps/x86_64/configure: Regenerated.
25296         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
25297         unconditional.
25298         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
25299         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
25300         unconditional.
25301         (_dl_runtime_profile)
25302         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
25303         conditional code.
25304         * sysdeps/x86_64/fpu/multiarch/Makefile
25305         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
25306         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
25307         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25308         * sysdeps/x86_64/fpu/multiarch/e_exp.c
25309         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25310         * sysdeps/x86_64/fpu/multiarch/e_log.c
25311         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25312         * sysdeps/x86_64/fpu/multiarch/s_atan.c
25313         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25314         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
25315         Likewise.
25316         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
25317         Likewise.
25318         * sysdeps/x86_64/fpu/multiarch/s_sin.c
25319         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25320         * sysdeps/x86_64/fpu/multiarch/s_tan.c
25321         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25322         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
25323         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
25324         (HAVE_SSE2AVX_SUPPORT): Likewise.
25326 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
25328         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
25329         instead of #pragma optimize.
25331 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
25333         [BZ #17195]
25334         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
25335         as is similarly done in systrim and _int_free already.
25337 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25339         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
25341 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25343         [BZ #19088]
25344         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
25345         <limits.h>.
25346         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
25347         overflows but exception would not result from cast.
25348         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
25349         and <limits.h>.
25350         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
25351         overflows but exception would not result from cast.
25352         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
25353         <limits.h>.
25354         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
25355         overflows but exception would not result from cast.
25356         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
25357         <limits.h>.
25358         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
25359         overflows but exception would not result from cast.
25360         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
25361         <limits.h>.
25362         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
25363         overflows but exception would not result from cast.
25364         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
25365         <limits.h>.
25366         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
25367         overflows but exception would not result from cast.
25368         * math/libm-test.inc (lround_test_data): Add more tests.
25369         (llround_test_data): Likewise.
25371 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
25373         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
25374         (CFLAGS-ialloc.c): Ditto.
25375         (CFLAGS-scheck.c): Ditto.
25377 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
25379         [BZ #19086]
25380         * manual/filesys.texi (Storage Allocation): Fix argument order for
25381         posix_fallocate64.
25383 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25385         [BZ #19085]
25386         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
25387         exponent below 48 inside case for non-overflowing exponent.
25388         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
25390 2015-10-07  Florian Weimer  <fweimer@redhat.com>
25392         * iconvdata/cp737.h (from_idx): Add const.
25393         * iconvdata/cp775.h (from_idx): Likewise.
25395 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25397         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
25398         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
25399         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
25401         [BZ #19079]
25402         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
25403         file, conditioned on [!_LP64].
25404         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
25405         [!_LP64] (__lround): Do not define as function or alias.
25406         [!_LP64] (lround): Likewise.
25407         [!_LP64] (__lroundl): Likewise.
25408         [!_LP64] (lroundl): Likewise.
25409         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
25410         macro.
25411         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25412         Likewise.
25414 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
25416         * math/libm-test.inc (lrint_test_data): Add more tests.
25417         (llrint_test_data): Likewise.
25418         (lround_test_data): Likewise.
25419         (llround_test_data): Likewise.
25421         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
25422         (llrint_test_data): Add tests used for lrint.
25424         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
25425         test.
25426         * sysdeps/i386/configure: Regenerated.
25427         * sysdeps/i386/i686/multiarch/Makefile
25428         [$(config-cflags-sse4) = yes]: Make code unconditional.
25429         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
25430         Likewise.
25431         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
25432         Likewise.
25433         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
25434         test.
25435         * sysdeps/x86_64/configure: Regenerated.
25436         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
25437         Make code unconditional.
25438         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
25439         Likewise.
25440         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
25441         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
25443         * scripts/rpm2dynsym.sh: Remove file.
25445 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25447         * configure.ac (libc_cv_cxx_thread_local): Define.
25448         * configure: Regenerate.
25449         * config.make.in (have-cxx-thread_local): Define.
25450         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
25451         (LDLIBS-tst-thread_local1): Define.
25452         (tests): Add tst-thread_local1.
25453         [have-cxx-thread_local != yes] (tests-unsupported): Add
25454         tst-thread_local1.
25455         * nptl/tst-thread_local1.cc: New file.
25457 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
25459         [BZ #19078]
25460         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
25461         (u_thres): Likewise.
25462         (__expl): Determine whether to call __kernel_standard_l based on
25463         value of result, not argument.
25465         * math/libm-test.inc (scalb_test_data): Add more expectations for
25466         the "inexact" exception.
25468         [BZ #19077]
25469         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
25470         0.0L for argument 1.0L.
25472         [BZ #19076]
25473         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
25474         constant 0.0L when computing infinite result.
25476 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25478         [BZ #10432]
25479         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
25480         malloc_usable_size.
25482 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25484         [BZ #19018]
25485         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25486         Mangle function pointer before storing it.
25487         (__call_tls_dtors): Demangle function pointer before calling it.
25489 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25491         [BZ #19012]
25492         * iconv/gconv_db.c (gen_steps): Check for additional errors.
25493         Clean up on failure.
25495 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
25497         [BZ #19071]
25498         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
25499         long int variable to store possibly incremented high part of
25500         mantissa.
25501         * math/libm-test.inc (lround_test_data): Add tests used for
25502         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
25503         for tests requiring 64-bit long.  Do not condition tests on
25504         [TEST_FLOAT] unnecessarily.
25505         (llround_test_data): Add tests used for lround.  Add another
25506         expectation for the "inexact" exception.  Do not condition tests
25507         on [TEST_FLOAT] unnecessarily.
25509         [BZ #887]
25510         [BZ #19049]
25511         [BZ #19050]
25512         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
25513         * sysdeps/ieee754/dbl-64/e_log10.c: Include
25514         <fix-int-fp-convert-zero.h>.
25515         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25516         * sysdeps/ieee754/dbl-64/e_log2.c: Include
25517         <fix-int-fp-convert-zero.h>.
25518         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25519         * sysdeps/ieee754/dbl-64/s_erf.c: Include
25520         <fix-int-fp-convert-zero.h>.
25521         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25522         * sysdeps/ieee754/dbl-64/s_logb.c: Include
25523         <fix-int-fp-convert-zero.h>.
25524         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25525         * sysdeps/ieee754/flt-32/e_log10f.c: Include
25526         <fix-int-fp-convert-zero.h>.
25527         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25528         * sysdeps/ieee754/flt-32/e_log2f.c: Include
25529         <fix-int-fp-convert-zero.h>.
25530         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25531         * sysdeps/ieee754/flt-32/s_erff.c: Include
25532         <fix-int-fp-convert-zero.h>.
25533         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25534         * sysdeps/ieee754/flt-32/s_logbf.c: Include
25535         <fix-int-fp-convert-zero.h>.
25536         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25537         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
25538         <fix-int-fp-convert-zero.h>.
25539         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25540         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
25541         <fix-int-fp-convert-zero.h>.
25542         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25543         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
25544         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
25545         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
25546         file.
25547         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
25549 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
25551         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25553 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
25555         [BZ #19059]
25556         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
25557         overflowing computation.
25558         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25559         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25560         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25561         Likewise.
25562         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25563         Likewise.
25564         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
25565         Likewise.
25566         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25567         Likewise.
25568         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25569         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25570         Likewise.
25571         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25572         Likewise.
25573         * math/libm-test.inc (nexttoward_test_data): Add more tests.
25575         * nss/rewrite_field.c (__nss_rewrite_field): Use
25576         internal_function.
25577         * nss/valid_field.c (__nss_valid_field): Likewise.
25578         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
25580 2015-10-02  Florian Weimer  <fweimer@redhat.com>
25582         [BZ #18724]
25583         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
25584         (__nss_invalid_field_characters, __nss_valid_field)
25585         (__nss_valid_list_field, __nss_rewrite_field): Declare.
25586         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
25587         tst-field.c: New file.
25588         * nss/Makefile (routines): Add valid_field, rewrite_field.
25589         (tests-static): Define unconditionally.
25590         (tests): Include tests-static.
25591         [build-static-nss] (tests-static): Use append.
25592         [build-static-nss] (tests): Remove modification.
25593         * nss/getent.c (print_group): Call putgrent.  Report error.
25594         (print_gshadow): Call putsgent.  Report error.
25595         (print_passwd): Call putpwent.  Report error.
25596         (print_shadow): Call putspent.  Report error.
25597         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
25598         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
25599         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
25600         name, password, directory, shell fields for valid syntax.  Rewrite
25601         GECOS field to match syntax.
25602         * pwd/Makefile (tests): Add tst-putpwent.
25603         * pwd/tst-putpwent.c: New file.
25604         * grp/putgrent.c (putgrent): Convert to ISO function definition.
25605         Check grName, grpasswd, gr_mem fields for valid syntax.
25606         Change loop variable i to size_t.
25607         * grp/Makefile (tests): Add tst-putgrent.
25608         * grp/tst-putgrent.c: New file.
25609         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
25610         valid syntax.
25611         * shadow/Makefile (tests): Add tst-putspent.
25612         * shadow/tst-putspent.c: New file.
25613         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
25614         sg_mem fields for valid syntax.
25615         * gshadow/Makefile (tests): Add tst-putsgent.
25616         * gshadow/tst-putsgent.c: New file.
25618 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25620         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
25621         assembly instructions.
25623 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25625         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
25626         prefix from operands.
25628 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
25630         [BZ #16347]
25631         [BZ #19046]
25632         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
25633         <libc-internal.h>.
25634         (MAXLGM): Do not use diagnostic control macros.
25635         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
25636         threshold for ldbl-128ibm.
25637         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
25638         instead of multiplying by log then subtracting.
25639         * math/auto-libm-test-in: Add more tests of lgamma.
25640         * math/auto-libm-test-out: Regenerated.
25642         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
25643         (TYPE_HEX_DIG): Likewise.
25644         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
25645         precisions when printing floating-point numbers.
25646         (check_float_internal): Likewise.
25648 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
25650         [BZ #16620]
25651         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
25652         of log (10) rounded downward to 48 bits.
25653         (log10_low): Use corresponding low part of log (10).
25655         [BZ #19032]
25656         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
25657         compute result as (x - x) / (x - x) not as 0 / 0.
25658         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
25659         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
25661         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25662         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
25663         and expm1.
25664         * math/auto-libm-test-out: Regenerated.
25665         * math/libm-test.inc (acos_test_data): Add more tests.
25666         (asin_test_data): Likewise.
25667         (asinh_test_data): Likewise.
25668         (atan_test_data): Likewise.
25669         (atanh_test_data): Likewise.
25670         (atan2_test_data): Likewise.
25671         (cbrt_test_data): Likewise.
25672         (ceil_test_data): Likewise.
25673         (copysign_test_data): Likewise.
25674         (cos_test_data): Likewise.
25675         (cosh_test_data): Likewise.
25676         (erf_test_data): Likewise.
25677         (erfc_test_data): Likewise.
25678         (exp_test_data): Likewise.
25679         (exp10_test_data): Likewise.
25680         (exp2_test_data): Likewise.
25681         (expm1_test_data): Likewise.
25682         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25684 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
25686         [BZ #19006]
25687         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
25688         to ...
25689         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
25690         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
25691         to ...
25692         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
25693         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
25694         to ...
25695         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
25696         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
25697         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
25698         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
25699         to ...
25700         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
25701         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
25702         Moved to ...
25703         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
25704         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
25705         Moved to ...
25706         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
25707         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
25708         to ...
25709         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
25710         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
25711         Moved to ...
25712         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
25713         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
25714         to ...
25715         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
25716         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
25717         Removed.
25718         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
25719         Likewise.
25720         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
25721         Likewise.
25722         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
25723         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
25724         Likewise.
25725         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
25726         Likewise.
25727         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
25728         Likewise.
25729         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
25730         Likewise.
25731         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
25732         Likewise.
25733         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
25734         Likewise.
25735         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
25736         Likewise.
25737         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
25738         Likewise.
25739         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
25740         Likewise.
25741         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
25742         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
25743         Likewise.
25744         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
25745         Likewise.
25746         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
25747         Likewise.
25748         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
25749         Likewise.
25750         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
25751         Likewise.
25752         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
25753         Replace ../i486/pthread_cond_timedwait.S with
25754         ../pthread_cond_timedwait.S.
25756 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
25758         * math/libm-test.inc (acos_test_data): Refine expectations for
25759         errno and "inexact" exceptions.
25760         (acosh_test_data): Likewise.
25761         (asin_test_data): Likewise.
25762         (asinh_test_data): Likewise.
25763         (atan_test_data): Likewise.
25764         (atanh_test_data): Likewise.
25765         (atan2_test_data): Likewise.
25766         (cbrt_test_data): Likewise.
25767         (ceil_test_data): Likewise.
25768         (copysign_test_data): Likewise.
25769         (cosh_test_data): Likewise.
25770         (erf_test_data): Likewise.
25771         (erfc_test_data): Likewise.
25772         (exp_test_data): Likewise.
25773         (exp10_test_data): Likewise.
25774         (exp2_test_data): Likewise.
25775         (expm1_test_data): Likewise.
25776         (fabs_test_data): Likewise.
25777         (floor_test_data): Likewise.
25778         (fma_test_data): Likewise.
25779         (fmax_test_data): Likewise.
25780         (fmin_test_data): Likewise.
25781         (fmod_test_data): Likewise.
25782         (fpclassify_test_data): Likewise.
25783         (frexp_test_data): Likewise.
25784         (hypot_test_data): Likewise.
25785         (ilogb_test_data): Likewise.
25786         (isgreater_test_data): Likewise.
25787         (isgreaterequal_test_data): Likewise.
25788         (isinf_test_data): Likewise.
25789         (isless_test_data): Likewise.
25790         (islessequal_test_data): Likewise.
25791         (islessgreater_test_data): Likewise.
25792         (isnan_test_data): Likewise.
25793         (isnormal_test_data): Likewise.
25794         (issignaling_test_data): Likewise.
25795         (isunordered_test_data): Likewise.
25796         (j0_test_data): Likewise.
25797         (j1_test_data): Likewise.
25798         (jn_test_data): Likewise.
25799         (lgamma_test_data): Likewise.
25800         (lrint_test_data): Likewise.
25801         (llrint_test_data): Likewise.
25802         (log_test_data): Likewise.
25803         (log10_test_data): Likewise.
25804         (log1p_test_data): Likewise.
25805         (log2_test_data): Likewise.
25806         (logb_test_data): Likewise.
25807         (lround_test_data): Likewise.
25808         (llround_test_data): Likewise.
25809         (modf_test_data): Likewise.
25810         (nearbyint_test_data): Likewise.
25811         (nextafter_test_data): Likewise.
25812         (nexttoward_test_data): Likewise.
25813         (pow_test_data): Likewise.
25814         (remainder_test_data): Likewise.
25815         (remquo_test_data): Likewise.
25816         (rint_test_data): Likewise.
25817         (round_test_data): Likewise.
25818         (signbit_test_data): Likewise.
25819         (sinh_test_data): Likewise.
25820         (sqrt_test_data): Likewise.
25821         (tanh_test_data): Likewise.
25822         (tgamma_test_data): Likewise.
25823         (trunc_test_data): Likewise.
25824         (y0_test_data): Likewise.
25825         (y1_test_data): Likewise.
25826         (yn_test_data): Likewise.
25827         (significand_test_data): Likewise.
25829 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
25831         * manual/filesys.texi (Storage Allocation): Document that
25832         posix_fallocate emulation fails when fd is open with O_WRONLY.
25834 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
25836         [BZ #19016]
25837         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
25838         allow more cases with X^2 + Y^2 >= 0.5.
25839         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
25840         normal element in sum instead of special-casing based on values of
25841         arguments.
25842         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
25843         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
25844         -1 as normal element in sum instead of special-casing based on
25845         values of arguments.
25846         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
25847         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
25848         (__x2y2m1): Update comment.
25849         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
25850         as normal element in sum instead of special-casing based on values
25851         of arguments.
25852         * math/s_clog.c (__clog): Handle more cases using log1p without
25853         hypot.
25854         * math/s_clog10.c (__clog10): Likewise.
25855         * math/s_clog10f.c (__clog10f): Likewise.
25856         * math/s_clog10l.c (__clog10l): Likewise.
25857         * math/s_clogf.c (__clogf): Likewise.
25858         * math/s_clogl.c (__clogl): Likewise.
25859         * math/auto-libm-test-in: Add more tests of clog and clog10.
25860         * math/auto-libm-test-out: Regenerated.
25861         * sysdeps/i386/fpu/libm-test-ulps: Update.
25862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25864 2015-09-28  Martin Sebor  <msebor@redhat.com>
25866         [BZ #18969]
25867         * string/Makefile (LOCALES): Define.
25868         (gen-locales.mk): Include.
25869         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
25870         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
25871         * string/tst-strxfrm2.c (do_test): Print the name of the locale
25872         on setlocale failure.
25874 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
25876         [BZ #18985]
25877         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
25878         (__strftime_internal): Likewise.
25879         * time/tst-strftime.c (do_bz18985): New test.
25880         (do_test): Call it.
25882 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
25884         [BZ #18956]
25885         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
25886         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
25887         extracting high part.
25888         * math/auto-libm-test-in: Add another test of pow.
25889         * math/auto-libm-test-out: Regenerated.
25890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25892 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
25894         [BZ #18825]
25895         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
25896         New macro.
25897         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
25898         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25899         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
25900         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
25901         DBL_NARROW_EVAL, reloading the PIC register as needed.
25902         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
25903         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
25904         FLT_NARROW_EVAL.  Use separate return path for case when first
25905         argument is NaN.
25906         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
25907         DEFINE_LDBL_MIN.
25908         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
25909         PIC register.
25910         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
25911         math_check_force_underflow_nonneg.
25912         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
25913         underflow for subnormal result.
25914         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
25915         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
25916         math_check_force_underflow_nonneg.
25917         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
25918         math_check_force_underflow.
25919         * sysdeps/x86_64/fpu/x86_64-math-asm.h
25920         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
25921         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
25922         DEFINE_LDBL_MIN.
25923         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
25924         * math/auto-libm-test-in: Add more tests of pow.
25925         * math/auto-libm-test-out: Regenerated.
25927 2015-09-25  Florian Weimer  <fweimer@redhat.com>
25929         * nss/bug17079.c (init_test_items): Add diagnostic for
25930         inconsistent entries.
25931         (test_buffer_size): Skip inconsistent entries.
25933 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
25935         [BZ #13304]
25936         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
25937         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
25938         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
25940         [BZ #13304]
25941         * sysdeps/microblaze/s_fma.c: New file.
25942         * sysdeps/microblaze/s_fmaf.c: Likewise.
25943         * sysdeps/microblaze/sfp-machine.h: Likewise.
25945 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
25947         [BZ #17250]
25948         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
25949         member.
25951 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
25953         [BZ #18803]
25954         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
25955         (MO): New macro.
25956         (__ieee754_hypot) [PIC]: Load PIC register.
25957         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
25958         DBL_NARROW_EVAL.
25959         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
25960         math_check_force_underflow_nonneg in case where result might be
25961         tiny.
25962         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25963         Likewise.
25964         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25965         Likewise.
25966         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
25967         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
25968         * math/auto-libm-test-in: Add more tests of hypot.
25969         * math/auto-libm-test-out: Regenerated.
25971 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
25973         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
25975 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
25977         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
25978         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
25979         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
25980         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
25981         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
25982         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
25983         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
25985         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
25986         LOAD_PIC_REG.
25988         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
25989         (FLT_CHECK_FORCE_UFLOW): Likewise.
25990         (DBL_CHECK_FORCE_UFLOW): Likewise.
25991         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
25992         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
25993         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
25994         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25995         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25996         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25997         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25998         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25999         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
26000         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26001         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
26002         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
26003         (flt_min): Replace with use of DEFINE_FLT_MIN.
26004         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
26005         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
26006         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26007         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
26008         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
26009         (flt_min): Replace with use of DEFINE_FLT_MIN.
26010         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
26011         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
26012         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26013         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
26014         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
26015         (flt_min): Replace with use of DEFINE_FLT_MIN.
26016         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
26017         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
26018         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26019         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26020         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
26021         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26022         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26023         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
26024         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26025         (__atan): Use DBL_CHECK_FORCE_UFLOW.
26026         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
26027         (flt_min): Replace with use of DEFINE_FLT_MIN.
26028         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
26029         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
26030         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26031         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
26032         main computation.
26033         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
26034         (flt_min): Replace with use of DEFINE_FLT_MIN.
26035         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
26036         main computation.
26037         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
26038         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26039         (MO): New macro.
26040         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
26041         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
26042         (flt_min): Replace with use of DEFINE_FLT_MIN.
26043         (MO): New macro.
26044         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
26045         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
26046         (__log1pl): Use MO.
26048         [BZ #19003]
26049         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
26050         $(config-cflags-nofma).
26052 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26054         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26056 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
26058         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
26059         (TWO127): Likewise.
26061         * sysdeps/generic/math_private.h (fabs_tg): New macro.
26062         (min_of_type): Likewise.
26063         (math_check_force_underflow): Likewise.
26064         (math_check_force_underflow_nonneg): Likewise.
26065         (math_check_force_underflow_complex): Likewise.
26066         * math/e_exp2l.c (__ieee754_exp2l): Use
26067         math_check_force_underflow_nonneg.
26068         * math/k_casinh.c (__kernel_casinh): Likewise.
26069         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26070         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26071         * math/s_catan.c (__catan): Use
26072         math_check_force_underflow_complex.
26073         * math/s_catanf.c (__catanf): Likewise.
26074         * math/s_catanh.c (__catanh): Likewise.
26075         * math/s_catanhf.c (__catanhf): Likewise.
26076         * math/s_catanhl.c (__catanhl): Likewise.
26077         * math/s_catanl.c (__catanl): Likewise.
26078         * math/s_ccosh.c (__ccosh): Likewise.
26079         * math/s_ccoshf.c (__ccoshf): Likewise.
26080         * math/s_ccoshl.c (__ccoshl): Likewise.
26081         * math/s_cexp.c (__cexp): Likewise.
26082         * math/s_cexpf.c (__cexpf): Likewise.
26083         * math/s_cexpl.c (__cexpl): Likewise.
26084         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
26085         * math/s_clog10.c (__clog10): Likewise.
26086         * math/s_clog10f.c (__clog10f): Likewise.
26087         * math/s_clog10l.c (__clog10l): Likewise.
26088         * math/s_clogf.c (__clogf): Likewise.
26089         * math/s_clogl.c (__clogl): Likewise.
26090         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
26091         * math/s_csinf.c (__csinf): Likewise.
26092         * math/s_csinh.c (__csinh): Likewise.
26093         * math/s_csinhf.c (__csinhf): Likewise.
26094         * math/s_csinhl.c (__csinhl): Likewise.
26095         * math/s_csinl.c (__csinl): Likewise.
26096         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
26097         * math/s_csqrtf.c (__csqrtf): Likewise.
26098         * math/s_csqrtl.c (__csqrtl): Likewise.
26099         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
26100         * math/s_ctanf.c (__ctanf): Likewise.
26101         * math/s_ctanh.c (__ctanh): Likewise.
26102         * math/s_ctanhf.c (__ctanhf): Likewise.
26103         * math/s_ctanhl.c (__ctanhl): Likewise.
26104         * math/s_ctanl.c (__ctanl): Likewise.
26105         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
26106         instead of volatile.
26107         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
26108         math_check_force_underflow.
26109         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26110         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
26111         volatile when forcing underflow.
26112         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26113         math_check_force_underflow_nonneg.
26114         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
26115         Likewise.
26116         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
26117         math_check_force_underflow.
26118         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26119         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26120         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26121         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
26122         math_check_force_underflow_nonneg.
26123         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
26124         math_check_force_underflow.
26125         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
26126         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
26127         instead of volatile.
26128         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
26129         math_check_force_underflow.
26130         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26131         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26132         math_check_force_underflow_nonneg.
26133         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
26134         math_check_force_underflow.
26135         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
26136         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26137         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
26138         math_check_force_underflow_nonneg.
26139         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
26140         Likewise.
26141         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
26142         math_check_force_underflow.
26143         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26144         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
26145         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
26146         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
26147         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
26148         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
26149         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
26150         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
26151         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
26152         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
26153         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
26154         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
26155         Likewise.
26156         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
26157         math_check_force_underflow_nonneg.
26158         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
26159         Likewise.
26160         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
26161         math_check_force_underflow.
26162         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26163         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
26164         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26165         Likewise.
26166         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
26167         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
26168         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
26169         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
26170         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
26171         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
26172         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
26173         instead of volatile.
26174         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
26175         math_check_force_underflow.
26176         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
26177         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
26178         math_check_force_underflow.
26179         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
26180         Likewise.
26181         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26182         Use math_check_force_underflow_nonneg.
26183         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
26184         math_check_force_underflow.
26185         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
26186         Likewise.
26187         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26188         Likewise.
26189         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26190         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26191         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26192         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26193         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
26194         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26195         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
26196         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
26197         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
26198         math_check_force_underflow_nonneg.
26199         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
26200         math_check_force_underflow.
26201         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26202         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
26203         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
26204         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
26205         math_check_force_underflow_nonneg.
26206         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
26207         math_check_force_underflow.
26208         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
26209         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
26210         instead of volatile.
26211         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
26212         math_check_force_underflow.
26214         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
26215         * stdlib/strtod_l.c: Include <math_private.h>.
26216         (overflow_value): Use math_narrow_eval.
26217         (underflow_value): Likewise.
26218         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26219         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
26220         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
26221         (__ieee754_gamma_r): Likewise.
26222         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
26223         Likewise.
26224         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
26225         Likewise.
26226         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
26227         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
26228         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
26229         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
26230         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
26231         (__ieee754_gammaf_r): Likewise.
26232         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
26233         Likewise.
26234         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
26235         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
26236         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
26237         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
26238         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
26239         volatile.
26240         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
26241         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
26242         math_narrow_eval.
26243         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26244         Likewise.
26245         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26246         Likewise.
26247         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
26248         Likewise.
26249         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
26250         volatile.
26251         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
26252         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
26253         math_narrow_eval.
26254         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26255         Likewise.
26256         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26257         Likewise.
26259 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
26261         * nptl/Versions: Remove ignored symbols.
26263 2015-09-22  Florian Weimer  <fweimer@redhat.com>
26265         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
26266         * nss/Makefile (tests): Update.
26268 2015-09-22  Florian Weimer  <fweimer@redhat.com>
26270         * nss/bug18287.c: New file.
26271         * nss/Makefile (tests): Add bug18287.
26273 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26275         * mach/Versions (__mach_host_self_): Add symbol.
26277 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26279         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
26280         vm_page_size.
26282 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26284         Really fix sysdeps/i386/fpu/s_scalbn.S build
26286         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
26287         (libc: GLIBC_2_22): Remove unused version set.
26289 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26291         * config.make.in (enable-timezone-tools): New variable.
26292         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
26293         (enable_timezone_tools): Export to generated files.
26294         * configure: Regenerate.
26295         * INSTALL: Regenerate.
26296         * manual/install.texi (--disable-timezone-tools): Document new flag.
26297         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
26298         ifeq ($(enable-timezone-tools),yes) check.
26300 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26302         * timezone/Makefile: Revert previous change.
26304         [BZ #18980]
26305         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
26306         (DEFINE_DBL_MIN): Likewise.
26307         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
26308         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
26309         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
26310         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
26311         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
26312         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26313         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26314         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
26315         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
26316         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26317         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26318         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
26319         (flt_min): Replace with use of DEFINE_FLT_MIN.
26320         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26321         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
26322         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26323         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26324         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
26325         (flt_min): Replace with use of DEFINE_FLT_MIN.
26326         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26327         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
26328         (flt_min): Replace with use of DEFINE_FLT_MIN.
26329         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26330         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
26331         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
26332         (__ieee754_hypot): Use DBL_NARROW_EVAL.
26333         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
26334         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
26335         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
26336         (__ieee754_pow): Use DBL_NARROW_EVAL.
26337         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
26338         (__ieee754_powf): Use FLT_NARROW_EVAL.
26339         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
26340         (__ieee754_expf_sse2): Convert double-precision result to single
26341         precision.
26342         * sysdeps/i386/fpu/libm-test-ulps: Update.
26344 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26346         * timezone/Makefile: Ignore unused variable errors due to private.h
26347         (time_t_min) and (time_t_max).
26348         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
26349         Likewise.
26351 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26353         [BZ #18981]
26354         * sysdeps/i386/fpu/i386-math-asm.h: New file.
26355         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
26356         (__ieee754_scalb): Use DBL_NARROW_EVAL.
26357         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
26358         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
26359         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
26360         (__scalbn): Use DBL_NARROW_EVAL.
26361         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
26362         (__scalbnf): Use FLT_NARROW_EVAL.
26364 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26366         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
26367         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
26368         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
26369         * stdio-common/printf_fp.c (___printf_fp):
26370         Use signbit to get the sign. Use isinf macro to allow inlining.
26371         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
26372         * stdio-common/printf_size.c (__printf_size): Likewise.
26374 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26376         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
26378 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26380         [BZ #18980]
26381         * sysdeps/generic/math_private.h: Include <float.h>.
26382         (math_narrow_eval): New macro.
26383         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
26384         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
26385         math_narrow_eval on overflowing return value.
26386         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
26387         Likewise.
26388         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26389         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
26390         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
26391         Likewise.
26392         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
26394 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26396         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
26397         * math/Makefile: Remove isinf_ns.c.
26398         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
26399         * math/multc3.c (__multc3): Likewise.
26400         * math/s_casin.c (__casin): Likewise.
26401         * math/s_casinf.c (__casinf): Likewise.
26402         * math/s_casinl.c (__casinl): Likewise.
26403         * math/s_cproj.c (__cproj): Likewise.
26404         * math/s_cprojf.c (__cprojf): Likewise.
26405         * math/s_cprojl.c (__cprofl): Likewise.
26406         * math/s_ctan.c (__ctan): Likewise.
26407         * math/s_ctanf.c (__ctanf): Likewise.
26408         * math/s_ctanh.c (__ctanh): Likewise.
26409         * math/s_ctanhf.c (__ctanhf): Likewise.
26410         * math/s_ctanhl.c (__ctanhl): Likewise.
26411         * math/s_ctanl.c (__ctanl): Likewise.
26412         * math/w_fmod.c (__fmod): Likewise.
26413         * math/w_fmodf.c (__fmodf): Likewise.
26414         * math/w_fmodl.c (_fmodl): Likewise.
26415         * math/w_remainder.c (__remainder): Likewise.
26416         * math/w_remainderf.c (__remainderf): Likewise.
26417         * math/w_remainderl.c (__remainderl): Likewise.
26418         * math/w_scalb.c (__scalb): Likewise.
26419         * math/w_scalbf.c (__scalbf): Likewise.
26420         * math/w_scalbl.c (__scalbl): Likewise.
26421         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
26422         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
26423         with isinf.
26424         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
26425         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
26426         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
26427         __isinf_nsf with isinf.
26428         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
26429         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
26430         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
26431         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
26432         with isinf.
26433         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
26434         __isinf_nsl with isinf.
26435         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
26436         with isinf.
26437         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
26438         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
26439         __isinf_nsl with isinf.
26440         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
26441         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
26442         with isinf.
26444 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26446         * resolv/base64.c (rcsid): Remove unused static.
26447         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
26448         static.  (tqpi1): Likewise.
26449         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
26450         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
26451         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
26452         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
26453         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
26454         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
26455         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
26456         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
26457         Likewise.
26459 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
26461         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
26462         <nptl/pthreadP.h>.
26463         (_longjmp_unwind): Use __libc_ptf_call.
26464         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
26466 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
26468         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
26469         * sysdeps/arm/__longjmp.S: Likewise.
26471 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26473         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
26474         Use __builtin_signbit.
26475         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
26476         Use __builtin_signbitf.
26477         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
26478         Use __builtin_signbitl.
26479         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26480         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
26482 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26484         [BZ #15367]
26485         [BZ #17441]
26487         * math/Makefile: Build test-snan.c with -fsignaling-nans.
26488         * math/math.h (fpclassify): Use __builtin_fpclassify when
26489         available.  (signbit): Use __builtin_signbit(f/l).
26490         (isfinite): Use__builtin_isfinite.  (isnormal): Use
26491         __builtin_isnormal.  (isnan): Use __builtin_isnan.
26492         (isinf): Use __builtin_isinf_sign.
26494 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26496         * benchtests/Makefile: Add bench-math-inlines, link with libm.
26497         * benchtests/bench-math-inlines.c: New benchmark.
26498         * benchtests/bench-util.h: New file.
26499         * benchtests/bench-util.c: New file.
26500         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
26502 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
26504         * elf/tst-dlmopen1.c: Define TEST_SO.
26505         (do_test): Use TEST_SO.
26507         * elf/dl-load.c: Include libc-internal.h.
26508         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
26510 2015-09-18  Vincent Bernat  <vincent@bernat.im>
26512         [BZ #17887]
26513         * time/strptime_l.c (__strptime_internal): Make %z accept
26514         [+-]HH:MM time zones.
26516 2015-09-18  Vincent Bernat  <vincent@bernat.im>
26518         [BZ #17886]
26519         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
26520         valid time zone.
26522 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
26524         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
26525         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
26526         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26527         (__ASSUME_FDATASYNC): Delete.
26529 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26531         * conform/linknamespace.pl: Require weak undefined symbols to be
26532         in the standard namespace.
26533         (%strong_syms): Rename to %seen_syms.
26534         (%strong_seen): Rename to %seen_where.
26536 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
26538         [BZ #18970]
26539         * misc/error.c (error): Replace pthread_setcancelstate with
26540         __pthread_setcancelstate.
26541         (error_at_line): Likewise.
26542         * posix/wordexp.c (parse_comm): Likewise.
26543         * stdlib/fmtmsg.c (fmtmsg): Likewise.
26544         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
26545         (__pthread_setcancelstate): This.
26546         (pthread_setcancelstate): Add an alias.
26547         * nptl/nptl-init.c (pthread_functions): Replace
26548         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
26549         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
26550         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
26551         hidden_proto.
26552         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
26553         it with hidden_def.
26554         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
26555         (pthread_setcancelstate): Renamed to ...
26556         (__pthread_setcancelstate): This.
26557         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
26558         __libc_ptf_call with __pthread_setcancelstate.
26560 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26561             Andreas Schwab  <schwab@suse.de>
26563         [BZ #17118]
26564         * math/s_ctan.c (__ctan): Determine sign of zero real part of
26565         result when imaginary part of argument is infinite using sine and
26566         cosine.
26567         * math/s_ctanf.c (__ctanf): Likewise.
26568         * math/s_ctanl.c (__ctanl): Likewise.
26569         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
26570         of result when real part of argument is infinite using sine and
26571         cosine.
26572         * math/s_ctanhf.c (__ctanhf): Likewise.
26573         * math/s_ctanhl.c (__ctanhl): Likewise.
26574         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
26575         (ctanh_test_data): Add more tests of ctanh.
26577 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26579         [BZ #15384]
26580         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
26581         bit-mask as in subtraction.
26582         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
26583         Likewise.
26584         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
26585         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
26586         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
26588         [BZ #18951]
26589         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
26590         underflow exception for small results.
26591         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
26592         Likewise.
26593         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
26594         Likewise.
26595         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26596         Likewise.
26597         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26598         Likewise.
26599         * math/auto-libm-test-in: Add more tests of tgamma.
26600         * math/auto-libm-test-out: Regenerated.
26602 2015-09-17  Andreas Schwab  <schwab@suse.de>
26604         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
26606 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
26608         [BZ #18977]
26609         * math/bits/mathcalls.h
26610         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
26611         not declare.
26612         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
26613         Likewise.
26614         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
26615         Likewise.
26616         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
26617         Likewise.
26618         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
26619         Likewise.
26620         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
26621         Likewise.
26622         * conform/data/math.h-data
26623         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
26624         function.
26625         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
26626         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
26627         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
26628         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
26629         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
26630         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
26631         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
26632         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
26633         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
26634         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
26635         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
26637         [BZ #6803]
26638         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
26639         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
26640         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
26641         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
26642         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
26643         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
26644         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
26645         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
26646         [NO_LONG_DOUBLE] (scalbnl): Likewise.
26647         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
26648         Likewise.
26649         [NO_LONG_DOUBLE] (scalbnl): Likewise.
26650         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
26651         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
26652         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
26653         long_double_symbol calls.
26654         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
26655         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
26656         strong alias of __ldexpl.
26657         (scalbnl): Define using long_double_symbol.
26658         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
26659         Remove alias.
26660         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
26661         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
26662         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
26663         (scalbln_test_data): Add more errno expectations.
26665 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
26667         Cache the host port like we cache the task port.  This way we do not
26668         need to call the kernel just to get the port.  Furthermore, we no
26669         longer increase the reference count on every invocation of
26670         `mach_host_self'.
26672         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
26673         Protect declarations against the macro expansion.
26674         * mach/mach_init.c (__mach_host_self_): New variable.
26675         (mach_init): Initialize `__mach_host_self_'.
26676         * mach/mach_init.h (__mach_host_self_): New declaration.
26677         (__mach_host_self, mach_host_self): New macros.
26678         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
26679         Release reference.
26681 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
26683         [BZ #4404]
26684         * po/de.po: Update from Translation Project.
26686         [BZ #16415]
26687         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
26688         (__expm1l): Remove code to handle positive infinity and overflow.
26689         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
26690         variable.
26691         (__expm1l): Remove code to handle positive infinity and overflow.
26693 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
26694             Paul Pluzhnikov  <ppluzhnikov@google.com>
26696         [BZ #18872]
26697         * stdio-common/Makefile (tst-printf-bz18872): New test.
26698         (tst-printf-bz18872-mem.out): Likewise.
26699         * stdio-common/tst-printf-bz18872.sh: Generate new test.
26700         * stdio-common/vfprintf.c: Fix memory leaks.
26702 2015-09-16  Andreas Schwab  <schwab@suse.de>
26704         [BZ #17244]
26705         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
26706         Remove extra va_start/va_end calls.
26708         [BZ #17243]
26709         * posix/execl.c (execl): Add missing va_end.
26710         * posix/execle.c (execle): Likewise.
26711         * posix/execlp.c (execlp): Likewise.
26713 2015-09-15  Roland McGrath  <roland@hack.frob.com>
26715         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
26716         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
26718 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
26720         [BZ #18967]
26721         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
26722         undefine around includes of <bits/mathcalls.h>.
26723         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
26724         not declare function.
26725         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
26726         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
26727         (scalb): Likewise.
26728         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
26729         not define macro.
26730         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
26731         variable.
26732         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
26733         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
26734         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
26736         [BZ #18857]
26737         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
26738         return non-finite argument without doing ordered comparisons on
26739         it.
26741         [BZ #16296]
26742         * math/fenv.h (fegetround): Use __attribute_pure__.
26743         * include/fenv.h (__fegetround): Likewise.
26745         [BZ #18595]
26746         * math/s_ctan.c (__ctan): Force underflow exception for results
26747         whose real or imaginary part has small absolute value.
26748         * math/s_ctanf.c (__ctanf): Likewise.
26749         * math/s_ctanh.c (__ctanh): Likewise.
26750         * math/s_ctanhf.c (__ctanhf): Likewise.
26751         * math/s_ctanhl.c (__ctanhl): Likewise.
26752         * math/s_ctanl.c (__ctanl): Likewise.
26753         * math/auto-libm-test-in: Do not allow missing underflow for ctan
26754         and ctanh.  Add more tests of ctan and ctanh.
26756         [BZ #15918]
26757         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
26758         handling of cases where one argument is an infinity.
26760         [BZ #18875]
26761         [BZ #18966]
26762         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
26763         (MO): New macro.
26764         (__ieee754_exp10): For small results, force underflow exception
26765         and remove excess range and precision from return value.
26766         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
26767         (MO): New macro.
26768         (__ieee754_exp10f): For small results, force underflow exception
26769         and remove excess range and precision from return value.
26770         * math/auto-libm-test-in: Add more tests of exp10.
26771         * math/auto-libm-test-out: Regenerated.
26773 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
26775         [BZ #18875]
26776         [BZ #18961]
26777         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
26778         (MO): New macro.
26779         (__ieee754_exp): For small results, force underflow exception and
26780         remove excess range and precision from return value.
26781         (__exp_finite): Likewise.
26782         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
26783         (MO): New macro.
26784         (__ieee754_expf): For small results, force underflow exception and
26785         remove excess range and precision from return value.
26786         (__expf_finite): Likewise.
26787         * math/auto-libm-test-in: Add more tests of exp.
26788         * math/auto-libm-test-out: Regenerated.
26790         [BZ #16521]
26791         [BZ #18875]
26792         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
26793         small results.
26794         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
26795         (MO): New macro.
26796         (__ieee754_exp2): For small results, force underflow exception and
26797         remove excess range and precision from return value.
26798         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
26799         (MO): New macro.
26800         (__ieee754_exp2f): For small results, force underflow exception
26801         and remove excess range and precision from return value.
26802         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
26803         (MO): New macro.
26804         (__ieee754_exp2l): Force underflow exception for small results.
26805         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26806         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26807         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
26808         (MO): New macro.
26809         (__ieee754_exp2l): Force underflow exception for small results.
26810         * math/auto-libm-test-in: Add more tests or exp2.
26811         * math/auto-libm-test-out: Regenerated.
26813 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
26815         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
26817         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
26818         /dev/null.
26820 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26822         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26823         io fs process)): Drop spurious backslash.
26825 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26827         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
26828         Use sysinfo system call instead of parsing /proc/meminfo.
26829         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
26830         Likewise.
26832 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
26834         [BZ #16985]
26835         * programs/localedef.c (main): Display argv[remaining] when
26836         output_path is NULL.
26838 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
26840         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26841         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
26842         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
26843         tanh.
26844         * math/auto-libm-test-out: Regenerated.
26845         * sysdeps/i386/fpu/libm-test-ulps: Update.
26846         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26847         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26850 2015-09-11  Roland McGrath  <roland@hack.frob.com>
26852         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
26853         Use 'override' keyword to freeze the value here, preventing
26854         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
26856 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
26858         [BZ #14912]
26859         * sysdeps/aarch64/bits/atomic.h: Move to ...
26860         * sysdeps/aarch64/atomic-machine.h: ...here.
26861         (_AARCH64_BITS_ATOMIC_H): Rename macro to
26862         _AARCH64_ATOMIC_MACHINE_H.
26863         * sysdeps/alpha/bits/atomic.h: Move to ...
26864         * sysdeps/alpha/atomic-machine.h: ...here.
26865         * sysdeps/arm/bits/atomic.h: Move to ...
26866         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
26867         * bits/atomic.h: Move to ...
26868         * sysdeps/generic/atomic-machine.h: ...here.
26869         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26870         * sysdeps/i386/bits/atomic.h: Move to ...
26871         * sysdeps/i386/atomic-machine.h: ...here.
26872         * sysdeps/ia64/bits/atomic.h: Move to ...
26873         * sysdeps/ia64/atomic-machine.h: ...here.
26874         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
26875         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
26876         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26877         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
26878         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
26879         * sysdeps/microblaze/bits/atomic.h: Move to ...
26880         * sysdeps/microblaze/atomic-machine.h: ...here.
26881         * sysdeps/mips/bits/atomic.h: Move to ...
26882         * sysdeps/mips/atomic-machine.h: ...here.
26883         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
26884         * sysdeps/powerpc/bits/atomic.h: Move to ...
26885         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
26886         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
26887         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
26888         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
26889         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
26890         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
26891         <atomic-machine.h> instead of <bits/atomic.h>.
26892         * sysdeps/s390/bits/atomic.h: Move to ...
26893         * sysdeps/s390/atomic-machine.h: ...here.
26894         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
26895         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
26896         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26897         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
26898         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
26899         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
26900         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
26901         * sysdeps/tile/bits/atomic.h: Move to ...
26902         * sysdeps/tile/atomic-machine.h: ...here.
26903         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
26904         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
26905         <sysdeps/tile/atomic-machine.h> instead of
26906         <sysdeps/tile/bits/atomic.h>.
26907         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26908         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
26909         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
26910         <sysdeps/tile/atomic-machine.h> instead of
26911         <sysdeps/tile/bits/atomic.h>.
26912         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26913         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
26914         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
26915         <sysdeps/arm/atomic-machine.h> instead of
26916         <sysdeps/arm/bits/atomic.h>.
26917         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
26918         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
26919         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26920         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
26921         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
26922         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26923         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
26924         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
26925         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
26926         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
26927         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
26928         * sysdeps/x86_64/bits/atomic.h: Move to ...
26929         * sysdeps/x86_64/atomic-machine.h: ...here.
26930         * include/atomic.h: Include <atomic-machine.h> instead of
26931         <bits/atomic.h>.
26933         * sysdeps/mips/mips32/libm-test-ulps: Update.
26934         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26936         [BZ #18952]
26937         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
26938         not convert non-integer negative arguments to int to determine the
26939         value of signgam.
26940         * math/auto-libm-test-in: Add more tests of lgamma.
26941         * math/auto-libm-test-out: Regenerated.
26943         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
26944         cosh, csqrt, erfc, expm1 and lgamma.
26945         * math/auto-libm-test-out: Regenerated.
26946         * sysdeps/i386/fpu/libm-test-ulps: Update.
26947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26949 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
26951         [BZ #2542]
26952         [BZ #2543]
26953         [BZ #2558]
26954         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
26955         __lgamma_neg for arguments from -28.0 to -2.0.
26956         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
26957         __lgamma_negf for arguments from -15.0 to -2.0.
26958         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26959         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
26960         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
26961         Call __lgamma_negl for arguments from -33.0 to -2.0.
26962         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
26963         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
26964         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
26965         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
26966         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
26967         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
26968         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
26969         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
26970         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
26971         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
26972         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
26973         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
26974         (__lgamma_neg): Likewise.
26975         (__lgamma_negl): Likewise.
26976         (__lgamma_product): Likewise.
26977         (__lgamma_productl): Likewise.
26978         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
26979         * math/auto-libm-test-in: Add more tests of lgamma.
26980         * math/auto-libm-test-out: Regenerated.
26981         * sysdeps/i386/fpu/libm-test-ulps: Update.
26982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26984 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
26986         [BZ #18675]
26987         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
26989 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
26991         [BZ #14912]
26992         * bits/libc-lock.h: Move to ...
26993         * sysdeps/generic/libc-lock.h: ...here.
26994         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26995         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
26996         * sysdeps/mach/hurd/libc-lock.h: ...here.
26997         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26998         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
26999         * sysdeps/mach/bits/libc-lock.h: Move to ...
27000         * sysdeps/mach/libc-lock.h: ...here.
27001         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27002         * sysdeps/nptl/bits/libc-lock.h: Move to ...
27003         * sysdeps/nptl/libc-lock.h: ...here.
27004         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27005         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
27006         * sysdeps/nptl/libc-lockP.h: ...here.
27007         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
27008         * crypt/crypt_util.c: Include <libc-lock.h> instead of
27009         <bits/libc-lock.h>.
27010         * dirent/scandir-tail.c: Likewise.
27011         * dlfcn/dlerror.c: Likewise.
27012         * elf/dl-close.c: Likewise.
27013         * elf/dl-iteratephdr.c: Likewise.
27014         * elf/dl-lookup.c: Likewise.
27015         * elf/dl-open.c: Likewise.
27016         * elf/dl-support.c: Likewise.
27017         * elf/dl-writev.h: Likewise.
27018         * elf/rtld.c: Likewise.
27019         * grp/fgetgrent.c: Likewise.
27020         * gshadow/fgetsgent.c: Likewise.
27021         * gshadow/sgetsgent.c: Likewise.
27022         * iconv/gconv_conf.c: Likewise.
27023         * iconv/gconv_db.c: Likewise.
27024         * iconv/gconv_dl.c: Likewise.
27025         * iconv/gconv_int.h: Likewise.
27026         * iconv/gconv_trans.c: Likewise.
27027         * include/link.h: Likewise.
27028         * inet/getnameinfo.c: Likewise.
27029         * inet/getnetgrent.c: Likewise.
27030         * inet/getnetgrent_r.c: Likewise.
27031         * intl/bindtextdom.c: Likewise.
27032         * intl/dcigettext.c: Likewise.
27033         * intl/finddomain.c: Likewise.
27034         * intl/gettextP.h: Likewise.
27035         * intl/loadmsgcat.c: Likewise.
27036         * intl/localealias.c: Likewise.
27037         * intl/textdomain.c: Likewise.
27038         * libidn/idn-stub.c: Likewise.
27039         * libio/libioP.h: Likewise.
27040         * locale/duplocale.c: Likewise.
27041         * locale/freelocale.c: Likewise.
27042         * locale/newlocale.c: Likewise.
27043         * locale/setlocale.c: Likewise.
27044         * login/getutent_r.c: Likewise.
27045         * login/getutid_r.c: Likewise.
27046         * login/getutline_r.c: Likewise.
27047         * login/utmp-private.h: Likewise.
27048         * login/utmpname.c: Likewise.
27049         * malloc/mtrace.c: Likewise.
27050         * misc/efgcvt.c: Likewise.
27051         * misc/error.c: Likewise.
27052         * misc/fstab.c: Likewise.
27053         * misc/getpass.c: Likewise.
27054         * misc/mntent.c: Likewise.
27055         * misc/syslog.c: Likewise.
27056         * nis/nis_call.c: Likewise.
27057         * nis/nis_callback.c: Likewise.
27058         * nis/nss-default.c: Likewise.
27059         * nis/nss_compat/compat-grp.c: Likewise.
27060         * nis/nss_compat/compat-initgroups.c: Likewise.
27061         * nis/nss_compat/compat-pwd.c: Likewise.
27062         * nis/nss_compat/compat-spwd.c: Likewise.
27063         * nis/nss_nis/nis-alias.c: Likewise.
27064         * nis/nss_nis/nis-ethers.c: Likewise.
27065         * nis/nss_nis/nis-grp.c: Likewise.
27066         * nis/nss_nis/nis-hosts.c: Likewise.
27067         * nis/nss_nis/nis-network.c: Likewise.
27068         * nis/nss_nis/nis-proto.c: Likewise.
27069         * nis/nss_nis/nis-pwd.c: Likewise.
27070         * nis/nss_nis/nis-rpc.c: Likewise.
27071         * nis/nss_nis/nis-service.c: Likewise.
27072         * nis/nss_nis/nis-spwd.c: Likewise.
27073         * nis/nss_nisplus/nisplus-alias.c: Likewise.
27074         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
27075         * nis/nss_nisplus/nisplus-grp.c: Likewise.
27076         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
27077         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
27078         * nis/nss_nisplus/nisplus-network.c: Likewise.
27079         * nis/nss_nisplus/nisplus-proto.c: Likewise.
27080         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
27081         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
27082         * nis/nss_nisplus/nisplus-service.c: Likewise.
27083         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
27084         * nis/ypclnt.c: Likewise.
27085         * nptl/libc_pthread_init.c: Likewise.
27086         * nss/getXXbyYY.c: Likewise.
27087         * nss/getXXent.c: Likewise.
27088         * nss/getXXent_r.c: Likewise.
27089         * nss/nss_db/db-XXX.c: Likewise.
27090         * nss/nss_db/db-netgrp.c: Likewise.
27091         * nss/nss_db/nss_db.h: Likewise.
27092         * nss/nss_files/files-XXX.c: Likewise.
27093         * nss/nss_files/files-alias.c: Likewise.
27094         * nss/nsswitch.c: Likewise.
27095         * posix/regex_internal.h: Likewise.
27096         * posix/wordexp.c: Likewise.
27097         * pwd/fgetpwent.c: Likewise.
27098         * resolv/res_hconf.c: Likewise.
27099         * resolv/res_libc.c: Likewise.
27100         * shadow/fgetspent.c: Likewise.
27101         * shadow/lckpwdf.c: Likewise.
27102         * shadow/sgetspent.c: Likewise.
27103         * socket/opensock.c: Likewise.
27104         * stdio-common/reg-modifier.c: Likewise.
27105         * stdio-common/reg-printf.c: Likewise.
27106         * stdio-common/reg-type.c: Likewise.
27107         * stdio-common/vfprintf.c: Likewise.
27108         * stdio-common/vfscanf.c: Likewise.
27109         * stdlib/abort.c: Likewise.
27110         * stdlib/cxa_atexit.c: Likewise.
27111         * stdlib/fmtmsg.c: Likewise.
27112         * stdlib/random.c: Likewise.
27113         * stdlib/setenv.c: Likewise.
27114         * string/strsignal.c: Likewise.
27115         * sunrpc/auth_none.c: Likewise.
27116         * sunrpc/bindrsvprt.c: Likewise.
27117         * sunrpc/create_xid.c: Likewise.
27118         * sunrpc/key_call.c: Likewise.
27119         * sunrpc/rpc_thread.c: Likewise.
27120         * sysdeps/arm/backtrace.c: Likewise.
27121         * sysdeps/generic/ldsodefs.h: Likewise.
27122         * sysdeps/generic/stdio-lock.h: Likewise.
27123         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
27124         * sysdeps/i386/backtrace.c: Likewise.
27125         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27126         * sysdeps/m68k/backtrace.c: Likewise.
27127         * sysdeps/mach/hurd/cthreads.c: Likewise.
27128         * sysdeps/mach/hurd/dirstream.h: Likewise.
27129         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
27130         * sysdeps/nptl/malloc-machine.h: Likewise.
27131         * sysdeps/nptl/stdio-lock.h: Likewise.
27132         * sysdeps/posix/dirstream.h: Likewise.
27133         * sysdeps/posix/getaddrinfo.c: Likewise.
27134         * sysdeps/posix/system.c: Likewise.
27135         * sysdeps/pthread/aio_suspend.c: Likewise.
27136         * sysdeps/s390/s390-32/backtrace.c: Likewise.
27137         * sysdeps/s390/s390-64/backtrace.c: Likewise.
27138         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27139         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27140         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
27141         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
27142         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
27143         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27144         * sysdeps/unix/sysv/linux/system.c: Likewise.
27145         * sysdeps/x86_64/backtrace.c: Likewise.
27146         * time/alt_digit.c: Likewise.
27147         * time/era.c: Likewise.
27148         * time/tzset.c: Likewise.
27149         * wcsmbs/wcsmbsload.c: Likewise.
27150         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
27151         instead of <bits/libc-lock.h> in comment.
27153 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
27155         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
27156         Only use .set mips2 if the current ISA is below mips2.
27157         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
27158         Likewise.
27159         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
27160         mips32r2 if the current ISA is below mips32r2.
27161         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
27162         (TLS_IE): Updated to use the TLD_RDHWR macro.
27163         (TLS_LE): Likewise.
27164         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
27165         __ASSEMBLER__ condition.
27167 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27169         Fix parallel build of before-compile targets.
27171         * sysdeps/mach/Makefile ($(patsubst
27172         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
27173         mach-before-compile target.
27174         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27175         io fs process)): Move rule to dedicated hurd-before-compile target.
27177 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27179         Fix rules generating headers in hurd/ and mach/ when initial make call
27180         has subdir= explicitly set.
27182         * sysdeps/mach/Makefile ($(patsubst
27183         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
27184         calling $(MAKE).
27185         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27186         io fs process)): Force subdir to hurd when calling $(MAKE).
27187         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
27188         subdir to mach when calling $(MAKE).
27190 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
27192         Check sysheaders when looking for Mach and Hurd headers
27194         * sysdeps/mach/configure.ac: Add sysheaders check.
27195         * sysdeps/mach/configure: Regenerate.
27196         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
27197         * sysdeps/mach/hurd/configure: Regenerate.
27199 2015-09-04  Roland McGrath  <roland@hack.frob.com>
27201         [BZ #18921]
27202         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
27203         Fix inverted sense of test of 'o_directory_works' value.
27204         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
27205         Bernhard Voelker <mail@bernhard-voelker.de>.
27207 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
27209         [BZ #14912]
27210         * bits/linkmap.h: Move to ...
27211         * sysdeps/generic/linkmap.h: ...here.
27212         * sysdeps/aarch64/bits/linkmap.h: Move to ...
27213         * sysdeps/aarch64/linkmap.h: ...here.
27214         * sysdeps/arm/bits/linkmap.h: Move to ...
27215         * sysdeps/arm/linkmap.h: ...here.
27216         * sysdeps/hppa/bits/linkmap.h: Move to ...
27217         * sysdeps/hppa/linkmap.h: ...here.
27218         * sysdeps/ia64/bits/linkmap.h: Move to ...
27219         * sysdeps/ia64/linkmap.h: ...here.
27220         * sysdeps/mips/bits/linkmap.h: Move to ...
27221         * sysdeps/mips/linkmap.h: ...here.
27222         * sysdeps/s390/bits/linkmap.h: Move to ...
27223         * sysdeps/s390/linkmap.h: ...here.
27224         * sysdeps/sh/bits/linkmap.h: Move to ...
27225         * sysdeps/sh/linkmap.h: ...here.
27226         * sysdeps/x86/bits/linkmap.h: Move to ...
27227         * sysdeps/x86/linkmap.h: ...here.
27228         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
27230 2015-09-04  Andreas Schwab  <schwab@suse.de>
27232         [BZ #18635]
27233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
27234         (__makecontext): Terminate FDE before return label.
27235         (__novec_makecontext): Likewise.
27237 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27239         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
27240         first member of struct sv in syscall macro.
27242 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
27244         [BZ #14912]
27245         * bits/stdio-lock.h: Move to ...
27246         * sysdeps/generic/stdio-lock.h: ...here.
27247         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
27248         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
27249         * sysdeps/nptl/stdio-lock.h: ...here.
27250         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
27251         * include/libio.h: Include <stdio-lock.h> instead of
27252         <bits/stdio-lock.h>.
27253         * sysdeps/nptl/fork.c: Likewise.
27254         * sysdeps/pthread/flockfile.c: Likewise.
27255         * sysdeps/pthread/ftrylockfile.c: Likewise.
27256         * sysdeps/pthread/funlockfile.c: Likewise.
27258         [BZ #14912]
27259         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
27260         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
27261         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
27262         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
27263         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
27264         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27265         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
27267 2015-09-03  Roland McGrath  <roland@hack.frob.com>
27269         * elf/Makefile (test-xfail-tst-protected1a): New variable.
27270         (test-xfail-tst-protected1b): New variable.
27272 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
27274         [BZ #14912]
27275         * bits/libc-tsd.h: Move to ...
27276         * sysdeps/generic/libc-tsd.h: ...here.
27277         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
27278         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
27279         * sysdeps/mach/hurd/libc-tsd.h: ...here.
27280         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
27281         * include/ctype.h: Include <libc-tsd.h> instead of
27282         <bits/libc-tsd.h>.
27283         * include/rpc/rpc.h: Likewise.
27284         * locale/localeinfo.h: Likewise.
27285         * sunrpc/rpc_thread.c: Likewise.
27286         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
27287         * sysdeps/nptl/malloc-machine.h: Likewise.
27289         * Makefile (headers): Remove bits/libc-lock.h.
27290         * libio/Makefile (headers): Remove bits/stdio-lock.h.
27292         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
27293         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
27294         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
27295         <bits/stdio-lock.h>.
27296         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
27297         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
27299 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
27301         [BZ #18757]
27302         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
27303         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
27304         BZ #18757.
27306 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
27308         * malloc/mtrace.pl: Filter out NULL entries.
27310 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
27312         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
27313         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
27314         macro.
27316         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
27317         (TCP_CC_INFO): Likewise.
27318         (TCP_SAVE_SYN): Likewise.
27319         (TCP_SAVED_SYN): Likewise.
27321 2015-08-31  Brett Neumeier <brett@neumeier.us>
27323         [BZ #18870]
27324         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
27326 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
27328         [BZ #18873]
27329         Fix broken overflow check in posix_fallocate
27330         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
27331         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27332         Fix parenthesization typo.
27334 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
27336         [BZ #18887]
27337         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
27338         tst-mntent-blank-passno.
27339         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
27340         * misc/tst-mntent-blank-corrupt.c: New test.
27341         * misc/tst-mntent-blank-passno.c: New test ripped from ...
27342         * misc/tst-mntent.c (do_test): ... here.
27344 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
27346         [BZ #4404]
27347         * po/de.po: Fix SIGALRM typo.
27349 2015-08-28  James Perkins  <james@loowit.net>
27351         * time/tst-strptime2.c (tests): Replace short list of test
27352         strings for strptime %z specifier with code which exhaustively
27353         tests every combination of sign and 0 to 5 digits. Tests for
27354         rejection of invalid strings.
27356 2015-08-28  James Perkins  <james@loowit.net>
27358         [BZ #16141]
27359         * time/strptime_l.c (__strptime_internal): Fix %z minutes
27360         calculation, removing incorrect decimal time rounding, so that
27361         all minute values result in a valid seconds value.
27362         * time/strptime_l.c (__strptime_internal): Extend %z time zone
27363         offset range limits to UTC-99:59 through UTC+99:59 to parse
27364         current and historical use cases.
27365         * time/tst-strptime2.c (tests): Modify and add tests for the
27366         strptime %z input field descriptor, specifically conversion of
27367         minutes to seconds and validating an offset range of -9959 to
27368         +9959.
27370 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27371             Dmitry V. Levin  <ldv@altlinux.org>
27373         [BZ #18877]
27374         * posix/Makefile (tests): Add tst-mmap-offset.
27375         * posix/tst-mmap.c: New file.
27376         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
27377         offset calculation for negative values.
27379 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27381         * sysdeps/i386/init-arch.h: New file.
27382         * sysdeps/i386/i586/init-arch.h: Likewise.
27383         * sysdeps/i386/i686/init-arch.h: Likewise.
27384         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
27385         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
27386         * sysdeps/x86/cpu-features.h (bit_I586): New.
27387         (bit_I686): Likewise.
27388         (bit_CX8): Likewise.
27389         (bit_CMOV): Likewise.
27390         (index_CX8): Likewise.
27391         (index_CMOV): Likewise.
27392         (index_I586): Likewise.
27393         (index_I686): Likewise.
27394         (reg_CX8): Likewise.
27395         (reg_CMOV): Likewise.
27396         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
27397         available at compile-time.
27398         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
27399         available at compile-time.
27400         * sysdeps/x86/init-arch.h (USE_I586): New macro.
27401         (USE_I686): Likewise.
27403 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27405         * sysdeps/i386/bcopy.S: New file.
27406         * sysdeps/i386/bzero.S: Likewise.
27407         * sysdeps/i386/memcpy.S: Likewise.
27408         * sysdeps/i386/memmove.S: Likewise.
27409         * sysdeps/i386/mempcpy.S: Likewise.
27410         * sysdeps/i386/memset.S: Likewise.
27411         * sysdeps/i386/bzero.c: Removed.
27412         * sysdeps/i386/memset.c: Likewise.
27413         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
27414         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
27415         * sysdeps/i386/i586/memset_chk.S: Likewise.
27416         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
27417         * sysdeps/i386/memcpy_chk.S: Here.
27418         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
27419         * sysdeps/i386/memmove_chk.S: Here.
27420         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
27421         * sysdeps/i386/mempcpy_chk.S: Likewise.
27422         * sysdeps/i386/i686/memset_chk.S: Moved to ...
27423         * sysdeps/i386/memset_chk.S: Likewise.
27425 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
27427         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
27428         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
27429         file, move DIAG_POP_NEEDS_COMMENT to end of file.
27430         * soft-fp/fmadf4.c: Ditto.
27431         * soft-fp/fmatf4.c: Ditto.
27433 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27435         * sysdeps/i386/i586/Implies: Removed.
27436         * sysdeps/i386/i686/Implies: Likewise.
27438 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27440         * sysdeps/i386/i486/strlen.S: Moved to ...
27441         * sysdeps/i386/strlen.S: Here.
27443 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27445         * sysdeps/i386/i486/strcat.S: Moved to ...
27446         * sysdeps/i386/strcat.S: Here.
27448 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27450         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
27451         * sysdeps/i386/pthread_spin_trylock.S: Here.
27452         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
27453         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
27455 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27457         * sysdeps/i386/i486/string-inlines.c: Moved to ...
27458         * sysdeps/i386/string-inlines.c: Here.
27460 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27462         * sysdeps/i386/i486/htonl.S: Moved ...
27463         * sysdeps/i386/htonl.S: here.
27465 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27467         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
27468         * sysdeps/i386/bits/atomic.h: Here.
27470 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27472         * sysdeps/i386/i486/Versions: Removed.
27474 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27476         [BZ #2898]
27477         * misc/mktemp.c: Add mkdtemp to the link_warning message.
27478         Based on patch by Aurelien Jarno.
27480 2015-08-26  Stan Shebs  <stanshebs@google.com>
27482         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
27483         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27485 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27487         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
27488         * sysdeps/powerpc/dl-procinfo.c:
27489         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
27490         feature so it shows when LD_SHOW_AUXV=1.
27492 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27494         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27495         (__arch_compare_and_exchange_val_32_acq): Remove and use common
27496         definition.  ISA 2.07B no longer requires full sync.
27498 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
27500         [BZ #18863]
27501         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
27502         (si_call_addr): Define.
27503         (si_syscall): Define.
27504         (si_arch): Define.
27506 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27508         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
27509         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
27510         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
27511         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
27512         (__memset_zero_constant_len_parameter): New.
27513         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
27514         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
27515         (__memset_zero_constant_len_parameter): Don't define if
27516         __memset_chk or USE_AS_BZERO are defined.
27518         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
27519         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
27520         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
27522         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
27523         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
27524         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
27525         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
27526         comments.
27527         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
27528         -mno-mmx for $(all-rtld-routines).
27529         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
27530         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
27531         i386.
27533 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27535         * sysdeps/generic/unwind.h
27536         (_Unwind_Word): Use __mode__(__unwind_word__)
27537         instead of __mode__(__word__).
27538         (_Unwind_Sword): Likewise.
27540         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27541         (MAX_NEEDED_INPUT): New define.
27542         (MAX_NEEDED_OUTPUT): New define.
27544         * NEWS: New item for IBM z13 string optimizations.
27546         * sysdeps/s390/multiarch/memrchr-c.c: New File.
27547         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
27548         * sysdeps/s390/multiarch/memrchr.c: Likewise.
27549         * sysdeps/s390/multiarch/Makefile
27550         (sysdep_routines): Add memrchr functions.
27551         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27552         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
27554         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
27555         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
27556         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
27557         * sysdeps/s390/multiarch/Makefile
27558         (sysdep_routines): Add wmemcmp functions.
27559         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27560         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
27561         * benchtests/bench-wmemcmp.c: New File.
27562         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
27564         * sysdeps/s390/multiarch/wmemset-c.c: New File.
27565         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
27566         * sysdeps/s390/multiarch/wmemset.c: Likewise.
27567         * sysdeps/s390/multiarch/Makefile
27568         (sysdep_routines): Add wmemset functions.
27569         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27570         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
27571         * wcsmbs/wmemset.c: Use WMEMSET if defined.
27572         * string/test-memset.c: Add wmemset support.
27573         * wcsmbs/test-wmemset.c: New File.
27574         * wcsmbs/Makefile (strop-tests): Add wmemset.
27575         * benchtests/bench-memset.c: Add wmemset support.
27576         * benchtests/bench-wmemset.c: New File.
27577         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
27579         * sysdeps/s390/multiarch/memccpy-c.c: New File.
27580         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
27581         * sysdeps/s390/multiarch/memccpy.c: Likewise.
27582         * sysdeps/s390/multiarch/Makefile
27583         (sysdep_routines): Add memccpy functions.
27584         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27585         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
27586         * string/memccpy.c: Use MEMCCPY if defined.
27588         * sysdeps/s390/multiarch/memchr-vx.S: New File.
27589         * sysdeps/s390/multiarch/memchr.c: Likewise.
27590         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
27591         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
27592         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
27593         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
27594         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
27595         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
27596         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
27597         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
27598         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
27599         and rawmemchr functions.
27600         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27601         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
27602         and wmemchr.
27603         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
27604         * string/test-memchr.c: Add wmemchr support.
27605         * wcsmbs/test-wmemchr.c: New File.
27606         * wcsmbs/Makefile (strop-tests): Add wmemchr.
27607         * benchtests/bench-memchr.c: Add wmemchr support.
27608         * benchtests/bench-wmemchr.c: New File.
27609         * benchtests/Makefile (wcsmbs-bench): wmemchr.
27611         * sysdeps/s390/multiarch/strcspn-c.c: New File.
27612         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
27613         * sysdeps/s390/multiarch/strcspn.c: Likewise.
27614         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
27615         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
27616         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
27617         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
27618         wcscspn functions.
27619         * sysdeps/s390/multiarch/ifunc-impl-list.c
27620         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
27621         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
27622         * string/test-strcspn.c: Add wcscspn support.
27623         * wcsmbs/test-wcscspn.c: New File.
27624         * wcsmbs/Makefile (strop-tests): Add wcscspn.
27625         * benchtests/bench-strcspn.c: Add wcscspn support.
27626         * benchtests/bench-wcscspn.c: New File.
27627         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
27629         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
27630         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
27631         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
27632         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
27633         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
27634         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
27635         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
27636         wcspbrk functions.
27637         * sysdeps/s390/multiarch/ifunc-impl-list.c
27638         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
27639         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
27640         * string/test-strpbrk.c: Add wcspbrk support.
27641         * wcsmbs/test-wcspbrk.c: New File.
27642         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
27643         * benchtests/bench-strpbrk.c: Add wcspbrk support.
27644         * benchtests/bench-wcspbrk.c: New File.
27645         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
27647         * sysdeps/s390/multiarch/strspn-c.c: New File.
27648         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
27649         * sysdeps/s390/multiarch/strspn.c: Likewise.
27650         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
27651         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
27652         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
27653         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
27654         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
27655         wcsspn functions.
27656         * sysdeps/s390/multiarch/ifunc-impl-list.c
27657         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
27658         * string/test-strspn.c: Add wcsspn support.
27659         * wcsmbs/test-wcsspn.c: New File.
27660         * wcsmbs/Makefile (strop-tests): Add wcsspn.
27661         * benchtests/bench-strspn.c: Add wcsspn support.
27662         * benchtests/bench-wcsspn.c: New File.
27663         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
27665         * sysdeps/s390/multiarch/strrchr-c.c: New File.
27666         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
27667         * sysdeps/s390/multiarch/strrchr.c: Likewise.
27668         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
27669         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
27670         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
27671         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
27672         wcsrchr functions.
27673         * sysdeps/s390/multiarch/ifunc-impl-list.c
27674         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
27675         * benchtests/bench-wcsrchr.c: New File.
27676         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
27678         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
27679         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
27680         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
27681         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
27682         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
27683         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
27684         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
27685         wcschrnul functions.
27686         * sysdeps/s390/multiarch/ifunc-impl-list.c
27687         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
27688         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
27689         * string/test-strchr.c: Add wcschrnul support.
27690         * wcsmbs/test-wcschrnul.c: New File.
27691         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
27692         * benchtests/bench-strchr.c: Add wcschrnul support.
27693         * benchtests/bench-wcschrnul.c: New File.
27694         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
27696         * sysdeps/s390/multiarch/strchr-c.c: New File.
27697         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
27698         * sysdeps/s390/multiarch/strchr.c: Likewise.
27699         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
27700         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
27701         * sysdeps/s390/multiarch/wcschr.c: Likewise.
27702         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
27703         wcschr functions.
27704         * sysdeps/s390/multiarch/ifunc-impl-list.c
27705         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
27706         * string/strchr.c (STRCHR): Define and use macro.
27707         * benchtests/bench-wcschr.c: New File.
27708         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
27710         * sysdeps/s390/multiarch/strncmp-c.c: New File.
27711         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
27712         * sysdeps/s390/multiarch/strncmp.c: Likewise.
27713         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
27714         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
27715         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
27716         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
27717         wcsncmp functions.
27718         * sysdeps/s390/multiarch/ifunc-impl-list.c
27719         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
27720         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
27721         * benchtests/bench-strncmp.c: Add wcsncmp support.
27722         * benchtests/bench-wcsncmp.c: New File.
27723         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
27725         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
27726         * sysdeps/s390/multiarch/strcmp.c: Likewise.
27727         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
27728         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
27729         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
27730         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
27731         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
27732         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
27733         wcscmp functions.
27734         * sysdeps/s390/multiarch/ifunc-impl-list.c
27735         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
27736         * string/strcmp.c (STRCMP): Define and use macro.
27737         * benchtests/bench-wcscmp.c: New File.
27738         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
27739         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
27740         instead of _HAVE_STRING_ARCH_memchr.
27742         * sysdeps/s390/multiarch/strncat-c.c: New File.
27743         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
27744         * sysdeps/s390/multiarch/strncat.c: Likewise.
27745         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
27746         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
27747         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
27748         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
27749         wcsncat functions.
27750         * sysdeps/s390/multiarch/ifunc-impl-list.c
27751         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
27752         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
27753         * string/test-strncat.c: Add wcsncat support.
27754         * wcsmbs/test-wcsncat.c: New File.
27755         * wcsmbs/Makefile (strop-tests): Add wcsncat.
27756         * benchtests/bench-strncat.c: Add wcsncat support.
27757         * benchtests/bench-wcsncat.c: New File.
27758         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
27760         * sysdeps/s390/multiarch/strcat-c.c: New File.
27761         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
27762         * sysdeps/s390/multiarch/strcat.c: Likewise.
27763         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
27764         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
27765         * sysdeps/s390/multiarch/wcscat.c: Likewise.
27766         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
27767         wcscat functions.
27768         * sysdeps/s390/multiarch/ifunc-impl-list.c
27769         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
27770         * string/strcat.c (STRCAT): Define and use macro.
27771         * wcsmbs/wcscat.c: Use WCSCAT if defined.
27772         * string/test-strcat.c: Add wcscat support.
27773         * wcsmbs/test-wcscat.c: New File.
27774         * wcsmbs/Makefile (strop-tests): Add wcscat.
27775         * benchtests/bench-strcat.c: Add wcscat support.
27776         * benchtests/bench-wcscat.c: New File.
27777         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
27779         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
27780         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
27781         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
27782         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
27783         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
27784         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
27785         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
27786         wcpncpy functions.
27787         * sysdeps/s390/multiarch/ifunc-impl-list.c
27788         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
27789         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
27790         * string/test-stpncpy.c: Add wcpncpy support.
27791         * wcsmbs/test-wcpncpy.c: New File.
27792         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
27793         * benchtests/bench-stpncpy.c: Add wcpncpy support.
27794         * benchtests/bench-wcpncpy.c: New File.
27795         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
27797         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
27798         * sysdeps/s390/multiarch/strncpy.c: Likewise.
27799         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
27800         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
27801         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
27802         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
27803         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
27804         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
27805         wcsncpy functions.
27806         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
27807         * sysdeps/s390/multiarch/ifunc-impl-list.c
27808         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
27809         * string/test-strncpy.c: Add wcsncpy support.
27810         * wcsmbs/test-wcsncpy.c: New File.
27811         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
27812         * benchtests/bench-strncpy.c: Add wcsncpy support.
27813         * benchtests/bench-wcsncpy.c: New File.
27814         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
27816         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
27817         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
27818         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
27819         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
27820         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
27821         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
27822         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
27823         wcpcpy functions.
27824         * string/stpcpy.c: Use STPCPY if defined.
27825         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
27826         * sysdeps/s390/multiarch/ifunc-impl-list.c
27827         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
27828         * string/test-stpcpy.c: Add wcpcpy support.
27829         * wcsmbs/test-wcpcpy.c: New File.
27830         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
27831         * benchtests/bench-stpcpy.c: Add wcpcpy support.
27832         * benchtests/bench-wcpcpy.c: New File.
27833         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
27835         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
27836         * sysdeps/s390/multiarch/strcpy.c: Likewise.
27837         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
27838         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
27839         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
27840         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
27841         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
27842         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
27843         wcscpy functions.
27844         * sysdeps/s390/multiarch/ifunc-impl-list.c
27845         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
27846         * benchtests/bench-wcscpy.c: New File.
27847         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
27849         * sysdeps/s390/multiarch/strnlen-c.c: New File.
27850         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
27851         * sysdeps/s390/multiarch/strnlen.c: Likewise.
27852         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
27853         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
27854         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
27855         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
27856         wcsnlen functions.
27857         * sysdeps/s390/multiarch/ifunc-impl-list.c
27858         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
27859         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
27860         * string/test-strnlen.c: Add wcsnlen support.
27861         * wcsmbs/test-wcsnlen.c: New File.
27862         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
27863         * benchtests/bench-strnlen.c: Add wcsnlen support.
27864         * benchtests/bench-wcsnlen.c: New File.
27865         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
27867         * sysdeps/s390/multiarch/Makefile: New File.
27868         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
27869         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
27870         * sysdeps/s390/multiarch/strlen.c: Likewise.
27871         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
27872         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
27873         * sysdeps/s390/multiarch/wcslen.c: Likewise.
27874         * string/strlen.c (STRLEN): Define and use macro.
27875         * sysdeps/s390/multiarch/ifunc-impl-list.c
27876         (IFUNC_VX_IMPL): New macro function.
27877         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
27878         * benchtests/Makefile (wcsmbs-bench): New variable.
27879         (string-bench-all): Added wcsmbs-bench.
27880         * benchtests/bench-wcslen.c: New File.
27882         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
27883         s390_vx_libc_ifunc2): New macro function.
27885         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
27886         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
27887         assembler support.
27888         * sysdeps/s390/configure: Regenerated.
27890         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
27891         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
27893         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
27894         * sysdeps/s390/dl-procinfo.h: Add vector capability.
27895         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
27897         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
27898         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
27899         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
27900         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
27901         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
27902         (memcmp, bcmp): Use __memcmp_default as alias source.
27903         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
27904         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
27905         Rename to __memcmp_default.
27906         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
27907         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
27908         (memcpy): Use __memcpy_default as alias source.
27909         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
27910         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
27911         Rename to __memcpy_default.
27912         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
27913         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
27914         (memset): Use __memset_default as alias source.
27915         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
27916         * sysdeps/s390/s390-32/memset.S (__memset_g5):
27917         Rename to __memset_default.
27918         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
27919         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
27920         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
27921         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
27922         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
27923         (memcmp, bcmp): Use __memcmp_default as alias source.
27924         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
27925         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
27926         Rename to __memcmp_default.
27927         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
27928         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
27929         (memcpy): Use __memcpy_default as alias source.
27930         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
27931         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
27932         Rename to __memcpy_default.
27933         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
27934         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
27935         (memset): Use __memset_default as alias source.
27936         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
27937         * sysdeps/s390/s390-64/memset.S (__memset_z900):
27938         Rename to __memset_default.
27939         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
27940         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
27942         [BZ #18610]
27943         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
27944         __ieee_instruction_pointer to __unused.
27945         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
27946         __ieee_instruction_pointer.
27947         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
27948         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
27949         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27950         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27951         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
27952         Mark dxc-field as reserved.
27954 2015-08-25  Roland McGrath  <roland@hack.frob.com>
27956         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
27957         if the weak reference is not null.
27959 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27961         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
27963         [BZ #11214]
27964         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
27966 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27968         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
27969         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
27970         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
27971         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
27972         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
27973         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
27974         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
27975         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
27976         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
27977         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
27978         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
27979         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
27980         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
27981         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
27982         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
27983         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
27984         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
27985         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
27987 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27989         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
27990         register other than r0 for tabort, it has special meaning.
27991         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
27992         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
27993         transaction before starting syscall.
27995 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27997         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
27999 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28001         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
28003         * sysdeps/x86_64/rtld-memcmp.c: Removed.
28004         * sysdeps/x86_64/rtld-memset.S: Likewise.
28005         * sysdeps/x86_64/rtld-strchr.S: Likewise.
28006         * sysdeps/x86_64/rtld-strlen.S: Likewise.
28007         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
28008         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28010         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
28012 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
28014         * debug/strcpy_chk.c: Improve performance.
28015         * debug/stpcpy_chk.c: Likewise.
28016         * sysdeps/x86_64/strcpy_chk.S: Remove.
28017         * sysdeps/x86_64/stpcpy_chk.S: Remove.
28019         [BZ #18240]
28020         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
28022 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28024         [BZ #15128]
28025         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
28026         ifuncmain8.
28027         (modules-names): Add ifuncmod8.
28028         ($(objpfx)ifuncmain8): New rule.
28029         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
28030         <cpuid.h>.
28031         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
28032         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
28033         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
28034         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
28035         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
28036         * sysdeps/x86_64/dl-trampoline.h: Likewise.
28037         * sysdeps/x86_64/ifuncmain8.c: New file.
28038         * sysdeps/x86_64/ifuncmod8.c: Likewise.
28039         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
28040         Removed.
28041         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
28042         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
28043         Change rtld_savespace_sse to __glibc_unused2.
28044         (RTLD_CHECK_FOREIGN_CALL): Removed.
28045         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
28046         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
28047         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
28049 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
28051         * sysdeps/aarch64/bzero.S (__bzero): Remove.
28053 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
28055         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
28056         Unconditionally set __fpcr to avoid uninialized warning.
28057         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
28059 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28061         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
28062         is corrupt.
28064         * malloc/arena.c (arena_get2): Drop unused argument.
28065         (arena_lock): Adjust.
28066         (arena_get_retry): Likewise.
28068 2015-08-24  Andreas Schwab  <schwab@suse.de>
28070         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
28071         Don't define.
28072         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
28073         (__ASSUME_IPC64): Don't undef.
28074         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
28075         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28076         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28077         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
28078         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
28079         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
28080         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
28081         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
28082         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
28083         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
28084         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
28085         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
28086         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
28087         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
28088         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
28089         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
28090         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
28091         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
28092         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
28093         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
28094         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
28096 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
28098         * manual/Makefile (install): Only build manual when perl is available.
28100 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28102         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
28103         '#undef memcpy' by '#undef memchr'.
28105 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28107         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
28108         memchr not point to the internal __GI_memchr implementation.
28110 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
28112         * timezone/Makefile (CFLAGS-zdump.c): Remove
28113         -Wno-strict-prototypes.
28114         (CFLAGS-zic.c): Likewise.
28115         (CFLAGS-ialloc.c): Likewise.
28116         (CFLAGS-scheck.c): Likewise.
28118         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
28119         -Wno-error=undef.
28121 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28123         * i386/i686/multiarch/strcasestr-c.c: Removed.
28124         * x86_64/multiarch/strcasestr.c: Likewise.
28125         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28126         Remove strcasestr.
28128 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
28130         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
28132         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
28133         variables for high and low parts before possibly modifying them.
28135 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28137         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
28138         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
28139         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
28140         of "multiarch/init-arch.h".
28141         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
28142         * sysdeps/x86/init-arch.h: This.
28144 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28146         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
28147         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
28149 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
28151         [BZ #17787]
28152         * manual/macros.texi: Add twoexp macro.
28153         * manual/filesys.texi: Fix exponents.
28154         * manual/llio.texi: Likewise.
28155         * manual/stdio.texi: Likewise.
28157 2015-08-20  Florian Weimer  <fweimer@redhat.com>
28159         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
28160         incorrect use.
28162 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
28164         [BZ #18370]
28165         * math/s_csqrt.c (__csqrt): Force underflow exception for results
28166         whose real or imaginary part has small absolute value.
28167         * math/s_csqrtf.c (__csqrtf): Likewise.
28168         * math/s_csqrtl.c (__csqrtl): Likewise.
28169         * math/auto-libm-test-in: Add more tests of csqrt.
28170         * math/auto-libm-test-out: Regenerated.
28171         * sysdeps/i386/fpu/libm-test-ulps: Update.
28173 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28175         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
28176         __ppc_set_ppr_very_low): New functions.
28177         * manual/platform.texi: Add documentation about
28178         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
28180 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
28182         * string/stpncpy.c (stpncpy): Improve performance using
28183         __strnlen/memcpy/memset.
28185 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28187         [BZ #18796]
28188         * scripts/test-installation.pl: Don't add -lmvec to build options if
28189         libmvec wasn't built.
28191 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28193         [BZ #14341]
28194         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
28195         case when there is a gap between DT_REL and DT_JMPREL sections.
28196         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
28197         (LDFLAGS-tst-split-dynreloc): New.
28198         (tst-split-dynreloc-ENV): Likewise.
28199         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
28200         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
28202 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28204         [BZ #18822]
28205         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
28206         attribute_hidden.
28207         (__xstat64_conv): Likewise.
28208         (__xstat32_conv): Likewise.
28210 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28212         [BZ #18822]
28213         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
28214         Don't load %ebx when calling __setcontext.  Call __setcontext
28215         with HIDDEN_JUMPTARGET.
28216         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
28217         libc_hidden_def.
28219 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28221         * sysdeps/i386/i686/Makefile
28222         [$(subdir) == string] (sysdep_routines): Moved to ...
28223         * sysdeps/i386/Makefile: Here.
28224         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
28225         * sysdeps/i386/cacheinfo.c: Here.
28226         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
28227         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
28228         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
28229         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
28231 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28233         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
28234         __i586__ is defined.
28235         (HAS_I686): Defined to 1 if __i686__ is defined.
28237 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
28239         * elf/Makefile [$(have-z-execstack) = yes]
28240         (CPPFLAGS-tst-execstack.c): New variable.
28242         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
28243         conditional to [defined UTMPX || _HAVE_UT_TYPE].
28244         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
28245         UTMPX || _HAVE_UT_TV].
28246         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
28247         UTMPX || _HAVE_UT_TV - 0].
28249 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
28251         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
28252         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
28253         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
28255 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28257         * sysdeps/powerpc/dl-procinfo.c:
28258         (_dl_powerpc_cap_flags): Added missing strings for some
28259         hwcap features.
28260         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
28262 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
28264         Port the 0x7efe...feff pattern to GCC 6.
28265         See Steve Ellcey's bug report in:
28266         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
28267         * string/memrchr.c (MEMRCHR):
28268         * string/rawmemchr.c (RAWMEMCHR):
28269         * string/strchr.c (strchr):
28270         * string/strchrnul.c (STRCHRNUL):
28271         Rewrite code to avoid issues with signed shift overflow.
28273 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
28275         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
28276         whether cpuid is available only if HAS_CPUID is 0.
28277         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
28278         (HAS_I586): Likewise.
28279         (HAS_I686): Likewise.
28281 2015-08-18  Zack Weinberg  <zackw@panix.com>
28283         * misc/Versions (libc): Add GLIBC_2.23.
28285 2015-08-18  Alan Modra  <amodra@gmail.com>
28287         [BZ #18421]
28288         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
28289         .Lp__global.
28290         (_start): Load %dp via .Lp__global.
28291         [!SHARED]: Use .section .rodata.
28293 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28295         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
28296         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
28298 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28300         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
28301         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
28303 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28305         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
28306         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
28308 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28310         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
28311         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
28313 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28315         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
28316         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
28318 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28320         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
28321         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
28323 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28325         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
28327 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28329         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
28330         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
28331         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28332         (__ASSUME_LWS_CAS): Delete.
28334 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28336         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
28337         * sysdeps/hppa/configure: Regenerated.
28338         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
28339         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
28340         * sysdeps/hppa/nptl/tls.h: Likewise.
28342 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
28344         [BZ #18823]
28345         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
28346         for scaling up small arguments.
28347         * math/s_csqrtf.c (__csqrtf): Likewise.
28348         * math/s_csqrtl.c (__csqrtl): Likewise.
28349         * math/auto-libm-test-in: Add more tests of csqrt.
28350         * math/auto-libm-test-out: Regenerated.
28352 2015-08-17  Andreas Schwab  <schwab@suse.de>
28354         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
28355         version set GLIBC_2.19.
28357 2015-08-16  Zack Weinberg  <zackw@panix.com>
28359         [BZ #18681]
28360         * misc/regexp.h: This interface is no longer supported.
28361         Remove all contents, leaving only an #error directive.
28362         * misc/regexp.c (loc1, loc2, locs, step, advance):
28363         Demote to compatibility symbols.
28365 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
28367         [BZ #18084]
28368         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
28369         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
28370         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28371         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
28372         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
28373         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
28374         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
28375         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
28376         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28378 2015-08-15  Zack Weinberg  <zackw@panix.com>
28380         [BZ #18795]
28381         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
28382         buffer length is known to be too large, not if it's known to be
28383         small enough.
28384         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
28385         overflow at runtime, involving a length parameter, twice: once
28386         with a compile-time constant length parameter, once without.
28388 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
28390         [BZ #18824]
28391         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
28392         scaling x * y up instead of down.
28393         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28394         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28395         * math/auto-libm-test-in: Add more tests of fma.
28396         * math/auto-libm-test-out: Regenerated.
28398 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28400         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28402 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28404         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
28405         unnecessary movq.
28406         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
28407         Likewise.
28409 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
28411         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28412         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
28413         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
28414         and tgamma.
28415         * math/auto-libm-test-out: Regenerated.
28416         * sysdeps/i386/fpu/libm-test-ulps: Update.
28417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28419         [BZ #16520]
28420         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
28421         (__tanh): Force underflow exception for arguments with small
28422         absolute value.
28423         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
28424         (__tanhf): Force underflow exception for arguments with small
28425         absolute value.
28426         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
28427         (__tanhl): Force underflow exception for arguments with small
28428         absolute value.
28429         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
28430         (__tanhl): Force underflow exception for arguments with small
28431         absolute value.
28432         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
28433         (__tanhl): Force underflow exception for arguments with small
28434         absolute value.
28435         * math/auto-libm-test-in: Add more tests of tanh.
28436         * math/auto-libm-test-out: Regenerated.
28437         * sysdeps/i386/fpu/libm-test-ulps: Update.
28439 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28441         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
28442         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
28444 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28446         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
28447         <cpuid.h>.
28449 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28451         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
28452         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
28454 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28456         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
28457         Remove $(objpfx)init-arch.o.
28458         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
28459         init-arch.
28460         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
28461         (INIT_ARCH_EXT): Defined as empty.
28462         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
28463         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
28464         __init_cpu_features call.  Replace HAS_XXX with
28465         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28466         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
28467         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
28468         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
28469         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
28470         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
28471         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
28472         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
28473         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
28474         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
28475         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
28476         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
28477         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
28478         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
28479         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
28480         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
28481         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
28482         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
28483         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
28484         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
28485         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
28486         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
28487         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
28488         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
28489         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
28490         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
28491         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
28492         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
28493         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
28494         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
28495         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
28496         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
28497         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
28498         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
28499         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
28500         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
28502 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28504         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
28505         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28506         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
28507         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
28508         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
28509         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
28510         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
28511         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
28512         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
28513         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
28514         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
28515         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
28516         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28517         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28518         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28519         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28520         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28521         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28522         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28523         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28524         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28525         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28526         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28527         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28528         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28529         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28530         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28531         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28532         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28533         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28534         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28535         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28536         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28537         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28538         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28539         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28540         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28541         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28542         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28543         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28544         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28545         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28546         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28548 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28550         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
28551         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28552         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28553         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28554         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28555         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
28556         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28557         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
28558         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28559         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28560         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28561         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
28562         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
28563         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
28564         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
28565         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
28566         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
28567         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
28568         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
28569         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
28570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
28571         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
28572         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
28573         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28574         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28575         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
28576         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
28577         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
28578         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28579         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28580         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28581         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28582         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28583         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28584         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28585         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28586         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28587         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28588         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28589         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28590         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28591         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28592         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28594 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28596         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
28597         (dl_platform_init): Call init_cpu_features.
28598         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
28599         * sysdeps/i386/i686/cacheinfo.c
28600         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
28601         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
28602         * sysdeps/i386/i686/multiarch/Versions: Removed.
28603         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
28604         Removed.
28605         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
28606         * sysdeps/unix/sysv/linux/x86/Makefile
28607         (libpthread-sysdep_routines): Remove init-arch.
28608         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
28609         <sysdeps/x86_64/dl-procinfo.c> instead of
28610         sysdeps/generic/dl-procinfo.c>.
28611         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
28612         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
28613         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
28614         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
28615         [$(subdir) == elf] (tests-static): Add
28616         tst-get-cpu-features-static.
28617         * sysdeps/x86/Versions: New file.
28618         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
28619         * sysdeps/x86/cpu-features.c: Likewise.
28620         * sysdeps/x86/cpu-features.h: Likewise.
28621         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
28622         * sysdeps/x86/libc-start.c: Likewise.
28623         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
28624         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
28625         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
28626         * sysdeps/x86_64/dl-procinfo.c: Likewise.
28627         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
28628         Assume USE_MULTIARCH is defined and don't check it.
28629         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
28630         (is_amd): Likewise.
28631         (max_cpuid): Likewise.
28632         (intel_check_word): Likewise.
28633         (__cache_sysconf): Don't call __init_cpu_features.
28634         (__x86_preferred_memory_instruction): Removed.
28635         (init_cacheinfo): Don't call __init_cpu_features. Replace
28636         __cpu_features with GLRO(dl_x86_cpu_features).
28637         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
28638         (dl_platform_init): Call init_cpu_features.
28639         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
28640         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
28641         * sysdeps/x86_64/multiarch/Versions: Removed.
28642         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
28643         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
28644         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
28645         Removed.
28646         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
28648 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28650         [BZ #18820]
28651         * libio/Makefile (test-fmemopen-mem): New test.
28652         * libio/test-fmemopen.c (do_bz18820): New test.
28653         * libio/fmemopen.c (__fmemopen): Fix memory leak.
28654         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
28656 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28658         [BZ #16734]
28659         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
28660         (FREE_BUF): Delete.
28661         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
28662         * libio/genops.c (_IO_setb): Use malloc and free directly.
28663         (_IO_default_doallocate, _IO_default_finish): Likewise.
28664         ( _IO_unbuffer_all): Likewise.
28665         ( libc_freeres_fn): Likewise.
28666         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28667         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28668         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
28669         (_IO_wdefault_doallocate): Likewise.
28671 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28673         [BZ #18086]
28674         * sysdeps/posix/nice.c (nice): Restore old errno.
28675         * posix/tst-nice.c (do_test): Add test for BZ #18086.
28677 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
28679         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
28681 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28683         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
28684         __bcopy and add a weak_alias to bcopy.
28685         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
28686         for static build.
28688         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
28689         cleanup macro usage.
28690         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
28691         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
28692         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28693         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
28694         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28695         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
28696         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
28697         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
28698         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28699         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
28700         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28701         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
28702         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28703         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
28704         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28705         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
28706         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
28707         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
28708         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
28710         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
28711         libc_hidden_def.
28712         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
28714         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
28715         (sysdep_routines): Add strstr-ppc64.
28716         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
28718 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
28720         [BZ #18778]
28721         * elf/Makefile (tests): Add Add tst-nodelete2.
28722         (modules-names): Add tst-nodelete2mod.
28723         (tst-nodelete2mod.so-no-z-defs): New.
28724         ($(objpfx)tst-nodelete2): Likewise.
28725         ($(objpfx)tst-nodelete2.out): Likewise.
28726         (LDFLAGS-tst-nodelete2): Likewise.
28727         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
28728         out of loop through all loaded libraries.
28729         * elf/tst-nodelete2.c: New file.
28730         * elf/tst-nodelete2mod.c: Likewise.
28731         * elf/tst-znodelete-zlib.cc: Delete.
28733 2015-08-11  Andreas Schwab  <schwab@suse.de>
28735         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
28736         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
28737         (__openat64_nocancel): Likewise.
28739 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
28741         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
28742         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
28743         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
28744         * math/auto-libm-test-out: Regenerated.
28745         * sysdeps/i386/fpu/libm-test-ulps: Update.
28746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28748 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
28750         [BZ #18790]
28751         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
28752         threshold for returning +/- 1.
28753         * math/auto-libm-test-in: Add more tests of tanh.
28754         * math/auto-libm-test-out: Regenerated.
28755         * sysdeps/i386/fpu/libm-test-ulps: Update.
28757 2015-08-10  Andreas Schwab  <schwab@suse.de>
28759         [BZ #18781]
28760         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
28761         MORE_OFLAGS to oflag.
28762         * io/test-lfs.c (do_test): Test openat64.
28764 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
28766         [BZ #18789]
28767         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
28768         smaller threshold for returning the argument.
28769         * math/auto-libm-test-in: Add more tests of sinh.
28770         * math/auto-libm-test-out: Regenerated.
28771         * sysdeps/i386/fpu/libm-test-ulps: Update.
28773 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28775         [BZ #18674]
28776         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
28777         break.
28779 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
28781         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
28782         (generated): Don't add $(addprefix z.,$(tzfiles)).
28784 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
28786         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
28787         * scripts/sysd-rules.awk: Likewise.
28789 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
28791         * iconvdata/tst-tables.sh: Change echo -n to printf.
28792         * nss/db-Makefile: Likewise.
28793         * posix/tst-getconf.sh: Likewise.
28794         * stdio-common/tst-unbputc.sh: Likewise.
28796 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
28798         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
28799         MADV_*_PAGES defines behind this feature check.
28801 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
28803         [BZ #18480]
28804         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
28805         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
28806         Define.
28807         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
28808         LOAD_REGS_5, LOAD_REGS_6): Update.
28809         (INTERNAL_SYSCALL): Update using new LOAD defines.
28810         (INTERNAL_SYSCALL_NCS): Likewise.
28811         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
28813 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28815         [BZ #16734]
28816         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
28818 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28820         [BZ #17905]
28821         * catgets/Makefile (tst-catgets-mem): New test.
28822         * catgets/catgets.c (catopen): Don't use unbounded alloca.
28823         * catgets/open_catalog.c (__open_catalog): Likewise.
28824         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
28826 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
28828         [BZ #18787]
28829         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
28830         clobber registers.
28831         (atomic_compare_and_exchange_val_acq): Use register asms to assign
28832         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
28833         Cast return to __typeof (oldval).
28835 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
28837         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
28838         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
28839         and delete sys/syscall.h include.
28841 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
28843         [BZ #16517]
28844         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
28845         (tan): Force underflow exception for arguments with small absolute
28846         value.
28847         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
28848         (__kernel_tanf): Force underflow exception for arguments with
28849         small absolute value.
28850         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
28851         (__kernel_tanl): Force underflow exception for arguments with
28852         small absolute value.
28853         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
28854         (__kernel_tanl): Force underflow exception for arguments with
28855         small absolute value.
28856         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
28857         (__kernel_tanl): Force underflow exception for arguments with
28858         small absolute value.
28859         * math/auto-libm-test-in: Add more tests of tan.
28860         * math/auto-libm-test-out: Regenerated.
28862 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28864         Fix sysdeps/i386/fpu/s_scalbn.S build
28866         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
28868 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
28870         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28872 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28874         Fix gcrt0.o compilation
28876         When static-start-installed-name is different from
28877         start-installed-name, we must not use the shared objects.
28879         * csu/Makefile
28880         (extra-objs): Add gmon-start.o when building shared library and
28881         $(static-start-installed-name) is different from
28882         $(start-installed-name).
28883         $(objpfx)g$(static-start-installed-name): When building shared
28884         library and $(static-start-installed-name) is different from
28885         $(static-start-installed-name), revert to non-shared rule,
28886         i.e. using $(objpfx)% and gmon-start.o.
28888 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
28890         [BZ #16519]
28891         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
28892         (__ieee754_sinh): Force underflow exception for arguments with
28893         small absolute value.
28894         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
28895         (__ieee754_sinhf): Force underflow exception for arguments with
28896         small absolute value.
28897         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
28898         (__ieee754_sinhl): Force underflow exception for arguments with
28899         small absolute value.
28900         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
28901         (__ieee754_sinhl): Force underflow exception for arguments with
28902         small absolute value.
28903         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
28904         (__ieee754_sinhl): Force underflow exception for arguments with
28905         small absolute value.
28906         * math/auto-libm-test-in: Add more tests of sinh.
28907         * math/auto-libm-test-out: Regenerated.
28908         * sysdeps/i386/fpu/libm-test-ulps: Update.
28910 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28912         * libio/oldfileops.c: Include unistd.h.
28914 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
28916         * stdlib/isomac.c: Include ctype.h.
28918 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
28920         * dirent/tst-seekdir.c (main): Converted to ...
28921         (do_test): ... this.
28922         (TEST_FUNCTION): New macro.
28923         Include test-skeleton.c.
28924         * elf/tst-dlmodcount.c (main): Converted to ...
28925         (do_test): ... this.
28926         (TEST_FUNCTION): New macro.
28927         Include test-skeleton.c.
28928         * elf/tst-order-main.c (main): Converted to ...
28929         (do_test): ... this.
28930         (TEST_FUNCTION): New macro.
28931         Include test-skeleton.c.
28932         * elf/tst-pie2.c (main): Converted to ...
28933         (do_test): ... this.
28934         (TEST_FUNCTION): New macro.
28935         Include test-skeleton.c.
28936         * inet/tst-ether_aton.c (main): Converted to ...
28937         (do_test): ... this.
28938         (TEST_FUNCTION): New macro.
28939         Include test-skeleton.c.
28940         * misc/tst-mntent.c (main): Converted to ...
28941         (do_test): ... this.
28942         (TEST_FUNCTION): New macro.
28943         Include test-skeleton.c.
28944         * misc/tst-tsearch.c (main): Converted to ...
28945         (do_test): ... this.
28946         (TEST_FUNCTION): New macro.
28947         Include test-skeleton.c.
28948         * posix/tst-regexloc.c (main): Converted to ...
28949         (do_test): ... this.
28950         (TEST_FUNCTION): New macro.
28951         Include test-skeleton.c.
28952         * resolv/tst-aton.c (main): Converted to ...
28953         (do_test): ... this.
28954         (TEST_FUNCTION): New macro.
28955         Include test-skeleton.c.
28956         * stdio-common/test-fwrite.c (main): Converted to ...
28957         (do_test): ... this.
28958         (TEST_FUNCTION): New macro.
28959         Include test-skeleton.c.
28960         * stdio-common/tst-ferror.c (main): Converted to ...
28961         (do_test): ... this.
28962         (TEST_FUNCTION): New macro.
28963         Include test-skeleton.c.
28964         * stdio-common/tst-printf.c (main): Converted to ...
28965         (do_test): ... this.
28966         (TEST_FUNCTION): New macro.
28967         Include test-skeleton.c.
28968         * stdio-common/tst-printfsz.c (main): Converted to ...
28969         (do_test): ... this.
28970         (TEST_FUNCTION): New macro.
28971         Include test-skeleton.c.
28972         * stdlib/tst-strtod.c (main): Converted to ...
28973         (do_test): ... this.
28974         (TEST_FUNCTION): New macro.
28975         Include test-skeleton.c.
28976         * string/tst-strlen.c (main): Converted to ...
28977         (do_test): ... this.
28978         (TEST_FUNCTION): New macro.
28979         Include test-skeleton.c.
28980         * string/tst-svc.c (main): Converted to ...
28981         (do_test): ... this.
28982         (TEST_FUNCTION): New macro.
28983         Include test-skeleton.c.
28984         * time/tst-strptime.c (main): Converted to ...
28985         (do_test): ... this.
28986         (TEST_FUNCTION): New macro.
28987         Include test-skeleton.c.
28988         * timezone/tst-timezone.c (main): Converted to ...
28989         (do_test): ... this.
28990         (TEST_FUNCTION): New macro.
28991         Include test-skeleton.c.
28993 2015-08-05  Zack Weinberg  <zackw@panix.com>
28995         * misc/regexp.h: Update comments.
28997 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
28999         [BZ #18635]
29000         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
29001         before return label.
29003 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29005         [BZ #18661]
29006         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
29007         when calling __errno_location.
29008         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
29009         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
29011 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29013         [BZ #18661]
29014         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
29015         (__lll_timedwait_tid): Align stack to 16 bytes when calling
29016         __gettimeofday.
29018 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29020         [BZ #18661]
29021         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29022         (__start_context): Don't use pop to restore %rdi so that stack
29023         is aligned to 16 bytes when calling __setcontext.
29025 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29027         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
29028         only for libc.
29029         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29031 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29033         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
29034         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
29035         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
29037 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29039         * string/memccpy.c (memccpy):
29040         Improve performance by using memchr/memcpy/__mempcpy.
29042 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29044         * string/strncpy.c (strncpy):
29045         Improve performance by using __strnlen/memcpy.
29047 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29049         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29050         Optimize to avoid an unnecessary FPCR read.
29052 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29054         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
29055         Optimize to reduce FPCR/FPSR accesses.
29057 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29059         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
29060         dead->data[category] != NULL.
29062 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
29064         [BZ #18647]
29065         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
29066         and |x| close to 1, use absolute value of x when computing log.
29067         * math/auto-libm-test-in: Add more tests of pow.
29068         * math/auto-libm-test-out: Regenerated.
29070 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29072         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
29073         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
29074         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
29076 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
29078         [BZ #18525]
29079         * locales/km_KH: Remove timezone definition.
29080         * locales/lo_LA: Likewise.
29081         * locales/my_MM: Likewise.
29082         * locales/nan_TW@latin: Likewise.
29083         * locales/th_TH: Likewise.
29084         * locales/uk_UA: Likewise.
29086 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
29088         [BZ #18265]
29089         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
29090         (wcsncat): Likewise.
29091         (wcscmp): Likewise.
29092         (wcsncmp): Likewise.
29094 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29096         * test-skeleton.c (usage): New function.
29097         (main): Call usage when opt is '?'.
29099 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29101         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
29102         before first use.
29104 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29106         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
29107         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
29108         in there too.
29110 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
29112         * version.h (RELEASE): Set to "development".
29113         (VERSION): Set to "2.22.90"
29115         * version.h (RELEASE): Set to "stable".
29116         (VERSION): Set to "2.22"
29117         * include/features.h (__GLIBC_MINOR__): Set to 22.
29119 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
29121         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
29122         Restructure macro to avoid "value computed is not used" warning.
29123         (atomic_compare_and_exchange_val_acq): Likewise.
29125 2015-08-04  Andreas Schwab  <schwab@suse.de>
29127         [BZ #18635]
29128         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
29129         ret.
29130         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
29132 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
29134         * po/pl.po: Updated translation.
29135         * po/uk.po: Likewise.
29136         * po/fi.po: Likewise.
29137         * po/ko.po: Likewise.
29138         * po/ru.po: Likewise.
29139         * po/vi.po: Likewise.
29141 2015-07-31  Zack Weinberg  <zackw@panix.com>
29143         [BZ #18681]
29144         * regexp.h: Add unconditional #warning stating that this header
29145         will be removed soon.  Revise banner comment to match.
29146         (compile): Consistently use ERROR instead of RETURN to report
29147         errors (partial fix for BZ #18681).
29148         * regexp.c: Don't include regexp.h. Remove some unnecessary
29149         declarations.
29151 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
29153         * po/libc.pot: Regenerated.
29155 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
29157         [BZ #18740]
29158         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
29159         float-vlen4-arch-ext-cflags): Removed.
29160         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
29161         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
29163 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29165         [BZ #14113]
29166         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
29167         aligned to __aligned__.
29168         (pthread_cond_t, pthread_rwlock_t): Likewise.
29170 2015-07-30  Torvald Riegel  <triegel@redhat.com>
29172         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
29174 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29176         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
29177         (struct sigaction): Change sa_flags from a long to an int, and add
29178         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
29180 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29182         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
29183         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
29184         sysdeps/generic/sysdep.h include.
29185         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
29186         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
29187         sysdeps/hppa/sysdep.h.
29188         (ENTRY, PSEUDO): Undefine before defining.
29190 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29192         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
29193         from scratch to use INTERNAL_SYSCALL.
29195 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
29197         [BZ #18078]
29198         * scripts/check-localplt.awk: Support alternate relocations.
29199         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
29200         sections.
29201         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
29202         malloc entries with + REL R_386_GLOB_DAT.
29203         * sysdeps/x86_64/localplt.data: New file.
29205 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
29207         [BZ #18731]
29208         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
29209         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29210         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29212 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29214         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
29216 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29218         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
29219         directly in terms of __sync_fetch_and_add and delete (int) cast.
29221 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29223         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
29224         the -D_ASM_IA64_CURRENT_H flag.
29226 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29228         [BZ #18641]
29229         * pwd/pwd.h (putpwent): Delete __nonnull markings.
29231 2015-07-27  Andreas Schwab  <schwab@suse.de>
29233         * conform/conformtest.pl (checknamespace): Filter out string
29234         literals while tokenizing.
29236 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
29238         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29239         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
29240         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29242 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
29244         * nptl/tst-join7mod.c: Add #include <string.h>.
29246 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
29248         * sysdeps/nios2/libm-test-ulps: Update.
29250 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
29252         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
29253         Fix order of arguments to the rt_sigprocmask syscall.
29254         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
29255         Likewise.
29257 2015-07-24  Roland McGrath  <roland@hack.frob.com>
29259         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
29261 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29263         [BZ #18457]
29264         * nptl/Makefile (tests): New test case tst-join7.
29265         (modules-names): New test case module tst-join7mod.
29266         * nptl/tst-join7.c: New file.
29267         * nptl/tst-join7mod.c: New file.
29268         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
29269         all translation units in libc.so, libpthread.so and rtld.
29271 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29275 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29277         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
29278         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
29279         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
29280         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
29281         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
29282         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
29283         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
29284         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
29285         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
29286         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
29287         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
29288         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
29289         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
29290         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29291         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
29292         implementation.
29294 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29296         [BZ #17711]
29297         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29298         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
29299         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29300         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29301         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
29302         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29304 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29306         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
29307         instead of just saying load lock in the comments.
29309 2015-07-23  Roland McGrath  <roland@hack.frob.com>
29311         * sysdeps/unix/Subdirs: Moved ...
29312         * sysdeps/posix/Subdirs: ... here.
29313         * login/pty.h (struct termios, struct winsize): Add forward decls.
29314         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
29315         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
29316         * sysdeps/arm/nacl/libc.abilist: Updated.
29317         * sysdeps/nacl/libutil.abilist: New file.
29319         * bits/signum.h: Update comments to mention 1003.1-2013 too.
29320         (SIGWINCH): New macro.
29322         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
29323         * sysdeps/arm/nacl/libc.abilist: Add it.
29325 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
29327         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
29329 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
29331         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
29332         Swap __glibc_reserved0 and sa_flags order.
29334 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29336         [BZ #18657]
29337         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
29338         are pending TLS destructor calls.
29339         * include/link.h (struct link_map): Add concurrency note for
29340         L_TLS_DTOR_COUNT.
29341         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29342         Don't touch the link map flag.  Atomically increment
29343         l_tls_dtor_count.
29344         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
29345         Avoid taking the load lock and don't touch the link map flag.
29346         * stdlib/tst-tls-atexit-nodelete.c: New test case.
29347         * stdlib/Makefile (tests): Use it.
29348         * stdlib/tst-tls-atexit.c (do_test): dlopen
29349         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
29350         to allow tst-tls-atexit-nodelete test case to use it.
29352 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29354         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
29355         to bits/types.h.
29356         (msgqnum_t): New typedef.
29357         (msglen_t): Likewise.
29358         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
29359         and msg_qbytes type to msglen_t.
29361 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29363         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
29364         pad0 to __glibc_reserved0.
29365         (struct stat64): Likewise.
29367 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29369         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
29370         Change sa_flags from a long to an int and add __glibc_reserved0 before
29371         it for padding.
29373 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29375         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
29376         anonymous by deleting "siginfo" name.
29378 2015-07-21  Roland McGrath  <roland@hack.frob.com>
29380         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
29381         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
29382         rather than __nacl_irt_filename.
29383         * sysdeps/nacl/xstat.c (__xstat): Likewise.
29385         * NEWS: New item for arm-nacl port.
29386         * sysdeps/arm/nacl/libc.abilist: New file.
29387         * sysdeps/nacl/ld.abilist: New file.
29388         * sysdeps/nacl/libBrokenLocale.abilist: New file.
29389         * sysdeps/nacl/libanl.abilist: New file.
29390         * sysdeps/nacl/libcrypt.abilist: New file.
29391         * sysdeps/nacl/libdl.abilist: New file.
29392         * sysdeps/nacl/libm.abilist: New file.
29393         * sysdeps/nacl/libpthread.abilist: New file.
29394         * sysdeps/nacl/libresolv.abilist: New file.
29395         * sysdeps/nacl/librt.abilist: New file.
29397 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
29399         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
29400         __startcontext to initialize the new context.
29401         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
29402         up CFI directive to forbid further backtracing.
29404 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
29406         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
29407         reference.
29408         * charmaps/ANSI_X3.4-1968: Likewise.
29409         * charmaps/BS_4730: Likewise.
29410         * charmaps/BS_VIEWDATA: Likewise.
29411         * charmaps/CP1250: Likewise.
29412         * charmaps/CP1251: Likewise.
29413         * charmaps/CP1252: Likewise.
29414         * charmaps/CP1253: Likewise.
29415         * charmaps/CP1254: Likewise.
29416         * charmaps/CP1255: Likewise.
29417         * charmaps/CP1256: Likewise.
29418         * charmaps/CSN_369103: Likewise.
29419         * charmaps/EBCDIC-DK-NO: Likewise.
29420         * charmaps/GB_1988-80: Likewise.
29421         * charmaps/GREEK-CCITT: Likewise.
29422         * charmaps/GREEK7: Likewise.
29423         * charmaps/INIS-8: Likewise.
29424         * charmaps/ISIRI-3342: Likewise.
29425         * charmaps/ISO_2033-1983: Likewise.
29426         * charmaps/ISO_5427-EXT: Likewise.
29427         * locales/POSIX: Likewise.
29428         * locales/ar_SA: Likewise.
29429         * locales/be_BY: Likewise.
29430         * locales/be_BY@latin: Likewise.
29431         * locales/ca_ES: Likewise.
29432         * locales/cs_CZ: Likewise.
29433         * locales/da_DK: Likewise.
29434         * locales/de_BE: Likewise.
29435         * locales/de_CH: Likewise.
29436         * locales/de_LU: Likewise.
29437         * locales/en_AU: Likewise.
29438         * locales/en_BW: Likewise.
29439         * locales/en_CA: Likewise.
29440         * locales/en_DK: Likewise.
29441         * locales/en_GB: Likewise.
29442         * locales/en_IE: Likewise.
29443         * locales/en_NZ: Likewise.
29444         * locales/en_ZA: Likewise.
29445         * locales/en_ZW: Likewise.
29446         * locales/es_AR: Likewise.
29447         * locales/es_BO: Likewise.
29448         * locales/es_CL: Likewise.
29449         * locales/es_CO: Likewise.
29450         * locales/es_DO: Likewise.
29451         * locales/es_EC: Likewise.
29452         * locales/es_ES: Likewise.
29453         * locales/es_HN: Likewise.
29454         * locales/es_MX: Likewise.
29455         * locales/es_PA: Likewise.
29456         * locales/es_PE: Likewise.
29457         * locales/es_PY: Likewise.
29458         * locales/es_SV: Likewise.
29459         * locales/es_US: Likewise.
29460         * locales/es_UY: Likewise.
29461         * locales/es_VE: Likewise.
29462         * locales/et_EE: Likewise.
29463         * locales/fa_IR: Likewise.
29464         * locales/fo_FO: Likewise.
29465         * locales/fr_CA: Likewise.
29466         * locales/fr_CH: Likewise.
29467         * locales/gv_GB: Likewise.
29468         * locales/he_IL: Likewise.
29469         * locales/hr_HR: Likewise.
29470         * locales/id_ID: Likewise.
29471         * locales/is_IS: Likewise.
29472         * locales/it_CH: Likewise.
29473         * locales/iw_IL: Likewise.
29474         * locales/kl_GL: Likewise.
29475         * locales/ko_KR: Likewise.
29476         * locales/kw_GB: Likewise.
29477         * locales/lg_UG: Likewise.
29478         * locales/lt_LT: Likewise.
29479         * locales/lv_LV: Likewise.
29480         * locales/mi_NZ: Likewise.
29481         * locales/nhn_MX: Likewise.
29482         * locales/nl_BE: Likewise.
29483         * locales/pl_PL: Likewise.
29484         * locales/sk_SK: Likewise.
29485         * locales/sl_SI: Likewise.
29486         * locales/sv_FI: Likewise.
29487         * locales/tl_PH: Likewise.
29488         * locales/tr_TR: Likewise.
29489         * locales/vi_VN: Likewise.
29491 2015-07-21  Khem Raj  <raj.khem@gmail.com>
29493         [BZ #17475]
29494         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
29495         of tu_IN and bh_IN.
29497 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
29499         [BZ #18694]
29500         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
29501         bits/wordsize.h.
29502         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
29504 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29506         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
29507         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
29508         (spawn_thread): New function.
29509         (load): Rename to reg_dtor_and_close.  Move dlopen to...
29510         (do_test): ... here.  Use IS_LOADED to test for its
29511         availability.
29513 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
29515         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29517 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
29519         [BZ #18696]
29520         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
29521         si_addr_bnd.
29522         (si_lower): New.
29523         (si_upper): Likewise.
29525 2015-07-16  David S. Miller  <davem@davemloft.net>
29527         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
29529 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29531         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
29532         buffer.
29533         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
29534         fail output information.
29536 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
29539         and strstr-ppc64..
29540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29541         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
29542         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
29543         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
29544         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
29546 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
29548         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
29549         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29550         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
29551         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29553 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
29555         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29556         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
29557         rtld_hidden_proto.
29558         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
29560 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29562         * tst-nodelete-opened.c (do_test): Add comment to clarify how
29563         the test can fail.
29565         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
29567         [BZ #18676]
29568         * elf/tst-nodelete-opened.c: New test case.
29569         * elf/tst-nodelete-opened-lib.c: New test case module.
29570         * elf/Makefile (tests, modules-names): Use them.
29571         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
29572         early.
29574 2015-07-15  David S. Miller  <davem@davemloft.net>
29576         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
29577         futex-intenal.h
29578         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
29579         * sysdeps/sparc/sparc64/Makefile: Likewise.
29580         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
29581         Remove space from macro define.
29582         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
29584 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
29586         [BZ #17475]
29587         * locale/iso-639.def: Update Bhili and Tulu language codes as
29588         per iso639-3.
29590 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
29592         * elf/tst-leaks1.c (main): Converted to ...
29593         (do_test): ... this.
29594         (TEST_FUNCTION): New macro.
29595         Include test-skeleton.c.
29596         * localedata/tst-langinfo.c (main): Converted to ...
29597         (do_test): ... this.
29598         (TEST_FUNCTION): New macro.
29599         Include test-skeleton.c.
29600         * math/test-fpucw.c (main): Converted to ...
29601         (do_test): ... this.
29602         (TEST_FUNCTION): New macro.
29603         Include test-skeleton.c.
29604         * math/test-tgmath.c (main): Converted to ...
29605         (do_test): ... this.
29606         (TEST_FUNCTION): New macro.
29607         Include test-skeleton.c.
29608         * math/test-tgmath2.c (main): Converted to ...
29609         (do_test): ... this.
29610         (TEST_FUNCTION): New macro.
29611         Include test-skeleton.c.
29612         * setjmp/tst-setjmp.c (main): Converted to ...
29613         (do_test): ... this.
29614         (TEST_FUNCTION): New macro.
29615         Include test-skeleton.c.
29616         * stdio-common/tst-sscanf.c (main): Converted to ...
29617         (do_test): ... this.
29618         (TEST_FUNCTION): New macro.
29619         Include test-skeleton.c.
29620         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
29621         (do_test): ... this.
29622         (TEST_FUNCTION): New macro.
29623         Include test-skeleton.c.
29625         * elf/tst-audit9.c (main): Converted to ...
29626         (do_test): ... this.
29627         (TEST_FUNCTION): New macro.
29628         Include test-skeleton.c.
29630 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
29632         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
29634 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
29636         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
29637         New variable.
29639 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
29641         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29643 2015-07-14  Roland McGrath  <roland@hack.frob.com>
29645         * sysdeps/generic/dl-fileid.h: New file.
29646         * sysdeps/posix/dl-fileid.h: New file.
29647         * sysdeps/nacl/dl-fileid.h: New file.
29648         * include/link.h: Include <dl-fileid.h>.
29649         (struct link_map): Replace l_dev and l_ino with l_file_id.
29650         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
29651         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
29652         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
29654 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29656         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
29658 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29660         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
29661         Add iff $CXX is set.
29662         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
29663         Likewise.
29664         (tst-nodelete-zmodiff): Likewise.
29665         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
29667 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29669         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
29671 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
29673         * sysdeps/aarch64/fpu/math_private.h
29674         (define math_opt_barrier): Add AArch64 version.
29675         (math_force_eval): Likewise.
29677 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
29679         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
29681 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
29683         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
29684         %ld with %jd and cast to intmax_t.
29685         (do_test_length_zero): Likewise.
29687 2015-07-10  Roland McGrath  <roland@hack.frob.com>
29689         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
29691 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
29693         * sysdeps/tile/libm-test-ulps: Regenerated.
29695         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
29696         Comment out the whole function, not just its body.
29698 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29700         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
29701         locks.
29703         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
29705 2015-07-10  Torvald Riegel  <triegel@redhat.com>
29707         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
29708         (sem_assume_only_signals_cause_futex_EINTR): Remove.
29710 2015-07-10  Torvald Riegel  <triegel@redhat.com>
29712         * sysdeps/nptl/futex-internal.h: New file.
29713         * sysdeps/nacl/futex-internal.h: New file.
29714         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
29715         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
29716         error checking.
29717         (setxid_unmark_thread): Likewise.
29718         (__nptl_setxid): Likewise.
29719         (__wait_lookup_done): Likewise.
29720         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29721         * nptl/nptl-init.c (sighandler_setxid): Likewise.
29722         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
29723         * nptl/pthread_once.c (clear_once_control): Likewise.
29724         (__pthread_once_slow): Likewise.
29725         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
29726         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
29727         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
29728         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
29729         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
29730         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
29731         Likewise.
29732         (__pthread_rwlock_rdlock): Likewise.
29733         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29734         Likewise.
29735         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29736         Likewise.
29737         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
29738         Likewise.
29739         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
29740         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
29741         Likewise.
29742         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
29743         __ASSUME_PRIVATE_FUTEX check.
29744         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
29745         Check that shared futexes are supported.
29746         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
29747         wrappers with error checking.
29748         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
29749         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
29750         * nptl/pthread_barrierattr_setpshared.c
29751         (pthread_barrierattr_setpshared): Check that shared futexes are
29752         supported.
29753         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
29754         Likewise.
29755         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
29756         Likewise.
29757         * nptl/sem_init.c (futex_private_if_supported): Remove.
29758         (__new_sem_init): Adapt and check that shared futexes are supported.
29759         * nptl/sem_open.c (sem_open): Likewise.
29760         * nptl/sem_post.c (futex_wake): Remove.
29761         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
29762         (do_futex_wait): Use futex wrappers with error checking.
29763         * nptl/sem_wait.c: Include lowlevellock.h.
29764         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
29765         Use futex_supports_pshared.
29766         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
29767         Use futex wrappers with error checking.
29768         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
29769         Likewise.
29770         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
29771         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
29772         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
29773         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
29774         (futex_wake): Likewise.
29775         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
29776         (do_futex_wait): Use futex wrappers with error checking.
29777         (__new_sem_wait_slow): Update EINTR handling.
29778         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
29780 2015-07-09  Martin Sebor  <msebor@redhat.com>
29782         [BZ #18435]
29783         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
29784         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
29785         * nptl/Makefile (test-xfail-tst-once5): Define.
29787 2015-07-09  Roland McGrath  <roland@hack.frob.com>
29789         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
29790         * elf/dl-minimal.c: For readability, reorder some definitions and
29791         introduce more page breaks.  Include <stdio.h>.
29792         (__libc_fatal): New function.
29794         * include/unistd.h: Add rtld_hidden_proto for _exit.
29795         * posix/_exit.c: Add rtld_hidden_def.
29796         * sysdeps/mach/hurd/_exit.c: Likewise.
29797         * sysdeps/nacl/_exit.c: Likewise.
29798         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
29799         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
29801 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
29803         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
29804         bndmov encoding with zero displacement.
29806 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29807             H.J. Lu  <hongjiu.lu@intel.com>
29809         [BZ #18134]
29810         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
29811         * sysdeps/i386/configure: Regenerated.
29812         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
29813         (_dl_runtime_profile): Save and restore Intel MPX return bound
29814         registers when calling _dl_call_pltexit.  Add
29815         PRESERVE_BND_REGS_PREFIX before return.
29816         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
29817         (LRV_BND1_OFFSET): Likewise.
29818         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
29819         lrv_bnd1.
29820         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
29821         typo in bndmov encoding.
29822         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
29823         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
29824         branch instructions to preserve bounds.
29826 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
29829         [GLIBC_2.22]: Add fmemopen.
29831 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29833         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
29834         returns an error, also try to use host port from __mach_host_self for
29835         the __vm_wire call.
29836         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
29838 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29840         [BZ #18400]
29841         [BZ #18648]
29842         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
29843         Fix pr_uid and pr_gid members.
29844         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
29845         definition to elf_greg_t.
29847 2015-07-08  Roland McGrath  <roland@hack.frob.com>
29849         [BZ #18383]
29850         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
29851         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
29852         * sysdeps/arm/configure: Regenerated.
29853         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
29854         (test-xfail-tst-tlsalign-static): Variable removed.
29856         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
29857         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
29858         rather than explicit 'ln -s'.
29860         * resolv/rpc/netdb.h: New file.
29861         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
29863 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29865         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
29866         length buffers.
29867         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29868         test-skeleton.c.
29870         [BZ #6544]
29871         [BZ #11216]
29872         [BZ #12836]
29873         [BZ #13151]
29874         [BZ #13152]
29875         [BZ #14292]
29876         * include/stdio.h (fmemopen): Remove hidden prototype.
29877         (__fmemopen): Add new hidden prototype.
29878         * libio/Makefile: Add oldfmemopen object.
29879         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
29880         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
29881         compliance.
29882         * libio/oldfmemopen.c: New file: old fmemopen implementation for
29883         symbol compatibility.
29884         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
29885         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
29886         fmemopen.
29887         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
29888         on append and read mode.
29889         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
29890         fmemopen.
29891         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
29892         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
29893         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
29894         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
29895         Likewise.
29896         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
29897         [GLIBC_2.22]: Likewise.
29898         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
29899         Likewise.
29900         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
29901         Likewise.
29902         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
29903         [GLIBC_2.22]: Likewise.
29904         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
29905         [GLIBC_2.22]: Likewise.
29906         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
29907         [GLIBC_2.22]: Likewise.
29908         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
29909         [GLIBC_2.22]: Likewise.
29910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
29911         [GLIBC_2.22]: Likewise.
29912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
29913         [GLIBC_2.22]: Likewise.
29914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
29915         [GLIBC_2.22]: Likewise.
29916         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
29917         Likewise.
29918         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
29919         Likewise.
29920         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
29921         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
29922         [GLIBC_2.22]: Likewise.
29923         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
29924         [GLIBC_2.22]: Likewise.
29925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
29926         [GLIBC_2.22]: Likewise.
29927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
29928         [GLIBC_2.22]: Likewise.
29929         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
29930         Likewise.
29931         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
29932         Likewise.
29933         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
29934         Likewise.
29935         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
29936         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
29938 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
29940         [BZ #18643]
29941         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
29942         IPV6_PATHMTU, and IPV6_DONTFRAG.
29944 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
29946         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
29947         and _IO_UNBUFFERED.
29948         * libio/oldfileops.c: Likewise.
29949         * libio/wfileops.c: Likewise.
29951 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
29953         * nscd/selinux.c: Delete selinux/flask.h include.
29955 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
29957         [BZ #18641]
29958         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
29959         (putpwent): Likewise.
29960         (getpwnam): Likewise.
29961         (getpwent_r): Likewise.
29962         (getpwuid_r): Likewise.
29963         (getpwnam_r): Likewise.
29964         (fgetpwent_r): Likewise.
29966 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
29968         [BZ #18557]
29969         * inet/rcmd.c (__validuser2_sa): Check user first to
29970         short-circuit host check.
29972 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
29973             Mikhail Ilin  <m.ilin@samsung.com>
29975         [BZ #17833]
29976         * elf/Makefile (tests): Add tst-nodelete.
29977         (modules-names): Add tst-nodelete-uniquemod.
29978         (tst-nodelete-uniquemod.so-no-z-defs): New.
29979         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
29980         (tst-nodelete-zmod.so-no-z-defs): Likewise.
29981         ($(objpfx)tst-nodelete): Likewise.
29982         ($(objpfx)tst-nodelete.out): Likewise.
29983         (LDFLAGS-tst-nodelete): Likewise.
29984         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
29985         * elf/dl-close.c (_dl_close_worker): Add a parameter to
29986         implement forced object deletion.
29987         (_dl_close): Pass false to _dl_close_worker.
29988         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
29989         * elf/tst-nodelete.cc: New file.
29990         * elf/tst-nodeletelib.cc: Likewise.
29991         * elf/tst-znodeletelib.cc: Likewise.
29992         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
29994 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29996         [BZ #18508]
29997         * stdlib/Makefile ($(objpfx)tst-makecontext3):
29998         Depend on $(libdl).
29999         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
30000         is not called infinitely times.
30001         (backtrace_helper): New function.
30002         (trace_arg): New struct.
30003         (st1): Enlarge stack size.
30004         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30005         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
30006         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30007         Likewise.
30009 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30011         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30013 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30015         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
30016         Include sys/types.h instead of bits/types.h.
30017         Remove inclusion of bits/wordsize.h.
30019 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30021         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
30022         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
30023         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
30024         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
30025         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
30026         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
30028 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30030         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
30031         link-defines.sym.
30032         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
30033         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
30034         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
30035         and LR_SIZE.
30036         * sysdeps/i386/link-defines.sym: New file.
30038 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30040         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
30041         (modules-names): Add tst-auditmod3a tst-auditmod3b.
30042         ($(objpfx)tst-audit3): New rule.
30043         ($(objpfx)tst-audit3.out): Likewise.
30044         * sysdeps/i386/tst-audit3.c: New file.
30045         * sysdeps/i386/tst-audit3.h: Likewise.
30046         * sysdeps/i386/tst-auditmod3a.c: Likewise.
30047         * sysdeps/i386/tst-auditmod3b.c: Likewise.
30049 2015-07-07  Torvald Riegel  <triegel@redhat.com>
30051         [BZ #18633]
30052         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
30053         pointer in C code.
30054         (__strcat_c): Likewise.
30055         (__strcat_g): Likewise.
30057 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
30059         [BZ #18592]
30060         * misc/sbrk.c: Set errno to ENOMEM on overflow.
30062 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
30064         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
30065         New function.  (__ieee754_sqrtf): New function.
30066         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
30067         New function.
30068         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
30069         New function.
30071 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
30073         * sysdeps/ieee754/support.c: Remove unused file.
30075 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30077         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
30078         registers instead of d ones so the layout is kernel abi compatible.
30079         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
30080         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
30081         Likewise.
30083 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30085         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30087 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
30089         [BZ #18619]
30090         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
30091         and return argument in case of subnormal argument.
30093 2015-07-01  Martin Sebor  <msebor@redhat.com>
30095         [BZ #18435]
30096         * nptl/Makefile: Add tst-once5.cc.
30097         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30098         Remove macro redefinitions.
30099         * nptl/tst-once5.cc: New test.
30101 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
30103         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30105         * sysdeps/arm/libm-test-ulps: Regenerated.
30107         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30108         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30110 2015-06-30  Torvald Riegel  <triegel@redhat.com>
30112         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
30113         lll_lock_wait_private and lll_futex_wake probes.
30115         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
30116         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
30117         Likewise.
30118         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
30119         atomic_spin_nop.
30120         * sysdeps/x86_64/bits/atomic.h: Likewise.
30121         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
30122         to atomic_spin_nop and move ...
30123         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
30124         ... here and ...
30125         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
30126         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
30127         atomic_spin_nop instead of BUSY_WAIT_NOP.
30128         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
30129         Likewise.
30130         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
30131         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
30132         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
30133         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
30134         instead of atomic_delay.
30136 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
30138         [BZ #18613]
30139         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
30140         X_ADJ not X when adjusting exponent.
30141         (__ieee754_gamma_r): Do intermediate computations in
30142         round-to-nearest then adjust overflowing and underflowing results
30143         as needed.
30144         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
30145         of X_ADJ not X when adjusting exponent.
30146         (__ieee754_gammaf_r): Do intermediate computations in
30147         round-to-nearest then adjust overflowing and underflowing results
30148         as needed.
30149         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
30150         log of X_ADJ not X when adjusting exponent.
30151         (__ieee754_gammal_r): Do intermediate computations in
30152         round-to-nearest then adjust overflowing and underflowing results
30153         as needed.  Use 1.0L not 1.0f as numerator of division.
30154         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
30155         log of X_ADJ not X when adjusting exponent.
30156         (__ieee754_gammal_r): Do intermediate computations in
30157         round-to-nearest then adjust overflowing and underflowing results
30158         as needed.  Use 1.0L not 1.0f as numerator of division.
30159         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
30160         of X_ADJ not X when adjusting exponent.
30161         (__ieee754_gammal_r): Do intermediate computations in
30162         round-to-nearest then adjust overflowing and underflowing results
30163         as needed.  Use 1.0L not 1.0f as numerator of division.
30164         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
30165         to auto-libm-test-in.
30166         (tgamma_test): Use ALL_RM_TEST.
30167         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
30168         tests of tgamma with spurious-overflow.
30169         * math/auto-libm-test-out: Regenerated.
30170         * math/gen-libm-have-vector-test.sh: Do not check for START.
30171         * sysdeps/i386/fpu/libm-test-ulps: Update.
30172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30174         [BZ #18612]
30175         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
30176         arguments, just return 0.5 times the argument, with underflow
30177         forced as needed.
30178         * math/auto-libm-test-in: Add more tests of j1.
30179         * math/auto-libm-test-out: Regenerated.
30181         [BZ #16559]
30182         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
30183         (__ieee754_j1): Force underflow exception for small results.
30184         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30185         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
30186         (__ieee754_j1f): Force underflow exception for small results.
30187         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30188         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30189         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30190         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
30191         (__ieee754_j1l): Force underflow exception for small results.
30192         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30193         * math/auto-libm-test-in: Add more tests of j1 and jn.
30194         * math/auto-libm-test-out: Regenerated.
30196         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
30197         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
30198         (PF_MPLS): Likewise.
30199         (AF_IB): Likewise.
30200         (AF_MPLS): Likewise.
30201         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
30202         value and macro.
30203         (MS_RMT_MASK): Include MS_LAZYTIME.
30205 2015-06-26  Mel Gorman  <mgorman@suse.de>
30207         [BZ #18502]
30208         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
30209         already minimal.
30211 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
30213         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
30214         (DT_MIPS_NUM): Update.
30215         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
30216         DT_MIPS_RLD_MAP_REL.
30218 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
30220         [BZ #16559]
30221         [BZ #18602]
30222         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
30223         round-to-nearest internally then recompute results that
30224         underflowed to zero in the original rounding mode.
30225         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30226         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30227         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30228         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30229         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
30230         * sysdeps/i386/fpu/libm-test-ulps: Update.
30231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30233 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30235         * NEWS: Fixed description of link with vector math library.
30237 2015-06-25  Andreas Schwab  <schwab@suse.de>
30239         [BZ #18549]
30240         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
30241         * libio/test-fmemopen.c (do_test): Add test for it.
30243 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
30245         [BZ #17841]
30246         * Makeconfig (no-pie-ldflag): New.
30247         (+link): Set to $(+link-pie) if default to PIE.
30248         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
30249         * config.make.in (build-pie-default): New.
30250         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
30251         is default.  AC_SUBST.
30252         * configure: Regenerated.
30253         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
30255 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30257         * nptl/descr.h (struct pthread): Change type of field setxid_futex
30258         to 'unsigned int'.
30260         * resolv/gai_misc.h (struct waitlist): Change type of field
30261         counterp to 'volatile unsigned int *'.
30262         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
30263         FUTEXADDR and OLDVAL.
30264         * resolv/getaddrinfo_a.c (getaddrinfo_a):
30265         Give local variable TOTAL type 'volatile unsigned int'.
30266         (struct async_waitlist): Change type of field counter to 'unsigned int'.
30267         * resolv/gai_suspend.c (gai_suspend):
30268         Give local variable CNTR type 'unsigned int'.
30270         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
30271         counterp to 'volatile unsigned int *'.
30272         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
30273         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
30274         (aio_suspend): Give local variable CNTR type 'unsigned int'.
30275         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
30276         Give local variable TOTAL type 'volatile unsigned int'.
30277         (struct async_waitlist): Change type of field counter to 'unsigned int'.
30279 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30281         [BZ #18383]
30282         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
30283         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
30284         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
30285         comment for i386/x86-64.
30286         (test-xfail-tst-tlsalign-extern-static): Removed.
30288 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30290         * math/test-double.h: New file.
30291         * math/test-float.h: Likewise.
30292         * math/test-ldouble.h: Likewise.
30293         * math/test-math-inline.h: Likewise.
30294         * math/test-math-no-inline.h: Likewise.
30295         * math/test-math-scalar.h: Likewise.
30296         * math/test-math-vector.h: Likewise.
30297         * math/test-vec-loop.h: Remove file.  Contents moved into
30298         test-math-vector.h.
30299         * math/libm-test.inc (MATHCONST): Do not document macro.
30300         * math/test-double.c: Include test-double.h, test-math-no-inline.h
30301         and test-math-scalar.h.
30302         (FUNC): Remove macro.
30303         (FUNC_TEST): Likewise.
30304         (FLOAT): Likewise.
30305         (MATHCONST): Likewise.
30306         (PRINTF_EXPR): Likewise.
30307         (PRINTF_XEXPR): Likewise.
30308         (PRINTF_NEXPR): Likewise.
30309         (TEST_DOUBLE): Likewise.
30310         (TEST_MATHVEC): Likewise.
30311         (__NO_MATH_INLINES): Likewise.
30312         * math/test-float.c: Include test-float.h, test-math-no-inline.h
30313         and test-math-scalar.h.
30314         (FUNC): Remove macro.
30315         (FUNC_TEST): Likewise.
30316         (FLOAT): Likewise.
30317         (MATHCONST): Likewise.
30318         (PRINTF_EXPR): Likewise.
30319         (PRINTF_XEXPR): Likewise.
30320         (PRINTF_NEXPR): Likewise.
30321         (TEST_FLOAT): Likewise.
30322         (TEST_MATHVEC): Likewise.
30323         (__NO_MATH_INLINES): Likewise.
30324         * math/test-idouble.c: Include test-double.h, test-math-inline.h
30325         and test-math-scalar.h.
30326         (FUNC): Remove macro.
30327         (FUNC_TEST): Likewise.
30328         (FLOAT): Likewise.
30329         (MATHCONST): Likewise.
30330         (PRINTF_EXPR): Likewise.
30331         (PRINTF_XEXPR): Likewise.
30332         (PRINTF_NEXPR): Likewise.
30333         (TEST_DOUBLE): Likewise.
30334         (TEST_MATHVEC): Likewise.
30335         (TEST_INLINE): Likewise.
30336         (__NO_MATH_INLINES): Likewise.
30337         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
30338         test-math-scalar.h.
30339         (FUNC): Remove macro.
30340         (FUNC_TEST): Likewise.
30341         (FLOAT): Likewise.
30342         (MATHCONST): Likewise.
30343         (PRINTF_EXPR): Likewise.
30344         (PRINTF_XEXPR): Likewise.
30345         (PRINTF_NEXPR): Likewise.
30346         (TEST_FLOAT): Likewise.
30347         (TEST_MATHVEC): Likewise.
30348         (TEST_INLINE): Likewise.
30349         (__NO_MATH_INLINES): Likewise.
30350         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
30351         and test-math-scalar.h.
30352         (FUNC): Remove macro.
30353         (FUNC_TEST): Likewise.
30354         (FLOAT): Likewise.
30355         (MATHCONST): Likewise.
30356         (PRINTF_EXPR): Likewise.
30357         (PRINTF_XEXPR): Likewise.
30358         (PRINTF_NEXPR): Likewise.
30359         (TEST_LDOUBLE): Likewise.
30360         (TEST_MATHVEC): Likewise.
30361         (TEST_INLINE): Likewise.
30362         (__NO_MATH_INLINES): Likewise.
30363         * math/test-ldouble.c: Include test-ldouble.h,
30364         test-math-no-inline.h and test-math-scalar.h.
30365         (FUNC): Remove macro.
30366         (FUNC_TEST): Likewise.
30367         (FLOAT): Likewise.
30368         (MATHCONST): Likewise.
30369         (PRINTF_EXPR): Likewise.
30370         (PRINTF_XEXPR): Likewise.
30371         (PRINTF_NEXPR): Likewise.
30372         (TEST_LDOUBLE): Likewise.
30373         (TEST_MATHVEC): Likewise.
30374         (__NO_MATH_INLINES): Likewise.
30375         * math/test-double-vlen2.h: Include test-double.h,
30376         test-math-no-inline.h and test-math-vector.h.
30377         (FLOAT): Remove macro.
30378         (FUNC): Likewise.
30379         (MATHCONST): Likewise.
30380         (PRINTF_EXPR): Likewise.
30381         (PRINTF_XEXPR): Likewise.
30382         (PRINTF_NEXPR): Likewise.
30383         (TEST_DOUBLE): Likewise.
30384         (TEST_MATHVEC): Likewise.
30385         (__NO_MATH_INLINES): Likewise.
30386         (CNCT): Likewise.
30387         (CONCAT): Likewise.
30388         (WRAPPER_NAME): Likewise.
30389         (WRAPPER_DECL): Likewise.
30390         (WRAPPER_DECL_ff): Likewise.
30391         (WRAPPER_DECL_fFF): Likewise.
30392         (VECTOR_WRAPPER): Likewise.
30393         (VECTOR_WRAPPER_ff): Likewise.
30394         (VECTOR_WRAPPER_fFF): Likewise.
30395         (VEC_LEN): New macro.
30396         * math/test-double-vlen4.h: Include test-double.h,
30397         test-math-no-inline.h and test-math-vector.h.
30398         (FLOAT): Remove macro.
30399         (FUNC): Likewise.
30400         (MATHCONST): Likewise.
30401         (PRINTF_EXPR): Likewise.
30402         (PRINTF_XEXPR): Likewise.
30403         (PRINTF_NEXPR): Likewise.
30404         (TEST_DOUBLE): Likewise.
30405         (TEST_MATHVEC): Likewise.
30406         (__NO_MATH_INLINES): Likewise.
30407         (CNCT): Likewise.
30408         (CONCAT): Likewise.
30409         (WRAPPER_NAME): Likewise.
30410         (WRAPPER_DECL): Likewise.
30411         (WRAPPER_DECL_ff): Likewise.
30412         (WRAPPER_DECL_fFF): Likewise.
30413         (VECTOR_WRAPPER): Likewise.
30414         (VECTOR_WRAPPER_ff): Likewise.
30415         (VECTOR_WRAPPER_fFF): Likewise.
30416         (VEC_LEN): New macro.
30417         * math/test-double-vlen8.h: Include test-double.h,
30418         test-math-no-inline.h and test-math-vector.h.
30419         (FLOAT): Remove macro.
30420         (FUNC): Likewise.
30421         (MATHCONST): Likewise.
30422         (PRINTF_EXPR): Likewise.
30423         (PRINTF_XEXPR): Likewise.
30424         (PRINTF_NEXPR): Likewise.
30425         (TEST_DOUBLE): Likewise.
30426         (TEST_MATHVEC): Likewise.
30427         (__NO_MATH_INLINES): Likewise.
30428         (CNCT): Likewise.
30429         (CONCAT): Likewise.
30430         (WRAPPER_NAME): Likewise.
30431         (WRAPPER_DECL): Likewise.
30432         (WRAPPER_DECL_ff): Likewise.
30433         (WRAPPER_DECL_fFF): Likewise.
30434         (VECTOR_WRAPPER): Likewise.
30435         (VECTOR_WRAPPER_ff): Likewise.
30436         (VECTOR_WRAPPER_fFF): Likewise.
30437         (VEC_LEN): New macro.
30438         * math/test-float-vlen4.h: Include test-float.h,
30439         test-math-no-inline.h and test-math-vector.h.
30440         (FLOAT): Remove macro.
30441         (FUNC): Likewise.
30442         (MATHCONST): Likewise.
30443         (PRINTF_EXPR): Likewise.
30444         (PRINTF_XEXPR): Likewise.
30445         (PRINTF_NEXPR): Likewise.
30446         (TEST_FLOAT): Likewise.
30447         (TEST_MATHVEC): Likewise.
30448         (__NO_MATH_INLINES): Likewise.
30449         (CNCT): Likewise.
30450         (CONCAT): Likewise.
30451         (WRAPPER_NAME): Likewise.
30452         (WRAPPER_DECL): Likewise.
30453         (WRAPPER_DECL_ff): Likewise.
30454         (WRAPPER_DECL_fFF): Likewise.
30455         (VECTOR_WRAPPER): Likewise.
30456         (VECTOR_WRAPPER_ff): Likewise.
30457         (VECTOR_WRAPPER_fFF): Likewise.
30458         (VEC_LEN): New macro.
30459         * math/test-float-vlen8.h: Include test-float.h,
30460         test-math-no-inline.h and test-math-vector.h.
30461         (FLOAT): Remove macro.
30462         (FUNC): Likewise.
30463         (MATHCONST): Likewise.
30464         (PRINTF_EXPR): Likewise.
30465         (PRINTF_XEXPR): Likewise.
30466         (PRINTF_NEXPR): Likewise.
30467         (TEST_FLOAT): Likewise.
30468         (TEST_MATHVEC): Likewise.
30469         (__NO_MATH_INLINES): Likewise.
30470         (CNCT): Likewise.
30471         (CONCAT): Likewise.
30472         (WRAPPER_NAME): Likewise.
30473         (WRAPPER_DECL): Likewise.
30474         (WRAPPER_DECL_ff): Likewise.
30475         (WRAPPER_DECL_fFF): Likewise.
30476         (VECTOR_WRAPPER): Likewise.
30477         (VECTOR_WRAPPER_ff): Likewise.
30478         (VECTOR_WRAPPER_fFF): Likewise.
30479         (VEC_LEN): New macro.
30480         * math/test-float-vlen16.h: Include test-float.h,
30481         test-math-no-inline.h and test-math-vector.h.
30482         (FLOAT): Remove macro.
30483         (FUNC): Likewise.
30484         (MATHCONST): Likewise.
30485         (PRINTF_EXPR): Likewise.
30486         (PRINTF_XEXPR): Likewise.
30487         (PRINTF_NEXPR): Likewise.
30488         (TEST_FLOAT): Likewise.
30489         (TEST_MATHVEC): Likewise.
30490         (__NO_MATH_INLINES): Likewise.
30491         (CNCT): Likewise.
30492         (CONCAT): Likewise.
30493         (WRAPPER_NAME): Likewise.
30494         (WRAPPER_DECL): Likewise.
30495         (WRAPPER_DECL_ff): Likewise.
30496         (WRAPPER_DECL_fFF): Likewise.
30497         (VECTOR_WRAPPER): Likewise.
30498         (VECTOR_WRAPPER_ff): Likewise.
30499         (VECTOR_WRAPPER_fFF): Likewise.
30500         (VEC_LEN): New macro.
30501         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
30502         test-vec-loop.h.
30503         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30504         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30505         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30506         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30507         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30508         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30509         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
30511 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30513         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
30514         (__getlogin_r): ... this.
30516 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30518         [BZ #18594]
30519         * math/s_ccosh.c (__ccosh): Compare with least normal value
30520         instead of comparing class with FP_SUBNORMAL.
30521         * math/s_ccoshf.c (__ccoshf): Likewise.
30522         * math/s_ccoshl.c (__ccoshl): Likewise.
30523         * math/s_cexp.c (__cexp): Likewise.
30524         * math/s_cexpf.c (__cexpf): Likewise.
30525         * math/s_cexpl.c (__cexpl): Likewise.
30526         * math/s_csin.c (__csin): Likewise.
30527         * math/s_csinf.c (__csinf): Likewise.
30528         * math/s_csinh.c (__csinh): Likewise.
30529         * math/s_csinhf.c (__csinhf): Likewise.
30530         * math/s_csinhl.c (__csinhl): Likewise.
30531         * math/s_csinl.c (__csinl): Likewise.
30532         * math/s_ctan.c (__ctan): Likewise.
30533         * math/s_ctanf.c (__ctanf): Likewise.
30534         * math/s_ctanh.c (__ctanh): Likewise.
30535         * math/s_ctanhf.c (__ctanhf): Likewise.
30536         * math/s_ctanhl.c (__ctanhl): Likewise.
30537         * math/s_ctanl.c (__ctanl): Likewise.
30538         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
30539         csin, csinh, ctan and ctanh.
30540         * math/auto-libm-test-out: Regenerated.
30541         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
30542         * sysdeps/i386/fpu/libm-test-ulps: Update.
30543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30545 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30547         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
30548         return value is wrong, print the expected value too.
30550 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30552         [BZ #18585]
30553         * elf/readlib.c (is_gdb_python_file): New.
30554         (process_file): Don't issue errors on filenames with -gdb.py
30555         suffix.
30557 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30559         * math/auto-libm-test-in: Add more tests of csin and csinh.
30560         * math/auto-libm-test-out: Regenerated.
30561         * math/libm-test.inc (csin_test_data): Remove tests moved to
30562         auto-libm-test-in.
30563         (csinh_test_data): Likewise.
30565         [BZ #18593]
30566         * math/s_csin.c (__csin): Negate before rather than after possibly
30567         overflowing multiplication.
30568         * math/s_csinf.c (__csinf): Likewise.
30569         * math/s_csinh.c (__csinh): Likewise.
30570         * math/s_csinhf.c (__csinhf): Likewise.
30571         * math/s_csinhl.c (__csinhl): Likewise.
30572         * math/s_csinl.c (__csinl): Likewise.
30573         * math/auto-libm-test-in: Add some tests of csin and csinh.
30574         * math/auto-libm-test-out: Regenerated.
30575         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
30576         (csinh_test_data): Likewise.
30577         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30579         [BZ #18586]
30580         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
30581         underflow exception for small results.
30583 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30585         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
30586         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
30587         variable and included header.
30588         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
30589         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
30590         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
30591         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
30592         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
30593         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
30594         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
30595         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
30596         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
30597         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
30598         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
30599         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
30600         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
30601         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
30602         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
30603         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
30605 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
30607         [BZ #16526]
30608         [BZ #16538]
30609         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
30610         (__sin): Force underflow exception for arguments with small
30611         absolute value.
30612         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
30613         (__kernel_sinf): Force underflow exception for arguments with
30614         small absolute value.
30615         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
30616         (__kernel_sincosl): Force underflow exception for arguments with
30617         small absolute value.
30618         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
30619         (__kernel_sinl): Force underflow exception for arguments with
30620         small absolute value.
30621         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
30622         (__kernel_sincosl): Force underflow exception for arguments with
30623         small absolute value.
30624         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
30625         (__kernel_sinl): Force underflow exception for arguments with
30626         small absolute value.
30627         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
30628         (__kernel_sinl): Force underflow exception for arguments with
30629         small absolute value.
30630         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
30631         (__kernel_sinf): Force underflow exception for arguments with
30632         small absolute value.
30633         * math/auto-libm-test-in: Add more tests of sin and sincos.
30634         * math/auto-libm-test-out: Regenerated.
30636         [BZ #18245]
30637         [BZ #18583]
30638         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
30639         (__kernel_standard_l): Use feholdexcept and fesetenv around
30640         conversion to double instead of special-casing overflow and
30641         underflow.
30642         * math/libm-test.inc (fmod_test_data): Add more tests.
30643         (remainder_test_data): Likewise.
30644         (sqrt_test_data): Likewise.
30646 2015-06-23  Torvald Riegel  <triegel@redhat.com>
30648         [BZ #17403]
30649         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
30650         atomic_read_barrier, atomic_write_barrier): Define.
30651         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
30652         atomic_read_barrier, atomic_write_barrier): Define.
30654 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
30656         * math/Makefile [$(PERL) != no]
30657         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
30658         dependency on libm-test.stmp below the inclusion of Rules.
30660 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
30662         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
30663         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
30664         and included header.
30665         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
30666         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
30667         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
30668         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
30669         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
30670         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
30671         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
30672         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
30673         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
30674         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
30675         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
30676         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
30677         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
30678         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
30679         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
30680         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
30681         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
30682         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
30683         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
30685 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
30687         [BZ #18371]
30688         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
30689         intermediate but not final result might underflow.
30690         * math/s_csqrtf.c (__csqrtf): Likewise.
30691         * math/s_csqrtl.c (__csqrtl): Likewise.
30692         * math/auto-libm-test-in: Add more tests of csqrt.
30693         * math/auto-libm-test-out: Regenerated.
30694         * sysdeps/i386/fpu/libm-test-ulps: Update.
30696         [BZ #18219]
30697         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
30698         threshold on absolute value of exponent for which scaling is used.
30699         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
30700         * math/auto-libm-test-in: Add more tests of exp2.
30701         * math/auto-libm-test-out: Regenerated.
30703 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
30705         [BZ #17977]
30706         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
30707         when initializing interface list, based on the bug analysis
30708         and the patch proposed by Eric Newton.
30709         * resolv/tst-res_hconf_reorder.c: New test.
30710         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
30711         tst-res_hconf_reorder.
30712         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
30713         and $(shared-thread-library).
30714         (tst-res_hconf_reorder-ENV): New variable.
30716         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
30717         in comment.
30719 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
30721         [BZ #16353]
30722         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
30723         (__expm1): Force underflow exception for arguments with small
30724         absolute value.
30725         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
30726         (__expm1f): Force underflow exception for arguments with small
30727         absolute value.
30728         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
30729         (__expm1): Force underflow exception for arguments with small
30730         absolute value.
30731         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
30732         (__expm1f): Force underflow exception for arguments with small
30733         absolute value.
30734         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30735         Check for small arguments before calling __expm1.
30736         * math/auto-libm-test-in: Do not mark underflow exceptions as
30737         possibly missing for bug 16353.
30738         * math/auto-libm-test-out: Regenerated.
30740 2015-06-22  Andreas Schwab  <schwab@suse.de>
30742         [BZ #18513]
30743         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
30744         PTR queries.
30746 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
30748         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
30750         * string/strcoll_l.c: Remove unused struct element idxnow.
30752 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
30754         [BZ #18569]
30755         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
30756         underflow and return argument in case of subnormal argument.
30757         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30758         Likewise.
30759         * math/auto-libm-test-in: Add more tests of expm1.
30760         * math/auto-libm-test-out: Regenerated.
30762         [BZ #16361]
30763         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
30764         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
30765         tiny results.
30766         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
30767         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
30768         tiny results.
30769         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
30770         mark underflow exceptions as possibly missing for bug 16361.
30771         * math/auto-libm-test-out: Regenerated.
30773 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
30775         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
30776         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
30777         Remove variable.
30778         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
30779         (test-xfail-XOPEN2K8/utmpx.h/conform).
30781         * conform/conformtest.pl ($xerrors): New variable.
30782         (note_error): New function.
30783         (compiletest): New argument $xfail.  Use not_error.
30784         (runtest): Likewise.
30785         (top level): Handle xfail- lines.  Update calls to compiletest and
30786         runtest.  Handle xfail- and optional- in headers listed with
30787         allow-header.
30788         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
30789         (O_EXEC): Likewise.
30790         (O_SEARCH): Likewise.
30791         * conform/data/stropts.h-data (ioctl): Likewise.
30792         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
30793         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
30794         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
30795         (msghdr.msg_controllen): Likewise.
30796         (cmsghdr.cmsg_len): Likewise.
30797         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
30798         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
30799         variable.
30800         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30801         (test-xfail-XPG4/stropts.h/conform): Likewise.
30802         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30803         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30804         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30805         (test-xfail-UNIX98/stropts.h/conform): Likewise.
30806         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30807         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30808         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30809         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30810         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30811         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30812         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30813         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30814         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30815         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30816         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30817         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30818         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30819         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30820         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30822 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
30824         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
30825         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
30826         definitions for proper unfolding of __MATHDECL_VEC.
30828 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
30830         * benchtests/bench-strcoll.c:
30831         Include string.h.
30832         (main): Remove unused variable res.
30834 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
30836         * timezone/Makefile (%/UTC %/Universal):
30837         Generate test-result files for UTC and Universal.
30839 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
30841         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30843 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
30845         [BZ #16350]
30846         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
30847         for arguments with small absolute value.
30848         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
30849         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
30850         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
30851         (__asinh): Force underflow exception for arguments with small
30852         absolute value.
30853         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
30854         (__asinhf): Force underflow exception for arguments with small
30855         absolute value.
30856         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
30857         (__asinhl): Force underflow exception for arguments with small
30858         absolute value.
30859         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
30860         (__asinhl): Force underflow exception for arguments with small
30861         absolute value.
30862         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
30863         (__asinhl): Force underflow exception for arguments with small
30864         absolute value.
30865         * math/auto-libm-test-in: Do not mark underflow exceptions as
30866         possibly missing for bug 16350.
30867         * math/auto-libm-test-out: Regenerated.
30869         * include/bits/ipc.h: Remove file.
30870         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
30871         variable.
30872         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30873         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30874         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30875         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30876         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30877         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30878         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30879         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30880         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30882         * math/auto-libm-test-in: Remove spurious underflow allowance for
30883         tests of cexp.
30884         * math/auto-libm-test-out: Regenerated.
30886         [BZ #18558]
30887         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
30888         unconditional definition.
30889         (MCAST_BLOCK_SOURCE): Likewise.
30890         (MCAST_UNBLOCK_SOURCE): Likewise.
30891         (MCAST_LEAVE_GROUP): Likewise.
30892         (MCAST_JOIN_SOURCE_GROUP): Likewise.
30893         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
30894         (MCAST_MSFILTER): Likewise.
30895         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
30896         Remove variable.
30897         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30898         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30899         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30900         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30901         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30903 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
30905         * NEWS: Mention addition of x86_64 vector sincosf.
30906         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
30907         * math/test-float-vlen4.h: Likewise.
30908         * math/test-float-vlen8.h: Likewise.
30909         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30910         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
30911         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30912         * sysdeps/x86_64/fpu/Versions: New versions added.
30913         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30914         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30915         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30916         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
30917         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
30918         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
30919         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
30920         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
30921         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
30922         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
30923         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
30924         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
30925         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
30926         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
30927         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
30928         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
30929         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
30930         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
30931         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30932         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30933         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30934         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30935         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30936         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30938         * NEWS: Mention addition of x86_64 vector sincos.
30939         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
30940         * math/math.h (__MATHDECL_VEC): New macro.
30941         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
30942         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
30943         declaration under condition.
30944         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
30945         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
30946         TEST_VEC_LOOP change.
30947         * math/test-double-vlen4.h: Likewise.
30948         * math/test-double-vlen8.h: Likewise.
30949         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
30950         * math/test-float-vlen4.h: Likewise.
30951         * math/test-float-vlen8.h: Likewise.
30952         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30953         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
30954         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30955         * sysdeps/x86_64/fpu/Versions: New versions added.
30956         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30957         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30958         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30959         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
30960         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
30961         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
30962         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
30963         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
30964         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
30965         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
30966         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
30967         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
30968         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
30969         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
30970         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
30971         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
30972         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
30973         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30974         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30975         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30976         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30977         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30978         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30979         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30981         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30982         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30983         redirections for powf.
30984         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30985         * sysdeps/x86_64/fpu/Versions: New versions added.
30986         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30987         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30988         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30989         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
30990         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
30991         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
30992         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
30993         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
30994         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
30995         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
30996         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
30997         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
30998         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
30999         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
31000         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
31001         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
31002         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
31003         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31004         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31005         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31006         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31007         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31008         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31009         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31010         * math/test-float-vlen16.h: Fixed 2 argument macro.
31011         * math/test-float-vlen4.h: Likewise.
31012         * math/test-float-vlen8.h: Likewise.
31013         * NEWS: Mention addition of x86_64 vector powf.
31015 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
31017         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31018         and redefine.
31019         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31020         and redefine.
31021         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
31022         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31023         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31025         [BZ #18553]
31026         * resource/getpriority.c (getpriority): Rename to __getpriority
31027         and define as weak alias of __getpriority.
31028         * resource/setpriority.c (setpriority): Rename to __setpriority
31029         and define as weak alias of __setpriority.
31030         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
31031         __getpriority and define as weak alias of __getpriority.
31032         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
31033         __setpriority and define as weak alias of __setpriority.
31034         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
31035         strong name.
31036         (setpriority): Use __setpriority as strong name.
31037         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
31038         __getpriority and define as weak alias of __getpriority.
31039         * include/sys/resource.h (__getpriority): Declare.  Use
31040         libc_hidden_proto.
31041         (__setpriority): Likewise.
31042         (getpriority): Don't use libc_hidden_proto.
31043         (setpriority): Likewise.
31044         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
31045         getpriority.  Call __setpriority instead of setpriority.
31046         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
31047         Remove variable.
31049         [BZ #18547]
31050         * misc/getttyent.c (getttynam): Rename to __getttynam and define
31051         as weak alias of __getttynam.  Use prototype function definition.
31052         Call __setttyent, __getttyent and __endttyent instead of
31053         setttyent, getttyent and endttyent.
31054         (getttyent): Rename to __getttyent and define as weak alias of
31055         __getttyent.  Call __setttyent instead of setttyent.  Call
31056         __fgets_unlocked instead of fgets_unlocked.
31057         (setttyent): Rename to __setttyent and define as weak alias of
31058         __setttyent.
31059         (endttyent): Rename to __endttyent and define as weak alias of
31060         __endttyent.
31061         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
31062         (__setttyent): Likewise.
31063         (__endttyent): Likewise.
31064         (getttyent): Don't use libc_hidden_proto.
31065         (setttyent): Likewise.
31066         (endttyent): Likewise.
31067         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
31068         __endttyent instead of setttyent, getttyent and endttyent.
31069         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
31070         Remove variable.
31072         [BZ #18546]
31073         * socket/recv.c (__recv): Use libc_hidden_def.
31074         * socket/socket.c (__socket): Likewise.
31075         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
31076         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
31077         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
31078         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
31079         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
31080         libc_hidden_def.
31081         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
31082         libc_hidden_weak.
31083         * include/sys/socket.h (__socket): Do not use attribute_hidden.
31084         Use libc_hidden_proto.
31085         (__recv): Likewise.
31086         * socket/Versions (libc): Export __recv and __socket at version
31087         GLIBC_PRIVATE.
31088         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
31089         instead of recv.
31090         (init_mq_netlink): Call __socket instead of socket.
31091         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
31092         Remove variable.
31094         [BZ #18545]
31095         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
31096         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
31097         hidden_weak.
31098         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
31099         define as alias of __mq_timedsend.  Use hidden_weak.
31100         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
31101         __mq_timedsend as strong name.
31102         (mq_timedreceive): Use __mq_timedreceive as strong name.
31103         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
31104         (__mq_timedreceive): Likewise.
31105         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
31106         __mq_timedreceive instead of mq_timedreceive.
31107         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
31108         instead of mq_timedsend.
31109         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
31110         Remove variable.
31112         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
31113         hidden_def and hidden_weak instead of libc_hidden_def and
31114         libc_hidden_weak.
31115         (top level): Refer to hidden_def in comment.
31116         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
31117         macro.  Use it instead of libc_hidden_def.
31118         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
31119         specify __GI_* name explicitly.
31120         (mq_timedreceive): Likewise.
31121         (mq_setattr): Likewise.
31123         [BZ #18544]
31124         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
31125         __pthread_barrier_init and define as weak alias of
31126         __pthread_barrier_init.
31127         * sysdeps/sparc/nptl/pthread_barrier_init.c
31128         (pthread_barrier_init): Likewise.
31129         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
31130         __pthread_barrier_wait and define as weak alias of
31131         __pthread_barrier_wait.
31132         * sysdeps/sparc/nptl/pthread_barrier_wait.c
31133         (pthread_barrier_wait): Likewise.
31134         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
31135         (pthread_barrier_wait): Likewise.
31136         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
31137         (pthread_barrier_wait): Likewise.
31138         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
31139         (pthread_barrier_wait): Likewise.
31140         * nptl/Versions (libpthread): Export __pthread_barrier_init and
31141         __pthread_barrier_wait at version GLIBC_PRIVATE.
31142         * include/pthread.h (__pthread_barrier_init): Declare.
31143         (__pthread_barrier_wait): Likewise.
31144         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
31145         Call __pthread_barrier_wait instead of pthread_barrier_wait.
31146         (helper_thread): Likewise.
31147         (init_mq_netlink): Call __pthread_barrier_init instead of
31148         pthread_barrier_init.
31150         [BZ #18542]
31151         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
31152         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
31153         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
31154         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
31155         vswscanf.
31156         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
31157         Remove variable.
31159         [BZ #18540]
31160         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
31161         strong alias of _IO_fflush.  Use libc_hidden_def.
31162         * libio/iofflush_u.c (fflush_unlocked): Rename to
31163         __fflush_unlocked and define as weak alias of __fflush_unlocked.
31164         Use libc_hidden_weak.
31165         * include/stdio.h (__fflush_unlocked): Declare.  Use
31166         libc_hidden_proto.
31167         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
31168         fflush_unlocked.
31169         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
31170         Remove variable.
31172         [BZ #18539]
31173         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
31174         define as weak alias of __addseverity.
31175         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
31176         Remove variable.
31177         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31178         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31179         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31181         [BZ #18536]
31182         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
31183         (__tfind): Likewise.
31184         (__tdelete): Likewise.
31185         (__twalk): Likewise.
31186         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
31187         __twalk to GLIBC_PRIVATE.
31188         * include/search.h (__tsearch): Use libc_hidden_proto.
31189         (__tfind): Likewise.
31190         (__tdelete): Likewise.
31191         (__twalk): Likewise.
31192         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
31193         Call __tdelete instead of tdelete.
31194         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
31195         tfind.  Call __tsearch instead of tsearch.
31196         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
31197         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
31198         Remove variable.
31199         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31201         [BZ #18534]
31202         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
31203         (dprintf): Define as a weak alias of __dprintf, not a strong
31204         alias.
31205         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
31206         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
31207         dprintf.
31208         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
31209         Remove variable.
31210         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31211         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31213         [BZ #18533]
31214         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
31215         not a strong alias.
31216         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
31217         Remove variable.
31219         [BZ #18532]
31220         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
31221         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
31222         (in6addr_loopback): Rename to __in6addr_loopback and define as
31223         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
31224         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
31225         libc_hidden_proto.
31226         (__in6addr_any): Likewise.
31227         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
31228         in6addr_any.
31229         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
31230         variable.
31231         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31233 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
31235         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
31236         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
31237         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31238         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31239         redirections for pow.
31240         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31241         * sysdeps/x86_64/fpu/Versions: New versions added.
31242         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31243         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31244         build of SSE, AVX2 and AVX512 IFUNC versions.
31245         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
31246         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
31247         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
31248         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
31249         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
31250         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
31251         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
31252         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
31253         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
31254         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
31255         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
31256         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
31257         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
31258         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
31259         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31260         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31261         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31262         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31263         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31264         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31265         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31266         * NEWS: Mention addition of x86_64 vector pow.
31268         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31269         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31270         redirections for expf.
31271         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31272         * sysdeps/x86_64/fpu/Versions: New versions added.
31273         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31274         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31275         build of SSE, AVX2 and AVX512 IFUNC versions.
31276         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
31277         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
31278         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
31279         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
31280         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
31281         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
31282         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
31283         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
31284         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
31285         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
31286         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
31287         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
31288         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
31289         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31290         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31291         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31292         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31293         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31294         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31295         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31296         * NEWS: Mention addition of x86_64 vector expf.
31298         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
31299         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
31300         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31301         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31302         redirections for exp.
31303         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31304         * sysdeps/x86_64/fpu/Versions: New versions added.
31305         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31306         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31307         build of SSE, AVX2 and AVX512 IFUNC versions.
31308         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
31309         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
31310         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
31311         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
31312         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
31313         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
31314         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
31315         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
31316         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
31317         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
31318         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
31319         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
31320         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
31321         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31322         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31323         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31324         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31325         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31326         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31327         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31328         * NEWS: Mention addition of x86_64 vector exp.
31330         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31331         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31332         redirections for logf.
31333         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31334         * sysdeps/x86_64/fpu/Versions: New versions added.
31335         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31336         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31337         build of SSE, AVX2 and AVX512 IFUNC versions.
31338         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
31339         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
31340         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
31341         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
31342         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
31343         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
31344         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
31345         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
31346         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
31347         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
31348         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
31349         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
31350         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
31351         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31352         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31353         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31354         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31355         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31356         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31357         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31358         * NEWS: Mention addition of x86_64 vector logf.
31360         * bits/libm-simd-decl-stubs.h: Added stubs for log.
31361         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
31362         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31363         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31364         redirections for log.
31365         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31366         * sysdeps/x86_64/fpu/Versions: New versions added.
31367         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31368         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31369         build of SSE, AVX2 and AVX512 IFUNC versions.
31370         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
31371         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
31372         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
31373         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
31374         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
31375         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
31376         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
31377         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
31378         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
31379         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
31380         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
31381         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
31382         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
31383         test.
31384         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31385         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31386         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31387         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31388         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31389         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31390         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31391         * NEWS: Mention addition of x86_64 vector log.
31393 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31395         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
31396         cfi_adjust_cfa_offset argument.
31397         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
31398         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
31400         [BZ #18034]
31401         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
31402         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
31403         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
31404         ordering using ldar.
31405         (_dl_tlsdesc_dynamic): Likewise.
31406         (_dl_tlsdesc_return_lazy): Likewise.
31407         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
31408         relaxed atomics instead of volatile and synchronize with release store.
31409         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
31410         volatile.
31411         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31413 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
31415         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31416         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
31417         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31418         * sysdeps/x86_64/fpu/Versions: New versions added.
31419         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31420         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31421         build of SSE, AVX2 and AVX512 IFUNC versions.
31422         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
31423         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
31424         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
31425         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
31426         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
31427         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
31428         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
31429         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
31430         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
31431         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
31432         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
31433         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
31434         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
31435         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31436         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31437         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31438         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31439         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31440         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31441         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31442         * NEWS: Mention addition of x86_64 vector sinf.
31444 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
31446         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
31447         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
31448         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
31449         Remove variable.
31450         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31451         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31453 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
31455         [BZ #18530]
31456         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
31457         strong alias of _IO_fputs.  Use libc_hidden_def.
31458         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
31459         and define as weak alias of __fputs_unlocked.  Use
31460         libc_hidden_weak.
31461         * include/stdio.h (__fputs_unlocked): Declare.  Use
31462         libc_hidden_proto.
31463         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
31464         fputs_unlocked.
31466         [BZ #18529]
31467         * resolv/netdb.h [__USE_POSIX]: Change condition to
31468         [__USE_XOPEN2K].
31469         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
31470         not expect.
31471         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
31472         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
31473         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
31474         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
31475         [XPG4 || UNIX98] (AI_ALL): Likewise.
31476         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
31477         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
31478         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
31479         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
31480         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
31481         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
31482         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
31483         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
31484         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
31485         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
31486         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
31487         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
31488         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
31489         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
31490         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
31491         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
31492         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
31493         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
31494         [XPG4 || UNIX98] (gai_strerror): Likewise.
31495         [XPG4 || UNIX98] (getaddrinfo): Likewise.
31496         [XPG4 || UNIX98] (getnameinfo): Likewise.
31498         [BZ #18528]
31499         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
31500         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
31501         __USE_XOPEN2K8].
31502         (getgrent): Likewise.
31503         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
31504         expect.
31505         [XPG3 || POSIX2008] (endgrent): Likewise.
31506         [XPG3] (setgrent): Likewise.
31507         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
31508         variable.
31509         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31511         [BZ #18527]
31512         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
31513         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
31514         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
31515         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
31516         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
31517         * include/unistd.h (__getlogin_r): Declare.  Use
31518         libc_hidden_proto.
31519         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
31520         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
31521         variable.
31522         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31523         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31524         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31526 2015-06-12  Martin Sebor  <msebor@redhat.com>
31528         [BZ #18512]
31529         * Makerules (check-install-supported): New target.
31530         (install): Add check-install-supported as a dependency.
31531         * manual/install.texi (Installing the C Library): Document
31532         that overriding prefix and exec_prefix is not supported.
31533         Mention DESTDIR.
31534         * INSTALL: Regenerate from the above.
31536 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
31538         [BZ #18519]
31539         * posix/Versions (libc): Export __libc_pread at version
31540         GLIBC_PRIVATE.
31541         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
31542         instead of pread.
31543         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
31544         variable.
31546         [BZ #18522]
31547         * misc/efgcvt_r.c
31548         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
31549         (cvt_symbol): Use weak_alias instead of strong_alias.
31550         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
31551         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
31552         Remove variable.
31553         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31554         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31556         [BZ #18520]
31557         * inet/herrno.c (h_errno): Rename to __h_errno.
31558         (__libc_h_errno): Define as alias of __h_errno not h_errno.
31559         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
31560         to __h_errno instead of h_errno.
31561         * nptl/herrno.c (h_errno): Rename to __h_errno.
31562         (__h_errno_location): Refer to __h_errno not h_errno.
31563         * resolv/Versions (h_errno): Rename to __h_errno.
31564         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
31565         Remove variable.
31566         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31568 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
31570         * configure.ac: More strict check for AVX512 assembler support.
31571         * configure: Regenerated.
31573         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
31574         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
31575         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31576         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
31577         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31578         * sysdeps/x86_64/fpu/Versions: New versions added.
31579         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31580         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31581         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31582         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
31583         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
31584         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
31585         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
31586         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
31587         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
31588         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
31589         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
31590         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
31591         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
31592         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
31593         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
31594         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
31595         test.
31596         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31597         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31598         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31599         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31600         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31601         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31602         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31603         * NEWS: Mention addition of x86_64 vector sin.
31605 2015-06-11  Florian Weimer  <fweimer@redhat.com>
31607         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
31608         comment.
31610 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
31612         [BZ #18479]
31613         * nptl/pt-interp.c: New file.
31614         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
31615         Add pt-interp.
31616         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
31617         $(common-objpfx)runtime-linker.h.
31619 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
31621         * Makeconfig (+interp): Remove unused variable.
31622         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
31623         only.  Depend on $(common-objpfx)runtime-linker.h instead of
31624         $(elf-objpfx)runtime-linker.h.
31625         ($(elf-objpfx)runtime-linker.h): Rename to
31626         $(common-objpfx)runtime-linker.h and move ...
31627         * Makerules [$(build-shared) = yes]: ... here.
31628         * elf/interp.c: Include <runtime-linker.h> instead of
31629         <elf/runtime-linker.h>.
31631 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31633         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
31634         (__gettimeofday_syscall): Remove vsyscall fallback.
31635         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
31636         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
31637         Add syscall fallback function.
31638         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
31639         if vDSO is not present.
31640         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
31641         fallback function.
31642         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
31643         present.
31644         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
31645         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31647 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
31649         [BZ #18497]
31650         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
31651         of wcscmp.
31652         (wcscmp): Define as weak alias of WCSCMP.
31653         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
31654         wcscoll.
31655         (USE_HIDDEN_DEF): Define.
31656         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
31657         __wcscoll.  Don't use libc_hidden_weak.
31658         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
31659         wcscmp.
31660         * sysdeps/i386/i686/multiarch/wcscmp-c.c
31661         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
31662         __GI_wcscmp.
31663         (weak_alias): Undefine and redefine.
31664         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
31665         __wcscmp and define as weak alias of __wcscmp.
31666         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
31667         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
31668         (__wcscoll): Likewise.
31669         (wcscmp): Don't use libc_hidden_proto.
31670         (wcscoll): Likewise.
31671         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
31672         wcscoll.
31673         * posix/regexec.c (check_node_accept_bytes): Likewise.
31674         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
31675         variable.
31676         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31677         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31679         [BZ #18507]
31680         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
31681         __fstatvfs and define as weak alias of __fstatvfs.  Use
31682         libc_hidden_weak.
31683         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
31684         and define as weak alias of __statvfs.  Use libc_hidden_weak.
31685         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
31686         Define as alias of __fstatvfs, not fstatvfs.
31687         (fstatvfs64): Likewise.
31688         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
31689         Define as alias of __statvfs, not statvfs.
31690         (statvfs64): Likewise.
31691         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
31692         Remove variable.
31694 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31697         (HAVE_GETCPU_VSYSCALL): Define.
31698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31699         (HAVE_GETCPU_VSYSCALL): Likewise.
31700         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
31701         * sysdeps/unix/sysv/linux/sched_getcpu.c
31702         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
31703         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
31704         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
31705         prototype.
31706         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31707         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
31708         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
31709         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
31710         Define.
31711         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
31712         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31713         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
31714         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31716 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
31718         * sysdeps/x86_64/fpu/Makefile: New file.
31719         * sysdeps/x86_64/fpu/Versions: New file.
31720         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
31721         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
31722         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
31723         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
31724         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
31725         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
31726         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
31727         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
31728         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
31729         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
31730         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
31731         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
31732         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
31733         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31734         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31735         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
31736         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
31737         * sysdeps/x86_64/configure.ac: Options for libmvec build.
31738         * sysdeps/x86_64/configure: Regenerated.
31739         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
31740         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
31741         * manual/install.texi (Configuring and compiling): Document
31742         --disable-mathvec.
31743         * INSTALL: Regenerated.
31744         * NEWS: Mention addition of libmvec and x86_64 vector cos.
31746         * math/Makefile: Added rules for vector tests.
31747         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
31748         declaration under condition.
31749         * math/test-double-vlen2.h: New file.
31750         * math/test-double-vlen4.h: New file.
31751         * math/test-double-vlen8.h: New file.
31752         * math/test-vec-loop.h: Added initialization macro.
31753         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
31754         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
31755         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
31756         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
31757         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
31758         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
31759         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
31760         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
31761         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
31762         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
31763         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
31765         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31766         * sysdeps/x86_64/fpu/Versions: New versions added.
31767         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
31768         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
31769         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
31770         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
31771         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
31772         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
31773         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
31774         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
31775         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
31776         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
31777         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
31778         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
31779         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
31780         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31781         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31782         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31783         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
31784         * NEWS: Mention addition of x86_64 vector cosf.
31786         * math/Makefile: Added CFLAGS for new tests.
31787         * math/test-float-vlen16.h: New file.
31788         * math/test-float-vlen4.h: New file.
31789         * math/test-float-vlen8.h: New file.
31790         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
31791         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
31792         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31793         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
31794         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
31795         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
31796         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
31797         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
31798         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
31799         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
31800         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
31802 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
31804         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
31805         * locale/programs/ld-ctype.c: Likewise.
31807 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
31809         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
31810         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
31811         bit_ZMM16_31_state): New macro.
31812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31813         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
31815 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
31817         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
31819 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
31821         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
31823 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
31825         [BZ #18498]
31826         * libio/memstream.c (open_memstream): Rename to __open_memstream
31827         and define as weak alias of __open_memstream.
31828         * include/stdio.h (__open_memstream): Declare.  Use
31829         libc_hidden_proto.
31830         (open_memstream): Don't use libc_hidden_proto.
31831         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
31832         open_memstream.
31833         * posix/getopt.c (_getopt_internal_r): Likewise.
31834         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
31835         variable.
31836         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31837         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31838         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31840         [BZ #18496]
31841         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
31842         instead of wcrtomb.
31844         [BZ #18483]
31845         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
31846         [__USE_XOPEN2K8].  Remove redundant #endif.
31847         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
31848         Remove redundant #if.
31849         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
31850         Remove variable.
31851         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31852         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31854         [BZ #18495]
31855         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
31856         (__iswlower): Likewise.
31857         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
31858         (__iswlower): Likewise.
31859         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
31860         instead of towlower.
31861         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
31862         instead of iswlower.  Call __towupper instead of towupper.
31863         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
31864         instead of iswalnum.
31866 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31868         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
31869         errors to stderr.
31871 2015-06-05  Florian Weimer  <fweimer@redhat.com>
31873         [BZ #15661]
31874         [BZ #17322]
31875         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31876         Check for overflow properly.  Check for O_APPEND.  Ignore large
31877         file system block sizes.  Add comments about problems.
31878         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
31879         * manual/filesys.texi (Storage Allocation): New node.
31881 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31883         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
31884         cancellable syscalls.
31885         (SYS_ify): Add guard to no redefine it.
31886         (INLINE_SYSCALL): Likewise.
31887         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
31888         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
31889         SYSCALL_CANCEL instead.
31890         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
31891         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
31892         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
31893         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
31894         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
31895         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
31896         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
31897         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
31898         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
31899         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
31900         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
31901         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
31902         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
31903         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
31904         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
31905         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
31906         Likewise.
31907         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
31908         (__libc_pread64): Likewise.
31909         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
31910         (__libc_preadv): Likewise.
31911         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
31912         (__libc_readv64): Likewise.
31913         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
31914         (__libc_pwrite): Likewise.
31915         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
31916         (__libc_pwrite64): Likewise.
31917         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
31918         (__libc_pwritev): Likewise.
31919         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
31920         (__libc_pwritev64): Likewise.
31921         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
31922         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
31923         (sync_file_range): Likewise.
31924         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
31925         Likewise.
31926         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
31927         Likewise.
31928         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
31929         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
31930         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
31931         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
31932         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
31933         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
31934         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
31935         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
31936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
31937         Likewise.
31938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31939         (__libc_read64): Likewise.
31940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
31941         Likewise.
31942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
31943         Likewise.
31944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
31945         Likewise.
31946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
31947         Likewise.
31948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31949         (__libc_pread64): Likewise.
31950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
31951         Likewise.
31952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31953         (__libc_pwrite64): Likewise.
31954         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
31955         (sync_file_range): Likewise.
31956         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
31957         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
31958         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
31959         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
31960         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
31961         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
31962         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
31963         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
31964         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
31965         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31966         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31967         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
31968         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
31969         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
31970         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
31971         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
31972         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
31973         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
31974         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
31975         Likewise.
31976         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
31977         Likewise.
31978         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
31979         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
31980         Likewise.
31981         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
31982         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
31983         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
31984         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
31985         Likewise.
31986         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
31987         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
31988         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
31989         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
31990         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
31992 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
31994         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
31995         Include dl-vdso.
31996         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
31997         Use VDSO routines for gettimeofday, clock_gettime if
31998         available.
31999         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
32000         Declare VDSO symbols.
32001         * sysdeps/unix/sysv/linux/arm/sysdep.h:
32002         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
32003         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32004         * sysdeps/unix/sysv/linux/arm/Versions: Add
32005         __vdso_clock_gettime.
32007 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32009         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
32010         be an inline implementation regardless of library is built within.
32011         (open_not_cancel_2): Likewise.
32012         (__read_nocancel): Likewise.
32013         (__write_nocancel): Likewise.
32014         (openat_not_cancel): Likewise.
32015         (openat_not_cancel_3): Likewise.
32016         (openat64_not_cancel): Likewise.
32017         (openat64_not_cancel_3): Likewise.
32018         (__close_nocancel): Likewise.
32019         (pause_not_cancel): Likewise.
32020         (nanosleep_not_cancel): Likewise.
32021         (sigsuspend_not_cancel): Likewise.
32023 2015-06-04  Torvald Riegel  <triegel@redhat.com>
32025         [BZ #14958]
32026         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
32027         wake-up.
32028         (__pthread_rwlock_rdlock_slow): Likewise.
32029         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32030         Likewise.
32031         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32032         Likewise.
32033         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
32034         * nptl/tst-rwlock16.c: New file.
32035         * nptl/Makefile (tests): Add new test.
32037 2015-06-04  Torvald Riegel  <triegel@redhat.com>
32039         [BZ #18324]
32040         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
32041         missing wake-up of readers.
32042         * nptl/tst-rwlock15.c: New file.
32043         * nptl/Makefile (tests): Add new test.
32045 2015-06-03  Roland McGrath  <roland@hack.frob.com>
32047         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
32048         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
32049         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
32050         and __nacl_supply_interface_rtld.
32051         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
32052         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
32053         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
32054         Add __nacl_supply_interface_rtld.
32055         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
32057 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
32059         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
32060         isfinite.
32061         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32062         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
32064 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
32066         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
32067         __signbit* with standard C99 macros.
32068         * math/e_exp10l.c: Likewise.
32069         * math/e_exp2l.c: Likewise.
32070         * math/e_scalb.c: Likewise.
32071         * math/e_scalbf.c: Likewise.
32072         * math/e_scalbl.c: Likewise.
32073         * math/s_ldexp.c: Likewise.
32074         * math/s_ldexpf.c: Likewise.
32075         * math/s_ldexpl.c: Likewise.
32076         * math/w_atan2.c: Likewise.
32077         * math/w_atan2f.c: Likewise.
32078         * math/w_atan2l.c: Likewise.
32079         * math/w_cosh.c: Likewise.
32080         * math/w_coshf.c: Likewise.
32081         * math/w_coshl.c: Likewise.
32082         * math/w_exp10.c: Likewise.
32083         * math/w_exp10f.c: Likewise.
32084         * math/w_exp10l.c: Likewise.
32085         * math/w_exp2.c: Likewise.
32086         * math/w_exp2f.c: Likewise.
32087         * math/w_exp2l.c: Likewise.
32088         * math/w_fmod.c: Likewise.
32089         * math/w_fmodf.c: Likewise.
32090         * math/w_fmodl.c: Likewise.
32091         * math/w_hypot.c: Likewise.
32092         * math/w_hypotf.c: Likewise.
32093         * math/w_hypotl.c: Likewise.
32094         * math/w_jnl.c: Likewise.
32095         * math/w_lgamma.c: Likewise.
32096         * math/w_lgamma_r.c: Likewise.
32097         * math/w_lgammaf.c: Likewise.
32098         * math/w_lgammaf_r.c: Likewise.
32099         * math/w_lgammal.c: Likewise.
32100         * math/w_lgammal_r.c: Likewise.
32101         * math/w_pow.c: Likewise.
32102         * math/w_powf.c: Likewise.
32103         * math/w_powl.c: Likewise.
32104         * math/w_remainder.c: Likewise.
32105         * math/w_remainderf.c: Likewise.
32106         * math/w_remainderl.c: Likewise.
32107         * math/w_scalb.c: Likewise.
32108         * math/w_scalbf.c: Likewise.
32109         * math/w_scalbl.c: Likewise.
32110         * math/w_scalbln.c: Likewise.
32111         * math/w_scalblnf.c: Likewise.
32112         * math/w_scalblnl.c: Likewise.
32113         * math/w_sinh.c: Likewise.
32114         * math/w_sinhf.c: Likewise.
32115         * math/w_sinhl.c: Likewise.
32116         * math/w_tgamma.c: Likewise.
32117         * math/w_tgammaf.c: Likewise.
32118         * math/w_tgammal.c: Likewise.
32119         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32120         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
32121         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32122         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32123         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32124         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32125         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32126         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32127         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32128         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32129         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32130         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32131         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32132         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32133         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32134         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32135         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32136         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32137         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32138         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32139         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32140         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32141         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32142         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32143         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32144         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32145         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
32146         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32147         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32148         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32149         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
32150         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
32151         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
32152         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
32153         * stdio-common/printf_fp.c: Likewise.
32154         * stdio-common/printf_fphex.c: Likewise.
32155         * stdio-common/printf_size.c: Likewise.
32157 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
32159         [BZ #18470]
32160         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
32161         strnlen.
32162         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
32163         Remove variable.
32164         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
32165         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
32166         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
32167         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
32168         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
32169         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
32170         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
32171         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
32172         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
32173         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
32175         [BZ #18468]
32176         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
32177         weak alias of __wmemchr.  Use libc_hidden_weak.
32178         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
32179         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
32180         instead of wmemchr.
32182 2015-06-02  Roland McGrath  <roland@hack.frob.com>
32184         [BZ #18383]
32185         * elf/tst-tlsalign-extern.c: New file.
32186         * elf/tst-tlsalign-extern-static.c: New file.
32187         * elf/tst-tlsalign-vars.c: New file.
32188         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
32189         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
32190         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
32191         ($(objpfx)tst-tlsalign-extern-static): Likewise.
32192         (test-xfail-tst-tlsalign-extern-static): New variable.
32194 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
32196         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
32197         Use variable name _sc_err instead of err.
32198         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
32199         instead of ret.
32200         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
32201         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
32202         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
32203         (INLINE_SYSCALL): Likewise.
32205         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
32206         * include/string.h (__strnlen): Use libc_hidden_proto.
32207         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
32208         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
32209         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
32210         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
32211         (libc_hidden_def): Undefine and redefine.
32212         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
32213         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
32214         __GI_strnlen.
32215         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
32216         libc_hidden_def.
32217         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
32219         [BZ #18469]
32220         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
32221         weak alias of __towlower.  Use libc_hidden_weak.
32222         (towupper): Rename to __towupper and define as weak alias of
32223         __towupper.  Use libc_hidden_weak.
32224         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
32225         (__towupper): Likewise.
32226         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
32227         __towlower instead of towlower.
32229 2015-06-02  Roland McGrath  <roland@hack.frob.com>
32231         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
32232         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
32234 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32236         * sysdeps/aarch64/libm-test-ulps: Update.
32238 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32240         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
32241         Define.
32242         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32244         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
32245         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32246         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
32247         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
32248         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
32250 2015-06-01  Martin Sebor  <msebor@redhat.com>
32252         [BZ #18116]
32253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32254         (__setcontext): Use extended four-operand version of mtsf whenever
32255         possible.
32256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32257         (__novec_swapcontext): Likewise.
32259 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32261         * benchtests/scripts/compare_bench.py: New file.
32262         * benchtests/scripts/import_bench.py (mean): New function.
32263         (split_list): Likewise.
32264         (do_for_all_timings): Likewise.
32265         (compress_timings): Likewise.
32267         * benchtests/scripts/import_bench.py: New file.
32268         * benchtests/scripts/validate_benchout.py: Import import_bench
32269         instead of jsonschema.
32270         (validate_bench): Remove function.
32271         (main): Use import_bench.
32273 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
32275         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
32276         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
32278 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32282 2015-05-28  Roland McGrath  <roland@hack.frob.com>
32284         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
32285         set THREAD_SELF->tid to a magic value and futex-wake it.
32286         Pass its address to the thread_exit system call.
32287         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
32288         bit is clear.
32289         * sysdeps/nacl/lowlevellock.h: New file.
32290         * sysdeps/nacl/lll_timedwait_tid.c: New file.
32292         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
32293         Add TIMEOUT to current time, don't subtract it.
32295 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
32297         [BZ #2981]
32298         [BZ #18422]
32299         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
32300         ($(objpfx)tst-audit2.out): Also depend on
32301         $(objpfx)tst-auditmod9b.so.
32302         * elf/tst-audit2.c: Include <dlfcn.h>.
32303         (calloc_called): New.
32304         (calloc): Allow to be called more than once.
32305         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
32307 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
32309         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
32310         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
32312 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
32314         * stdlib/monetary.h: Fix comment.
32316 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
32318         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
32319         Avoid using variables in #defines that might cause shadowing.
32320         (INTERNAL_VSYSCALL_CALL): Likewise.
32322 2015-05-26  Roland McGrath  <roland@hack.frob.com>
32324         * sysdeps/nacl/lll_timedlock_wait.c: New file.
32326         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
32327         * nptl/lll_timedlock_wait.c: ... to this new file.
32328         * nptl/Makefile (libpthread-routines): Add it.
32329         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
32330         * nptl/lll_timedwait_tid.c: ... to this new file.
32331         * nptl/Makefile (libpthread-routines): Add it.
32332         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
32333         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
32334         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
32335         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
32336         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
32337         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
32338         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
32339         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
32340         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
32341         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
32343 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32345         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
32346         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32347         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32348         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
32349         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
32350         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32351         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32352         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32353         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32354         * sysdeps/unix/sysv/linux/tile/sysdep.h
32355         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32356         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
32357         using vDSO syscall macro.
32359 2015-05-26  Andriy Rysin  <arysin@gmail.com>
32361         [BZ #17293]
32362         * uk_UA: Fix sorting order for Ukrainian locale
32364 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
32366         * stdlib/monetary.h: Fix comment.
32368 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32370         [BZ #18234]
32371         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
32372         st_mtim and st_ctim members.
32373         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
32374         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
32375         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
32376         (struct stat64): Likewise.
32377         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
32378         (struct stat64): Likewise.
32379         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
32380         (struct stat64): Likewise.
32382 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32384         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
32385         Define and include sysdep-vdso.h.
32386         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
32387         Likewise.
32388         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
32389         Likewise.
32390         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
32391         Define with VDSO_SYMBOL and use PTR_MANGLE.
32392         (__vdso_clock_gettime): Likewise.
32393         (__vdso_clock_getres): Likewise.
32394         (_libc_vdso_platform_setup): Likewise.
32395         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32396         Likewise.
32397         (_libc_vdso_platform_setup): Likewise.
32398         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
32399         Likewise.
32400         (__vdso_clock_gettime): Likewise.
32401         (__vdso_clock_getres): Likewise.
32402         (__vdso_get_tbfreq): Likewise.
32403         (__vdso_getcpu): Likewise.
32404         (__vdso_time): Likewise.
32405         (__vdso_sigtramp_rt64): Likewise.
32406         (__vdso_signtramp32): Likewise.
32407         (__vdso_sigtramp_rt32): Likewise.
32408         (_libc_vdso_platform_setup): Likewise.
32409         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
32410         Likewise.
32411         (__vdso_clock_gettime): Likewise.
32412         (__vdso_clock_getres): Likewise.
32413         (_libc_vdso_platform_setup): Likewise.
32414         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
32415         Likewise.
32416         (__vdso_clock_gettime): Likewise.
32417         (_libc_vdso_platform_setup): Likewise.
32418         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32419         Likewise.
32420         (__vdso_getcpu): Likewise.
32421         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
32422         Use VDSO_SYMBOL macro to define.
32423         (__vdso_clock_gettime): Likewise.
32424         (__vdso_clock_getres): Likewise.
32425         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
32426         Likewise.
32427         (__vdso_clock_gettime): Likewise.
32428         (__vdso_clock_getres): Likewise.
32429         (__vdso_get_tbfreq): Likewise.
32430         (__vdso_getcpu): Likewise.
32431         (__vdso_time): Likewise.
32432         (__vdso_sigtramp_rt64): Likewise.
32433         (__vdso_signtramp32): Likewise.
32434         (__vdso_sigtramp_rt32): Likewise.
32435         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
32436         Likewise.
32437         (__vdso_clock_gettime): Likewise.
32438         (__vdso_clock_getres): Likewise.
32439         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
32440         Likewise.
32441         (__vdso_clock_gettime): Likewise.
32442         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32443         Likewise.
32444         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
32445         macro.
32446         (INTERNAL_VSYSCALL): Likewise.
32447         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
32448         Remove macro.
32449         (INTERNAL_VSYSCALL): Likewise.
32450         (INTERNAL_VSYSCALL_NCS): Likewise.
32451         (INTERNAL_VSYSCALL_CALL): New macro.
32452         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
32453         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
32454         Likewise.
32455         (INTERNAL_VSYSCALL): Likewise.
32456         (INTERNAL_VSYSCALL_NCS): Likewise.
32457         (INTERNAL_VSYSCALL_CALL): New macro.
32458         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
32459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32460         (INLINE_VSYSCALL): Remove macro.
32461         (INTERNAL_VSYSCALL): Remove macro.
32462         (INTERNAL_VSYSCALL_NCS): Remove macro.
32463         (INTERNAL_VSYSCALL_CALL): New macro.
32464         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
32465         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
32466         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
32467         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
32468         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
32469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32470         (INLINE_VSYSCALL): Remove macro.
32471         (INTERNAL_VSYSCALL): Likewise.
32472         (INTERNAL_VSYSCALL_NCS): Likewise.
32473         (INTERNAL_VSYSCALL_CALL): New macro.
32474         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
32475         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
32476         PTR_DEMANGLE on vDSO pointer.
32477         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
32478         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
32479         macro.
32480         (INTERNAL_SYSCALL): Likewise.
32481         (INTERNAL_VSYSCALL_NCS): Remove macro.
32482         (INTERNAL_VSYSCALL_CALL): New macro.
32483         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
32484         Remove macro.
32485         (INTERNAL_VSYSCALL): Likewise.
32486         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
32487         sysdep-vdso.h instead of libc-vdso.h.
32488         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
32489         definition.
32490         (INLINE_VSYSCALL): Likewise.
32491         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
32492         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
32493         definition.
32494         (INLINE_VSYSCALL): Likewise.
32495         (INTERNAL_VSYSCALL): Likewise.
32496         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32497         * sysdeps/unix/sysv/linux/timespec_get.c
32498         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32499         (timespec_get): Use ANSI prototype.
32500         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
32501         and definition for Linux.
32503 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
32505         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
32506         * include/libc-symbols.h: libmvec_hidden_* macro series added.
32508 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32510         [BZ #2981]
32511         [BZ #18410]
32512         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
32513         for missing DT_PLTRELSZ.
32515 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32517         Remove obsolete aliases that broke 'locale -a'
32518         [BZ #18412]
32519         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
32520         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
32521         breaking some applications that use 'locale -a' output.
32522         Change the encoding of this file from Latin-1 to ASCII to avoid
32523         other potential problems with people grepping this file.
32525 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32527         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
32528         -fasynchronous-unwind-tables.
32529         (CFLAGS-sendto.c): Likewise.
32530         (CFLAGS-sendmsg.c): Likewise.
32531         (CFLAGS-connect.c): Likewise.
32532         (CFLAGS-recvmsg.c): Likewise.
32533         (CFLAGS-recvfrom.c): Likewise.
32534         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
32535         (SOCKETCALL): New macro: non-cancellable socketcall.
32536         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
32537         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
32538         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
32539         * sysdeps/unix/sysv/linux/accept.c: New file.
32540         * sysdeps/unix/sysv/linux/bind.c: Likewise.
32541         * sysdeps/unix/sysv/linux/connect.c: Likewise.
32542         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
32543         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
32544         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
32545         * sysdeps/unix/sysv/linux/listen.c: Likewise.
32546         * sysdeps/unix/sysv/linux/recv.c: Likewise.
32547         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
32548         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
32549         * sysdeps/unix/sysv/linux/send.c: Likewise.
32550         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
32551         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
32552         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
32553         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
32554         * sysdeps/unix/sysv/linux/socket.c: Likewise.
32555         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
32556         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
32557         prototype.
32558         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
32559         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32560         instead of __internal_xxx function.
32561         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
32562         prototype.
32563         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
32564         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32565         instead of __internal_xxx function.
32566         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
32567         prototype.
32568         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
32569         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32570         instead of __internal_xxx function.
32571         * sysdeps/unix/sysv/linux/accept.S: Remove file.
32572         * sysdeps/unix/sysv/linux/bind.S: Likewise.
32573         * sysdeps/unix/sysv/linux/connect.S: Likewise.
32574         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
32575         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
32576         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
32577         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
32578         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
32579         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
32580         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
32581         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
32582         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32583         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
32584         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
32585         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
32586         * sysdeps/unix/sysv/linux/listen.S: Likewise.
32587         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
32588         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
32589         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
32590         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
32591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
32592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
32593         * sysdeps/unix/sysv/linux/recv.S: Likewise.
32594         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
32595         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
32596         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
32597         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32598         * sysdeps/unix/sysv/linux/send.S: Likewise.
32599         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
32600         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
32601         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
32602         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
32603         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
32604         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
32605         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
32606         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
32607         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
32608         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
32609         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
32610         socketcall is implemented in GLIBC.
32612 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
32614         * soft-fp/fmadf4.c: Include <libc-internal.h>.
32615         (__fma): Ignore uninitialized warnings around packing.
32616         * soft-fp/fmasf4.c: Include <libc-internal.h>.
32617         (__fmaf): Ignore uninitialized warnings around packing.
32618         * soft-fp/fmatf4.c: Include <libc-internal.h>.
32619         (__fmal): Ignore uninitialized warnings around packing.
32621         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
32622         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32623         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
32624         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32626         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
32627         switch statement into default case.
32628         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
32630         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
32631         a conditional in forcing "inexact".
32632         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32633         Likewise.
32635 2015-05-22  Roland McGrath  <roland@hack.frob.com>
32637         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32638         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
32639         for each INTERNAL_SYSCALL use.
32641 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
32643         [BZ #438]
32644         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
32645         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
32646         variable.
32648         [BZ #18444]
32649         * string/basename.c (basename): Rename to __basename and define as
32650         weak alias of __basename.  Use libc_hidden_weak.
32651         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
32652         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
32653         __basename instead of basename.
32654         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
32655         Remove variable.
32656         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
32658 2015-05-18  Florian Weimer  <fweimer@redhat.com>
32660         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
32661         (_IO_JUMPS_FILE_plus): New.
32662         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
32663         _IO_CAST_FIELD_ACCESS.
32664         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
32665         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
32666         * libio/freopen.c (freopen): Likewise.
32667         * libio/freopen64.c (freopen64): Likewise.
32668         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
32669         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
32670         * libio/iofwide.c (_IO_fwide): Likewise.
32671         * libio/memstream.c (open_memstream): Likewise.
32672         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32673         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
32674         * libio/oldiopopen.c (_IO_old_popen): Likewise.
32676 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
32678         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
32679         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
32680         NADJ.
32681         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
32682         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
32683         NADJ.
32684         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
32685         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
32686         NADJ.
32688         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
32689         (p == 4) case.
32691         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
32692         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
32693         Remove variable.
32694         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
32695         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
32696         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
32698 2015-05-21  Florian Weimer  <fweimer@redhat.com>
32700         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
32701         Adjust jump table label generation macros.
32703 2015-05-21  Florian Weimer  <fweimer@redhat.com>
32705         * stdio-common/vfprintf.c (vfprintf): Move local variables
32706         args_malloced, specs, specs_malloced, and the code after
32707         do_positional to the printf_positional function.
32708         (printf_positional): New function.
32710 2015-05-21  Florian Weimer  <fweimer@redhat.com>
32712         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
32713         function.
32714         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
32715         STEP4_TABLE, process_arg): Move macro definitions
32716         out of the vfprintf function.  (Cosmetic change only.)
32718 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
32720         * benchtests/Makefile (stdio-common-bench): Define.
32721         (benchset): Add stdio-common-bench.
32722         * sprintf-inputs: New file.
32723         * sprintf-source.c: New file.
32725 2015-05-21  Andreas Schwab  <schwab@suse.de>
32727         [BZ #13028]
32728         [BZ #17053]
32729         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
32730         of struct __res_state.
32731         * resolv/res_send.c (__libc_res_nsend): Likewise.
32732         (get_nsaddr): New function.
32733         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
32734         statp directly.
32736 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
32738         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
32739         -D_POSIX_C_SOURCE=199506L.
32741         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
32743         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
32744         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
32745         Do not mention otherwise.
32746         [POSIX] (_XOPEN_VERSION): Do not expect.
32747         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
32748         [POSIX] (_POSIX2_C_BIND): Likewise.
32749         [POSIX] (_POSIX2_VERSION): Likewise.
32750         [POSIX] (_XOPEN_XPG2): Likewise.
32751         [POSIX] (_XOPEN_XPG3): Likewise.
32752         [POSIX] (_XOPEN_XPG4): Likewise.
32753         [POSIX] (_XOPEN_UNIX): Likewise.
32754         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
32755         [POSIX] (_POSIX_BARRIERS): Likewise.
32756         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
32757         [POSIX] (_POSIX_CPUTIME): Likewise.
32758         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
32759         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
32760         [POSIX] (_POSIX_SHELL): Likewise.
32761         [POSIX] (_POSIX_SPAWN): Likewise.
32762         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
32763         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
32764         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
32765         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
32766         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
32767         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
32768         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
32769         [POSIX] (_XBS5_LP64_OFF64): Likewise.
32770         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
32771         [POSIX] (_POSIX_TIMEOUTS): Likewise.
32772         [POSIX] (_POSIX2_PBS): Likewise.
32773         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
32774         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
32775         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
32776         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
32777         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
32778         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
32779         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
32780         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
32781         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
32782         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
32783         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
32784         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
32785         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
32786         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
32787         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
32788         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
32789         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
32790         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
32791         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
32792         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
32793         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
32794         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
32795         [POSIX] (_SC_2_C_BIND): Likewise.
32796         [POSIX] (_SC_2_C_VERSION): Likewise.
32797         [POSIX] (_SC_2_PBS): Likewise.
32798         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
32799         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
32800         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
32801         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
32802         [POSIX] (_SC_2_PBS_TRACK): Likewise.
32803         [POSIX] (_SC_ATEXIT_MAX): Likewise.
32804         [POSIX] (_SC_BARRIERS): Likewise.
32805         [POSIX] (_SC_BASE): Likewise.
32806         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
32807         [POSIX] (_SC_DEVICE_IO): Likewise.
32808         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
32809         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
32810         [POSIX] (_SC_FD_MGMT): Likewise.
32811         [POSIX] (_SC_FIFO): Likewise.
32812         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
32813         [POSIX] (_SC_FILE_LOCKING): Likewise.
32814         [POSIX] (_SC_FILE_SYSTEM): Likewise.
32815         [POSIX] (_SC_IOV_MAX): Likewise.
32816         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
32817         [POSIX] (_SC_NETWORKING): Likewise.
32818         [POSIX] (_SC_PAGE_SIZE): Likewise.
32819         [POSIX] (_SC_PASS_MAX): Likewise.
32820         [POSIX] (_SC_PIPE): Likewise.
32821         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
32822         [POSIX] (_SC_REGEXP): Likewise.
32823         [POSIX] (_SC_SHELL): Likewise.
32824         [POSIX] (_SC_SIGNALS): Likewise.
32825         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
32826         [POSIX] (_SC_SPIN_LOCKS): Likewise.
32827         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
32828         [POSIX] (_SC_USER_GROUPS): Likewise.
32829         [POSIX] (_SC_USER_GROUPS_R): Likewise.
32830         [POSIX] (_SC_STREAMS): Likewise.
32831         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
32832         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
32833         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
32834         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
32835         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
32836         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
32837         [POSIX] (_PC_FILESIZEBITS): Likewise.
32838         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
32839         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
32840         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
32841         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
32842         [POSIX] (uid_t): Likewise.
32843         [POSIX] (gid_t): Likewise.
32844         [POSIX] (off_t): Likewise.
32845         [POSIX] (pid_t): Likewise.
32846         [POSIX] (cuserid): Allow.
32847         (_SC_2_CHAR_TERM): Require constant.
32848         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
32849         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
32850         variable.
32852 2015-05-20  Roland McGrath  <roland@hack.frob.com>
32854         * sysdeps/nacl/pthread-pids.h: New file.
32855         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
32856         (create_thread): Use __nacl_get_tid to initialize PD->tid.
32858         * nptl/pthread-pids.h: New file.
32859         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
32860         * nptl/nptl-init.c: Include <pthread-pids.h>.
32861         (__pthread_initialize_minimal_internal):
32862         Call __pthread_initialize_pids instead of set_tid_address syscall.
32864         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
32865         * sysdeps/posix/usleep.c: ... here.
32867 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32869         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
32870         call_pselect6 object.
32871         [$(subdir) = io]: Remove call_sync_file_range object.
32872         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
32873         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
32874         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
32875         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
32877 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
32879         * math/s_cproj.c: Add include "math_private.h".
32880         * math/s_cprojf.c: Likewise.
32881         * math/s_cprojl.c: Likewise.
32883 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
32885         [BZ #18244]
32886         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
32887         high mantissa bit when testing whether P is a NaN.
32888         * math/libm-test.inc (remainder_test_data): Add more tests.
32889         (remquo_test_data): Likewise.
32891         [BZ #18049]
32892         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
32893         below -32, return the argument, with underflow if subnormal.
32894         * math/auto-libm-test-in: Add more tests of atanh.
32895         * math/auto-libm-test-out: Regenerated.
32897 2015-05-19  Roland McGrath  <roland@hack.frob.com>
32899         [BZ #18434]
32900         * nptl/tst-sem15.c: New file.
32901         * nptl/Makefile (tests): Add it.
32902         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
32903         s/<</>>/ to fix typo in EOVERFLOW check.
32904         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
32906 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32908         * manual/strings.texi (envz_remove): Fix typo in safety
32909         annotations.
32911 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
32912             Steve Ellcey  <sellcey@imgtec.com>
32914         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
32915         in order to avoid strict alias warnings.
32916         (iruserok_af): Ditto for ra.
32918 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
32920         [BZ #17581]
32921         * malloc/hooks.c
32922         (magicbyte): Convert to a function and avoid returning 0x01.
32923         (mem2mem_check): Avoid using a length byte equal to the magic byte.
32924         (mem2chunk_check): Fix unsigned comparisons to zero.
32925         Hoist defs of sz and magic.
32927 2015-05-19  Richard Henderson  <rth@redhat.com>
32929         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
32931         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32933 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32935         [BZ #16159]
32936         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
32937         * malloc/arena.c (arena_lock): Check if arena is corrupt.
32938         (reused_arena): Find a non-corrupt arena.
32939         (heap_trim): Pass arena to unlink.
32940         * malloc/hooks.c (malloc_check_get_size): Pass arena to
32941         malloc_printerr.
32942         (top_check): Likewise.
32943         (free_check): Likewise.
32944         (realloc_check): Likewise.
32945         * malloc/malloc.c (malloc_printerr): Add arena argument.
32946         (unlink): Likewise.
32947         (munmap_chunk): Adjust.
32948         (ARENA_CORRUPTION_BIT): New macro.
32949         (arena_is_corrupt): Likewise.
32950         (set_arena_corrupt): Likewise.
32951         (sysmalloc): Use mmap if there are no usable arenas.
32952         (_int_malloc): Likewise.
32953         (__libc_malloc): Don't fail if arena_get returns NULL.
32954         (_mid_memalign): Likewise.
32955         (__libc_calloc): Likewise.
32956         (__libc_realloc): Adjust for additional argument to
32957         malloc_printerr.
32958         (_int_free): Likewise.
32959         (malloc_consolidate): Likewise.
32960         (_int_realloc): Likewise.
32961         (_int_memalign): Don't touch corrupt arenas.
32962         * malloc/tst-malloc-backtrace.c: New test case.
32964         * Makefile (summarize-tests): Fix return value on success.
32966         * manual/string.texi (Envz Functions): Add envz_remove.
32968 2015-05-18  Roland McGrath  <roland@hack.frob.com>
32970         * sysdeps/posix/opendir.c: Include <stdbool.h>.
32971         (invalid_name): New function, broken out of ...
32972         (__opendirat): ... here.  Call it.
32973         (need_isdir_precheck): New function, broken out of ...
32974         (__opendirat): ... here.  Call it.
32975         Use __fxstatat64, not __xstatat64.
32976         (opendir_oflags): New function, broken out of ...
32977         (__opendirat): ... here.  Call it.
32978         (opendir_tail): New function, broken out of ...
32979         (__opendirat): ... here.  Call it.
32980         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
32981         opendir_tail, rather than punting to __opendirat.
32982         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
32984 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32986         * .gitignore: Ignore generated *.pyc.
32988 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
32990         * include/stdio.h: Define __need_wint_t.
32991         * test-skeleton.c: Avoid `for' loop initial declaration.
32992         * nptl/tst-initializers1.c: Use test-skeleton.c.
32994 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32996         [BZ #18418]
32997         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
32999 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
33001         [BZ #16352]
33002         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
33003         (__ieee754_atanh): Force underflow exception for results with
33004         small absolute value.
33005         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
33006         (__ieee754_atanhf): Force underflow exception for results with
33007         small absolute value.
33008         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
33009         (__ieee754_atanh): Force underflow exception for results with
33010         small absolute value.
33011         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
33012         (__ieee754_atanhf): Force underflow exception for results with
33013         small absolute value.
33014         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
33015         (__ieee754_atanhl): Force underflow exception for results with
33016         small absolute value.
33017         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
33018         (__ieee754_atanhl): Force underflow exception for results with
33019         small absolute value.
33020         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
33021         (__ieee754_atanhl): Force underflow exception for results with
33022         small absolute value.
33023         * math/auto-libm-test-in: Do not allow missing underflow
33024         exceptions from atanh.
33025         * math/auto-libm-test-out: Regenerated.
33027         [BZ #18221]
33028         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
33029         2**-28 as threshold for returning x or +/- 1/x.
33030         * math/auto-libm-test-in: Add more tests of tan.
33031         * math/auto-libm-test-out: Regenerated.
33033         [BZ #18220]
33034         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33035         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
33036         * math/auto-libm-test-in: Add another test of lgamma.
33037         * math/auto-libm-test-out: Regenerated.
33039 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
33041         * stdio-common/printf_fp.c (___printf_fp): Use abs.
33042         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
33043         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
33044         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
33045         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
33046         (ADD2A): Use fabs.  (SUB2A): Use fabs.
33047         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
33048         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
33049         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
33050         (log1): Use fabs.  (my_log2): Use fabs.
33051         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
33052         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
33053         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
33054         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
33055         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
33056         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
33057         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
33058         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
33059         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
33060         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
33061         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
33063 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
33065         [BZ #18217]
33066         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
33067         as threshold for returning 1 - x.
33068         * math/auto-libm-test-in: Add more tests of erfc.
33069         * math/auto-libm-test-out: Regenerated.
33071 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
33073         [BZ #18196]
33074         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
33075         threshold for large arguments.
33076         * math/auto-libm-test-in: Add another test of atan.
33077         * math/auto-libm-test-out: Regenerated.
33079         [BZ #16339]
33080         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
33081         (__log1p): Force underflow exception for results with small
33082         absolute value.
33083         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
33084         (__log1pf): Force underflow exception for results with small
33085         absolute value.
33086         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
33087         (__log1p): Force underflow exception for results with small
33088         absolute value.
33089         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
33090         (__log1pf): Force underflow exception for results with small
33091         absolute value.
33092         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
33093         (__log1pl): Force underflow exception for results with small
33094         absolute value.
33095         * math/auto-libm-test-in: Do not allow missing underflow
33096         exceptions from log1p.
33097         * math/auto-libm-test-out: Regenerated.
33099 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
33100             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33102         [BZ #16704]
33103         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
33105 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
33107         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
33108         (libmvec): New variable.
33109         * configure.ac: Added option for mathvec build.
33110         * configure: Regenerated.
33111         * mathvec/Depend: New file.
33112         * mathvec/Makefile: New file.
33113         * shlib-versions: Added libmvec.
33114         * math/Makefile: Added rule for libm.so installation.
33116         * bits/math-vector.h: New file.
33117         * bits/libm-simd-decl-stubs.h: New header.
33118         * math/Makefile (headers): Added new header
33119         libm-simd-decl-stubs.h.
33120         * math/math.h (__MATHCALL_VEC): New macro.
33122         * math/gen-libm-have-vector-test.sh: Script generates series of macros
33123         for conditions in testing functions.
33124         * math/Makefile: Added call of libm-have-vector-test.sh.
33125         * math/libm-test.inc (HAVE_VECTOR): New macros.
33127         * math/libm-test.inc: START refactored.
33128         * math/test-double.c (TEST_MATHVEC): Add define.
33129         * math/test-float.c: Likewise.
33130         * math/test-idouble.c: Likewise.
33131         * math/test-ifloat.c: Likewise.
33132         * math/test-ildoubl.c: Likewise.
33133         * math/test-ldouble.c: Likewise.
33134         * sysdeps/generic/math-tests-arch.h
33135         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
33136         architecture check.
33138         * math/test-double.c (FUNC_TEST): New macro.
33139         * math/test-float.c: Likewise.
33140         * math/test-idouble.c: Likewise.
33141         * math/test-ifloat.c: Likewise.
33142         * math/test-ildoubl.c: Likewise.
33143         * math/test-ldouble.c: Likewise.
33144         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
33146 2015-05-13  Roland McGrath  <roland@hack.frob.com>
33148         * sysdeps/nacl/fdopendir.c: New file.
33150         * dirent/scandir-tail.c: New file.
33151         * dirent/scandir64-tail.c: New file.
33152         * dirent/Makefile (routines): Add them.
33153         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
33154         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
33155         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
33156         [!SCANDIR] (SCANDIR_TAIL): New macro.
33157         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
33158         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
33159         (SCANDIRAT): Macro removed.
33160         (SCANDIR_TAIL): New macro.
33161         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
33162         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
33163         (SCANDIRAT): Just call __opendirat and __scandir_tail.
33164         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
33165         (READDIR): Macro removed.
33166         (SCANDIR_TAIL): New macro.
33167         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
33168         (SCANDIR_TAIL): New macro.
33170         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
33171         * dirent/scandir-cancel.c: ... to this new file.
33172         * dirent/Makefile (routines): Add it.
33173         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
33174         * sysdeps/unix/sysv/linux/i386/scandir64.c
33175         (SKIP_SCANDIR_CANCEL): Macro removed.
33176         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
33178         * dirent/tst-scandir.c: New file.
33179         * dirent/tst-scandir64.c: New file.
33180         * dirent/Makefile (tests): Add them.
33182 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
33184         [BZ #18409]
33185         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
33187 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33189         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
33190         list.
33192 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
33194         * benchtests/bench-strcoll.c: New benchmark.
33195         * benchtests/Makefile: Generate locales and run benchmark.
33196         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
33197         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
33198         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
33199         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
33200         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
33201         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
33202         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
33203         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
33204         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
33205         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
33206         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
33207         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
33208         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
33209         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
33210         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
33211         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
33212         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
33213         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
33214         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
33215         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
33216         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
33217         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
33218         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
33219         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
33221 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
33223         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
33224         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33226 2015-05-12  Roland McGrath  <roland@hack.frob.com>
33228         * posix/uname-values.h: New file.
33229         * posix/uname.c: Include that instead of <config-name.h>.
33230         * sysdeps/nacl/uname-values.h: New file.
33231         * sysdeps/arm/nacl/uname-values.h: New file.
33233 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
33235         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
33236         splitting into fields.
33238 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
33240         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
33241         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
33242         * locale/localeinfo.h: Add enum collation_encoding_type.
33243         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
33244         * programs/ld-collate.c (collate_output): Add encoding type info.
33245         * string/strcoll_l.c (STRDIFF): New function.
33246         * (STRCOLL): Use STRDIFF to skip over equal prefix.
33247         * wcsmbs/wcscoll_l.c: Define STRDIFF.
33249 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
33251         [BZ #18397]
33252         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
33253         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
33254         <fpu_control.h> instead of <math/fpu_control.c>.
33255         * sysdeps/mips/mips32/fpu/Makefile: New file.
33257 2015-05-11  Andreas Schwab  <schwab@suse.de>
33259         [BZ #18007]
33260         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
33261         nss_endgrent.
33262         (_nss_compat_endgrent): Call nss_endgrent.
33263         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
33264         nss_endpwent.
33265         (_nss_compat_endpwent): Call nss_endpwent.
33266         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
33267         needent, call nss_setspent only if non-zero.
33268         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
33269         (internal_endspent): Don't call nss_endspent.
33270         (_nss_compat_endspent): Call nss_endspent.
33271         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
33272         Remove.  All uses removed.
33273         (internal_setent): Remove parameter stayopen, add parameter
33274         stream.  Use it instead of global variable.
33275         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
33276         (internal_endent, internal_getent): Add parameter stream.  Use it
33277         instead of global variable.
33278         (CONCAT(_nss_files_end,ENTNAME))
33279         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
33280         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
33281         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
33282         uses removed.
33283         (internal_setent, internal_endent): Add parameter stream.  Use it
33284         instead of global variable.
33285         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
33286         stream.
33287         (get_next_alias): Add parameter stream.
33288         (_nss_files_getaliasent_r): Pass global stream.
33289         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
33290         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
33291         (_nss_files_gethostbyname4_r): Pass local stream to
33292         internal_setent, internal_getent and internal_endent.  Remove
33293         locking.
33295 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33297         * tst-strfmon1.c (tests): Update expected currency symbol.
33299 2015-05-08  Roland McGrath  <roland@hack.frob.com>
33301         * sysdeps/nacl/gethostname.c: New file.
33303 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
33305         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
33306         and sinh.
33307         * math/auto-libm-test-out: Regenerated.
33308         * sysdeps/i386/fpu/libm-test-ulps: Update.
33309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33311 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
33313         [BZ #18125]
33314         * stdlib/tst-setcontext3.c: New file.
33315         * stdlib/tst-setcontext3.sh: New file.
33316         * stdlib/Makefile (tests): Add tst-setcontext3.
33317         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
33318         to verify test program created output file.
33319         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
33320         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
33321         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
33322         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
33324 2015-05-06  Roland McGrath  <roland@hack.frob.com>
33326         [BZ #18383]
33327         * elf/tst-tlsalign.c: New file.
33328         * elf/tst-tlsalign-static.c: New file.
33329         * elf/tst-tlsalign-lib.c: New file.
33330         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
33331         (tests-static): Add tst-tlsalign-static.
33332         (modules-names): Add tst-tlsalign-lib.
33333         (test-xfail-tst-tlsalign): New variable.
33334         (test-xfail-tst-tlsalign-static): New variable.
33336         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
33337         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
33339 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
33341         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
33342         csqrt, erfc, sin and sincos.
33343         * math/auto-libm-test-out: Regenerated.
33344         * sysdeps/i386/fpu/libm-test-ulps: Update.
33345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33347 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33349         * sysdeps/aarch64/libm-test-ulps: Update.
33351 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
33353         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
33354         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
33355         * math/auto-libm-test-out: Regenerated.
33356         * sysdeps/i386/fpu/libm-test-ulps: Update.
33357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33359 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
33361         [BZ #18265]
33362         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
33363         (wcsncpy): Likewise.
33365 2015-05-05  Florian Weimer  <fweimer@redhat.com>
33367         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33368         Assume __ASSUME_FALLOCATE is always true.
33369         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33370         (__posix_fallocate64_l64): Likewise.
33371         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
33372         (posix_fallocate): Likewise.
33373         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
33374         (__posix_fallocate64_l64): Likewise.
33375         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33376         [!__ASSUME_FALLOCATE]: Add comment.
33378 2015-05-05  Florian Weimer  <fweimer@redhat.com>
33380         * sysdeps/unix/sysv/linux/i386/Makefile
33381         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
33382         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
33383         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
33384         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33385         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33386         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
33387         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
33389 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
33391         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
33392         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
33393         tgamma.
33394         * math/auto-libm-test-out: Regenerated.
33395         * sysdeps/i386/fpu/libm-test-ulps: Update.
33396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33398 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
33400         * math/auto-libm-test-in: Add more tests of tgamma.
33401         * math/auto-libm-test-out: Regenerated.
33402         * sysdeps/i386/fpu/libm-test-ulps: Update.
33403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33405         * math/auto-libm-test-in: Add more tests of tanh.
33406         * math/auto-libm-test-out: Regenerated.
33407         * sysdeps/i386/fpu/libm-test-ulps: Update.
33408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33410         * math/auto-libm-test-in: Add more tests of tan.
33411         * math/auto-libm-test-out: Regenerated.
33412         * sysdeps/i386/fpu/libm-test-ulps: Update.
33413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33415         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
33416         * math/auto-libm-test-out: Regenerated.
33417         * sysdeps/i386/fpu/libm-test-ulps: Update.
33418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33420         * math/auto-libm-test-in: Add another test of pow.
33421         * math/auto-libm-test-out: Regenerated.
33422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33424         * math/auto-libm-test-in: Add more tests of lgamma.
33425         * math/auto-libm-test-out: Regenerated.
33426         * sysdeps/i386/fpu/libm-test-ulps: Update.
33427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33429         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
33430         log1p.
33431         * math/auto-libm-test-out: Regenerated.
33432         * sysdeps/i386/fpu/libm-test-ulps: Update.
33433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33435 2015-05-01  Mark Wielaard  <mjw@redhat.com>
33437         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
33438         Elf64_Chdr structs and ELFCOMPRESS constants.
33440 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
33442         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
33443         expm1.
33444         * math/auto-libm-test-out: Regenerated.
33445         * sysdeps/i386/fpu/libm-test-ulps: Update.
33446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33448         * math/auto-libm-test-in: Add more tests of erf and erfc.
33449         * math/auto-libm-test-out: Regenerated.
33450         * sysdeps/i386/fpu/libm-test-ulps: Update.
33451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33453 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33455         * config.h.in (HAVE_AARCH64_BE): Add.
33457 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
33459         * math/auto-libm-test-in: Add more tests of csqrt.
33460         * math/auto-libm-test-out: Regenerated.
33461         * sysdeps/i386/fpu/libm-test-ulps: Update.
33462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33464         * math/auto-libm-test-in: Add more tests of cosh and sinh.
33465         * math/auto-libm-test-out: Regenerated.
33466         * sysdeps/i386/fpu/libm-test-ulps: Update.
33467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33469         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
33471 2015-04-29  Roland McGrath  <roland@hack.frob.com>
33473         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
33474         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
33476         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
33477         (euidaccess, eaccess): Define as weak aliases.
33479         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
33480         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
33481         but __suseconds_t is often 'long int' so some sources assume that
33482         type is being used (e.g. they use %ld to print tv_usec).
33484 2015-04-29  Florian Weimer  <fweimer@redhat.com>
33486         [BZ #18007]
33487         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
33488         (CVE-2014-8121)
33489         * nss/tst-nss-getpwent.c: New file.
33490         * nss/Makefile (tests): Add new test.
33492 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
33494         [BZ #18346]
33495         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
33496         exponents less than 48 as cases where high part of mantissa needs
33497         examining to determine whether argument is integral.
33498         * math/libm-test.inc (round_test_data): Add more tests.
33500 2015-04-28  Mark Wielaard  <mjw@redhat.com>
33502         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
33504 2015-04-27  David S. Miller  <davem@davemloft.net>
33506         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
33507         __tls_get_addr.
33508         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33510 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
33512         [BZ #18333]
33513         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
33515 2015-04-27  Florian Weimer  <fweimer@redhat.com>
33517         [BZ #18333]
33518         * time/tzset.c (parse_tzname): Return error on memory allocation
33519         failure.
33520         * test-skeleton.c (struct temp_name_list): Change type of name
33521         member to non-const.
33522         (add_temp_file): Create a copy of the file name.
33523         (delete_temp_files): Deallocate memory.
33524         (create_temp_file): Add comment.
33526 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33528         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
33529         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
33531 2015-04-24  Roland McGrath  <roland@hack.frob.com>
33533         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
33534         * sysdeps/arm/configure: Regenerated.
33536 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33538         [BZ #17715]
33539         * time/tzfile.c (__tzfile_read): Check for large values of
33540         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
33541         * time/tzset.c (__tzstring_len): New function, based on the old
33542         __tzstring function.
33543         (__tzstring): Call __tzstring_len.
33544         (parse_tzname): New helper function extracted from
33545         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
33546         the input string.
33547         (parse_offset): New helper function extracted from
33548         __tzset_parse_tz.  Replace switch with fallthrough with
33549         initialization before sscanf.
33550         (parse_rule): Likewise.
33551         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
33552         new-style function definition.
33553         * timezone/Makefile (tests): Add tst-tzset.
33554         (tst-tzset.out): Dependencies on time zone files.
33555         (tst-tzset-ENV): Set TZDIR.
33556         (testdata/XT%): Copy crafted time zone files.
33557         * timezone/README: Mention crafted time zone files.
33558         * timezone/testdata/XT1, timezone/testdata/XT2,
33559         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
33560         files.
33561         * timezone/tst-tzset.c: New test.
33563 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33565         * Makeconfig (+gccwarn): Remove -Winline.
33567 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33569         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
33571 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33573         * NEWS: Mention sysconf() cache information support for s390.
33574         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
33576 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
33578         * math/k_casinh.c (__kernel_casinh): Use __copysign.
33579         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
33580         (__nearbyint): Likewise.
33581         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
33582         (copysignl): Likewise.
33584 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
33586         [BZ #18287]
33587         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
33588         based on padding.  (CVE-2015-1781)
33590 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33592         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
33593         libc-vdso.h.
33594         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
33595         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
33596         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
33597         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33598         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33599         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
33600         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
33601         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33602         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33603         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
33604         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
33605         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33606         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33607         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
33608         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33609         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
33610         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
33611         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
33612         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
33613         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
33614         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
33615         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
33616         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
33618 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
33620         * stdlib/setenv.c (__add_to_environ):
33621         Dump core quickly if setenv (..., NULL, ...) is called.
33622         This time, do it the right way, and pacify GCC with a pragma.
33624 2015-04-17  Roland McGrath  <roland@hack.frob.com>
33626         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
33627         IMAP->l_prev cannot be null, and #if out the code for the contrary
33628         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
33629         believe that NS (&_dl_ns[NSID]) could point outside the array.
33631         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
33632         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
33633         before using NSID as an index.
33635 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
33637         [BZ #17825]
33638         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
33639         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
33640         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33642 2015-04-17  Roland McGrath  <roland@hack.frob.com>
33644         Add preliminary port to Google Native Client on ARM.
33645         * abi-tags (.*-.*-nacl.*): New entry.
33646         * sysdeps/arm/nacl: New directory.
33647         * sysdeps/nacl: New directory.
33649 2015-04-16  David S. Miller  <davem@davemloft.net>
33651         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
33652         lowlevellock-futex.h
33654 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
33656         * sysdeps/tile/configure.ac: New file.
33657         * sysdeps/tile/configure: Regenerated.
33659 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33661         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
33662         conditionals for weak_alias and libc_hidden_weak.
33663         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
33664         libc_hidden_weak and weak_alias.
33665         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
33666         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
33667         and weak_alias for static one.
33669 2015-04-15  David S. Miller  <davem@davemloft.net>
33671         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33673 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33675         [BZ #18206]
33676         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
33677           Use signed comparision instead of substraction to avoid
33678           overflow bug.
33679         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
33680           Take the sign of ret.
33681         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
33682           Do not expect precise return values. Only the sign matters.
33683         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
33684         * wcsmbs/test-wcsncmp.c: New File.
33685         * string/test-strncmp.c: Add wcsncmp support.
33687 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33689         [BZ #6792]
33690         * math/w_log1p.c: New file.
33691         * math/w_log1pf.c: Likewise.
33692         * math/w_log1pl.c: Likewise.
33693         * math/Makefile (libm-calls): Add w_log1p.
33694         * math/s_log1pl.c (log1pl): Remove weak_alias.
33695         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
33696         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
33697         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
33698         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
33699         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
33700         [NO_LONG_DOUBLE] (log1pl): Likewise.
33701         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
33702         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
33703         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
33704         (log1p): Remove long_double_symbol.
33705         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
33706         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
33707         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
33708         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
33709         remove weak_alias for corresponding log1p function.
33710         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
33711         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
33712         * sysdeps/ia64/fpu/w_log1p.c: New file.
33713         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
33714         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
33715         * math/libm-test.inc (log1p_test_data): Add errno expectations.
33717 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
33719         [BZ #18247]
33720         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
33721         decimal exponent by 1.
33722         * stdlib/tst-strtod-round-data: Add more tests.
33723         * stdlib/tst-strtod-round.c (tests): Regenerated.
33725 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
33727         * math/auto-libm-test-in: Add more tests of clog and clog10.
33728         * math/auto-libm-test-out: Regenerated.
33729         * sysdeps/i386/fpu/libm-test-ulps: Update.
33730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33732 2015-04-09  Roland McGrath  <roland@hack.frob.com>
33734         * Makeconfig (module-cppflags): Exclude all .v.i files.
33735         (skip-module-cppflags): Variable removed.
33737         * configure.ac (libc_config_ok): Initialize before reading
33738         preconfigure scripts, not after.
33739         * configure: Regenerated.
33741         * test-skeleton.c (TIMEOUT): Move #define to top level.
33742         (main): Grok environment variable TEST_DIRECT.  If set, print
33743         test expectation details into that file and then behave as if
33744         given --direct.
33746 2015-04-09  Florian Weimer  <fweimer@redhat.com>
33748         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
33749         warning on 32-bit.
33751 2015-04-08  David S. Miller  <davem@davemloft.net>
33753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33755 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
33757         * math/auto-libm-test-in: Add more tests of atanh.
33758         * math/auto-libm-test-out: Regenerated.
33759         * sysdeps/i386/fpu/libm-test-ulps: Update.
33760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33762         * math/auto-libm-test-in: Add more tests of atan.
33763         * math/auto-libm-test-out: Regenerated.
33764         * sysdeps/i386/fpu/libm-test-ulps: Update.
33765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33767 2015-04-08  Florian Weimer  <fweimer@redhat.com>
33769         * elf/pldd.c (main): Rewrite to use struct
33770         scratch_buffer instead of extend_alloca.
33771         * elf/pldd-xx.c (find_maps): Likewise.
33772         * grp/initgroups.c: Include <scratch_buffer.h> instead of
33773         <alloca.h>.
33774         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
33775         scratch_buffer instead of extend_alloca.
33776         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
33777         grp/compat-initgroups.c.
33778         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
33779         Rewrite to use struct scratch_buffer instead of extend_alloca.
33780         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
33781         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33783 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
33785         * math/auto-libm-test-in: Add more tests of cbrt.
33786         * math/auto-libm-test-out: Regenerated.
33787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33789         * math/auto-libm-test-in: Add more tests of cabs.
33790         * math/auto-libm-test-out: Regenerated.
33791         * sysdeps/i386/fpu/libm-test-ulps: Update.
33792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33794         [BZ #18210]
33795         [BZ #18211]
33796         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
33797         (__ieee754_atan2): Set FE_TONEAREST mode for internal
33798         computations.
33799         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
33800         clog10.
33801         * math/auto-libm-test-out: Regenerated.
33802         * sysdeps/i386/fpu/libm-test-ulps: Update.
33803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33805         [BZ #18197]
33806         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
33807         (atan): Set FE_TONEAREST mode for internal computations.
33808         * math/auto-libm-test-in: Add more tests of atan.
33809         * math/auto-libm-test-out: Regenerated.
33811 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
33813         [BZ #17930]
33814         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
33816 2015-04-07  Florian Weimer  <fweimer@redhat.com>
33818         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
33820 2015-04-07  Florian Weimer  <fweimer@redhat.com>
33822         * include/scratch_buffer.h: New file.
33823         * malloc/scratch_buffer_grow.c: Likewise.
33824         * malloc/scratch_buffer_grow_preserve.c: Likewise.
33825         * malloc/scratch_buffer_set_array_size.c: Likewise.
33826         * malloc/tst-scratch_buffer.c: Likewise.
33827         * malloc/Makefile (routines): Add scratch_buffer_grow.
33828         (tests): Add test case.
33829         * malloc/Versions (GLIBC_PRIVATE): Export
33830         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
33831         __libc_scratch_buffer_set_array_size.
33833 2015-04-06  Richard Henderson  <rth@redhat.com>
33835         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
33836         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33838         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
33839         unsigned int before printing.
33841 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33843         [BZ #17596]
33844         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
33845         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33847 2015-04-02  Florian Weimer  <fweimer@redhat.com>
33849         * include/libc-internal.h (libc_max_align_t): Define.
33851 2015-04-02  Andreas Schwab  <schwab@suse.de>
33853         [BZ #16850]
33854         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
33856 2015-04-02  Mel Gorman  <mgorman@suse.de>
33858         [BZ #17195]
33859         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
33860         as well as the main arena.
33862 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33864         [BZ #18185]
33865         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
33866         sharing L2 cache to 2 for Silvermont/Knights Landing.
33868 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33870         [BZ #17711]
33871         * config.make.in (have-protected-data): New.
33872         * configure.ac: Check linker support for protected data symbol.
33873         * configure: Regenerated.
33874         * elf/Makefile (modules-names): Add tst-protected1moda and
33875         tst-protected1modb if $(have-protected-data) is yes.
33876         (tests): Add tst-protected1a and tst-protected1b if
33877         $(have-protected-data) is yes.
33878         ($(objpfx)tst-protected1a): New.
33879         ($(objpfx)tst-protected1b): Likewise.
33880         (tst-protected1modb.so-no-z-defs): Likewise.
33881         * elf/tst-protected1a.c: New file.
33882         * elf/tst-protected1b.c: Likewise.
33883         * elf/tst-protected1mod.h: Likewise.
33884         * elf/tst-protected1moda.c: Likewise.
33885         * elf/tst-protected1modb.c: Likewise.
33887 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33889         [BZ #17711]
33890         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
33891         indicates it is called from do_lookup_x on relocation against
33892         protected data, skip the data definion in the executable from
33893         copy reloc.
33894         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
33895         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
33896         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
33897         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
33898         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
33899         otherwise to 0.
33900         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
33901         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
33902         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
33903         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
33904         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
33905         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
33907 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
33909         * sysdeps/nptl/pthread.h: Remove duplicate definition of
33910         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
33912 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
33914         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
33915         THREAD_SETMEM_NC.
33916         * sysdeps/x86_64/nptl/tls.h: Ditto.
33918 2015-03-27  Roland McGrath  <roland@hack.frob.com>
33920         * dlfcn/tststatic.c (main): Converted to ...
33921         (do_test): ... this.
33922         (TEST_FUNCTION): New macro.
33923         Include test-skeleton.c.
33925 2015-03-26  Alan Modra  <amodra@gmail.com>
33927         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
33928         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
33929         zero for undefined weak.
33930         (elf_machine_plt_conflict): Similarly.
33932 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
33934         * math/auto-libm-test-in: Add more tests of acosh, asinh and
33935         atanh.
33936         * math/auto-libm-test-out: Regenerated.
33937         * sysdeps/i386/fpu/libm-test-ulps: Update.
33938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33940         * math/auto-libm-test-in: Add another test of asin.
33941         * math/auto-libm-test-out: Regenerated.
33942         * sysdeps/i386/fpu/libm-test-ulps: Update.
33943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33945         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
33946         Remove macro.
33947         (LLL_EBX_REG): Likewise.
33948         (LLL_ENTER_KERNEL): Likewise.
33950         * math/auto-libm-test-in: Add more tests of asin.
33951         * math/auto-libm-test-out: Regenerated.
33952         * sysdeps/i386/fpu/libm-test-ulps: Update.
33953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33955         [BZ #18138]
33956         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
33957         libc_do_syscall_args): New structure.
33958         (INTERNAL_SYSCALL_MAIN_0): New macro.
33959         (INTERNAL_SYSCALL_MAIN_1): Likewise.
33960         (INTERNAL_SYSCALL_MAIN_2): Likewise.
33961         (INTERNAL_SYSCALL_MAIN_3): Likewise.
33962         (INTERNAL_SYSCALL_MAIN_4): Likewise.
33963         (INTERNAL_SYSCALL_MAIN_5): Likewise.
33964         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
33965         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
33966         Replace conditional definitions by conditional definitions of ....
33967         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
33968         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
33969         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
33970         (libpthread-sysdep_routines): Add libc-do-syscall.
33971         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
33972         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
33973         to __NR_futex not 240.
33975 2015-03-25  Alan Modra  <amodra@gmail.com>
33977         * NEWS: Advertise TLS optimization.
33978         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
33979         (DT_PPC_NUM): Increment.
33980         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
33981         (CHECK_STATIC_TLS): Use here.
33982         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
33983         TLS descriptors.
33984         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33985         * sysdeps/powerpc/dl-tls.c: New file.
33986         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
33987         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
33988         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
33989         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
33990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
33991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
33992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
33994 2015-03-25  Alan Modra  <amodra@gmail.com>
33996         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
33997         for overlapping .opd entries" to "support...".
33998         * sysdeps/powerpc/powerpc64/configure: Regenerate
34000 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
34002         * math/auto-libm-test-in: Add more tests of acos.
34003         * math/auto-libm-test-out: Regenerated.
34004         * sysdeps/i386/fpu/libm-test-ulps: Update.
34005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34007         * math/auto-libm-test-in: Add more tests of expm1.
34008         * math/auto-libm-test-out: Regenerated.
34009         * sysdeps/i386/fpu/libm-test-ulps: Update.
34010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34012 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
34014         * math/auto-libm-test-in: Add more tests of cosh and sinh.
34015         * math/auto-libm-test-out: Regenerated.
34016         * sysdeps/i386/fpu/libm-test-ulps: Update.
34017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34019         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34022         * math/auto-libm-test-in: Add more tests of log2.
34023         * math/auto-libm-test-out: Regenerated.
34024         * sysdeps/i386/fpu/libm-test-ulps: Update.
34025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34027 2015-03-23  Roland McGrath  <roland@hack.frob.com>
34029         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
34030         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
34031         _IO_IS_APPENDING bit in READ_WRITE instead.
34033 2015-03-23  Florian Weimer  <fweimer@redhat.com>
34035         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
34036         (__determine_cpumask_size): Replace extend_alloca with a
34037         variable-length array.  Do not treat res == 0 as an error.
34039 2015-03-23  Florian Weimer  <fweimer@redhat.com>
34041         [BZ #18100]
34042         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
34043         and integer overflow.
34044         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
34045         (main): Add integer overflow tests.
34046         * manual/pattern.texi (Calling Wordexp): Document additional use
34047         for WRDE_SYNTAX.
34049 2015-03-23  Alan Modra  <amodra@gmail.com>
34051         * config.h.in: Remove HAVE_ASM_PPC_REL16.
34052         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
34053         and false branch of conditional.
34054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34055         Likewise.
34057 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
34059         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
34060         libc-modules.h
34061         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
34062         unused declaration of _hurd_intr_rpc_msg_in_trap.
34063         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
34064         defined instead of whether it is non-zero.
34065         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
34066         input constraint instead of both input and output constraint.  Use ecx
34067         clobber instead of %ecx.
34068         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
34069         mutex_unlock): Use a statement expression instead of an expression list.
34070         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
34071         type to vm_size_t instead of vm_address_t.
34072         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
34073         defined instead of whether it is non-zero.
34074         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
34075         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
34076         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
34077         comparisons with mapaddr.
34078         * nscd/nscd-client.h: Include <time.h>.
34079         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
34080         9th parameter to __vm_region instead of int.
34081         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
34082         * scripts/check-local-headers.sh (exclude): Add device/,
34083         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
34084         cthreads.h.
34086 2015-03-19  Roland McGrath  <roland@hack.frob.com>
34088         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
34089         to account for alignment padding.
34090         * sysdeps/arm/memmove.S: Likewise.
34092 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
34094         * sysdeps/unix/sysv/linux/generic/README: New file.
34096 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
34098         [BZ #18138]
34099         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
34100         (futex_abstimed_wait)
34101         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
34102         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
34103         of lll_futex_timed_wait.
34105 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
34107         [BZ #17542]
34108         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
34110 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
34112         [BZ #17090]
34113         [BZ #17620]
34114         [BZ #17621]
34115         [BZ #17628]
34116         * NEWS: Update.
34117         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
34118         entries with Static TLS too.  Skip entries past the end of the
34119         allocated DTV, from Alan Modra.
34120         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
34121         Static TLS DTV entry set up from...
34122         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
34123         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
34124         * nptl/allocatestack.c (init_one_static_tls): ... and here...
34125         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
34126         for Static TLS.
34127         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
34128         that the slot we find is associated with the given map before
34129         using its generation count.
34130         * nptl_db/db_info.c: Include ldsodefs.h.
34131         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
34132         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
34133         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
34134         (link_map::l_tls_offset): New struct field.
34135         (dtv_t::counter): Likewise.
34136         (rtld_global): New struct.
34137         (_rtld_global): New rtld variable.
34138         (dl_tls_dtv_slotinfo_list): New rtld global field.
34139         (dtv_slotinfo_list): New struct.
34140         (dtv_slotinfo): Likewise.
34141         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
34142         (td_lookup): Rename to...
34143         (td_mod_lookup): ... this.  Use new mod parameter instead of
34144         LIBPTHREAD_SO.
34145         * nptl_db/td_thr_tlsbase.c: Include link.h.
34146         (dtv_slotinfo_list, dtv_slotinfo): New functions.
34147         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
34148         addresses even if the DTV is out of date or missing them.
34149         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
34150         index zero-length arrays.
34151         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
34152         (td_lookup): Make it a macro implemented in terms of...
34153         (td_mod_lookup): ... this declaration.
34154         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
34155         (DB_MAIN_VARIABLE): Likewise.
34157 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34159         [BZ #18134]
34160         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34162 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
34164         * stdlib/setenv.c (__add_to_environ): Revert previous change.
34166 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
34168         [BZ #18128]
34169         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
34170         (atomic_add, atomic_increment_and_test)
34171         (atomic_decrement_and_test): Fix 64-bit arithmetic.
34173 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
34175         * stdlib/setenv.c (__add_to_environ):
34176         Dump core quickly if setenv (..., NULL, ...) is called.
34178 2015-03-13  Roland McGrath  <roland@hack.frob.com>
34180         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
34181         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
34182         all the necessary asm magic in one place.
34183         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
34184         using those.
34186 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
34188         [BZ #14906]
34189         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
34190         traced file mtime. Use consistent log message.
34191         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
34192         (register_traced_file): Call install_watches. Always set mtime.
34193         (invalidate_cache): Iterate over all trace files. Call install_watches.
34194         (inotify_check_files): Don't inline. Handle watching parent
34195         directories and configuration file movement in and out.
34196         (handle_inotify_events): New function.
34197         (main_loop_poll): Call handle_inotify_events.
34198         (main_loop_epoll): Likewise.
34199         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
34200         (struct traced_file): Use array of inotify fds. Add parent directory,
34201         and basename.
34202         (struct database_dyn): Remove unused file_mtime.
34203         (init_traced_file): New inline function.
34204         (define_traced_file): New macro.
34205         * nss/nss_db/db-init.c: Use define_traced_file.
34206         (_nss_db_init): Use init_traced_file.
34207         * nss/nss_files/files-init.c: Use define_traced_file.
34208         (_nss_files_init): Use init_traced_file.
34210 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
34212         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
34213         [_LIBC]: Do not include <stdlib.h>.
34214         [!_LIBC] (abort): Remove declaration.
34215         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
34216         _FP_STATIC_ASSERT instead of conditionally calling abort.
34217         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
34218         (_FP_EXTEND_CNAN): Likewise.
34219         (FP_TRUNC): Likewise.
34220         (__FP_CLZ): Likewise.
34221         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
34223 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
34225         * manual/string.texi (XPG basename): Fix prototype.
34227 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34229         [BZ #18080]
34230         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
34231         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
34232         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
34233         (__setcontext): Likewise.
34234         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
34235         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
34236         Call rt_sigprocmask syscall one time to set new signal mask
34237         and retrieve the current signal mask instead of two calls.
34238         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
34239         (__swapcontext): Likewise.
34240         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
34241         * stdlib/tst-setcontext2.c: New file.
34243 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34245         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34247 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
34249         [BZ #18093]
34250         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
34251         the wrong size.
34253 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34255         [BZ #18043]
34256         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
34258 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34260         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
34261         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
34262         Remove define.
34263         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
34264         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
34265         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
34266         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
34267         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
34268         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
34269         define.
34270         * nptl_db/td_symbol_list.c (td_lookup): Remove
34271         HAVE_ASM_GLOBAL_DOT_NAME code.
34272         * sysdeps/powerpc/powerpc64/configure.ac: Remove
34273         HAVE_ASM_GLOBAL_DOT_NAME check.
34274         * sysdeps/powerpc/powerpc64/configure: Regenerate.
34275         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
34276         (DOT_LABEL): Remove define.
34277         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
34278         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
34279         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
34280         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
34281         (__TLS_GET_ADDR): Likewise.
34282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
34283         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
34285 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
34287         [BZ #18111]
34288         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
34289         (_FPU_SETCW): Initialize cw from fpsr before storing.
34290         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
34291         (fesetexceptflag): Rewrite using fpu_control.h.
34292         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
34294 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
34296         [BZ #18110]
34297         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
34298         asms.
34299         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34301 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
34303         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
34304         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
34305         abort.
34306         (_FP_FMA): Likewise.
34307         (_FP_DIV): Likewise.
34309 2015-03-10  Roland McGrath  <roland@hack.frob.com>
34311         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
34312         with 0 in that case.
34313         * Makefile (summarize-tests): New canned sequence, factored out of
34314         commands for targets tests and xtests.  Display summary lines that
34315         don't start with PASS: or XFAIL: rather than ones that do start with
34316         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
34317         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
34318         do start with ERROR: or FAIL:.
34319         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
34320         (except for [$(build-shared) = yes]).
34321         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
34322         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
34323         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
34324         * nptl/Makefile: Revert 2015-03-04 changes.
34325         [$(CXX) empty] (tests-unsupported): New variable.
34326         * debug/Makefile: Likewise.
34328         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
34329         gnulib file.  Replace __attribute with __attribute__ throughout.
34331 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
34333         * sysdeps/hppa/fpu/libm-test-ulps: Update.
34335 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
34337         [BZ #18104]
34338         * math/auto-libm-test-in: Add another test of pow.
34339         * math/auto-libm-test-out: Regenerated.
34341 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34343         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
34344         $(config-cflags-nofma).
34346 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
34348         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
34349         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
34350         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
34351         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
34352         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
34353         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
34354         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
34355         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
34356         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
34357         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
34358         Add comment on closing #endif.
34360 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34362         * posix/wordexp.c (CHAR_IN_SET): New macro.
34363         (parse_param): Use it.
34365 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34367         * sysdeps/powerpc/fpu/libm-test-ulps: update.
34369 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34371         [BZ #18043]
34372         * posix/wordexp.c (parse_param): Fix buffer overflow.
34373         * posix/wordexp-test.c (test_case): Add test case.
34375 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34377         [BZ #18042]
34378         * posix/wordexp.c (parse_backtick): Fix off-by-one.
34379         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
34381 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34383         [BZ #18043]
34384         * posix/wordexp-test.c (test_case): Add test for BZ #18043
34385         (do_bz18043): Delete.
34386         (at_page_end): New.
34387         (testit): Refactor to have words at the edge of unreadable page.
34389 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34391         [BZ #16734]
34392         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
34393         Cleanup read-only streams as well.
34394         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
34396 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34398         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
34399         <bits/libc-lockP.h>
34401 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
34403         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
34404         on [__KERNEL__].
34405         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
34406         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
34407         * soft-fp/op-common.h (_FP_DECL): Likewise.
34409 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
34411         * elf/ifuncdep2.c (global): Replace
34412         __attribute__((visibility("protected"))) with
34413         asm (".protected global").
34414         * elf/ifuncmod1.c (global): Likewise.
34415         * elf/ifuncmod5.c (global): Likewise.
34417 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
34419         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
34420         <asm/sfp-machine.h> instead of <sfp-machine.h>.
34422 2015-03-06  Roland McGrath  <roland@hack.frob.com>
34424         * manual/install.texi (Configuring and compiling):
34425         Document test-wrapper-env-only.
34426         * INSTALL: Regenerated.
34428 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34430         [BZ #18043]
34431         * posix/wordexp.c (parse_param): Fix buffer overflow.
34432         * posix/wordexp-test.c (do_bz18043): Add test case.
34434 2015-03-06  Vincent Bernat  <vincent@bernat.im>
34436         * time/tst-strptime2.c (do_test): Ensure failing tests are
34437         reported correctly.
34438         * time/tst-strptime3.c (do_test): Likewise.
34440 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
34442         Fix aio_error thread-safety.
34443         * sysdeps/pthread/aio_error.c: New file
34444         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
34445         synchronization.
34447 2015-03-06  Florian Weimer  <fweimer@redhat.com>
34449         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
34450         (group_number, vfprintf): Use it.
34451         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
34452         (JUMP, REF): Use it.
34453         (WORK_BUFFER_SIZE): New enum constant.
34454         (process_arg, vfprintf): Use it.
34456 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
34458         * manual/errno.texi (Error Messages): Complete example function
34459         by adding missing #define.
34460         (program_invocation_name): Add statement indicating GNU
34461         extension and reference which header file declares the variable.
34462         (program_invocation_short_name): Likewise.
34464 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
34466         * manual/errno.texi (Error Messages): Delete strerror ISO C89
34467         compatibility note.
34469 2015-03-05  Roland McGrath  <roland@hack.frob.com>
34471         * Makeconfig (test-wrapper-env-only): New variable.
34472         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
34473         then use that with $(test-wrapper-env-only) rather than using
34474         $(test-wrapper-env) $(run-program-env) $($*-ENV).
34476 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34478         [BZ #18082]
34479         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
34480         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
34481         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
34482         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
34483         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
34484         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
34485         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
34486         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
34487         Likewise.
34488         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
34489         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
34490         Likewise.
34491         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
34492         Likewise.
34493         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
34494         Likewise.
34495         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
34496         Likewise.
34497         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
34498         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
34499         Likewise.
34500         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
34501         Likewise.
34502         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
34503         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
34505 2015-03-04  Roland McGrath  <roland@hack.frob.com>
34507         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
34508         (ETH_ALEN): New macro.
34509         (struct ether_addr): Use it for length of ether_addr_octet.
34511         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
34512         (setdb): Don't call __nss_configure_lookup for "rpc".
34513         (do_test): Don't call test_rpc.
34514         (output_rpcent, test_rpc): Functions moved ...
34515         * sunrpc/test-rpcent.c: ... to this new file.
34516         * sunrpc/Makefile (tests): Add it.
34518         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
34519         __xpg_sigpause.
34520         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
34521         * nptl/tst-signal6.c: Likewise.
34522         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
34523         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
34525         * configure.ac (libc_cv_cxx_link_ok): New check.
34526         Reset CXX to empty if it fails to link.
34527         * configure: Regenerated.
34528         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
34529         bug-atexit3-lib only if $(CXX) is nonempty.
34530         * nptl/Makefile (tests): Likewise for tst-cancel24.
34531         (tests, tests-static): Likewise for tst-cancel24-static.
34532         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
34533         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
34534         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
34535         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
34537 2015-03-04  Andreas Schwab  <schwab@suse.de>
34539         [BZ #17631]
34540         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
34541         for non-GCC compilers.
34542         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34543         Likewise.
34545 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34547         [BZ #17776]
34548         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
34549         integer before bitwise and assembly operations.
34550         (feclearexcept): Likewise.
34551         * math/test-fenvinline.c: New file.
34552         * math/Makefile: Add test-fenvinline test.
34554 2015-03-03  Alan Modra  <amodra@gmail.com>
34556         [BZ #16512]
34557         * scripts/localplt.awk: Strip off symbol version.
34558         * NEWS: Mention bug fix.
34560 2015-03-02  Roland McGrath  <roland@hack.frob.com>
34562         * sysdeps/pthread/timer_routines.c
34563         (timer_free_list, thread_free_list, thread_active_list): Make static.
34565 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
34567         [BZ #17779]
34568         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34569         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34570         Undefine.
34571         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34572         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34573         Likewise.
34574         * sysdeps/unix/sysv/linux/sh/kernel-features.h
34575         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34576         Likewise.
34578 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34580         [BZ #18036]
34581         * posix/fnmatch_loop.c (END): Detect invalid pattern.
34582         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
34584 2015-03-02  Andreas Schwab  <schwab@suse.de>
34586         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
34587         variable name.
34589 2015-03-02  Florian Weimer  <fweimer@redhat.com>
34591         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
34592         Return error status.
34594 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
34596         [BZ #15969]
34597         * locale/findlocale.c (_nl_find_locale): Introduce const
34598         version of loc_name and drop unsafe type casts.
34600 2015-02-27  Roland McGrath  <roland@hack.frob.com>
34602         * dlfcn/tststatic2.c (main): Converted to ...
34603         (do_test): ... this.
34604         (TEST_FUNCTION): New macro.
34605         Include test-skeleton.c.
34607 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
34609         [BZ #17711]
34610         * elf/Makefile (tests): Add vismain only if PIE is enabled.
34611         (tests-pie): Add vismain.
34612         (CFLAGS-vismain.c): New.
34613         * elf/vismain.c: Add comments for PIE requirement.
34615 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
34617         [BZ #18046]
34618         [BZ #18047]
34619         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
34620         0x1p-56L as threshold for just returning the argument.
34621         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
34622         0x1p-32L as threshold for just returning the argument.
34623         * math/auto-libm-test-in: Add more tests of atanh.
34624         * math/auto-libm-test-out: Regenerated.
34625         * sysdeps/i386/fpu/libm-test-ulps: Update.
34626         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
34628 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
34630         * string/bcopy.c (bcopy): Call memmove for performance.
34632 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
34634         * string/bzero.c (__bzero): Call memset for performance.
34636 2015-02-27  John David Anglin  <dave.anglin@bell.net>
34638         [BZ #18068]
34639         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
34640         to 00100000.
34642 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
34644         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
34646 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
34648         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
34649         (__kernel_standard): Use CSTR macro when setting exc.name.
34650         * sysdeps/ieee754/Makefile [$(subdir) = math]
34651         (CFLAGS-k_standard.c): Remove variable.
34653         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
34654         setting p and q from "else if" to "else".
34655         (qzero): Likewise.
34656         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
34657         (qone): Likewise.
34658         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
34659         (qzerof): Likewise.
34660         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
34661         (qonef): Likewise.
34662         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
34663         (qzero): Likewise.
34664         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
34665         (qone): Likewise.
34667         [BZ #18038]
34668         [BZ #18039]
34669         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
34670         return pi/2 for arguments below 0x1p-113L.
34671         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
34672         return pi/2 for arguments below 0x1p-106L.
34673         * math/auto-libm-test-in: Add more tests of acos.
34674         * math/auto-libm-test-out: Regenerated.
34676         [BZ #16351]
34677         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
34678         (MO): New macro.
34679         (__ieee754_asin): Force underflow exception for results with small
34680         absolute value.
34681         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
34682         (MO): New macro.
34683         (__ieee754_asinf): Force underflow exception for results with
34684         small absolute value.
34685         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
34686         (__ieee754_asin): Force underflow exception for results with small
34687         absolute value.
34688         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
34689         (__ieee754_asinf): Force underflow exception for results with
34690         small absolute value.
34691         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
34692         (__ieee754_asinl): Force underflow exception for results with
34693         small absolute value.
34694         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
34695         (__ieee754_asinl): Force underflow exception for results with
34696         small absolute value.
34697         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
34698         (__ieee754_asinl): Force underflow exception for results with
34699         small absolute value.
34700         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
34701         Include <math.h>.
34702         * math/auto-libm-test-in: Do not mark underflow exceptions as
34703         possibly missing for bug 16351.
34704         * math/auto-libm-test-out: Regenerated.
34706         [BZ #18030]
34707         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
34708         of power of 2 down when low part has opposite sign.
34709         * math/libm-test.inc (logb_test_data): Add more tests.
34711 2015-02-26  Andreas Schwab  <schwab@suse.de>
34713         [BZ #18032]
34714         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
34715         over collating symbol inside a bracket expression.  Minor cleanup.
34716         * posix/tst-fnmatch3.c (do_test): Add test case.
34718 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
34720         [BZ #18029]
34721         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
34722         Adjust exponent of power of 2 down when low part has opposite
34723         sign.
34724         * math/libm-test.inc (ilogb_test_data): Add more tests.
34726 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
34728         [BZ #15969]
34729         * locale/findlocale.c (_nl_find_locale): Fix constness error in
34730         the previous change.
34732         [BZ #15969]
34733         * locale/findlocale.c (_nl_find_locale): Retry archive search
34734         after alias expansion.
34736 2015-02-25  Roland McGrath  <roland@hack.frob.com>
34738         * iconv/tst-iconv3.c (main): Converted to ...
34739         (do_test): ... this.
34740         (TEST_FUNCTION): New macro.
34741         Include test-skeleton.c.
34743         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
34744         (convert): Make function static.
34745         (test_unalign): Likewise.  Add const to argument pointee types.
34746         (main): Replace with static function do_test.
34747         Print "Succeeded." only if RET is zero.
34748         (TEST_FUNCTION): New macro.
34749         Include test-skeleton.c.
34751         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
34752         returns a null pointer.
34754 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34756         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
34757         to __memcpy_ppc only for static builds.
34759 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
34761         [BZ #18020]
34762         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
34763         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
34764         * math/auto-libm-test-in: Add more tests of asinh.
34765         * math/auto-libm-test-out: Regenerated.
34766         * sysdeps/i386/fpu/libm-test-ulps: Update.
34767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34769 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
34771         [BZ #15850]
34772         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
34773         and ip6_mtuinfo definitions here.
34774         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
34775         in this define too.  Update comment.
34777 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
34779         * elf/sprof.c (load_shobj): Tweak error message to match others.
34781 2015-02-24  Kevin Easton  <kevin@guarana.org>
34783         [BZ #16145] (partial fix)
34784         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
34785         to reduce lock contention.
34787 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
34789         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
34790         (struct timex): Update time comment.
34791         (ADJ_SETOFFSET): Define.
34793 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
34795         [BZ #18019]
34796         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34797         2**56 not 2**28 as threshold for log (2x) formula.
34798         * math/auto-libm-test-in: Add more tests of acosh.
34799         * math/auto-libm-test-out: Regenerated.
34800         * sysdeps/i386/fpu/libm-test-ulps: Update.
34801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34803 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
34805         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
34806         parenthesis around the buf assignment.
34807         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
34809 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
34811         [BZ #16783]
34812         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
34813         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
34814         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
34815         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
34816         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
34817         * math/libm-test.inc (scalb_test_data): Add more tests.
34819 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34821         [BZ #17916]
34822         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
34823         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
34825 2015-02-24  Eric Rannaud  <e@nanocritical.com>
34827         [BZ #17523]
34828         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
34829         * io/bits/fcntl2.h (open): Use it.
34830         (openat): Likewise.
34831         * io/open.c (__libc_open): Likewise.
34832         * io/open64.c (__libc_open64): Likewise.
34833         * io/open64_2.c (__open64_2): Likewise.
34834         * io/open_2.c (__open_2): Likewise.
34835         * io/openat.c (__openat): Likewise.
34836         * io/openat64.c (__openat64): Likewise.
34837         * io/openat64_2.c (__openat64_2): Likewise.
34838         * io/openat_2.c (__openat_2): Likewise.
34839         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
34840         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
34841         * sysdeps/posix/open64.c (__libc_open64): Likewise.
34842         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
34843         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
34844         (__open_nocancel): Likewise.
34845         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
34846         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34847         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
34849 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34851         [BZ #14841]
34852         * resolv/gethnamaddr.c (getanswer): Skip logging if
34853         RES_USE_DNSSEC is set.
34854         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34856 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
34858         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
34860 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
34862         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
34863         201304L, for Unicode 7.
34865 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
34867         [BZ #17836]
34868         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
34869         shared library.  Add gmon-start.os otherwise.
34870         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
34871         $(objpfx)gmon-start.os if builing shared library.
34872         ($(objpfx)g$(static-start-installed-name)): Likewise.
34874 2015-02-23  Andreas Schwab  <schwab@suse.de>
34876         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
34878 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34880         [BZ #17269]
34881         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
34882         (enlarge_userbuf): Likewise.
34884 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
34886         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
34887         * math/atest-exp.c (TIMEOUT): Adjust to 200.
34888         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
34889         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
34891 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
34893         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
34894         expression inside statement expression.
34896 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34898         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
34899         <sysdeps/nptl/lowlevellock.h> and remove macros and
34900         functions that are now defined there.
34901         (SYS_futex): Remove.
34902         (lll_compare_and_swap): Remove.
34903         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
34905 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
34907         [BZ #17999]
34908         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
34909         instead of scandirat.
34910         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
34911         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
34912         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
34913         __scandirat.
34914         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
34915         (__scandirat): Declare.  Use libc_hidden_proto.
34916         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
34917         Remove variable.
34918         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
34920 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
34922         [BZ #15319]
34923         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
34924         (MO): New macro.
34925         (__ieee754_atan2): For results with small absolute value, force
34926         underflow exception and remove excess range and precision from
34927         return value.
34928         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
34929         (MO): New macro.
34930         (__ieee754_atan2f): For results with small absolute value, force
34931         underflow exception and remove excess range and precision from
34932         return value.
34933         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
34934         (MO): New macro.
34935         (__atan): For results with small absolute value, force underflow
34936         exception and remove excess range and precision from return value.
34937         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
34938         (MO): New macro.
34939         (__atanf): For results with small absolute value, force underflow
34940         exception and remove excess range and precision from return value.
34941         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
34942         <math.h>.
34943         (__ieee754_atan2): Force underflow exception for results with
34944         small absolute value.
34945         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
34946         <math_private.h>.
34947         (atan): Force underflow exception for results with small absolute
34948         value.
34949         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
34950         (__atanf): Force underflow exception for results with small
34951         absolute value.
34952         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
34953         <math.h>.
34954         (__atanl): Force underflow exception for results with small
34955         absolute value.
34956         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
34957         (__atanl): Force underflow exception for results with small
34958         absolute value.
34959         * sysdeps/x86/fpu/bits/mathinline.h
34960         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
34961         (__ieee754_atan2): Only define inline for long double.
34962         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
34963         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
34964         * math/auto-libm-test-in: Do not mark underflow exceptions as
34965         possibly missing for bug 15319.  Add more tests of atan2.
34966         * math/auto-libm-test-out: Regenerated.
34967         * math/libm-test.inc (casin_test_data): Do not mark underflow
34968         exceptions as possibly missing for bug 15319.
34969         (casinh_test_data): Likewise.
34970         * sysdeps/i386/fpu/libm-test-ulps: Update.
34972 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
34974         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
34975         * sysdeps/mips/bits/endian.h: Fix comments.
34977 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
34979         [BZ #17996]
34980         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
34981         (hdestroy_r): Likewise.
34982         (hsearch_r): Likewise.
34983         (__hcreate_r): Declare and use libc_hidden_proto.
34984         (__hdestroy_r): Likewise.
34985         (__hsearch_r): Likewise.
34986         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
34987         (hcreate): Call __hcreate_r instead of hcreate_r.
34988         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
34989         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
34990         as weak alias of __hcreate_r.
34991         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
34992         __hdestroy_r.
34993         (hsearch_r): Rename to __hsearch_r and define as weak alias of
34994         __hsearch_r.
34995         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
34996         Remove variable.
34997         (test-xfail-XPG4/search.h/linknamespace): Likewise.
34998         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
34999         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35000         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35002 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35004         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
35005         arena_lock into a single arena_get.
35007 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
35009         * dl-reloc.c: Inlucde libc-internal.h.
35010         (_dl_try_allocate_static_tls): Call ALIGN_UP.
35011         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
35012         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
35013         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
35014         (grow_heap): Likewise.
35015         * malloc/malloc.c: Include libc-internal.h.
35016         (do_check_malloc): Call powerof2.
35017         (sysmalloc): Use pagesize. Call ALIGN_UP.
35018         (systrim): Use pagesize.
35019         (mremap_chunk): Use pagesize. Call ALIGN_UP.
35020         (__libc_valloc): Use pagesize.
35021         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
35023 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
35025         [BZ #17991]
35026         * include/sys/resource.h (__getrlimit64): Declare.  Use
35027         libc_hidden_proto.
35028         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
35029         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
35030         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
35031         getrlimit64.
35032         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
35033         __getrlimit64.
35034         [!getrlimit64] (getrlimit64): Define as weak alias of
35035         __getrlimit64.  Use libc_hidden_weak.
35036         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
35037         using __getrlimit64 not __new_getrlimit64.
35038         (__GI_getrlimit64): Likewise.
35039         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
35040         Likewise.
35041         (__GI_getrlimit64): Likewise.
35042         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
35043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
35044         (getrlimit): Add __getrlimit64 alias.
35045         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
35046         Likewise.
35047         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
35048         Remove variable.
35049         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35050         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35052 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
35054         * libio/fileops.c: Add missing sys/mman.h
35055         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
35057 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
35059         * manual/math.texi (Errors in Math Functions): Clarify goals
35060         regarding inexact and underflow exceptions.
35062 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
35064         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
35065         * sysdeps/mips/memset.S: Ditto.
35067 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
35069         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
35071 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35073         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
35074         (__v1longjmp): Remove versioned symbol.
35075         (__v1siglongjmp): Remove alias and versioned symbol.
35076         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
35077         (__v2siglongjmp): Likewise.
35079 2015-02-16  Torvald Riegel  <triegel@redhat.com>
35081         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
35083 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
35085         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
35087 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
35089         [BZ #17987]
35090         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
35091         zero result does not depend on the sign resulting from
35092         subtraction.
35093         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35094         Likewise.
35095         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35096         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35097         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35098         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35099         * math/libm-test.inc (remquo_test_data): Add more tests.
35101 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
35103         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
35104         Problem reported by J William Piggott.
35106 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
35108         [BZ #17978]
35109         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
35110         products 4 * y and 2 * y where those would overflow.
35111         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35112         Likewise.
35113         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35114         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35115         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35116         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35117         * math/libm-test.inc (remquo_test_data): Add more tests.
35119         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
35121         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
35122         [defined _COMPILING_NEWLIB].
35123         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
35124         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
35126         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
35127         [!defined __mips_isa_rev || __mips_isa_rev < 6].
35129 2015-02-16  Torvald Riegel  <triegel@redhat.com>
35131         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
35132         acquired.
35134 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
35136         [BZ #17792]
35137         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
35138         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
35139         HOST_STACK_END_ADDR): Likewise.
35141 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
35143         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
35144         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
35145         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
35147 2015-02-13  Roland McGrath  <roland@hack.frob.com>
35149         * sysdeps/generic/c++-types.data: New file.
35150         * sysdeps/generic/ld.abilist: New file.
35151         * sysdeps/generic/libBrokenLocale.abilist: New file.
35152         * sysdeps/generic/libanl.abilist: New file.
35153         * sysdeps/generic/libc.abilist: New file.
35154         * sysdeps/generic/libcrypt.abilist: New file.
35155         * sysdeps/generic/libdl.abilist: New file.
35156         * sysdeps/generic/libm.abilist: New file.
35157         * sysdeps/generic/libpthread.abilist: New file.
35158         * sysdeps/generic/libresolv.abilist: New file.
35159         * sysdeps/generic/librt.abilist: New file.
35161 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
35163         [BZ #17569]
35164         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35165         Compute absolute value of x as modified by fmod, not original
35166         value of x.
35167         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
35168         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
35169         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
35170         RUN_TEST_ffI_f1_mod8.
35171         (remquo_test_data): Add more tests.
35173 2015-02-13  Roland McGrath  <roland@hack.frob.com>
35175         * sysdeps/init_array/pt-crti.S: New file.
35177 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
35179         [BZ #17967]
35180         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
35181         __builtin_fmaf instead of relying on contraction of a * b + c.
35183 2015-02-12  J William Piggott  <elseifthen@gmx.com>
35185         [BZ #17969]
35186         * manual/time.texi: correct the zoneinfo path in the TZ Variable
35187         node.
35189 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
35191         [BZ #17964]
35192         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
35193         __builtin_fma instead of relying on contraction of a * b + c.
35195 2015-02-12  Roland McGrath  <roland@hack.frob.com>
35197         * Makeconfig (ASFLAGS): Add -Werror=undef.
35198         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
35199         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
35200         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
35202         * Makeconfig (after-link): New variable.
35203         (+link-pie, +link-pie-tests): Use it.
35204         (+link-static, +link-static-tests): Likewise.
35205         (+link, +link-tests): Likewise.
35206         * Makerules (build-module, build-module-asneeded): Likewise.
35207         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
35208         Likewise.
35209         * elf/Makefile ($(objpfx)ld.so): Likewise.
35211 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
35213         [BZ #17965]
35214         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
35215         both struct timeval and struct timespec.
35217 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
35219         [BZ #16560]
35220         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35221         and redefine.
35222         (__ieee754_exp2l): Do not multiply small fractional parts by
35223         M_LN2l.
35224         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
35225         small argument.
35226         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
35227         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35228         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
35229         * math/auto-libm-test-in: Add more tests of exp2.
35230         * math/auto-libm-test-out: Regenerated.
35232 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35234         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
35235         unaligned path.
35237 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35239         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
35240         little endian.
35242 2015-02-12  Andreas Schwab  <schwab@suse.de>
35244         [BZ #15790]
35245         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
35246         Filter out elision flags from value returned in kind.
35247         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
35248         * nptl/tst-pthread-mutexattr.c: New file.
35250 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35252         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
35253         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
35254         into gnu-gnu, and update comment to refer to abi-tags.
35256 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
35258         [BZ #15467]
35259         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
35260         (__sincos): Set errno to EDOM for infinite argument.
35261         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
35262         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
35263         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
35264         (__sincosl): Set errno to EDOM for infinite argument.
35265         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
35266         (__sincosl): Set errno to EDOM for infinite argument.
35267         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
35268         (__sincosl): Set errno to EDOM for infinite argument.
35269         * math/libm-test.inc (sincos_test_data): Test errno setting.
35271 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
35273         * string/strxfrm_l.c: Remove #define STRCMP.
35274         * string/strcoll_l.c: Remove #define STRLEN.
35275         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
35276         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
35278 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
35280         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
35281         * sysdeps/mips/mips32/sfp-machine.h: ... here.
35282         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
35283         * sysdeps/mips/mips64/Makefile: ... here.
35284         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
35285         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
35286         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
35287         * sysdeps/mips/mips64/sfp-machine.h: ... here.
35288         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
35289         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
35290         * sysdeps/mips/mips64/n64/Implies: Likewise.
35292 2015-02-10  Roland McGrath  <roland@hack.frob.com>
35294         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
35295         <sys/time.h>, <string.h>, and <errno.h>.
35296         (dest_offset, dest_address, value, zero): Remove unused variables.
35297         (ldouble): Remove typedef.
35298         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
35299         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
35300         1).  Fix code style.
35301         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
35302         (check): Function removed.
35303         (CHECK): New macro.
35304         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
35305         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
35306         Don't call set_sigaction_FP and remove_sigaction_FP here.
35307         (ldouble_test): Just use 'long double' as macro argument, no need for
35308         the 'ldouble' typedef.
35309         (do_test): Set up SIGFPE handler at start, using plain signal rather
35310         than sigaction.  Fix code style.
35312 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
35314         [BZ #17949]
35315         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
35316         jump label.
35318 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35320         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
35321         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35323         * sysdeps/powerpc/configure.ac: Remove file.
35324         * sysdeps/powerpc/configure: Likewise.
35326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
35327         [sysdep_routines]: Remove wordcopy-power6 object.
35328         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
35329         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
35330         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
35331         (__memmove_ppc32): Likewise.
35332         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
35333         file.
35334         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
35335         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
35336         Remove preprocessor.
35338         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
35339         [sysdep_routines]: Remove wide chars objects.
35340         [wcsmbs]: New rule for wide char objects.
35342         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35343         Remove wordcopy-power6 obejct.
35344         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
35345         Use local call for wordcopy and memcpy symbols.
35346         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
35347         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
35348         implementation for loader.
35349         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
35351         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35352         Remove wordcopy-power7 object.
35353         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
35354         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
35355         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
35356         (_wordcopy_fwd_dest_aligned): Likewise.
35357         (_wordcopy_bwd_aligned): Likewise.
35358         (_wordcopy_bwd_dest_aligned): Likewise.
35360         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
35361         Rewrite to call __memmove_ppc instead of include default
35362         implementation.
35364         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35365         Remove wide chars objects.
35366         [wcsmbs]: New rule for wide char objects.
35368 2015-02-09  Andreas Schwab  <schwab@suse.de>
35370         [BZ #17912]
35371         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
35372         in terms of __O_DIRECTORY.
35374 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35376         * time/getdate.c: Include <stdbool.h>.
35377         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
35378         call PTR_MANGLE.
35379         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
35380         PTR_DEMANGLE.
35382 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
35384         Add ersatz _Static_assert on older C hosts
35385         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
35386         pre-C11 C platform that is not known to support _Static_assert.
35388 2015-02-07  Richard Braun  <rbraun@sceen.net>
35390         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
35391         sigstate.
35392         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
35394 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35396         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
35397         priority against unexistent AIO_PRIO_DELTA_MAX.
35398         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
35399         instead of int.
35400         * misc/fchflags.c (fchflags): Likewise.
35401         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
35402         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
35403         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
35404         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
35405         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
35406         Declare macros.
35407         [__USE_MISC] (chflags, fchflags): Declare functions.
35408         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
35409         EINVAL when nfds is greater than FD_SETSIZE.
35410         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
35411         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
35412         45.
35413         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
35414         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
35415         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
35416         MACH_RCV_TIMED_OUT.
35417         * hurd/hurd/signal.h (_hurd_self_sigstate,
35418         _hurd_critical_section_lock, _hurd_critical_section_unlock):
35419         Explicit casts from void *.
35420         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
35421         * abi-tags: Rename gnu-gnu os into gnu.
35423         [BZ #4719]
35424         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
35425         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
35426         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
35427         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
35428         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
35429         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
35431         [BZ #17944]
35432         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
35433         duplicates ADDR->sun_path with sockaddr LEN limitation.
35434         * sysdeps/mach/hurd/connect.c: Include <string.h>
35435         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
35436         * sysdeps/mach/hurd/sendmsg.c: Likewise.
35437         * sysdeps/mach/hurd/sendto.c: Likewise.
35438         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
35439         implementing it by hand.
35441 2015-02-06  Roland McGrath  <roland@hack.frob.com>
35443         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
35444         Use sfi_breg on ldr.
35445         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
35446         Likewise.
35448         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
35449         it's defined.
35450         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
35451         Test SIGSETXID only if it's defined.
35453         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
35455         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
35456         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
35458         * nptl/tst-align2.c: Moved ...
35459         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
35460         * nptl/Makefile (tests): Remove tst-align2.
35461         * sysdeps/unix/sysv/linux/Makefile
35462         [$(subdir) = nptl] (tests): Add tst-align-clone.
35463         * nptl/tst-getpid1.c: Moved ...
35464         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
35465         * nptl/tst-getpid2.c: Moved ...
35466         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
35467         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
35468         * sysdeps/unix/sysv/linux/Makefile
35469         [$(subdir) = nptl] (tests): ... here.
35470         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
35471         * sysdeps/unix/sysv/linux/Makefile
35472         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
35474         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
35475         Drop trailing \n from perror argument.  Use return rather than exit.
35477         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
35478         on [SA_SIGINFO].
35479         * nptl/tst-cancel21.c (do_test): Likewise.
35480         * debug/tst-backtrace6.c: Include <signal.h> first thing.
35481         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
35482         [!SA_SIGINFO]: Make it a stub test.
35484         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
35485         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
35487         * posix/tst-getlogin.c: Move to ...
35488         * login/tst-getlogin.c: ... here.
35489         * posix/Makefile (tests): Move tst-getlogin to ...
35490         * login/Makefile (tests): ... here.
35492         * libio/tst-atime.c (do_test): Move local variables SV and E
35493         inside [ST_NOATIME] conditional.
35495         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
35497         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
35499         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
35500         (wait_code): New function replaces macro.
35501         Call nanosleep rather than syscall.
35503         * nptl/pt-system.c: Rewritten.  Put everything under
35504         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35505         Use IFUNC to redirect when possible.
35507         * nptl/pt-longjmp.c: Rewritten.  Put everything under
35508         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35509         Use IFUNC to redirect when possible.
35511         * nptl/pt-fork.c: Rewritten.  Put everything under
35512         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35513         Use IFUNC to redirect when possible.
35514         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
35516         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
35517         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
35518         unconditionally nowadays.  This included the only reference to
35519         __vdso_clock_gettime that appears outside libc proper.
35520         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
35521         Remove version set (containing only __vdso_clock_gettime).
35522         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35523         Add attribute_hidden.
35524         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35525         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
35526         libc_hidden_data_def.
35527         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35528         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35530         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
35531         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
35532         setrpcent, and getrpcport to ...
35533         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
35534         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
35535         getrpcbynumber_r, and getrpcent_r to ...
35536         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
35537         * inet/getrpcbyname.c: Moved ...
35538         * sunrpc/getrpcbyname.c: ... here.
35539         * inet/getrpcbyname_r.c: Moved ...
35540         * sunrpc/getrpcbyname_r.c: ... here.
35541         * inet/getrpcbynumber.c: Moved ...
35542         * sunrpc/getrpcbynumber.c: ... here.
35543         * inet/getrpcbynumber_r.c: Moved ...
35544         * sunrpc/getrpcbynumber_r.c: ... here.
35545         * inet/getrpcent.c: Moved ...
35546         * sunrpc/getrpcent.c: ... here.
35547         * inet/getrpcent_r.c: Moved ...
35548         * sunrpc/getrpcent_r.c: ... here.
35549         * inet/Makefile (routines): Move those to ...
35550         * sunrpc/Makefile (routines): ... here.
35551         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
35552         the $(subdirs) list.
35553         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
35554         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
35555         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
35556         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
35558         * elf/Makefile (routines): Include $(all-dl-routines), not just
35559         $(dl-routines).
35560         (rtld-routines): Likewise.  Use = rather than :=.
35561         * sysdeps/aarch64/Makefile [$(subdir) = elf]
35562         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
35563         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
35564         * sysdeps/arm/Makefile: Likewise.
35565         * sysdeps/i386/Makefile: Likewise.
35566         * sysdeps/x86_64/Makefile: Likewise.
35567         * sysdeps/hppa/Makefile [$(subdir) = elf]
35568         (sysdep_routines, sysdep-rtld-routines): Don't add
35569         $(sysdep-dl-routines) to these.
35570         * sysdeps/ia64/Makefile: Likewise.
35571         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
35572         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
35573         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
35574         Don't add dl-static to these; sysdep-dl-routines alone is enough.
35575         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
35576         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
35577         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
35578         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
35579         * sysdeps/powerpc/Makefile [$(subdir) = elf]
35580         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
35581         these; sysdep-dl-routines alone is enough.
35583 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
35585         [BZ #17932]
35586         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
35587         where multiplication results in zero and third argument is finite
35588         and nonzero.
35589         * math/auto-libm-test-in: Add more tests of fma.
35590         * math/auto-libm-test-out: Regenerated.
35592         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
35593         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
35594         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
35595         (_FP_CMP_EQ): Likewise.
35596         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
35598         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
35599         extra argument CHECK_NAN.  Redefine as wrapper around
35600         _FP_EXTEND_CNAN.
35602 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
35604         * version.h (RELEASE): Set to "stable".
35605         (VERSION): Set to "2.21"
35606         * include/features.h (__GLIBC_MINOR__): Set to 21.
35608         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
35610 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35611             Paul Eggert  <eggert@cs.ucla.edu>
35613         [BZ #16618]
35614         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
35615         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
35616         size in bytes. Store needed elements in wpmax. Use needed size
35617         in bytes for extend_alloca.
35619 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
35621         * manual/install.texi: Latest tested versions are GCC 4.9.2,
35622         binutls 2.25, and texinfo 5.2.
35623         * INSTALL: Regenerate.
35624         * sysdeps/nios2/configure: Regenerate.
35625         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
35626         * manual/contrib.texi: Update.
35627         * po/be.po: Update.
35628         * po/bg.po: Update.
35629         * po/ca.po: Update.
35630         * po/cs.po: Update.
35631         * po/da.po: Update.
35632         * po/de.po: Update.
35633         * po/el.po: Update.
35634         * po/eo.po: Update.
35635         * po/es.po: Update.
35636         * po/fi.po: Update.
35637         * po/fr.po: Update.
35638         * po/gl.po: Update.
35639         * po/hr.po: Update.
35640         * po/hu.po: Update.
35641         * po/ia.po: Update.
35642         * po/id.po: Update.
35643         * po/it.po: Update.
35644         * po/ja.po: Update.
35645         * po/ko.po: Update.
35646         * po/lt.po: Update.
35647         * po/nb.po: Update.
35648         * po/nl.po: Update.
35649         * po/pl.po: Update.
35650         * po/pt_BR.po: Update.
35651         * po/ru.po: Update.
35652         * po/rw.po: Update.
35653         * po/sk.po: Update.
35654         * po/sl.po: Update.
35655         * po/sv.po: Update.
35656         * po/tr.po: Update.
35657         * po/uk.po: Update.
35658         * po/vi.po: Update.
35659         * po/zh_CN.po: Update.
35660         * po/zh_TW.po: Update.
35662         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
35663         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
35664         * sysdeps/hppa/dl-irel.h: Remove #warning.
35665         * sysdeps/hppa/entry.h: Provide prototype for
35666         __canonicalize_funcptr_for_compare and cast argument.
35667         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
35668         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
35669         * sysdeps/hppa/sotruss-lib.c: New file.
35670         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
35671         (atomic_compare_and_exchange_val_acq): Use __typeof__.
35672         (atomic_compare_and_exchange_bool_acq): Likewise.
35673         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
35674         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
35676         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
35677         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
35678         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
35680 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
35682         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
35683         called function in non-PIC case.
35685 2015-01-31  David S. Miller  <davem@davemloft.net>
35687         * sysdeps/sparc/sparc32/bits/atomic.h
35688         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
35689         unlock not after it.
35690         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
35691         volatile register usage warnings from the compiler.
35693         * sysdeps/sparc/nptl/sem_init.c: Delete.
35694         * sysdeps/sparc/nptl/sem_post.c: Delete.
35695         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
35696         * sysdeps/sparc/nptl/sem_wait.c: Delete.
35697         * sysdeps/sparc/sparc32/sem_init.c: New file.
35698         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
35699         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
35700         padding explicitly initialized.
35701         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
35702         padding for in-semaphore spinlock.
35703         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
35704         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
35705         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
35706         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
35707         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
35708         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
35709         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
35710         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
35711         version.
35712         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
35713         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
35715 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
35717         [BZ #17801]
35718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35719         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
35720         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
35721         New.
35722         (index_AVX_Fast_Unaligned_Load): Likewise.
35723         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
35724         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
35725         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
35726         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
35727         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
35728         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
35729         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
35730         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
35731         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
35733 2015-01-29  Andreas Schwab  <schwab@suse.de>
35735         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
35737 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
35739         [BZ #17892]
35740         * nscd/nscd_stat.c (send_stats): Initialize DATA.
35742 2015-01-28  Martin Sebor  <msebor@redhat.com>
35744         * math/README.libm-test: Clarify. Add "How to read the test output."
35746 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
35748         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
35749         Define to 0.
35751 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
35753         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
35754         (__HAVE_64B_ATOMICS): Define to 0.
35756 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35758         [BZ #17885]
35759         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
35760         value to set as new flag.
35762         [BZ #16576]
35763         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
35764         and use _ARCH_PPCSQ instead.
35765         (__ieee754_sqrt): Likewise.
35766         (__ieee754_sqrtf): Likewise.
35767         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
35768         _ARCH_PPCSQ is defined.
35769         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
35770         fsqrt instruction.
35771         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
35772         _ARCH_PPCSQ is defined.
35773         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
35774         fsqrts instruction.
35775         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
35777 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35779         * iconv/loop.c: Suppress array out of bound warning caused by GCC
35780         bug (GCC BZ #64739).
35782 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
35784         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
35785         Mark _retval as used.
35786         (lll_futex_wake_unlock): Likewise.
35787         (lll_futex_timed_wait_requeue_pi): Likewise.
35789         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
35790         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
35791         register variables.
35793         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
35794         libm_hidden_def.
35796         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
35797         (__bswap_64): Mark as __always_inline.
35799 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
35801         [BZ #15378]
35802         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
35803         when none of the search directories exist.
35805 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35807         [BZ #17869]
35808         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
35809         power8 in .machine directive.
35811         [BZ #17868]
35812         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
35813         set dependency from opd value.
35815 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
35817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35818         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
35819         architecture.
35821 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
35823         [BZ #17870]
35824         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
35825         with uint64_t.
35826         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
35827         (uint64_t) 1.
35828         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
35829         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
35830         Replace 1UL with (uint64_t) 1.
35831         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
35832         int with uint64_t.
35834 2015-01-23  Roland McGrath  <roland@hack.frob.com>
35836         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
35837         (if_freenameindex): Likewise.
35839         * resource/getrlimit64.c: Add missing libc_hidden_def.
35841 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
35843         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
35844         __label__.
35845         (_FP_FMA): Likewise.
35846         (_FP_TO_INT_ROUND): Likewise.
35847         (_FP_FROM_INT): Likewise.
35849 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35851         [BZ #16418]
35852         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
35853         Make code racy and cancel safe.
35855 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
35857         * sysdeps/arm/unwind-resume.h: Fix copyright year.
35858         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
35859         attribution.
35861         * pwd/tst-getpw.c: Rewrite.
35863         [BZ #17702]
35864         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
35865         (modules-names): Add moddummy1 and moddummy2.
35866         ($(objpfx)tst-rec-dlopen): Define.
35867         * dlfcn/moddummy1.c: New file.
35868         * dlfcn/moddummy2.c: New file.
35869         * dlfcn/tst-rec-dlopen.c: New file.
35870         * elf/dl-cache.c (_dl_load_cache_lookup):
35871         Return char*. Copy result with alloca/strcpy/strdup.
35872         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
35873         returns char*. Free cached. If not saving realname
35874         free cached.
35875         * elf/dl-open.c (dl_open_worker): Do not assert that
35876         _r_debug->r_state is RT_CONSISTENT.
35877         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
35878         returns char*.
35880 2015-01-21  Torvald Riegel  <triegel@redhat.com>
35881             Carlos O'Donell  <carlos@redhat.com>
35883         [BZ #12674]
35884         * nptl/sem_waitcommon.c: New file.
35885         * nptl/sem_wait.c: Include sem_waitcommon.c.
35886         (__sem_wait_cleanup, do_futex_wait): Remove.
35887         (__new_sem_wait): Adapt.
35888         (__new_sem_trywait): New function.
35889         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
35890         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
35891         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
35892         (sem_timedwait): Adapt.
35893         * nptl/sem_post.c (__new_sem_post): Adapt.
35894         (futex_wake): New function.
35895         (__old_sem_post): Add release MO fence.
35896         * nptl/sem_open.c (sem_open): Adapt.
35897         * nptl/sem_init.c (__new_sem_init): Adapt.
35898         (futex_private_if_supported): New function.
35899         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
35900         (__old_sem_getvalue): Add using previous code.
35901         * sysdeps/nptl/internaltypes.h: Adapt.
35902         * nptl/tst-sem13.c (do_test): Adapt.
35903         * nptl/tst-sem11.c (main): Adapt.
35904         * nptl/sem_trywait.c: Remove.
35905         * nptl/DESIGN-sem.txt: Remove.
35906         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
35907         (gen-as-const-headers): Remove structsem.sym.
35908         * nptl/structsem.sym: Remove.
35909         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
35910         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
35911         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
35912         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
35913         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
35914         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
35915         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
35916         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
35917         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
35918         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
35919         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
35920         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
35921         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
35922         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
35923         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
35924         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
35925         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
35926         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
35927         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
35928         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
35929         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
35930         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
35932 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
35934         * INSTALL: Regenerated.
35936         * po/libc.pot: Regenerated.
35938 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
35939             Sandra Loosemore  <sandra@codesourcery.com>
35940             Andrew Jenner  <andrew@codesourcery.com>
35941             Joseph Myers  <joseph@codesourcery.com>
35942             Nathan Sidwell  <nathan@codesourcery.com>
35944         * NEWS: Mention new Nios II port.
35945         * sysdeps/nios2/Implies: New file.
35946         * sysdeps/nios2/Makefile: New file.
35947         * sysdeps/nios2/Subdirs: New file.
35948         * sysdeps/nios2/Versions: New file.
35949         * sysdeps/nios2/__longjmp.S: New file.
35950         * sysdeps/nios2/abort-instr.h: New file.
35951         * sysdeps/nios2/backtrace.c: New file.
35952         * sysdeps/nios2/bits/endian.h: New file.
35953         * sysdeps/nios2/bits/fenv.h: New file.
35954         * sysdeps/nios2/bits/link.h: New file.
35955         * sysdeps/nios2/bits/setjmp.h: New file.
35956         * sysdeps/nios2/bsd-_setjmp.S: New file.
35957         * sysdeps/nios2/bsd-setjmp.S: New file.
35958         * sysdeps/nios2/configure: New generated file.
35959         * sysdeps/nios2/configure.ac: New file.
35960         * sysdeps/nios2/crti.S: New file.
35961         * sysdeps/nios2/crtn.S: New file.
35962         * sysdeps/nios2/dl-init.c: New file.
35963         * sysdeps/nios2/dl-machine.h: New file.
35964         * sysdeps/nios2/dl-sysdep.h: New file.
35965         * sysdeps/nios2/dl-tls.h: New file.
35966         * sysdeps/nios2/dl-trampoline.S: New file.
35967         * sysdeps/nios2/gccframe.h: New file.
35968         * sysdeps/nios2/gmp-mparam.h: New file.
35969         * sysdeps/nios2/jmpbuf-offsets.h: New file.
35970         * sysdeps/nios2/jmpbuf-unwind.h: New file.
35971         * sysdeps/nios2/ldsodefs.h: New file.
35972         * sysdeps/nios2/libc-tls.c: New file.
35973         * sysdeps/nios2/libm-test-ulps: New file.
35974         * sysdeps/nios2/machine-gmon.h: New file.
35975         * sysdeps/nios2/math-tests.h: New file.
35976         * sysdeps/nios2/math_private.h: New file.
35977         * sysdeps/nios2/memusage.h: New file.
35978         * sysdeps/nios2/nptl/Makefile: New file.
35979         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
35980         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
35981         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
35982         * sysdeps/nios2/nptl/pthreaddef.h: New file.
35983         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
35984         * sysdeps/nios2/nptl/tls.h: New file.
35985         * sysdeps/nios2/preconfigure: New file.
35986         * sysdeps/nios2/s_fma.c: New file.
35987         * sysdeps/nios2/s_fmaf.c: New file.
35988         * sysdeps/nios2/setjmp.S: New file.
35989         * sysdeps/nios2/sfp-machine.h: New file.
35990         * sysdeps/nios2/sotruss-lib.c: New file.
35991         * sysdeps/nios2/stackguard-macros.h: New file.
35992         * sysdeps/nios2/stackinfo.h: New file.
35993         * sysdeps/nios2/start.S: New file.
35994         * sysdeps/nios2/sysdep.h: New file.
35995         * sysdeps/nios2/tls-macros.h: New file.
35996         * sysdeps/nios2/tst-audit.h: New file.
35997         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
35998         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
35999         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
36000         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
36001         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
36002         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
36003         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
36004         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
36005         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
36006         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
36007         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
36008         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
36009         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
36010         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
36011         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
36012         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
36013         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
36014         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
36015         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
36016         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
36017         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
36018         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
36019         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
36020         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
36021         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
36022         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
36023         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
36024         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
36025         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
36026         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
36027         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
36028         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
36029         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
36030         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
36031         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
36032         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
36033         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
36034         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
36035         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
36036         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
36037         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
36038         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
36039         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
36040         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
36042 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36044         [BZ #17844]
36045         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
36046         (getutent): Use weak_alias in non SHARED case
36047         and default_symbol_version in SHARED case.
36048         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
36049         (getutent_r, pututline): Likewise.
36050         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
36051         (getutid): Likewise.
36052         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
36053         (getutid_r): Likewise.
36054         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
36055         (getutline): Likewise.
36056         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
36057         (getutline_r): Likewise.
36058         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
36059         (updwtmp): Likewise.
36061 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36063         [BZ #17848]
36064         * sysdeps/s390/s390-32/memcmp.S
36065         (memcmp_g5): Rename to __memcmp_g5.
36066         * sysdeps/s390/s390-32/memcpy.S
36067         (memcpy_g5): Rename to __memcpy_g5.
36068         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36069         (memcpy_mvcle) Rename to __memcpy_mvcle.
36070         * sysdeps/s390/s390-32/memset.S
36071         (memset_g5): Rename to __memset_g5.
36072         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36073         (IFUNC_RESOLVE): Prefix ifunc-resolve function
36074         and use prefixed functions.
36075         * sysdeps/s390/s390-32/multiarch/memcmp.S
36076         (memcmp_z196): Rename to __memcmp_z196.
36077         (memcmp_z10): Rename to __memcmp_z10.
36078         (memcmp): Set alias to __memcmp_g5.
36079         (bcmp): Set alias to __memcmp_g5.
36080         * sysdeps/s390/s390-32/multiarch/memcpy.S
36081         (memcpy_z196): Rename to __memcpy_z196.
36082         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36083         (memcpy_z10): Rename to __memcpy_z10.
36084         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36085         (memcpy): Set alias to __memcpy_g5.
36086         * sysdeps/s390/s390-32/multiarch/memset.S
36087         (memset_z196): Rename to __memset_z196.
36088         Jump to __memset_mvcle instead of memset_mvcle.
36089         (memset_z10): Rename to __memset_z10.
36090         Jump to __memset_mvcle instead of memset_mvcle.
36091         (memset_mvcle) Rename to __memset_mvcle.
36092         (memset): Set alias to __memset_g5.
36093         * sysdeps/s390/s390-64/memcmp.S
36094         (memcmp_z900): Rename to __memcmp_z900.
36095         * sysdeps/s390/s390-64/memcpy.S
36096         (memcpy_z900): Rename to __memcpy_z900.
36097         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36098         (memcpy_mvcle) Rename to __memcpy_mvcle.
36099         * sysdeps/s390/s390-64/memset.S
36100         (memset_z900): Rename to __memset_z900.
36101         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
36102         (IFUNC_RESOLVE): Prefix ifunc-resolve function
36103         and use prefixed functions.
36104         * sysdeps/s390/s390-64/multiarch/memcmp.S
36105         (memcmp_z196): Rename to __memcmp_z196.
36106         (memcmp_z10): Rename to __memcmp_z10.
36107         (memcmp): Set alias to __memcmp_z900.
36108         (bcmp): Set alias to __memcmp_z900.
36109         * sysdeps/s390/s390-64/multiarch/memcpy.S
36110         (memcpy_z196): Rename to __memcpy_z196.
36111         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36112         (memcpy_z10): Rename to __memcpy_z10.
36113         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36114         (memcpy): Set alias to __memcpy_z900.
36115         * sysdeps/s390/s390-64/multiarch/memset.S
36116         (memset_z196): Rename to __memset_z196.
36117         Jump to __memset_mvcle instead of memset_mvcle.
36118         (memset_z10): Rename to __memset_z10.
36119         Jump to __memset_mvcle instead of memset_mvcle.
36120         (memset_mvcle) Rename to __memset_mvcle.
36121         (memset): Set alias to __memset_z900.
36123 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
36125         [BZ #17748]
36126         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
36127         __fesetenv instead of fesetenv.
36129 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36131         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
36132         macro.
36134 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36136         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
36137         regression on LE.
36139         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
36140         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
36141         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36142         strncmp-power8 object.
36143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36144         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
36145         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
36146         * NEWS: Update.
36148 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36149             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36151         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
36152         trailing byte check.
36154 2015-01-13  David S. Miller  <davem@davemloft.net>
36156         * include/signal.h (__sigreturn): Guard with __USE_MISC.
36158 2015-01-13  Roland McGrath  <roland@hack.frob.com>
36160         * login/logout.c (logout): Use memset rather than bzero.
36161         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
36162         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
36163         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
36164         (_gethtbyaddr): Likewise.
36165         * locale/programs/simple-hash.c (bcopy): Macro removed.
36167 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36169         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36170         Add strcmp-power8 object.
36171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36172         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
36173         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
36174         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
36175         __strcmp_power8 implementation.
36176         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
36177         * NEWS: Update.
36179         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36180         Add strncpy-power8 and stpncpy-power8 objects.
36181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36182         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
36183         implementations.
36184         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
36185         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
36186         __stpncpy_power8 implementation.
36187         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
36188         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
36189         __strncpy_power8 implementation.
36190         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
36191         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
36192         * NEWS: Update.
36194         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
36195         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
36196         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
36198         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36199         strncat-power8 object.
36200         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
36201         __strcat_power8 implementation.
36202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36203         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
36204         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
36205         optimized strcat for power8.
36207         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36208         strcpy-power8 and stpcpy-power8 objects.
36209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36210         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
36211         implementations.
36212         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
36213         multiarch stpcpy implementation for POWER8.
36214         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
36215         multiarch strcpy implementation for POWER8.
36216         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
36217         __strcpy_power8 function.
36218         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
36219         stpcpy for POWER8.
36220         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
36221         strcpy for POWER8.
36222         * NEWS: Update.
36224 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
36226         [BZ #16009]
36227         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
36228         weights and rules. Use do_xfrm_cached if data fits in cache,
36229         do_xfrm otherwise.  Moved former main loop to...
36230         * (do_xfrm_cached): New function.
36231         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
36232         find_idx, find_position and stack_push.
36233         * (find_idx): New function.
36234         * (find_position): Likewise.
36235         * localedata/sort-test.sh: Added test run for do_xfrm.
36236         * localedata/xfrm-test.c (main): Added command line option
36237         -nocache to run the test with strings that are too large for
36238         the STRXFRM cache.
36240 2015-01-13  Torvald Riegel  <triegel@redhat.com>
36242         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
36243         variable to lll_futex_wake call, not the value itself.
36245 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
36247         [BZ #17803]
36248         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
36249         twom64.  Adjust value to 0x1p-64L.
36250         (__scalblnl): Only return standard underflowing result for K <=
36251         -64 not K <= -63; adjust exponent for underflowing result by 64
36252         not 63.
36253         * math/libm-test.inc (scalbn_test_data): Add more tests.
36254         (scalbln_test_data): Likewise.
36256         [BZ #17834]
36257         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
36258         0x1p63L.
36259         (__scalblnl): Get new exponent of adjusted subnormal value from ES
36260         not HX.
36261         * math/libm-test.inc (scalbn_test_data): Add more tests.
36262         (scalbln_test_data): Likewise.
36264 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36265             Stefani Seibold  <stefani@seibold.net>
36267         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
36268         (sysdep_routines): Add dl-vdso here, ...
36269         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
36270         (sysdep_routines): ... not here.
36271         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
36272         fallback when vDSO is not presented.
36273         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36274         Define with libc_hidden_proto/libc_hidden_data_def definitions.
36275         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
36276         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
36277         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
36278         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
36279         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
36280         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
36281         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
36282         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
36283         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
36284         fallback configurable symbol when vDSO is not available.
36285         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
36286         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
36287         be able to redefine fallback symbol when vDSO is not available.
36288         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
36289         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
36291 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36293         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
36294         (TLS_INIT_TP): Add tm_capable initialization.
36295         (TLS_DEFINE_INIT_TP): Likewise.
36296         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
36297         TCB.
36298         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
36299         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
36300         calculation.
36301         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
36302         transactoion is lock elision is built and TCB tm_capable is set.
36303         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
36304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36305         (INTERNAL_SYSCALL_NCS): Likewise.
36306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36307         (INTERNAL_SYSCALL_NCS): Likewise.
36308         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
36310         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
36311         for powerpc.
36312         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36313         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
36314         and remove it for 32 bits case.
36315         [pthread_rwlock_t] (__rwelision): New field for lock elision.
36316         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
36317         initialization.
36318         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
36319         Disable lock elision with rdlocks if elision is not available.
36321         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
36322         (sysdep_routines): Add lock elision objects.
36323         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36324         [pthread_mutex_t] (__spins): Rework to add lock elision field.
36325         [pthread_mutex_t] (__elision): Add field.
36326         [__PTHREAD_SPINS]: Adjust to init lock elision field.
36327         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
36328         elision definitions for powerpc.
36329         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
36330         implementation of lock elision for powerpc.
36331         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
36332         implementation of timed lock elision for powerpc.
36333         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
36334         implementation of trylock with lock elision for powerpc.
36335         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
36336         implementaion of unlock for lock elision for powerpc.
36337         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
36338         automatic enable lock elision for mutexes.
36339         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
36340         transaction execution definitions for powerpc.
36341         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
36342         definitions.
36343         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
36344         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
36345         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
36346         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
36347         * NEWS: Update.
36349 2015-01-09  Roland McGrath  <roland@hack.frob.com>
36351         * sysdeps/posix/shm-directory.c: Use <> rather than ""
36352         for #include of <shm-directory.h>.
36354 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
36356         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
36357         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
36359 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
36361         [BZ #17791]
36362         * NEWS: Mention bug fix.
36363         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
36364         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
36365         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
36367 2015-01-09  Torvald Riegel <triegel@redhat.com>
36369         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
36371 2015-01-09  Torvald Riegel <triegel@redhat.com>
36373         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
36375 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36377         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
36378         pointer and cast to uintptr_t.
36380 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36382         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
36383         removed.
36384         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
36386 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36388         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
36389         of 0.
36391 2015-01-08  Roland McGrath  <roland@hack.frob.com>
36393         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
36394         <nptl/pthreadP.h> instead.
36395         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
36397         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
36398         already defined.
36399         [__SIGRTMIN] (init): Function removed.
36400         [__SIGRTMIN] (initialized): Variable removed.
36401         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
36402         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
36403         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
36404         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
36405         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
36406         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
36407         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
36408         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
36409         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
36410         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
36411         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
36412         * sysdeps/nptl/allocrtsig.c: New file.
36413         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
36414         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
36415         * sysdeps/generic/testrtsig.h: File removed.
36417         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
36418         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
36420         * nptl/nptl-init.c (pthread_functions): Conditionalize
36421         .ptr__nptl_setxid initialization on [SIGSETXID].
36423         * sysdeps/nptl/sys/procfs.h: New file.
36424         * nptl_db/Makefile (headers): Add it.
36425         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
36427         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
36428         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
36429         * nptl/pthread_attr_setaffinity.c: Include it.
36430         * nptl/pthread_setattr_default_np.c: Likewise.
36431         * nptl/check-cpuset.h: New file.
36433 2015-01-08  Richard Henderson  <rth@redhat.com>
36435         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
36436         (CFLAGS-tst-execstack-prog.c): Likewise.
36437         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
36439 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
36440             Sandra Loosemore  <sandra@codesourcery.com>
36441             Andrew Jenner  <andrew@codesourcery.com>
36442             Joseph Myers  <joseph@codesourcery.com>
36443             Nathan Sidwell  <nathan@codesourcery.com>
36445         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
36446         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
36447         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
36448         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
36449         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
36450         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
36451         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
36452         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
36453         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
36454         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
36455         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
36456         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
36457         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
36458         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
36459         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
36460         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
36461         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
36463 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36465         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
36466         timespec struct member in syscall macro.
36467         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
36468         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
36469         first timeval struct member in syscall macro.
36470         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
36472 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
36474         [BZ #17748]
36475         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
36476         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
36477         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
36478         __feupdateenv and define as weak alias of __feupdateenv.  Use
36479         libm_hidden_weak.
36480         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
36481         libm_hidden_def.
36482         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
36483         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
36484         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
36485         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
36486         libm_hidden_def.
36487         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
36488         __feupdateenv and define as weak alias of __feupdateenv.  Use
36489         libm_hidden_weak.
36490         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
36491         libm_hidden_def.
36492         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
36493         __feupdateenv and define as weak alias of __feupdateenv.  Use
36494         libm_hidden_weak.
36495         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
36496         libm_hidden_def.
36497         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36498         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
36499         (__feupdateenv): Likewise.
36500         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
36501         __feupdateenv and define as weak alias of __feupdateenv.  Use
36502         libm_hidden_weak.
36503         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36504         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
36505         libm_hidden_def.
36506         * sysdeps/tile/math_private.h (__feupdateenv): New inline
36507         function.
36508         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
36509         libm_hidden_def.
36510         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
36511         __feupdateenv instead of feupdateenv.
36512         (default_libc_feupdateenv_test): Likewise.
36513         (libc_feresetround_ctx): Likewise.
36515 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36517         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
36518         prototype.
36520 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
36522         * posix/regcomp.c (parse_bracket_exp): Initialize type to
36523         COLL_SYM in a couple of places to avoid uninitialized variable
36524         wanings on tilegx gcc 4.8.2.
36526 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
36528         * sysdeps/aarch64/strcpy.S: New file.
36529         * sysdeps/aarch64/stpcpy.S: New file.
36530         * NEWS: Updated.
36532 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
36534         * sysdeps/aarch64/strrchr.S: New file.
36535         * NEWS: Updated.
36537 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
36539         [BZ #17658]
36540         * stdlib/setenv.c: Fix memory leak when setting large,
36541         duplicate string.
36543 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
36545         [BZ #17273]
36546         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
36547         and tabs from buffer before parsing fstab entry.
36548         * misc/tst-mntent.c (main): Add test for mount entry with
36549         trailing spaces and tabs.
36551 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
36553         [BZ #17748]
36554         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
36555         * math/fesetround.c (fesetround): Rename to __fesetround and
36556         define as weak alias of __fesetround.  Use libm_hidden_weak.
36557         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
36558         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
36559         * sysdeps/arm/fesetround.c (fesetround): Likewise.
36560         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
36561         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
36562         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
36563         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
36564         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
36565         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
36566         __fesetround_inline.
36567         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
36568         __fesetround_inline instead of __fesetround.
36569         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
36570         __fesetround and define as weak alias of __fesetround.  Use
36571         libm_hidden_weak.  Call __fesetround_inline instead of
36572         __fesetround.
36573         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
36574         __fesetround and define as weak alias of __fesetround.  Use
36575         libm_hidden_weak.
36576         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
36577         Likewise.
36578         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
36579         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36580         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
36581         * sysdeps/tile/math_private.h (__fesetround): New inline function.
36582         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
36583         __fesetround and define as weak alias of __fesetround.  Use
36584         libm_hidden_weak.
36585         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
36586         __fesetround instead of fesetround.
36587         (default_libc_feholdexcept_setround): Likewise.
36588         (libc_feholdsetround_ctx): Likewise.
36589         (libc_feholdsetround_noex_ctx): Likewise.
36591         [BZ #17748]
36592         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
36593         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
36594         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
36595         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
36596         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36597         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
36598         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36599         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
36600         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36601         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36602         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36603         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36604         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36605         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36606         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
36607         libm_hidden_def.
36608         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
36609         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
36610         Likewise.
36611         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36612         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36613         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36614         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36615         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
36616         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
36617         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
36618         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
36619         __fesetenv instead of fesetenv.
36620         (libc_feresetround_noex_ctx): Likewise.
36621         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
36622         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
36623         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
36624         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
36625         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
36626         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
36627         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36628         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
36629         (__feupdateenv): Likewise.
36630         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36631         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36632         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36633         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
36635 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
36637         [BZ #17806]
36638         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
36639         addresses have been freed.
36641 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
36643         * resolv/res_init.c (__res_vinit): Improve comments about nserv
36644         and nservall.
36646 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
36648         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
36649         Clean up check_pf allocation pattern. addresses
36651 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36653         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
36654         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
36655         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
36656         * nptl/pthread_exit.c (__pthread_exit): Likewise.
36657         * nptl/pthread_join.c (pthread_join): Likewise.
36658         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
36659         * sysdeps/posix/waitid.c (__waitid): Likewise.
36660         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36661         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36662         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36663         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36664         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36665         Likewise.
36666         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36667         (__libc_pread64): Likewise.
36668         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36669         (__libc_pwrite): Likewise.
36670         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36671         (__libc_pwrite64): Likewsie.
36672         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36673         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36674         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36675         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36676         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36677         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36678         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36680         Likewise.
36681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36682         (__libc_pread64): Likewise.
36683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
36684         Likewise.
36685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36686         (__libc_pwrite64): Likewise.
36687         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36688         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36689         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
36690         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
36691         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36692         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36693         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
36694         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36695         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36696         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36697         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
36698         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36699         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36700         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
36701         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36702         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36703         Likewise.
36705 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
36707         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
36708         (CFLAGS-test-double.c): Likewise.
36709         (CFLAGS-test-ldouble.c): Likewise.
36710         (CPPFLAGS-test-ifloat.c): Likewise.
36711         (CPPFLAGS-test-idouble.c): Likewise.
36712         (CPPFLAGS-test-ildoubl.c): Likewise.
36713         (CFLAGS-test-test-fenv.c): Remove variable.
36714         (CFLAGS-test-misc.c): Likewise.
36716 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
36718         [BZ #17797]
36719         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
36720         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
36721         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
36722         CLOCKS_PER_SEC == 1000000.
36723         * time/clocktest.c (main): Replace %ld with %jd and cast to
36724         intmax_t.
36726 2015-01-05  Roland McGrath  <roland@hack.frob.com>
36728         * sysdeps/generic/unwind-resume.h: New file.
36729         * sysdeps/gnu/unwind-resume.c: Include it.
36730         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
36731         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
36732         argument list.
36733         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
36734         global rather than static.
36735         (_Unwind_Resume): Update user.
36736         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
36737         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
36738         rather than static.  Add __attribute__ ((cold)).
36739         (_Unwind_Resume, __gcc_personality_v0): Update callers.
36740         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
36741         * sysdeps/arm/arm-unwind-resume.S: New file.
36742         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
36743         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
36744         * sysdeps/arm/Makefile [$(subdir) = csu]
36745         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
36746         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36747         Add rt-arm-unwind-resume.
36748         [$(subdir) = nptl]
36749         (libpthread-sysdep_routines, libpthread-shared-only-routines):
36750         Add pt-arm-unwind-resume.
36751         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
36752         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
36754 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
36756         [BZ #17748]
36757         * include/fenv.h (__feholdexcept): Declare.  Use
36758         libm_hidden_proto.
36759         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
36760         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
36761         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36762         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
36763         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
36764         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
36765         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
36766         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36767         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
36768         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
36769         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36770         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
36771         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
36772         (feholdexcept): Likewise.
36773         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36774         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36775         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36776         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36777         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
36778         __feholdexcept instead of feholdexcept.
36779         (default_libc_feholdexcept_setround): Likewise.
36781 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
36783         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
36784         to avoid using stl/str to align destination.
36786 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
36788         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
36790 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
36792         [BZ #17796]
36793         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
36794         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
36795         Define as weak alias not strong alias.
36797 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
36799         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
36800         bltzal with addiupc.
36801         (RTLD_START): Ditto.
36803 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
36805         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
36806         for __vdso_* functions in declarations.
36807         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
36808         definitions.
36809         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
36810         INTERNAL_VSYSCALL): Use struct return types to check for error.
36812         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
36813         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
36814         function with cast from llround().
36815         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
36816         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
36817         Define.
36819 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
36821         [BZ #17793]
36822         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
36823         Define as weak alias not strong alias.
36825         [BZ #17635]
36826         * ctype/ctype-c99.c: New file.  isblank implementation moved from
36827         ...
36828         * ctype/ctype-extn.c: ... here.
36829         (__isblank_l): Move to ...
36830         * ctype/ctype-c99_l.c: ... here.  New file.
36831         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
36832         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
36833         Remove variable.
36834         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36835         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
36836         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
36837         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
36838         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
36840         [BZ #17777]
36841         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
36842         (posix_fadvise64): Define as weak alias not strong alias.
36843         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36844         (posix_fallocate64): Likewise.
36845         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
36846         Remove variable.
36847         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
36848         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
36849         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
36850         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
36851         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
36853 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
36855         [BZ #16191]
36856         * NEWS: Mention bug fix.
36857         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
36858         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
36859         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
36860         (HOST_STACK_END_ADDR): Likewise.
36862 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
36864         [BZ #17748]
36865         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
36866         * math/fegetround.c (fegetround): Rename to __fegetround and
36867         define as weak alias of __fegetround.  Use libm_hidden_weak.
36868         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
36869         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
36870         * sysdeps/arm/fegetround.c (fegetround): Likewise.
36871         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
36872         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36873         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
36874         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
36875         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
36876         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36877         Undefine after rather than before function definition; use
36878         parentheses around function name in definition.
36879         (__fegetround): Also undefine macro after function definition.
36880         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
36881         __fegetround and define as weak alias of __fegetround.  Use
36882         libm_hidden_weak.  Do not undefine as macro.
36883         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36884         Likewise.
36885         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
36886         __fegetround and define as weak alias of __fegetround.  Use
36887         libm_hidden_weak.
36888         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36889         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36890         * sysdeps/tile/math_private.h (__fegetround): New inline function.
36891         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
36892         __fegetround and define as weak alias of __fegetround.  Use
36893         libm_hidden_weak.
36894         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
36895         __fegetround instead of fegetround.
36897         [BZ #17782]
36898         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
36899         Condition macro definition on [__USE_MISC].
36901         [BZ #17781]
36902         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
36903         (struct sigaction): Change type of sa_flags field to int.
36905         [BZ #17780]
36906         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
36907         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
36908         __glibc_reserved0.
36910         * nptl/version.c (banner): Use single year in copyright notice.
36912         * NEWS: Update copyright dates.
36913         * catgets/gencat.c (print_version): Likewise.
36914         * csu/version.c (banner): Likewise.
36915         * debug/catchsegv.sh: Likewise.
36916         * debug/pcprofiledump.c (print_version): Likewise.
36917         * debug/xtrace.sh (do_version): Likewise.
36918         * elf/ldconfig.c (print_version): Likewise.
36919         * elf/ldd.bash.in: Likewise.
36920         * elf/pldd.c (print_version): Likewise.
36921         * elf/sotruss.sh: Likewise.
36922         * elf/sprof.c (print_version): Likewise.
36923         * iconv/iconv_prog.c (print_version): Likewise.
36924         * iconv/iconvconfig.c (print_version): Likewise.
36925         * locale/programs/locale.c (print_version): Likewise.
36926         * locale/programs/localedef.c (print_version): Likewise.
36927         * login/programs/pt_chown.c (print_version): Likewise.
36928         * malloc/memusage.sh (do_version): Likewise.
36929         * malloc/memusagestat.c (print_version): Likewise.
36930         * malloc/mtrace.pl: Likewise.
36931         * manual/libc.texinfo: Likewise.
36932         * nptl/version.c (banner): Likewise.
36933         * nscd/nscd.c (print_version): Likewise.
36934         * nss/getent.c (print_version): Likewise.
36935         * nss/makedb.c (print_version): Likewise.
36936         * posix/getconf.c (main): Likewise.
36937         * scripts/test-installation.pl: Likewise.
36938         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
36940 2015-01-02  Will Newton  <will.newton@linaro.org>
36942         * sysdeps/arm/armv7/configure: Removed.
36943         * sysdeps/arm/armv7/configure.ac: Likewise.
36945 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
36947         * All files with FSF copyright notices: Update copyright dates
36948         using scripts/update-copyrights.
36949         * intl/plural.c: Regenerated.
36950         * locale/programs/charmap-kw.h: Likewise.
36951         * locale/programs/locfile-kw.h: Likewise.
36953 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36955         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
36957 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
36959         [BZ #17748]
36960         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
36961         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
36962         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
36963         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
36964         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36965         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
36966         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36967         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
36968         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36969         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36970         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36971         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36972         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36973         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36974         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
36975         libm_hidden_def.
36976         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
36977         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
36978         Likewise.
36979         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36980         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36981         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36982         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36983         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
36984         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
36985         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
36986         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
36987         __fegetenv instead of fegetenv.
36988         (libc_feholdsetround_noex_ctx): Likewise.
36990 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
36992         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
36993         (Elf_MIPS_ABIFlags_v0): New structure.
36994         (EF_MIPS_FP64): Define.
36995         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
36996         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
36997         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
36998         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
36999         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
37000         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
37001         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
37002         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
37003         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
37004         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
37005         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
37006         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
37007         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
37008         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
37009         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
37010         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
37011         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
37012         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
37013         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
37014         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
37015         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
37016         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
37017         field.
37018         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
37019         EF_MIPS_FP64.
37020         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
37021         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
37022         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
37023         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
37024         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
37025         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
37026         * sysdeps/mips/tst-abi-interlink.c: Likewise.
37027         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
37028         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
37029         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
37030         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
37031         record the current FP ABI extension.
37032         (mips-mode-switch): Define to show if kernel headers support mode
37033         switching.
37034         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
37035         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
37036         supported SYSV ABI version to 3.
37037         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
37038         feature.
37040 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37041             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37043         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
37044         path.
37045         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
37047 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
37049         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
37050         __fegetround and redefine to call __fegetround.  Remove condition
37051         on [!__NO_MATH_INLINES].
37052         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
37053         function.
37054         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
37055         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37056         Remove macro.
37057         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
37058         instead of <fenv_libc.h>.
37059         (__llrintl): Call fegetround instead of __fegetround.
37060         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
37061         instead of <fenv_libc.h>.
37062         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37063         (__lrintl): Call fegetround instead of __fegetround.
37064         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
37065         instead of <fenv_libc.h>.
37066         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37067         (__rintl): Call fegetround instead of __fegetround.
37069 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37071         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
37072         arrays.
37074 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
37076         [BZ #17775]
37077         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
37078         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
37079         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
37081 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
37083         * sysdeps/i386/tls-macros.h: Include <features.h>.
37084         (TLS_LE): Use non-PIC version for GCC >= 5.0.
37085         (TLS_IE): Likewise.
37086         (TLS_LD): Likewise.
37087         (TLS_GD): Likewise.
37088         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
37089         define for GCC >= 5.0.
37091 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
37093         * math/test-fenv.c (test_single_exception, set_single_exc,
37094         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
37095         feexcp_mask_test, feenable_test, fe_single_test): Add
37096         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
37097         case where they are not used.
37098         * math/libm-test.inc: Likewise.
37099         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
37100         unused in the absence of FP rounding/exception support.
37101         * stdio-common/tst-printf-round.c: Likewise.
37102         * stdlib/tst-strtod-round.c: Likewise.
37103         * stdlib/tst-strtod-underflow.c: Likewise.
37105 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
37107         [BZ #17723]
37108         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
37109         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
37110         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37111         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37112         libm_hidden_weak.
37113         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
37114         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
37115         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
37116         libm_hidden_def.
37117         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37118         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37119         libm_hidden_weak.
37120         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
37121         Likewise.
37122         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
37123         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37124         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37125         libm_hidden_weak.
37126         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
37127         libm_hidden_def.
37128         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37129         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
37130         (__feraiseexcept): Likewise.
37131         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37132         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37133         libm_hidden_weak.
37134         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
37135         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
37136         libm_hidden_def.
37137         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
37138         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
37139         Use libm_hidden_def.
37140         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
37141         libm_hidden_def.
37142         (feraiseexcept): Define as weak not strong alias.  Use
37143         libm_hidden_weak.
37144         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
37145         New inline function.  Factored out of ...
37146         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
37147         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
37148         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
37149         feraiseexcept.
37150         * math/w_acos.c (__acos): Likewise.
37151         * math/w_asin.c (__asin): Likewise.
37152         * math/w_ilogb.c (__ilogb): Likewise.
37153         * math/w_j0.c (y0): Likewise.
37154         * math/w_j1.c (y1): Likewise.
37155         * math/w_jn.c (yn): Likewise.
37156         * math/w_log.c (__log): Likewise.
37157         * math/w_log10.c (__log10): Likewise.
37158         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
37159         * sysdeps/aarch64/fpu/math_private.h
37160         (libc_feupdateenv_test_aarch64): Likewise.
37161         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37162         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
37163         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
37164         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37165         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37166         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37167         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
37168         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37169         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37170         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37172 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
37174         [BZ #17732]
37175         * io/test-utime.c (main): Replace %ld with %jd and cast to
37176         intmax_t.
37177         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
37178         * nptl/tst-mutex5.c: Include <stdint.h>.
37179         (do_test): Replace %ld with %jd and cast to intmax_t.
37180         * posix/tst-regex.c (run_test): Likewise.
37181         (run_test_backwards): Likewise.
37182         * rt/tst-clock.c: Include <stdint.h>.
37183         (clock_test): Replace %ld with %jd and cast to intmax_t.
37184         * rt/tst-cpuclock1.c: Include <stdint.h>.
37185         (do_test): Replace %lu with %ju and cast to uintmax_t.
37186         * rt/tst-cpuclock2.c: Include <stdint.h>.
37187         (do_test): Replace %lu with %ju and cast to uintmax_t.
37188         * rt/tst-mqueue1.c: Include <stdint.h>.
37189         (check_attrs): Replace %ld with %jd and cast to intmax_t.
37190         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
37191         intmax_t.
37192         * rt/tst-mqueue4.c (do_test): Likewise.
37193         * rt/tst-timer4.c: Include <stdint.h>.
37194         (check_ts): Replace %ld with %jd and cast to intmax_t.
37195         (do_test): Likewise.
37196         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
37197         and cast to intmax_t.
37198         * sysdeps/pthread/tst-timer.c (main): Likewise.
37199         * time/clocktest.c (main): Likewise.
37200         * time/tst-posixtz.c (do_test): Likewise.
37201         * timezone/tst-timezone.c (main): Likewise.
37203 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
37204             H.J. Lu  <hongjiu.lu@intel.com>
37206         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
37207         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37208         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
37209         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
37210         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
37211         version if bit_Fast_Unaligned_Load is set.
37212         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37213         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37214         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37215         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37216         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37217         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37218         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37219         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
37220         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
37221         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
37222         to 4.
37223         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
37224         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
37225         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
37226         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
37228 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
37230         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
37231         instead of #if to avoid a Wundef warning.
37232         * stdlib/tst-limits.c (do_test): Likewise.
37234         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
37235         parallel other exception macros.
37236         (fegetenv): Convert from macro to extern inline so that it applies
37237         retroactively to inline functions already seen by the compiler.
37238         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
37240         * posix/Makefile (before-compile): Use $(objpfx) for
37241         posix-conf-vars-def.h.
37243 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37245         * posix/getconf.c (main): Use size_t for type of I.
37246         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
37247         NSPEC.
37249         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
37250         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
37251         * posix/posix-envs.def: Likewise.
37252         * sysdeps/posix/sysconf.c: Likewise.
37253         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
37254         (specs): Remove array.
37255         * scripts/gen-posix-conf-vars.awk: Support generation of specs
37256         array.
37258         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
37259         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
37260         (__sysconf): Use CONF_IS_* macros.
37262         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
37263         ($(objpfx)posix-conf-vars-def.h): New target.
37264         * posix/posix-conf-vars.list: New file.
37265         * posix/posix-conf-vars.h: New file.
37266         * posix/confstr.c: Include posix-conf-vars.h.
37267         (confstr): Use CONF_IS_* macros.
37268         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
37269         CONF_IS_* macros.
37270         * scripts/gen-posix-conf-vars.awk: New file.
37272 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
37274         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
37275         fegetround): Add no-op macros to avoid linknamespace issues.
37277         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
37278         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
37280         * sysdeps/unix/sysv/linux/tile/sysdep.h
37281         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
37282         assembly-specific section to avoid a redefinition warning.
37284         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
37285         long before casting to pointer to avoid a cast warning.
37287 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
37289         * sysdeps/tile/tilegx/Implies: New file.
37291 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
37293         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
37295 2014-12-23  Florian Weimer  <fweimer@redhat.com>
37297         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
37299 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37301         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
37302         not define.
37303         * sysdeps/unix/sysv/linux/utimes.c: Do not include
37304         <kernel-features.h>.
37305         (__utimes) [__NR_utimes]: Make code unconditional.
37306         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
37307         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37308         (__ASSUME_UTIMES): Do not undefine.
37309         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37310         (__ASSUME_UTIMES): Likewise.
37311         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37312         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
37313         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
37314         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
37316 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
37318         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
37320 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
37322         [BZ #17747]
37323         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
37324         alias to weak alias for j0l, y0l.
37325         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
37326         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
37328         [BZ #17746]
37329         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
37330         conversion.
37332 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
37334         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
37335         to zero if not already defined.
37337 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37339         [BZ #17724]
37340         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
37341         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
37342         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
37343         (char *) casts added.
37344         * sysdeps/ieee754/k_standardf.c: New file.
37345         * sysdeps/ieee754/k_standardl.c: Likewise.
37346         * math/Makefile (libm-support): Remove k_standard.
37347         (libm-calls): Add k_standard.
37349 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37351         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37352         Optimize to avoid an unnecessary FPCR read.
37354 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37356         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
37357         Optimize to reduce FPCR/FPSR accesses.
37359 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37361         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
37362         Call libc_fetestexcept_aarch64.
37364 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37366         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
37367         Call libc_fesetround_aarch64.
37369 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37371         [BZ #17733]
37372         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
37373         (__bind): Do not define as weak alias.
37374         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
37375         define.
37376         (__getsockname): Do not define as weak alias.
37378 2014-12-22  Will Newton  <will.newton@linaro.org>
37380         * manual/install.texi: Document that we require bison 2.7
37381         or above.
37382         * INSTALL: Regenerate.
37383         * configure.ac: Use AC_CHECK_PROG_VER instead of
37384         AC_PATH_PROG when checking for bison and check for
37385         version 2.7 or above.
37386         * configure: Regenerate.
37388 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
37390         [BZ #17745]
37391         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
37392         * sysdeps/tile/ffsll.c (ffsll): To here.
37394         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
37396 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
37398         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
37399         if not defined.
37400         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
37401         definition.
37402         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
37403         hidden ___tls_get_addr.
37404         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
37405         hidden __tls_get_addr.
37406         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
37407         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
37408         Likewise.
37410 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
37412         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
37413         _dl_init call.
37415 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
37417         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
37418         from "call _dl_init@PLT".
37419         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
37421 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
37423         * manual/search.texi: (Array Sort Function): Clarify stable sorting
37424         guarantees.
37426 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
37428         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
37430 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
37432         [BZ #17744]
37433         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
37434         strnlen.
37436 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
37438         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
37439         of multu on MIPSr6.
37440         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
37441         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
37442         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
37443         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
37444         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
37446 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
37448         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
37449         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
37450         (PTR_SUBU): Use subu for mips32r6/mips64r6.
37451         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
37452         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
37453         mips32r6/mips64r6.
37454         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
37456 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
37458         * string/strncat.c (STRNCAT): Simplify implementation.
37460 2014-12-19  David S. Miller  <davem@davemloft.net>
37462         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
37463         access the quad as both a long double and as a series of 4 words.
37465         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
37466         link_map->l_info array access.
37468 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
37470         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
37472         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
37473         * math/atest-exp2.c (TIMEOUT): Likewise.
37474         * math/atest-sincos.c (TIMEOUT): Likewise.
37476 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37478         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
37479         -Wno-error with -fno-builtin-lround.
37481 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37483         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
37484         Contains futex constants and functions moved over from ...
37485         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
37486         <lowlevellock-futex.h>.
37487         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
37488         (lll_timedwait_tid): Add comments and parentheses around macro
37489         arguments.
37491 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37493         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
37494         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
37495         (__lll_private_flag): Remove.
37496         (lll_futex_wait): Likewise.
37497         (lll_futex_timed_wait): Likewise.
37498         (lll_futex_wake): Likewise.
37499         (lll_futex_requeue): Likewise.
37500         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
37501         (__lll_timedwait_tid): Spell out argument names.
37502         (lll_timedwait_tid): Add comments and parentheses around macro
37503         arguments.
37504         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
37505         LLL_SHARED and LLL_PRIVATE usable from assembly code.
37507 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37509         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
37510         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37511         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37512         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
37513         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
37514         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
37515         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
37516         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
37517         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
37518         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
37519         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
37520         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
37521         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
37522         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
37523         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
37524         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
37525         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
37526         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
37527         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
37529 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37531         * sysdeps/x86_64/x32/Makefile: New file.
37533 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37535         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
37536         1L with (mp_limb_t) 1.
37538 2014-12-17  Roland McGrath  <roland@hack.frob.com>
37540         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
37541         * nptl/libc_pthread_init.c: ... here.
37542         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
37543         * nptl/register-atfork.c: ... here.
37545         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
37546         Use pthread_sigmask rather than INTERNAL_SYSCALL.
37547         Use assert_perror to check its return value.
37548         (__gai_create_helper_thread): Likewise.
37550         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
37552         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
37554 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
37556         [BZ #17725]
37557         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
37558         __profil_counter.
37559         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
37560         Likewise.
37561         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
37562         Likewise.
37563         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
37564         Likewise.
37565         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
37566         (profil_counter): Likewise.
37567         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
37568         (profil_counter): Likewise.
37569         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
37570         Likewise.
37571         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
37572         Likewise.
37573         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
37574         (profil_counter): Likewise.
37575         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
37576         Likewise.
37577         [!__profil_counter] (profil_counter): Define as weak alias of
37578         __profil_counter.
37579         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
37580         (profil_counter): Rename to __profil_counter.
37581         [!__profil_counter] (profil_counter): Define as weak alias of
37582         __profil_counter.
37583         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
37584         (profil_counter): Rename to __profil_counter.
37585         [!__profil_counter] (profil_counter): Define as weak alias of
37586         __profil_counter.
37587         * sysdeps/posix/profil.c: Update comment referring to
37588         profil_counter.
37589         (__profil): Use __profil_counter instead of profil_counter.
37590         * sysdeps/posix/sprofil.c (profil_counter): Rename to
37591         __profil_counter.  Use __profil_counter_ushort and
37592         __profil_counter_uint in definitions.
37593         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
37594         instead of profil_counter_uint and profil_counter_ushort.
37596         [BZ #17722]
37597         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
37598         define as weak alias of __inet_makeaddr.
37599         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
37600         as weak alias of __inet_addr.
37601         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
37602         as weak alias of __inet_pton.  Use libc_hidden_weak.
37603         * include/arpa/inet.h (__inet_pton): Declare.  Use
37604         libc_hidden_proto.
37605         (inet_makeaddr): Don't use libc_hidden_proto.
37606         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
37607         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
37608         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
37609         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
37610         Remove variable.
37611         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37612         (test-xfail-POSIX/time.h/linknamespace): Likewise.
37614 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
37616         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
37618 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37620         * stdio-common/bug-vfprintf-nargs.c (do_test):
37621         Cast value to intptr_t to avoid format warning
37622         for usage with PRIdPTR printing macro.
37624 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37626         * libio/tst-widetext.c (do_test):
37627         Use format type %td instead of %Zd for ptrdiff_t
37628         in order to avoid format warning.
37630 2014-12-17  Andreas Schwab  <schwab@suse.de>
37632         * nscd/mem.c (gc): Add size_t cast to match printf format.
37634 2014-12-16  Roland McGrath  <roland@hack.frob.com>
37636         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
37637         (init): Apply PTR_MANGLE to pointers before storing them.
37638         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
37639         before using them.
37641 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
37643         [BZ #17719]
37644         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
37645         define as weak alias of __memrchr.
37646         (__memrchr): Do not define as strong alias of memrchr.
37647         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
37648         Remove variable.
37649         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
37650         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37651         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37653         [BZ #17717]
37654         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
37655         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
37656         (if_indextoname): Rename to __if_indextoname and define as weak
37657         alias of __if_indextoname.  Use libc_hidden_weak.
37658         (if_freenameindex): Rename to __if_freenameindex and define as
37659         weak alias of __if_freenameindex.
37660         (if_nameindex): Rename to __if_nameindex and define as weak alias
37661         of __if_nameindex.
37662         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
37663         __if_nametoindex and define as weak alias of __if_nametoindex.
37664         Use libc_hidden_weak.
37665         (if_freenameindex): Rename to __if_freenameindex and define as
37666         weak alias of __if_freenameindex.
37667         (if_nameindex): Rename to __if_nameindex and define as weak alias
37668         of __if_nameindex.
37669         (if_indextoname): Rename to __if_indextoname and define as weak
37670         alias of __if_indextoname.  Use libc_hidden_weak.
37671         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
37672         __if_nametoindex and define as weak alias of __if_nametoindex.
37673         Use libc_hidden_weak.
37674         (if_freenameindex): Rename to __if_freenameindex and define as
37675         weak alias of __if_freenameindex.  Use libc_hidden_weak.
37676         (if_nameindex_netlink): Use __if_freenameindex instead of
37677         if_freenameindex.
37678         (if_nameindex): Rename to __if_nameindex and define as weak alias
37679         of __if_nameindex.  Use libc_hidden_weak.
37680         (if_indextoname): Rename to __if_indextoname and define as weak
37681         alias of __if_indextoname.  Use libc_hidden_weak.
37682         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
37683         libc_hidden_proto.
37684         [!_ISOMAC] (__if_freenameindex): Likewise.
37685         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
37686         if_nametoindex.
37687         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
37688         variable.
37689         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
37690         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
37691         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
37692         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
37693         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
37694         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
37695         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
37697         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
37698         Remove variable.
37699         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
37700         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37702 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37704         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
37705         subscript above bounds'
37707         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
37708         bounds.
37710 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
37712         * libio/tst-fopenloc.c: Use test-skeleton.c.
37714         * stdlib/tst-bsearch.c: Use test-skeleton.c.
37715         (entry): Rename to ITEM.
37716         (do_test, comp): Adjust.
37718         * stdio-common/tst-fseek.c: Use test-skeleton.c.
37720 2014-12-16  Torvald Riegel  <triegel@redhat.com>
37722         * string/tester.c: Include <libc-internal.h>.
37723         (test_memset): Ignore -Wmemset-transposed-args.
37725 2014-12-16  Torvald Riegel  <triegel@redhat.com>
37727         * misc/tst-mntent2.c (do_test): Fix warning.
37729 2014-12-16  Torvald Riegel  <triegel@redhat.com>
37731         * elf/tst-unique4lib.cc(a): Mark as used.
37733 2014-12-16  Florian Weimer  <fweimer@redhat.com>
37735         [BZ #17630]
37736         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
37737         names.
37739 2014-12-16  Allan McRae  <allan@archlinux.org>
37741         * stdio-common/Makefile (tests): Re-add bug26.
37743 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
37745         [BZ #17657]
37746         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
37747         static array.
37749 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
37751         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
37752         (__lll_lock_wait): Likewise.
37753         (__lll_timedlock_wait): Likewise.
37754         (__lll_timedwait_tid): Likewise.
37755         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
37756         (__lll_robust_timedlock_wait): Likewise.
37757         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
37758         (lll_cond_trylock): Likewise.
37759         (__lll_lock): Likewise.
37760         (__lll_robust_lock): Likewise.
37761         (__lll_cond_lock): Likewise.
37762         (lll_robust_cond_lock): Likewise.
37763         (__lll_timedlock): Likewise.
37764         (__lll_robust_timedlock): Likewise.
37765         (__lll_unlock): Likewise.
37766         (__lll_robust_unlock): Likewise.
37767         (lll_wait_tid): Likewise.
37768         (lll_timedwait_tid): Likewise.
37770 2014-12-15  Torvald Riegel  <triegel@redhat.com>
37772         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
37774 2014-12-15  Torvald Riegel  <triegel@redhat.com>
37776         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
37778 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
37780         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
37781         * stdio-common/tst-sprintf.c: Likewise.
37783 2014-12-15  Torvald Riegel  <triegel@redhat.com>
37785         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
37787 2014-12-15  Jeff Law  <law@redhat.com>
37789         [BZ #16617]
37790         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
37791         on the heap.  (CVE-2012-3406)
37792         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
37793         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
37794         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
37796 2014-12-15  Will Newton  <will.newton@linaro.org>
37798         * manual/install.texi: Bump required version of texinfo
37799         to 4.7 from 4.5.
37800         * INSTALL: Regenerated.
37801         * configure.ac: Check for makeinfo version 4.7 and above.
37802         * configure: Regenerated.
37804 2014-12-12  Roland McGrath  <roland@hack.frob.com>
37806         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
37807         PREFIX, string constant to insert between directory and name.
37808         * sysdeps/posix/shm_open.c: Update caller.
37809         * sysdeps/posix/shm_unlink.c: Likewise.
37810         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
37811         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
37812         (SEM_SHM_PREFIX): New macro.
37813         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
37814         [$(have-thread-library) = no].
37815         * nptl/Makefile (libpthread-routines): Add shm-directory.
37816         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
37817         * sysdeps/nptl/shm-directory.h: New file.
37818         * sysdeps/posix/shm-directory.c
37819         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
37820         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
37821         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
37822         INTERNAL_SYSCALL.
37823         (__where_is_shmfs): Function removed.
37824         (mountpoint, defaultmount, defaultdir, __namedsem_once):
37825         Variables removed.
37826         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
37827         Use SHM_GET_NAME.
37828         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
37830         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
37831         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
37832         unconditional for use inside libpthread.
37833         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
37835 2014-12-12  Roland McGrath  <roland@hack.frob.com>
37837         * nptl/pthread_getaffinity.c: New file.
37838         * nptl/pthread_setaffinity.c: New file.
37839         * nptl/pthread_getname.c: New file.
37840         * nptl/pthread_setname.c: New file.
37842         * nptl/pthread_create.c (START_THREAD_DEFN)
37843         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
37845 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37846             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37848         * resolv/res_send.c (send_vc): Disable warning resplen may
37849         be used uninitialized.
37851 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37853         * nptl/tst-mutex6.c
37854         (ATTR_NULL): New define checks ATTR against NULL.
37855         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
37856         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
37858 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
37860         [BZ #17581]
37861         * malloc/hooks.c
37862         (mem2mem_check): Revert my previous change.
37863         (malloc_check_get_size): Revert my previous change.
37864         (mem2chunk_check): Revert my previous change.
37866 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37868         * sysdeps/posix/shm-directory.c: New file.
37869         * sysdeps/posix/shm-directory.h: New file.
37870         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
37871         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
37872         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
37873         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
37874         Transmute EPERM to EACCES.
37875         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
37876         from ...
37877         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
37878         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
37880 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37882         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
37883         pointer and cast to uintptr_t.
37884         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
37885         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
37886         Add cast to avoid warning.
37887         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
37889 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
37891         * nptl/semaphore.h: Move to ...
37892         * sysdeps/pthread/semaphore.h: ... here.
37893         * Makefile (installed-headers): Change nptl/semaphore.h to
37894         sysdeps/pthread/semaphore.h.
37896 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37898         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
37899         generated error format strings.
37901         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
37902         -Wformat-extra-args warnings for scanf formats.
37903         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
37904         test of zero-length format (duh).
37905         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
37906         corner-case scanf format test.
37907         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
37908         generated fprintf format string.
37909         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
37910         corner-case sprintf format tests.
37911         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
37912         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
37913         -Wformat-extra-args warnings throughout.
37914         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
37915         (CFLAGS-scanf4.c): Likewise.
37916         (CFLAGS-scanf7.c): Likewise.
37917         (CFLAGS-tst-sprintf.c): Likewise.
37918         (CFLAGS-tst-printf.c): Likewise.
37919         (CFLAGS-tst-printfsz.c): Likewise.
37921 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
37923         * include/cpio.h: New file.
37924         * include/fmtmsg.h: Likewise.
37926         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
37927         corresponding format argument to size_t.
37928         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
37929         arguments.
37930         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
37931         corresponding format argument to size_t.
37932         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
37933         arguments.
37934         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
37935         corresponding format argument to size_t.
37936         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
37937         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
37938         (CFLAGS-tst-mbswcs2.c): Likewise.
37939         (CFLAGS-tst-mbswcs3.c): Likewise.
37940         (CFLAGS-tst-mbswcs4.c): Likewise.
37941         (CFLAGS-tst-mbswcs5.c): Likewise.
37942         (CFLAGS-tst-trans.c): Likewise.
37944 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37946         * posix/regexbug1.c (main): Use "%s" format with regerror results,
37947         rather than assuming they won't contain any '%'s.
37949 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
37951         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
37952         inhibit_loop_to_libcall to avoid recursive calls.
37953         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
37954         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
37956 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
37958         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
37959         prototype.
37961 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
37963         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
37964         integer value instead of boolean.
37966 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
37968         * malloc/malloc.c: Fix powerof2 check.
37970 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37972         * locale/programs/locfile.h (maybe_swap_uint32):
37973         Remove inline and add unused attribute.
37975 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37977         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37978         Truncating assembler expression to a .long expression.
37980 2014-12-11  Andreas Schwab  <schwab@suse.de>
37982         * elf/rtld.c (struct map_args): Constify str member.
37983         (do_preload): Constify fname argument.
37985 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37987         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
37988         constants definition.
37990 2014-12-11  Andreas Schwab  <schwab@suse.de>
37992         [BZ #16657]
37993         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
37994         FORCE_ELISION instead of DO_ELISION.
37995         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
37996         Remove.
37997         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
37998         Likewise.
38000         * iconvdata/gconv-modules: Remove duplicate entry.
38002 2014-12-11  Will Newton  <will.newton@linaro.org>
38004         Merge gettext 0.19.3 into intl/.
38006         This involves a number of cosmetic changes to comments
38007         and ANSI function definitions and prototypes throughout
38008         all the files. The gettext copyright header is used but
38009         with the date ranges taken from the glibc copy.
38011         * NEWS: Add gettext merge to 2.21.
38012         * intl/bindtextdom.c: Switch to gettext copyright.
38013         Use ANSI definitions and prototypes.
38014         Use gl_* locking primitives rather than __libc_* ones.
38015         Use __builtin_expect rather than __glibc_likely/unlikely.
38016         * intl/dcgettext.c: Switch to gettext copyright.
38017         Use ANSI definitions and prototypes.
38018         * intl/dcigettext.c: Switch to gettext copyright.
38019         Use ANSI definitions and prototypes.
38020         (INTDIV0_RAISES_SIGFPE): New define.
38021         Use gl_* locking primitives rather than __libc_* ones.
38022         Include eval-plural.h instead of plural-eval.c.
38023         Use __builtin_expect rather than __glibc_likely/unlikely.
38024         * intl/dcngettext.c: Switch to gettext copyright.
38025         Use ANSI definitions and prototypes.
38026         * intl/dgettext.c: Likewise.
38027         * intl/dngettext.c: Likewise.
38028         * intl/plural-eval.c: Renamed to...
38029         * intl/eval-plural.h: ...this.
38030         * intl/explodename.c: Switch to gettext copyright.
38031         Use ANSI definitions and prototypes.
38032         (_nl_explode_name): Use strchr instead of __rawmemchr.
38033         * intl/finddomain.c: Switch to gettext copyright.
38034         Use ANSI definitions and prototypes.
38035         Use gl_* locking primitives rather than __libc_* ones.
38036         (_nl_find_domain): Use malloc rather than alloca for
38037         allocation of temporary locale name.
38038         * intl/gettext.c: Switch to gettext copyright.
38039         Use ANSI definitions and prototypes.
38040         * intl/gettextP.h: Switch to gettext copyright.
38041         Use ANSI definitions and prototypes.
38042         Use gl_* locking primitives rather than __libc_* ones.
38043         * intl/gmo.h: Switch to gettext copyright.
38044         (struct sysdep_string): Move struct segment_pair outside of
38045         struct definition.
38046         * intl/hash-string.c: Use ANSI definitions and prototypes.
38047         * intl/hash-string.h: Switch to gettext copyright.
38048         Use ANSI definitions and prototypes.
38049         * intl/l10nflist.c: Switch to gettext copyright.
38050         Use ANSI definitions and prototypes.
38051         (_nl_normalize_codeset): Avoid integer overflow.
38052         * intl/loadinfo.h: Switch to gettext copyright.
38053         Use ANSI definitions and prototypes.
38054         (LIBINTL_DLL_EXPORTED): New define.
38055         (PATH_SEPARATOR): New define.
38056         * intl/loadmsgcat.c: Switch to gettext copyright.
38057         * intl/localealias.c: Switch to gettext copyright.
38058         Use ANSI definitions and prototypes.
38059         (_nl_expand_alias): Use PATH_SEPARATOR.
38060         * intl/ngettext.c: Switch to gettext copyright.
38061         Use ANSI definitions and prototypes.
38062         * intl/plural-exp.c: Likewise.
38063         * intl/plural-exp.h: Switch to gettext copyright.
38064         Use ANSI definitions and prototypes.
38065         (struct expression): Move definition of enum operator outside
38066         of struct definition.
38067         * intl/plural.c: Regenerate.
38068         * intl/plural.y: Switch to gettext copyright.
38069         Use ANSI definitions and prototypes.
38070         Port to bison 3.0.
38071         * intl/textdomain.c: Switch to gettext copyright.
38072         Use ANSI definitions and prototypes.
38073         Use gl_* locking primitives rather than __libc_* ones.
38075 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
38077         * debug/warning-nop.c: Add used atrribute.
38079 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38081         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
38083         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
38084         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
38085         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
38087 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38088             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38090         [BZ #17634]
38091         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
38092         Undefine after defining function.  Define as weak alias of
38093         __wcschr.  Use libc_hidden_weak.
38094         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
38095         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
38096         (libc_hidden_def): Also define __GI___wcschr alias.
38097         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
38098         __wcschr and define as weak alias of __wcschr.
38099         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
38100         __wcschr.
38101         [!WCSCHR] (DEFAULT_WCSCHR): Define.
38102         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
38103         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
38104         libc_hidden_weak.  Do not use libc_hidden_def.
38105         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
38106         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
38107         __GI___wcschr alias.
38108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
38109         [IS_IN (libc)] (wcschr): Define as macro expanding to
38110         __redirect_wcschr.
38111         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
38112         [IS_IN (libc)] (__wcschr_power6): Likewise.
38113         [IS_IN (libc)] (__wcschr_power7): Likewise.
38114         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
38115         instead of wcschr.
38116         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
38117         __libc_wcschr.
38118         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
38119         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
38120         __wcschr and define as weak alias of __wcschr.  Use
38121         libc_hidden_builtin_def.
38122         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
38123         as weak alias of __wcschr.  Use libc_hidden_weak.
38124         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
38125         wcschr.
38126         * time/era.c (_nl_init_era_entries): Likewise.
38127         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
38128         variable.
38129         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38130         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38132 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38134         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
38135         format for long int variable.
38137 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
38139         [BZ #10672]
38140         * manual/search.texi: (Array Sort Function): Remove claim how to make
38141         qsort stable.
38143 2014-12-10  Andreas Schwab  <schwab@suse.de>
38145         [BZ #12847]
38146         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
38147         user-controlled locks.
38149 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
38151         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
38152         register.
38154 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38156         * configure.ac (--disable-werror): New configure option.
38157         (enable_werror): New AC_SUBST.
38158         * configure: Regenerated.
38159         * config.make.in (enable-werror): New variable.
38160         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
38161         -Wno-error=undef.
38162         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
38163         * manual/install.texi (Configuring and compiling): Document
38164         --disable-werror.
38165         * INSTALL: Regenerated.
38166         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
38167         (CFLAGS-tst-chk2.c): Likewise.
38168         (CFLAGS-tst-chk3.c): Likewise.
38169         (CFLAGS-tst-chk4.cc): Likewise.
38170         (CFLAGS-tst-chk5.cc): Likewise.
38171         (CFLAGS-tst-chk6.cc): Likewise.
38172         (CFLAGS-tst-lfschk1.c): Likewise.
38173         (CFLAGS-tst-lfschk2.c): Likewise.
38174         (CFLAGS-tst-lfschk3.c): Likewise.
38175         (CFLAGS-tst-lfschk4.cc): Likewise.
38176         (CFLAGS-tst-lfschk5.cc): Likewise.
38177         (CFLAGS-tst-lfschk6.cc): Likewise.
38179         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
38180         (main): Disable -Wdeprecated-declarations around calls to
38181         register_printf_function.
38183         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
38184         (do_test): Disable -Wdiv-by-zero around some calls to
38185         fwrite_unlocked and fread_unlocked.
38187         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
38188         (DIAG_POP_NEEDS_COMMENT): Likewise.
38189         (_DIAG_STR1): Likewise.
38190         (_DIAG_STR): Likewise.
38191         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
38192         * stdio-common/bug21.c: Include <libc-internal.h>.
38193         (do_test): Disable -Wformat around call to sscanf.
38194         * stdio-common/scanf14.c: Include <libc-internal.h>.
38195         (main): Disable -Wformat around some calls to scanf functions.
38197 2014-12-09  Torvald Riegel  <triegel@redhat.com>
38199         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
38201 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38203         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
38204         stack variable alignment.
38206 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
38208         [BZ #17682]
38209         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
38210         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
38211         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
38212         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
38213         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
38214         __getrlimit instead of getrlimit.
38215         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
38216         __gettimeofday instead of gettimeofday.
38217         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
38218         Likewise.
38219         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
38220         Likewise.
38221         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38222         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
38223         Remove variable.
38224         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38225         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38227 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38229         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
38230         for wide-character tests.
38232 2014-12-04  Roland McGrath  <roland@hack.frob.com>
38234         * io/openat64.c: #include <libc-internal.h>
38235         (__openat64): Prototypify.  Use ignore_value on MODE.
38236         * io/openat.c: Likewise.
38237         * misc/reboot.c: #include <libc-internal.h>
38238         (reboot): Prototypify.  Use ignore_value on HOWTO.
38239         * misc/ptrace.c: #include <libc-internal.h>
38240         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
38242 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
38244         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
38245         XPG4, UNIX98 and XOPEN2K.
38246         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
38247         Remove variable.
38248         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38250 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38252         * libio/fileops.c: Use ISO C style for function definitions.
38253         * libio/iofopen.c: Likewise.
38254         * libio/wfileops.c: Likewise.
38256         [BZ #17653]
38257         * libio/fileops.c (_IO_new_file_underflow): Unset cached
38258         offset on EOF.
38259         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
38260         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
38261         (fgets_func): Function pointer to fgets and fgetws.
38262         (do_ftell_test): Add test to verify ftell value after read
38263         EOF.
38264         (do_test): Set fgets_func.
38266         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
38267         O_TRUNC flag for w and w+ modes.
38268         (do_rewind_test): Likewise.
38269         (do_ftell_test): Likewise.
38270         (do_write_test): Likewise.
38272         [BZ #17647]
38273         * libio/fileops.c (do_ftell): Seek only when there are
38274         unflushed writes.
38275         * libio/wfileops.c (do_ftell_wide): Likewise.
38276         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
38277         test case.
38278         (do_one_test): Call it.
38280 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
38282         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
38283         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
38284         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
38285         Remove variable.
38286         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38287         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38288         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38290 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
38292         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
38293         Remove variable.
38294         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38296         [BZ #17668]
38297         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
38298         as weak alias of __getifaddrs.  Use libc_hidden_weak.
38299         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38300         __freeifaddrs.  Use libc_hidden_weak.
38301         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
38302         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
38303         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38304         __freeifaddrs.  Use libc_hidden_weak.
38305         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
38306         __getifaddrs and define as weak alias of __getifaddrs.  Use
38307         libc_hidden_weak.
38308         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38309         __freeifaddrs.  Use libc_hidden_weak.
38310         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
38311         Remove variable.
38312         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38313         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38315 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
38317         [BZ #17601]
38318         * sysdeps/mips/start.S (__start): Use indirect jump to call
38319         __libc_start_main.
38321 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
38323         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
38325         * nptl/tst-mutex1.c: Include <stdbool.h>.
38326         [!ATTR] (ATTR_NULL): New macro.
38327         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
38328         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
38329         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
38331         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
38332         to char *.
38334         [BZ #17665]
38335         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
38336         Change conditional to [__USE_MISC].
38338         [BZ #17664]
38339         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
38340         fgets_unlocked.
38341         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
38342         __fgets_unlocked.
38343         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
38344         fgets_unlocked.
38345         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
38346         Remove variable.
38347         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38348         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38349         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38350         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38351         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38352         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38353         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38354         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38355         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38357         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
38359 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38361         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38362         Remove strpbrk objects.
38363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38364         (__libc_ifunc_impl_list): Remove strpbrk implementation.
38365         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
38366         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
38367         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
38368         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
38370         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38371         Remove strcspn objects.
38372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38373         (__libc_ifunc_impl_list): Remove strcspn implementation.
38374         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
38375         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
38376         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
38377         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
38379         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38380         Remove strspn objetcs.
38381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38382         (__libc_ifunc_impl_list): Remove strspn implementation.
38383         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
38384         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
38385         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
38386         * sysdeps/powerpc/powerpc64/strspn.S: New file.
38388 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
38390         [BZ #17581]
38391         * malloc/hooks.c
38392         (mem2mem_check): Add a terminator to the chain of checking blocks.
38393         (malloc_check_get_size): Use it here.
38394         (mem2chunk_check): Ditto.
38396 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38398         * sysdeps/powerpc/powerpc64/strtok.S: New file.
38399         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
38401 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
38403         * bits/ioctl-types.h: Indent preprocessor directives correctly.
38405         * nptl/nptl-init.c: Include libc-internal.h.
38406         (__pthread_initialize_minimal_internal): Use ROUND_UP.
38408         * elf/ldconfig.c (search_dir): Expand comment.
38410 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
38412         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
38413         variable.
38414         (linknamespace-symlist-stdlibs-tests): Likewise.
38415         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
38416         instead of $(objpfx)symlist-stdlibs.
38417         (linknamespace-libs-isoc): New variable.
38418         (linknamespace-libs): Use $(linknamespace-libs-isoc).
38419         (linknamespace-libs-ISO): New variable.
38420         (linknamespace-libs-ISO99): Likewise.
38421         (linknamespace-libs-ISO11): Likewise.
38422         (linknamespace-libs-XPG3): Likewise.
38423         (linknamespace-libs-XPG4): Likewise.
38424         (linknamespace-libs-POSIX): Likewise.
38425         (linknamespace-libs-UNIX98): Likewise.
38426         (linknamespace-libs-XOPEN2K): Likewise.
38427         (linknamespace-libs-POSIX2008): Likewise.
38428         (linknamespace-libs-XOPEN2K8): Likewise.
38429         ($(objpfx)symlist-stdlibs): Replace by
38430         $(linknamespace-symlist-stdlibs-tests).  Use
38431         $(linknamespace-libs-$*) as set of libraries.
38432         ($(linknamespace-header-tests)): Update dependencies.  Use
38433         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
38434         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
38435         * conform/linknamespace.pl: Remove comment about considering
38436         definitions of symbols from irrelevant libraries.
38438 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
38440         [BZ #13862]
38441         * elf/dl-tls.c: Include <atomic.h>.
38442         (oom): Remove #ifdef SHARED/#endif.
38443         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
38444         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
38445         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
38446         big enough.
38447         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
38448         * nptl/Makefile (tests): Add tst-stack4.
38449         (modules-names): Add tst-stack4mod.
38450         ($(objpfx)tst-stack4): New.
38451         (tst-stack4mod.sos): Likewise.
38452         ($(objpfx)tst-stack4.out): Likewise.
38453         ($(tst-stack4mod.sos)): Likewise.
38454         (clean): Likewise.
38455         * nptl/tst-stack4.c: New file.
38456         * nptl/tst-stack4mod.c: Likewise.
38458 2014-11-27  J. Brown  <jb999@gmx.de>
38460         * sysdeps/x86/bits/string.h: Add recent CPUs.
38462 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
38464         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
38465         sigblock.
38467         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
38468         feof.
38470         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
38471         variable.
38473 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
38475         * nscd/connections.c: Include libc-internal.h because of macro
38476         usage ignore_value.
38478 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38480         * string/bits/string3.h (__warn_memset_zero_len): Don't
38481         declare for gcc newer than 5.0.
38482         (memset): Don't test for zero-length __LEN for gcc newer than
38483         5.0.
38485 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
38487         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
38488         size_t for %zu format.
38490         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
38491         difference, not %ju.
38493 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
38495         * include/libc-internal.h (ignore_value): New macro.
38496         * nscd/connections.c (restart): Wrap calls to setuid and setgid
38497         with ignore_value.
38499         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
38500         definition.
38502         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
38503         pthread_cleanup_push to void *.
38505         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
38506         Undefine.
38508         [BZ #16619]
38509         [BZ #16740]
38510         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
38511         instead of 1L << 52.
38513         * libio/bug-rewind.c (do_test): Check fwscanf return values.
38514         * libio/bug-rewind2.c (do_test): Likewise.
38516         * debug/test-stpcpy_chk-ifunc.c: Remove file.
38517         * debug/test-strcpy_chk-ifunc.c: Likewise.
38518         * wcsmbs/test-wcschr-ifunc.c: Likewise.
38519         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38520         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38521         * wcsmbs/test-wcslen-ifunc.c: Likewise.
38522         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38523         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38524         * Rules [$(multi-arch) = no] (tests): Do not filter out
38525         $(tests-ifunc).
38526         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
38527         * debug/Makefile (tests-ifunc): Remove variable.
38528         (tests): Do not add $(tests-ifunc).
38529         * wcsmbs/Makefile (tests-ifunc): Remove variable.
38530         (tests): Do not add $(tests-ifunc).
38531         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
38532         [TEST_IFUNC]: Remove conditionals.
38533         * string/test-string.h (TEST_IFUNC): Remove macro.
38534         [TEST_IFUNC]: Remove conditionals.
38536         * string/test-strchr.c [!WIDE] (L): New macro.
38537         [WIDE] (L): Likewise.
38538         (check1): Use CHAR instead of char.  Use L on string and character
38539         constants.
38541 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
38543         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
38544         tests.
38545         * sysdeps/powerpc/bits/atomic.h
38546         (__arch_atomic_exchange_and_add_32_acq): Add definition.
38547         (__arch_atomic_exchange_and_add_32_rel): Likewise.
38548         (atomic_exchange_and_add_acq): Likewise.
38549         (atomic_exchange_and_add_rel): Likewise.
38550         * sysdeps/powerpc/powerpc32/bits/atomic.h
38551         (__arch_atomic_exchange_and_add_64_acq): Add definition.
38552         (__arch_atomic_exchange_and_add_64_rel): Likewise.
38553         * sysdeps/powerpc/powerpc64/bits/atomic.h
38554         (__arch_atomic_exchange_and_add_64_acq): Add definition.
38555         (__arch_atomic_exchange_and_add_64_rel): Likewise.
38557 2014-11-26  Torvald Riegel  <triegel@redhat.com>
38559         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
38560         Change synchronization of __sched_fifo_min_prio and
38561         __sched_fifo_max_prio.
38562         * nptl/pthread_mutexattr_getprioceiling.c
38563         (pthread_mutexattr_getprioceiling): Likewise.
38564         * nptl/pthread_mutexattr_setprioceiling.c
38565         (pthread_mutexattr_setprioceiling): Likewise.
38566         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
38567         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
38568         Likewise.
38570 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
38572         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
38573         void.
38575 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
38577         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
38578         third argument const.
38580 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
38582         fnmatch: work around GCC compiler warning bug with uninit var
38583         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
38584         This works around a bug with x86-64 GCC 4.9.2 and earlier
38585         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
38586         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
38587         used uninitialized in this function [-Wmaybe-uninitialized]".
38589 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
38591         * posix/bug-regex31.c (main): Return RES not 0.
38593 2014-11-25  Anton Blanchard <anton@samba.org>
38595         * sysdeps/powerpc/bits/atomic.h
38596         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
38598 2014-11-24  Sterling Augustine  <saugustine@google.com>
38600         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
38602 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
38604         [BZ #17608]
38605         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
38607 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
38609         [BZ #17633]
38610         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
38611         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
38612         variable.
38613         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38614         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38616 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
38618         * string/strncpy.c (strncpy): Improve performance by using memset.
38620 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
38622         * string/strcpy.c (strcpy):
38623         Improve performance by using strlen and memcpy.
38625 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
38627         * string/strcoll_l.c (get_next_seq): __always_inline.
38628         * string/strcoll_l.c (do_compare): __always_inline.
38630 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38632         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
38633         defined.
38634         * include/mqueue.h: Likewise.
38635         * include/stdlib.h: Likewise.
38637         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
38638         (get_null_defines): Adjust.
38639         * sunrpc/Makefile: Adjust comment.
38640         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
38641         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
38642         (CFLAGS-interp.c): Likewise.
38643         (CFLAGS-ldconfig.c): Likewise.
38644         (CPPFLAGS-.os): Likewise.
38645         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38646         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
38647         * extra-modules.mk (extra-modules.mk): Likewise.
38648         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
38649         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
38650         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
38651         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
38652         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
38653         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
38654         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
38655         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
38656         * iconvdata/Makefile (CPPFLAGS): Likewise.
38657         (cpp-srcs-left): Add libof for all iconvdata routines.
38658         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
38659         * include/assert.h: Likewise.
38660         * include/ctype.h: Likewise.
38661         * include/errno.h: Likewise.
38662         * include/libc-symbols.h: Likewise.
38663         * include/math.h: Likewise.
38664         * include/netdb.h: Likewise.
38665         * include/resolv.h: Likewise.
38666         * include/stdio.h: Likewise.
38667         * include/stdlib.h: Likewise.
38668         * include/string.h: Likewise.
38669         * include/sys/stat.h: Likewise.
38670         * include/wctype.h: Likewise.
38671         * intl/l10nflist.c: Likewise.
38672         * libidn/idn-stub.c: Likewise.
38673         * libio/libioP.h: Likewise.
38674         * nptl/libc_multiple_threads.c: Likewise.
38675         * nptl/pthreadP.h: Likewise.
38676         * posix/regex_internal.h: Likewise.
38677         * resolv/res_hconf.c: Likewise.
38678         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
38679         * sysdeps/arm/memmove.S: Likewise.
38680         * sysdeps/arm/sysdep.h: Likewise.
38681         * sysdeps/generic/_itoa.h: Likewise.
38682         * sysdeps/generic/symbol-hacks.h: Likewise.
38683         * sysdeps/gnu/errlist.awk: Likewise.
38684         * sysdeps/gnu/errlist.c: Likewise.
38685         * sysdeps/i386/i586/memcpy.S: Likewise.
38686         * sysdeps/i386/i586/memset.S: Likewise.
38687         * sysdeps/i386/i686/memcpy.S: Likewise.
38688         * sysdeps/i386/i686/memmove.S: Likewise.
38689         * sysdeps/i386/i686/mempcpy.S: Likewise.
38690         * sysdeps/i386/i686/memset.S: Likewise.
38691         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38692         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38693         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
38694         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
38695         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38696         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38697         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
38698         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38699         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38700         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38701         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38702         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38703         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38704         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38705         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38706         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38707         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
38708         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
38709         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
38710         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38711         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38712         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38713         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38714         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38715         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38716         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38717         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
38718         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38719         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
38720         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38721         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38722         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38723         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38724         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38725         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38726         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38727         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38728         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38729         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38730         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38731         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38732         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38733         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38734         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38735         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38736         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38737         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
38738         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
38739         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38740         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38741         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38742         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
38743         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
38744         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38745         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38746         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
38747         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38748         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
38749         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
38750         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38751         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38752         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38753         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
38754         * sysdeps/nptl/bits/libc-lock.h: Likewise.
38755         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
38756         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
38757         * sysdeps/posix/closedir.c: Likewise.
38758         * sysdeps/posix/opendir.c: Likewise.
38759         * sysdeps/posix/readdir.c: Likewise.
38760         * sysdeps/posix/rewinddir.c: Likewise.
38761         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
38762         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
38763         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38764         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38765         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38766         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
38767         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
38768         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
38769         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
38770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
38771         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
38772         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
38773         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
38774         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
38775         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
38776         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
38777         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
38778         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
38779         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
38780         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
38781         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
38782         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
38783         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
38784         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
38785         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
38786         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
38787         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
38788         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
38789         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
38790         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
38791         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
38792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
38793         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
38794         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
38795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
38796         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
38797         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38798         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38799         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
38800         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
38801         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
38802         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
38803         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
38804         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
38805         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
38806         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
38807         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
38808         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
38809         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
38810         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
38811         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
38812         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
38813         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
38814         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
38815         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
38816         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
38817         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
38818         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
38819         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
38820         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
38821         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
38822         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
38823         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
38824         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
38825         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
38826         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
38827         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
38828         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
38829         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
38830         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
38831         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
38832         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
38833         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
38834         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
38835         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
38836         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
38837         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
38838         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
38839         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
38840         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
38841         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
38842         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38843         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
38844         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
38845         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38846         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
38847         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
38848         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38849         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38850         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38851         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
38852         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
38853         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
38854         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38855         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38856         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
38857         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38858         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38859         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
38860         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
38861         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38862         * sysdeps/unix/alpha/sysdep.S: Likewise.
38863         * sysdeps/unix/alpha/sysdep.h: Likewise.
38864         * sysdeps/unix/make-syscalls.sh: Likewise.
38865         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38866         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38867         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38868         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
38869         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38870         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
38871         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
38872         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38873         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38874         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
38875         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38876         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38877         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38878         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
38879         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38880         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38881         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38882         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
38883         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
38884         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38885         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
38886         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38887         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38888         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38889         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38890         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38891         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
38893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
38894         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
38895         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38896         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38897         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38898         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38899         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38900         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38901         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38902         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38903         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38904         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
38905         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38906         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38907         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38908         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
38909         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38910         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38911         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38912         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38913         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38914         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38915         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38916         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38917         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38918         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38919         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
38920         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38921         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38923         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
38924         * sysdeps/x86_64/memcpy.S: Likewise.
38925         * sysdeps/x86_64/memmove.c: Likewise.
38926         * sysdeps/x86_64/memset.S: Likewise.
38927         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
38928         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38929         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38930         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
38931         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
38932         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38933         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38934         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38935         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38936         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38937         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38938         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38939         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
38940         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38941         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38942         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
38943         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38944         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38945         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38946         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38947         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
38948         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38949         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38950         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38951         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38952         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38953         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38954         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
38955         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38956         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38957         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
38958         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38959         * sysdeps/x86_64/strcmp.S: Likewise.
38961         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
38963         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
38964         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
38965         * elf/rtld-Rules: Likewise.
38966         * elf/setup-vdso.h: Likewise.
38967         * include/assert.h: Likewise.
38968         * include/bits/stdlib-float.h: Likewise.
38969         * include/errno.h: Likewise.
38970         * include/sys/stat.h: Likewise.
38971         * include/unistd.h: Likewise.
38972         * sysdeps/aarch64/setjmp.S: Likewise.
38973         * sysdeps/alpha/setjmp.S: Likewise.
38974         * sysdeps/arm/__longjmp.S: Likewise.
38975         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
38976         * sysdeps/arm/setjmp.S: Likewise.
38977         * sysdeps/arm/sysdep.h: Likewise.
38978         * sysdeps/generic/_itoa.h: Likewise.
38979         * sysdeps/generic/dl-sysdep.h: Likewise.
38980         * sysdeps/generic/ldsodefs.h: Likewise.
38981         * sysdeps/i386/dl-tls.h: Likewise.
38982         * sysdeps/i386/setjmp.S: Likewise.
38983         * sysdeps/m68k/setjmp.c: Likewise.
38984         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
38985         * sysdeps/mach/hurd/opendir.c: Likewise.
38986         * sysdeps/posix/getcwd.c: Likewise.
38987         * sysdeps/posix/opendir.c: Likewise.
38988         * sysdeps/posix/profil.c: Likewise.
38989         * sysdeps/powerpc/dl-procinfo.h: Likewise.
38990         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38991         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38992         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38993         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38994         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
38995         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38996         * sysdeps/s390/dl-tls.h: Likewise.
38997         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38998         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38999         * sysdeps/sh/sh3/setjmp.S: Likewise.
39000         * sysdeps/sh/sh4/setjmp.S: Likewise.
39001         * sysdeps/unix/alpha/sysdep.h: Likewise.
39002         * sysdeps/unix/arm/sysdep.S: Likewise.
39003         * sysdeps/unix/i386/sysdep.S: Likewise.
39004         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39005         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
39006         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39007         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39008         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39009         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39010         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39011         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39012         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39013         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39014         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
39015         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39016         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39019         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39020         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39021         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39022         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39023         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39024         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39025         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39026         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39027         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39028         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39029         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39030         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39031         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39032         * sysdeps/x86_64/setjmp.S: Likewise.
39034         * include/math.h: Use IS_IN instead of IS_IN_libm.
39035         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
39036         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39037         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39038         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
39039         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39040         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39041         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39042         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39043         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39044         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39045         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
39046         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
39047         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
39048         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
39049         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
39050         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
39051         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
39052         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
39053         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
39054         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
39055         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
39056         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
39057         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
39058         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
39059         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
39060         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
39061         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
39062         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
39063         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
39064         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
39065         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
39066         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39067         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
39069         Likewise.
39070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
39071         Likewise.
39072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
39073         Likewise.
39074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
39075         Likewise.
39076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
39077         Likewise.
39078         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39079         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
39080         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39081         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39082         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39083         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
39085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
39086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
39087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
39088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
39089         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
39090         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
39091         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39092         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39093         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39094         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39095         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39096         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39097         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39098         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
39099         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
39100         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
39101         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
39102         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
39103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39104         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
39106         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
39107         * nptl/pthreadP.h: Likewise.
39108         * nptl_db/structs.def: Likewise.
39109         * sysdeps/arm/sysdep.h: Likewise.
39110         * sysdeps/nptl/bits/libc-lock.h: Likewise.
39111         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39112         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
39113         * sysdeps/unix/alpha/sysdep.h: Likewise.
39114         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39115         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39116         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39117         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39118         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39119         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39120         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39121         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39122         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39123         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39124         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39125         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39126         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39127         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39130         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39131         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39132         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39133         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39134         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39135         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39136         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39137         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39138         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
39139         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39141         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
39142         * nptl/pthreadP.h: Likewise.
39143         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39144         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39145         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39146         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39147         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39148         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39149         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39150         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39151         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39152         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39153         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39154         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
39156         Likewise.
39157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
39158         Likewise.
39159         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39160         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39161         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39162         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39163         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39164         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39165         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39166         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39168         * dlfcn/dladdr.c: Use IS_IN.
39169         * dlfcn/dladdr1.c: Likewise.
39170         * dlfcn/dlclose.c: Likewise.
39171         * dlfcn/dlerror.c: Likewise.
39172         * dlfcn/dlinfo.c: Likewise.
39173         * dlfcn/dlmopen.c: Likewise.
39174         * dlfcn/dlopen.c: Likewise.
39175         * dlfcn/dlsym.c: Likewise.
39176         * dlfcn/dlvsym.c: Likewise.
39178         * include/ifaddrs.h: Use IS_IN.
39179         * inet/check_pf.c: Likewise.
39180         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39181         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
39183         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
39184         IS_IN_ldconfig.
39185         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
39186         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
39188         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
39189         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
39190         IS_IN (libc).
39192         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
39194         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
39195         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39196         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39197         * include/libc-symbols.h (IS_IN_LIB): New macro.
39198         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
39199         * include/netdb.h: Likewise.
39200         * include/stap-probe.h: Remove all uses of IN_LIB.
39202         * Makeconfig (module-cppflags-real): Define MODULE_NAME
39203         instead of IN_MODULE.
39204         * include/libc-symbols.h (IN_MODULE): Define using
39205         MODULE_NAME.
39206         (PASTE_NAME, PASTE_NAME1): New macros.
39207         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
39208         of IN_LIB.
39209         (STAP_PROBE_ASM): Likewise.
39211 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39213         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
39214         __mach_init in dlopened libc.
39216 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
39218         * sysdeps/arm/preconfigure.ac: Delete EABI check.
39219         * sysdeps/arm/preconfigure: Regenerate.
39221 2014-11-21  Roland McGrath  <roland@hack.frob.com>
39223         * nptl/pthread_create.c (__pthread_create_2_1): Set
39224         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
39225         when copying values from IATTR into PD.
39227 2014-11-21  Will Newton  <will.newton@linaro.org>
39228             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
39230         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
39231         Refactor inline-asm.  Also add comment.
39233         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
39234         ElfW macro instead of hardcoded Elf64 types.
39235         (la_aarch64_gnu_pltenter): Likewise.
39236         * sysdeps/aarch64/dl-machine.h
39237         (elf_machine_runtime_setup): Use ElfW(Addr).
39239         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
39240         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
39241         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
39242         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
39243         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
39244         (R_AARCH64_TLS_DTPMOD64): Rename to ..
39245         (R_AARCH64_TLS_DTPMOD): This.
39246         (R_AARCH64_TLS_DTPREL64): Rename to ...
39247         (R_AARCH64_TLS_DTPREL): This.
39248         (R_AARCH64_TLS_TPREL64): Rename to ...
39249         (R_AARCH64_TLS_TPREL): This.
39250         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
39251         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
39252         R_AARCH64_TLS_TPREL64.
39253         (elf_machine_rela): Likewise.
39255 2014-11-21  Torvald Riegel  <triegel@redhat.com>
39257         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
39258         by setting it to 0.  64b atomics are not supported currently.
39260 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39262         [BZ #16469]
39263         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
39264         search domain names.
39266 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39268         [BZ #16469]
39269         * NEWS: Update.
39270         * resolv/res_query.c (__libc_res_nquerydomain): Retain
39271         trailing dot.
39272         * posix/tst-getaddrinfo5.c: New.
39273         * posix/Makefile (tests): Add it.
39275 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39277         [BZ #14498]
39278         * NEWS: Fixed.
39279         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
39280         after parsing line but before break_if_match.
39281         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
39282         if there is a protocol mismatch.
39284 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
39286         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
39287         because the potential race is on the user-supplied stream.
39289 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39291         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
39292         string literal if not passed a buffer.
39293         * manual/job.texi (ctermid): Update reasoning, note deviation
39294         from posix, suggest mtasurace when not passed a buffer, for
39295         future non-preliminary safety notes.
39297 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39299         * manual/users.texi (cuserid): Fix MT-Safety note for the case
39300         of not passing it a buffer.
39301         Reported by Peng Haitao.
39303 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39305         * manual/Makefile ($(objpfx)stamp-summary): Require
39306         check-safety.sh to pass.
39307         * manual/check-safety.sh: Wish for verification that every
39308         @deftypefn and @deftypefun is followed by a @safety remark.
39310 2014-11-20  Roland McGrath  <roland@hack.frob.com>
39312         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
39314         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
39315         PTHREAD_CANCEL_ASYNCHRONOUS.
39316         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
39317         send SIGCANCEL.
39319         * nptl/default-sched.h: New file.
39320         * sysdeps/unix/sysv/linux/default-sched.h: New file.
39321         * nptl/pthread_create.c: Include it.
39322         (__pthread_create_2_1): Use collect_default_sched instead of making
39323         Linux syscalls here directly.
39325 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39327         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
39328         __pthread_once): Use C11 atomics.
39330 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39332         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
39334 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39336         * include/atomic.h (__atomic_link_error, __atomic_check_size,
39337         atomic_thread_fence_acquire, atomic_thread_fence_release,
39338         atomic_thread_fence_seq_cst, atomic_load_relaxed,
39339         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
39340         atomic_compare_exchange_weak_relaxed,
39341         atomic_compare_exchange_weak_acquire,
39342         atomic_compare_exchange_weak_release,
39343         atomic_exchange_acquire, atomic_exchange_release,
39344         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
39345         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
39346         atomic_fetch_and_acquire,
39347         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
39349 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39351         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
39352         USE_ATOMIC_COMPILER_BUILTINS): Define.
39353         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
39354         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39355         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
39356         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39357         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
39358         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39359         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
39360         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39361         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
39362         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39363         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
39364         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39365         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
39366         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39367         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
39368         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39369         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
39370         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39371         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39372         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39373         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
39374         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39375         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
39376         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39377         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
39378         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39379         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39380         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39381         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
39382         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39383         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
39384         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39385         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
39386         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39387         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
39388         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39389         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
39390         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39391         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
39392         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39394 2014-11-19  Roland McGrath  <roland@hack.frob.com>
39396         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
39397         the sched_priority value here.  It was already checked when the user
39398         called pthread_attr_setschedparam.
39400         * nptl/tst-bad-schedattr.c: New file.
39401         * nptl/Makefile (tests): Add it.
39403 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
39404             Florian Weimer  <fweimer@redhat.com>
39405             Joseph Myers  <joseph@codesourcery.com>
39406             Adam Conrad  <adconrad@0c3.net>
39407             Andreas Schwab  <schwab@suse.de>
39408             Brooks  <bmoses@google.com>
39410         [BZ #17625]
39411         * wordexp-test.c (__dso_handle): Add prototype.
39412         (__register_atfork): Likewise.
39413         (__app_register_atfork): New function.
39414         (registered_forks): New global.
39415         (register_fork): New function.
39416         (test_case): Add 3 new tests for WRDE_CMDSUB.
39417         (main): Call __app_register_atfork.
39418         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
39419         fork count is non-zero fail the test.
39420         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
39421         is set.
39422         (parse_dollars): Remove check for WRDE_NOCMD.
39423         (parse_dquote): Likewise.
39425 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39427         * Makeconfig (built-modules): List non-library modules to be
39428         built.
39429         (module-cppflags): Include libc-modules.h for
39430         everything except shlib-versions.v.i.
39431         (CPPFLAGS): Use it.
39432         (before-compile): Add libc-modules.h.
39433         ($(common-objpfx)libc-modules.h,
39434         $(common-objpfx)libc-modules.stmp): New targets.
39435         (common-generated): Add libc-modules.h and libc-modules.stmp.
39436         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
39437         * include/libc-symbols.h: Don't include libc-modules.h.
39438         * include/libc-modules.h: Remove file.
39439         * scripts/gen-libc-modules.awk: New script to generate
39440         libc-modules.h.
39441         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
39442         Depend on libc-modules.stmp.
39444         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
39446         * Makeconfig (in-module): Get value of libof set for the
39447         translation unit.
39448         (CPPFLAGS): Use $(in-module).
39449         * Makerules: Don't suffix routine names for nonlib.
39450         * include/libc-modules.h: New file.
39451         * include/libc-symbols.h: Include libc-modules.h
39452         (IS_IN): New macro to replace IS_IN_* macros.
39453         * elf/Makefile: Set libof-* for each routine.
39454         * elf/rtld-Rules: Likewise.
39455         * extra-modules.mk: Likewise.
39456         * iconv/Makefile: Likewise.
39457         * iconvdata/Makefile: Likewise.
39458         * locale/Makefile: Likewise.
39459         * malloc/Makefile: Likewise.
39460         * nss/Makefile: Likewise.
39461         * sysdeps/gnu/Makefile: Likewise.
39462         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
39463         * sysdeps/unix/sysv/linux/Makefile: Likewise.
39464         * sysdeps/s390/s390-64/Makefile: Likewise.
39465         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
39466         CPPFLAGS for nscd instead of nonlib.
39468 2014-11-18  Roland McGrath  <roland@hack.frob.com>
39470         * nptl/createthread.c: New file.
39472         * nptl/createthread.c: Moved ...
39473         * sysdeps/unix/sysv/linux/createthread.c: ... here.
39475         * nptl/createthread.c: Add proper top-line comment.
39476         (do_clone): Folded into ...
39477         (create_thread): ... here.  Take new arguments STOPPED_START and
39478         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
39479         increment __nptl_threads, do event-reporting logic, do
39480         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
39481         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
39482         resource cleanup if sched_setaffinity or sched_setscheduler fails,
39483         just send SIGCANCEL.
39484         * nptl/pthread_create.c: Forward-declare create_thread before
39485         including createthread.c.
39486         (start_thread): Use new macro START_THREAD_DEFN to replace defining
39487         declaration, and new macro START_THREAD_SELF to replace argument.
39488         Remove return statement.
39489         (report_thread_creation): New function.
39490         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
39491         synchronization logic, and __nptl_nthreads increment here, around
39492         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
39493         PD->parent_cancelhandling here, before create_thread.  When
39494         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
39495         __deallocate_stack, and ENOMEM translation here.
39497 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
39499         [BZ #17616]
39500         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
39501         (mptwo): Rename to __mptwo.
39502         (__inv): Use __mptwo instead of mptwo.
39503         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
39504         (mptwo): Rename to __mptwo.
39505         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
39506         of mpone and __mptwo instead of mptwo.
39507         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
39508         instead of mpone.
39509         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39510         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
39511         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
39512         of mpone and __mptwo instead of mptwo.
39513         (__mpranred): Use __mpone instead of mpone.
39514         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
39515         variable.
39516         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
39517         (test-xfail-ISO99/math.h/linknamespace): Likewise.
39518         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
39519         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
39520         (test-xfail-ISO11/math.h/linknamespace): Likewise.
39521         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
39522         (test-xfail-XPG3/math.h/linknamespace): Likewise.
39523         (test-xfail-XPG4/math.h/linknamespace): Likewise.
39524         (test-xfail-POSIX/math.h/linknamespace): Likewise.
39525         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
39526         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
39527         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
39528         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
39529         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
39530         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
39531         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
39532         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
39533         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
39534         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
39536 2014-11-18  Tom de Vries  <tom@codesoucery.com>
39538         * manual/signal.texi (Primitives Interrupted by Signals): In section,
39539         replace BSD Handler xref with BSD Signal Handling.
39541 2014-11-17  Richard Henderson  <rth@redhat.com>
39543         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
39544         (_FP_PACK_RAW_2): Remove.
39545         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
39546         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
39547         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
39548         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
39549         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
39550         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
39551         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
39552         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
39553         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
39554         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
39555         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
39556         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
39557         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
39558         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
39559         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
39560         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
39562 2014-11-14  Roland McGrath  <roland@hack.frob.com>
39564         * signal/signal.h [__USE_MISC]
39565         (struct sigvec): Remove type.
39566         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
39567         (sigvec): Remove declaration.
39568         * sysdeps/posix/sigvec.c: Moved ...
39569         * signal/sigvec.c: ... here, replacing old file.
39570         (struct sigvec): New type, copied from old signal.h definition.
39571         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
39572         (__sigvec): Convert definition to prototype.
39573         (sigvec): Replace weak_alias with compat_symbol.
39574         * signal/Versions (libc: GLIBC_2.21): New version set.
39575         * include/signal.h: Remove __sigvec declaration.
39576         * sysdeps/unix/bsd/sigvec.c: Remove file.
39577         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
39578         * manual/signal.texi (BSD Handler): Remove subsection.
39579         Move siginterrupt up to ...
39580         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
39581         (Blocking in BSD): Fold subsection into its parent.
39582         * NEWS: Mention sigvec removal.
39584 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
39586         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
39587         (DLA_FMS): Make definition conditional only on [__FMA4__].
39588         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
39589         definition.
39591         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
39592         Make definition conditional only on [PROF].
39593         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
39594         definition.
39595         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
39596         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
39598         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
39599         !__GNUC__].
39600         * include/signal.h (__sigpause): Move declaration above call to
39601         libc_hidden_proto.
39602         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
39603         variable.
39604         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
39605         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
39607 2014-11-14  David S. Miller  <davem@davemloft.net>
39609         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
39610         Define before including <string/memcpy.c> and <string/mempcpy.c>.
39612 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
39614         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
39615         * configure: Regenerated.
39616         * manual/install.texi (Tools for Compilation): Document a
39617         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
39618         compiler verified to work.
39619         * INSTALL: Regenerated.
39621         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
39622         redeclare with asm name.
39623         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
39624         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
39625         including <string.h>.
39626         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39627         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
39628         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39629         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
39630         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39631         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
39632         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39634 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
39636         * stdlib/strtol.c (__strtol): Use prototype definition.
39638         [BZ #17594]
39639         * stdlib/strtol.c (SYM__): New macro.
39640         (SYM__1): Likewise.
39641         (__strtol): Likewise.
39642         (strtol): Rename to __strtol and define as weak alias of
39643         __strtol.  Use libc_hidden_weak.
39645 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39647         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
39648         Use numbered labels in inline assembly.
39650 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39652         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
39653         Add setjmp LIBC_PROBE.
39654         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
39655         Likewise.
39656         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
39657         Add longjmp, longjmp_target LIBC_PROBE.
39658         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
39659         Likewise.
39661 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39663         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
39664         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
39665         to get rid of unused variable warning.
39667 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39669         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
39670         Check for unwind_backtrace ==  NULL only in SHARED case.
39671         (__backchain_backtrace): Compile only in SHARED case.
39672         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
39673         Likewise.
39674         (__backchain_backtrace): Declare as static.
39676 2014-11-12  Roland McGrath  <roland@hack.frob.com>
39678         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
39679         (__libc_multiple_threads_ptr): Variable moved ...
39680         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
39682 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
39684         * conform/GlibcConform.pm: New file.
39685         * conform/conformtest.pl: Use GlibcConform module.
39686         * conform/linknamespace.pl: New file.
39687         * conform/list-header-symbols.pl: Likewise.
39688         * conform/Makefile (linknamespace-symlists-base): New variable.
39689         (linknamespace-symlists-tests): Likewise.
39690         (linknamespace-header-base): Likewise.
39691         (linknamespace-header-tests): Likewise.
39692         (tests-special): Add new tests.
39693         ($(linknamespace-symlists-tests)): New rule.
39694         (linknamespace-libs): New variable.
39695         ($(objpfx)symlist-stdlibs): New rule.
39696         ($(linknamespace-header-tests)): Likewise.
39697         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
39698         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
39699         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
39700         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
39701         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
39702         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
39703         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
39704         (test-xfail-ISO/math.h/linknamespace): Likewise.
39705         (test-xfail-ISO/signal.h/linknamespace): Likewise.
39706         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
39707         (test-xfail-ISO/time.h/linknamespace): Likewise.
39708         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
39709         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
39710         (test-xfail-ISO99/math.h/linknamespace): Likewise.
39711         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
39712         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
39713         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
39714         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
39715         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
39716         (test-xfail-ISO11/math.h/linknamespace): Likewise.
39717         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
39718         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
39719         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
39720         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
39721         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
39722         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
39723         (test-xfail-XPG3/math.h/linknamespace): Likewise.
39724         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
39725         (test-xfail-XPG3/search.h/linknamespace): Likewise.
39726         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
39727         (test-xfail-XPG3/time.h/linknamespace): Likewise.
39728         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
39729         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
39730         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
39731         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
39732         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
39733         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
39734         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
39735         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
39736         (test-xfail-XPG4/math.h/linknamespace): Likewise.
39737         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
39738         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
39739         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
39740         (test-xfail-XPG4/search.h/linknamespace): Likewise.
39741         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
39742         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
39743         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
39744         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
39745         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
39746         (test-xfail-XPG4/time.h/linknamespace): Likewise.
39747         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
39748         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
39749         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
39750         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
39751         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
39752         (test-xfail-POSIX/math.h/linknamespace): Likewise.
39753         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
39754         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
39755         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
39756         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
39757         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
39758         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
39759         (test-xfail-POSIX/time.h/linknamespace): Likewise.
39760         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
39761         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
39762         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
39763         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
39764         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
39765         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
39766         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
39767         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
39768         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
39769         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
39770         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
39771         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
39772         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
39773         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
39774         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
39775         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
39776         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39777         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
39778         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
39779         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
39780         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
39781         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
39782         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
39783         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
39784         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
39785         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
39786         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
39787         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
39788         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
39789         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
39790         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
39791         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
39792         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
39793         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
39794         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
39795         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
39796         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
39797         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
39798         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
39799         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
39800         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
39801         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
39802         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39803         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
39804         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
39805         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
39806         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
39807         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
39808         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
39809         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
39810         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
39811         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
39812         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
39813         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
39814         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
39815         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
39816         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
39817         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
39818         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
39819         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
39820         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
39821         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
39822         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
39823         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
39824         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
39825         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
39826         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39827         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
39828         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
39829         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39830         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
39831         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
39832         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
39833         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39834         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
39835         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
39836         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
39837         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39838         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
39839         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
39840         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
39841         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
39842         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
39843         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
39844         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
39845         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
39846         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
39847         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
39848         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
39849         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39850         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
39851         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39852         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
39853         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
39854         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
39855         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
39856         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39857         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
39859         [BZ #17589]
39860         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
39861         of fgets_unlocked.
39863         [BZ #17585]
39864         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
39865         (memmem): Rename to __memmem and define as weak alias of
39866         __memmem.  Use libc_hidden_weak.
39867         (__memmem): Use libc_hidden_def.
39868         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
39869         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
39870         memmem.
39872         [BZ #17582]
39873         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
39874         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
39875         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
39876         and define as weak alias of __fgets_unlocked.  Use
39877         libc_hidden_weak.
39878         (__fgets_unlocked): Use libc_hidden_def.
39879         * include/stdio.h (__fgets_unlocked): Declare.  Use
39880         libc_hidden_proto.
39881         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
39882         __fgets_unlocked instead of fgets_unlocked.
39883         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
39884         (GET_NPROCS_CONF_PARSER): Likewise.
39885         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
39886         (GET_NPROCS_CONF_PARSER): Likewise.
39888         [BZ #17574]
39889         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
39890         weak alias of __wmemset.  Use libc_hidden_weak.
39891         (__wmemset): Use libc_hidden_def.
39892         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
39893         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
39894         of wmemset.
39896         [BZ #17573]
39897         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
39898         with asm name __mempcpy.
39899         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
39901         [BZ #17572]
39902         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
39903         and define as weak alias of __rawmemchr.
39904         (__rawmemchr): Do not define as strong alias of rawmemchr.
39906         [BZ #17571]
39907         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
39908         alias of __qsort_r.
39909         (qsort): Call __qsort_r instead of qsort_r.
39910         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
39911         (__qsort_r): Declare.  Call libc_hidden_proto.
39912         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
39913         instead of qsort_r.
39914         * nscd/gai.c (__qsort_r): Define to qsort_r.
39915         * posix/tst-rfc3484.c (__qsort_r): Likewise.
39916         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
39917         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
39919         [BZ #17570]
39920         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
39921         define as weak alias of __malloc_info.
39923         [BZ #17584]
39924         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
39925         as weak alias of __rewinddir.  Don't use libc_hidden_def.
39926         (__rewinddir): Use libc_hidden_def.
39927         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
39928         as weak alias of __rewinddir.  Don't use libc_hidden_def.
39929         (__rewinddir): Use libc_hidden_def.
39930         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
39931         weak alias of __rewinddir.  Don't use libc_hidden_def.
39932         (__rewinddir): Use libc_hidden_def.
39933         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
39934         (__rewinddir): Use libc_hidden_proto.
39935         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
39936         rewinddir.
39937         (__getcwd): Use __rewinddir instead of rewinddir.
39939         [BZ #17583]
39940         * libio/fileno.c (fileno): Rename to __fileno and define as weak
39941         alias of __fileno.  Use libc_hidden_weak.
39942         (__fileno): Use libc_hidden_def.
39943         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
39944         * libio/ftello.c (ftello): Rename to __ftello and define as weak
39945         alias of __ftello.
39946         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
39947         __ftello.
39948         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
39949         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
39950         libc_hidden_def.
39951         (fread_unlocked): Don't use libc_hidden_ver.
39952         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
39953         and define as weak alias of __fread_unlocked.  Don't use
39954         libc_hidden_def.
39955         (__fread_unlocked): Use libc_hidden_def.
39956         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
39957         (ftello): Don't use libc_hidden_proto.
39958         (__ftello): Declare.  Use libc_hidden_proto.
39959         (fread_unlocked): Don't use libc_hidden_proto.
39960         (__fread_unlocked): Declare.  Use libc_hidden_proto.
39961         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
39962         and __ftello instead of fileno, fread_unlocked and ftello.
39964 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39966         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
39967         GOT12.
39968         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
39969         Likewise.
39970         (_dl_start_user): Likewise.
39971         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
39973 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
39974             Siddhesh Poyarekar  <siddhesh@redhat.com>
39976         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
39977         Move argv and envp down instead of moving argc up.
39978         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
39980 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
39982         [BZ #17506]
39983         * test-skeleton.c (main): Return successful if one of
39984         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
39985         * string/tst-strcoll-overflow.c: Define expected status.
39987 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
39989         [BZ #17475]
39990         * locale/iso-639.def: Define Bhili and Tulu language codes.
39992 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
39994         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
39996 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
39998         [BZ #17555]
39999         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
40001 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
40003         * configure.ac: Updated check of minimal required version to
40004         2.22.
40005         * manual/install.texi (Tools for Compilation): Updated version
40006         number.
40007         * configure: Regenerated.
40008         * INSTALL: Likewise.
40010 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
40012         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
40013         __tls_get_addr.
40015 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
40017         * include/sys/wait.h (__libc_waitpid): Remove declaration.
40018         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
40019         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40020         libc_hidden_weak.
40021         (waitpid): Define as alias of __waitpid.
40022         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
40023         __waitpid.
40024         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40025         libc_hidden_weak.
40026         (waitpid): Define as alias of __waitpid.
40027         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
40028         __libc_waitpid alias.
40029         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
40030         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
40031         Likewise.
40032         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
40033         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
40034         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
40035         alias.
40036         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
40037         __waitpid.
40038         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40039         libc_hidden_weak.
40040         (waitpid): Define as alias of __waitpid.
40042 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
40044         * manual/llio.texi: Add comment that write safety has been
40045         fixed in Linux.
40047         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
40048         (localplt-build-dso): Add elf/ld.so.
40049         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
40050         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
40051         and free for ld.so.
40052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
40053         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
40054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
40055         Likewise.
40056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40057         Likewise.
40058         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
40059         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
40060         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
40061         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
40062         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
40063         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
40064         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
40065         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
40066         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
40067         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
40068         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
40070 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
40072         [BZ #14132]
40073         * include/libc-symbols.h (INTUSE): Remove macro.
40074         (INTDEF): Likewise.
40075         (INTVARDEF): Likewise.
40076         (_INTVARDEF): Likewise.
40077         (INTDEF2): Likewise.
40078         (INTVARDEF2): Likewise.
40079         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
40080         rtld_hidden_def instead of INTVARDEF.
40081         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
40082         (_dl_starting_up_internal): Remove declaration.
40083         (_dl_starting_up): Use rtld_hidden_proto.
40084         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
40085         declaration.
40086         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
40087         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
40088         _dl_starting_up.
40089         * elf/dl-writev.h (_dl_writev): Likewise.
40090         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
40091         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
40092         _dl_starting_up_internal.
40094 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40096         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
40097         test-skeleton.c.
40099 2014-11-05  Will Newton  <will.newton@linaro.org>
40101         * benchtests/Makefile: (bench-malloc): Add malloc thread
40102         scalability benchmark.
40103         * benchtests/bench-malloc-threads.c: New file.
40105 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
40107         * sysdeps/aarch64/strchrnul.S: New file.
40109 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40111         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
40112         definition.
40113         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40114         Likewise.
40115         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40116         Likewise.
40117         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40118         Likewise.
40119         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40120         Likewise.
40121         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40122         Likewise.
40124 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
40126         * catgets/test-gencat.c: Use test-skeleton.c.
40127         * catgets/tst-catgets.c: Likewise.
40128         * csu/tst-empty.c: Likewise.
40129         * elf/tst-audit2.c: Likewise.
40130         * elf/tst-global1.c: Likewise.
40131         * elf/tst-pathopt.c: Likewise.
40132         * elf/tst-piemod1.c: Likewise.
40133         * elf/tst-tls10.c: Likewise.
40134         * elf/tst-tls11.c: Likewise.
40135         * elf/tst-tls12.c: Likewise.
40136         * gnulib/tst-gcc.c: Likewise.
40137         * iconvdata/tst-e2big.c: Likewise.
40138         * iconvdata/tst-loading.c: Likewise.
40139         * iconv/tst-iconv1.c: Likewise.
40140         * iconv/tst-iconv2.c: Likewise.
40141         * inet/test-inet6_opt.c: Likewise.
40142         * inet/tst-gethnm.c: Likewise.
40143         * inet/tst-network.c: Likewise.
40144         * inet/tst-ntoa.c: Likewise.
40145         * intl/tst-codeset.c: Likewise.
40146         * intl/tst-gettext2.c: Likewise.
40147         * intl/tst-gettext3.c: Likewise.
40148         * intl/tst-ngettext.c: Likewise.
40149         * intl/tst-translit.c: Likewise.
40150         * io/test-stat.c: Likewise.
40151         * libio/test-fmemopen.c: Likewise.
40152         * libio/tst-freopen.c: Likewise.
40153         * libio/tst-sscanf.c: Likewise.
40154         * libio/tst-ungetwc1.c: Likewise.
40155         * libio/tst-ungetwc2.c: Likewise.
40156         * libio/tst-widetext.c: Likewise.
40157         * localedata/tst-ctype.c: Likewise.
40158         * localedata/tst-digits.c: Likewise.
40159         * localedata/tst-leaks.c: Likewise.
40160         * localedata/tst-mbswcs1.c: Likewise.
40161         * localedata/tst-mbswcs2.c: Likewise.
40162         * localedata/tst-mbswcs3.c: Likewise.
40163         * localedata/tst-mbswcs4.c: Likewise.
40164         * localedata/tst-mbswcs5.c: Likewise.
40165         * localedata/tst-setlocale.c: Likewise.
40166         * localedata/tst-trans.c: Likewise.
40167         * localedata/tst-wctype.c: Likewise.
40168         * localedata/tst-xlocale1.c: Likewise.
40169         * login/tst-grantpt.c: Likewise.
40170         * malloc/tst-calloc.c: Likewise.
40171         * malloc/tst-malloc.c: Likewise.
40172         * malloc/tst-mallocstate.c: Likewise.
40173         * malloc/tst-mcheck.c: Likewise.
40174         * malloc/tst-mtrace.c: Likewise.
40175         * malloc/tst-obstack.c: Likewise.
40176         * math/atest-exp2.c: Likewise.
40177         * math/atest-exp.c: Likewise.
40178         * math/atest-sincos.c: Likewise.
40179         * math/test-matherr.c: Likewise.
40180         * math/test-misc.c: Likewise.
40181         * math/test-powl.c: Likewise.
40182         * math/tst-definitions.c: Likewise.
40183         * misc/tst-dirname.c: Likewise.
40184         * misc/tst-efgcvt.c: Likewise.
40185         * misc/tst-fdset.c: Likewise.
40186         * misc/tst-hsearch.c: Likewise.
40187         * misc/tst-mntent2.c: Likewise.
40188         * nptl/tst-sem7.c: Likewise.
40189         * nptl/tst-sem8.c: Likewise.
40190         * nptl/tst-sem9.c: Likewise.
40191         * nss/test-netdb.c: Likewise.
40192         * posix/tst-fnmatch.c: Likewise.
40193         * posix/tst-getlogin.c: Likewise.
40194         * posix/tst-gnuglob.c: Likewise.
40195         * posix/tst-mmap.c: Likewise.
40196         * pwd/tst-getpw.c: Likewise.
40197         * resolv/tst-inet_ntop.c: Likewise.
40198         * rt/tst-timer.c: Likewise.
40199         * stdio-common/test-fseek.c: Likewise.
40200         * stdio-common/test-popen.c: Likewise.
40201         * stdio-common/test-vfprintf.c: Likewise.
40202         * stdio-common/tst-cookie.c: Likewise.
40203         * stdio-common/tst-fileno.c: Likewise.
40204         * stdio-common/tst-gets.c: Likewise.
40205         * stdio-common/tst-obprintf.c: Likewise.
40206         * stdio-common/tst-perror.c: Likewise.
40207         * stdio-common/tst-sprintf2.c: Likewise.
40208         * stdio-common/tst-sprintf3.c: Likewise.
40209         * stdio-common/tst-sprintf.c: Likewise.
40210         * stdio-common/tst-swprintf.c: Likewise.
40211         * stdio-common/tst-tmpnam.c: Likewise.
40212         * stdio-common/tst-unbputc.c: Likewise.
40213         * stdio-common/tst-wc-printf.c: Likewise.
40214         * stdlib/tst-environ.c: Likewise.
40215         * stdlib/tst-fmtmsg.c: Likewise.
40216         * stdlib/tst-limits.c: Likewise.
40217         * stdlib/tst-rand48-2.c: Likewise.
40218         * stdlib/tst-rand48.c: Likewise.
40219         * stdlib/tst-random2.c: Likewise.
40220         * stdlib/tst-random.c: Likewise.
40221         * stdlib/tst-strtol.c: Likewise.
40222         * stdlib/tst-strtoll.c: Likewise.
40223         * stdlib/tst-tls-atexit.c: Likewise.
40224         * stdlib/tst-xpg-basename.c: Likewise.
40225         * string/test-ffs.c: Likewise.
40226         * string/tst-bswap.c: Likewise.
40227         * string/tst-inlcall.c: Likewise.
40228         * string/tst-strtok.c: Likewise.
40229         * string/tst-strxfrm.c: Likewise.
40230         * sysdeps/x86_64/tst-audit10.c: Likewise.
40231         * sysdeps/x86_64/tst-audit3.c: Likewise.
40232         * sysdeps/x86_64/tst-audit4.c: Likewise.
40233         * sysdeps/x86_64/tst-audit5.c: Likewise.
40234         * time/tst-ftime_l.c: Likewise.
40235         * time/tst-getdate.c: Likewise.
40236         * time/tst-mktime3.c: Likewise.
40237         * time/tst-mktime.c: Likewise.
40238         * time/tst-posixtz.c: Likewise.
40239         * time/tst-strptime2.c: Likewise.
40240         * time/tst-strptime3.c: Likewise.
40241         * wcsmbs/tst-btowc.c: Likewise.
40242         * wcsmbs/tst-mbrtowc.c: Likewise.
40243         * wcsmbs/tst-mbsrtowcs.c: Likewise.
40244         * wcsmbs/tst-wchar-h.c: Likewise.
40245         * wcsmbs/tst-wcpncpy.c: Likewise.
40246         * wcsmbs/tst-wcrtomb.c: Likewise.
40247         * wcsmbs/tst-wcsnlen.c: Likewise.
40248         * wcsmbs/tst-wcstof.c: Likewise.
40250 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
40252         [BZ #14132]
40253         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
40254         INTDEF.
40255         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
40256         declaration.
40257         (_dl_mcount): Use rtld_hidden_proto.
40258         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
40259         _dl_mcount.
40260         * elf/rtld.c (_rtld_global_ro): Likewise.
40262         [BZ #14132]
40263         * elf/dl-init.c (_dl_init): Don't use INTDEF.
40264         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
40265         of _dl_init_internal.
40266         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
40267         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
40268         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
40269         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
40270         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
40271         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
40272         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
40273         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
40274         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
40275         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
40276         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
40277         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
40278         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40279         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40280         * sysdeps/tile/dl-start.S (_start): Likewise.
40281         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
40282         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
40284         [BZ #14132]
40285         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
40286         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
40287         (rtld_progname): Make macro definition unconditional.
40288         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
40289         INTDEF.
40290         (dlmopen_doit): Do not use INTUSE with _dl_argv.
40291         (dl_main): Likewise.
40292         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40293         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
40294         instead of _dl_argv_internal.
40295         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40296         __GI__dl_argv instead of INTUSE(_dl_argv).
40297         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
40298         __GI__dl_argv instead of _dl_argv_internal.
40300         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
40301         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
40302         macro.
40303         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
40304         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
40305         New macro.
40306         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
40307         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
40308         macro.
40309         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
40310         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
40312 2014-11-04  Andreas Schwab  <schwab@suse.de>
40314         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
40316 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40318         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
40319         mtvsrd instruction in binary form.
40321 2014-11-03  Andreas Schwab  <schwab@suse.de>
40323         [BZ #17522]
40324         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
40325         for less than MB_LEN_MAX use a local buffer of that size.
40326         * libio/tst-fputws.c: New file.
40327         * libio/Makefile (tests): Add tst-fputws.
40329 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
40331         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
40332         the size of the fpu_fr.fpu_dregs[] array.
40334 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
40336         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
40337         (__nanosleep): Do not define as alias.
40338         (nanosleep): Define as alias of __nanosleep.
40339         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
40340         __libc_nanosleep name.
40342 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
40344         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
40345         install.texi in comment.
40347 2014-10-31  Torvald Riegel  <triegel@redhat.com>
40349         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
40350         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
40351         ... add here and use lwsync or sync ...
40352         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
40353         ... and add here using lwsync.
40355 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40357         * elf/dl-machine-reject-phdr.h: New file.
40358         * elf/dl-load.c: #include that.
40359         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
40360         if that returned true.
40362 2014-10-31  Roland McGrath  <roland@hack.frob.com>
40364         [BZ #17496]
40365         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
40366         gen-as-const-headers chunk.  Add a big scare comment after the last
40367         safe place to touch before-compile.
40369 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
40371         * manual/install.texi (Tools for Compilation): Update autoconf
40372         version requirements.
40373         * INSTALL: Regenerated.
40375         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
40376         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
40377         (__libc_pselect): Likewise.
40379         [BZ #14138]
40380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
40381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40385 2014-10-31  Torvald Riegel  <triegel@redhat.com>
40387         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
40388         correct barrier instruction.
40389         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
40390         Likewise.
40391         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
40392         Likewise.
40394 2014-10-30  Roland McGrath  <roland@hack.frob.com>
40396         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
40397         after defining inlines.  Instead, just use parens to defeat macro
40398         expansion of __isctype in its declaration.
40400 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
40402         * include/sys/uio.h (__libc_readv): Remove declaration.
40403         (__libc_writev): Likewise.
40404         * misc/readv.c (__libc_readv): Rename to __readv.
40405         (__readv): Do not define as alias.
40406         (readv): Define as alias of __readv.
40407         * misc/writev.c (__libc_writev): Rename to __writev.
40408         (__writev): Do not define as alias.
40409         (writev): Define as alias of __writev.
40410         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
40411         (__readv): Do not define as alias.
40412         (readv): Define unconditionally as alias of __readv.
40413         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
40414         (__writev): Do not define as alias.
40415         (writev): Define unconditionally as alias of __writev.
40416         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
40417         name.
40418         (writev): Do not define __libc_writev name.
40420 2014-10-30  Roland McGrath  <roland@hack.frob.com>
40422         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
40423         (convert_charseq): New function, broken out of ...
40424         (use_from_charmap): ... here.  Call it.
40425         (use_to_charmap): Use convert_charseq and free instead of duplicating
40426         its code with a variable-length stack struct.
40428 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
40430         * include/fcntl.h (__libc_creat): Remove declaration.
40431         * io/creat.c (__libc_creat): Rename to creat.
40432         (creat): Do not define as alias.
40433         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
40434         of creat instead of __libc_creat.
40435         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
40436         to creat.
40437         (creat): Do not define as alias.
40438         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
40439         __libc_creat.
40440         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
40441         __libc_creat name.
40442         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
40443         Likewise.
40445 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
40447         * manual/llio.texi: Add comments discussing why write() may be
40448         considered MT-unsafe on Linux.
40450 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
40452         * dl-load.c (local_strdup): Remove.
40453         (expand_dynamic_string_token): Use __strdup.
40454         (decompose_rpath): Likewise.
40455         (_dl_map_object): Likewise.
40457 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
40459         [BZ #14132]
40460         * sysdeps/generic/unwind-dw2-fde.c
40461         (__register_frame_info_bases_internal): Do not declare.
40462         (__register_frame_info_table_bases_internal): Likewise.
40463         (__deregister_frame_info_bases_internal): Likewise.
40464         (__register_frame_info_bases): Declare and use hidden_proto before
40465         definition.  Use hidden_def instead of INTDEF.
40466         (__register_frame_info_table_bases): Likewise.
40467         (__deregister_frame_info_bases): Likewise.
40468         (__register_frame_info): Do not use INTUSE.
40469         (__register_frame): Likewise.
40470         (__register_frame_info_table): Likewise.
40471         (__register_frame_table): Likewise.
40472         (__deregister_frame_info): Likewise.
40473         (__deregister_frame): Likewise.
40475 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
40477         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40478         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
40479         not undefine.
40480         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
40481         Likewise.
40482         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
40483         Likewise.
40485 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
40487         [BZ #14138]
40488         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
40489         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
40490         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
40491         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
40492         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
40493         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
40494         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
40495         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
40496         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
40497         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
40498         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
40499         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
40500         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
40501         syscall.
40502         (setfsuid): Likewise.
40503         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
40504         (setfsuid): Likewise.
40505         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
40506         (setfsuid): Likewise.
40507         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
40508         Likewise.
40509         (setfsuid): Likewise.
40510         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
40511         (setfsuid): Likewise.
40512         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
40513         Likewise.
40514         (setfsuid): Likewise.
40516 2014-10-27  Andreas Schwab  <schwab@suse.de>
40518         [BZ #17501]
40519         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
40520         check for Slow_SSE4_2 feature bit.
40521         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
40522         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40523         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
40524         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
40526 2014-10-24  Roland McGrath  <roland@hack.frob.com>
40528         * configure.ac: Validate compiler version with a empirical test of
40529         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
40530         $CC -v output.
40531         * configure: Regenerated.
40533         * inet/htons.c (htons): Prototypify.
40534         * inet/htonl.c (htonl): Likewise.
40536 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40538         * string/strncat.c (strncat): Improve performance by using strlen.
40540 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40542         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
40544 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40546         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
40547         Call libc_fetestexcept_aarch64.
40549 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40551         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
40552         Call libc_feholdexcept_aarch64.
40554 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40556         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
40557         Call get_rounding_mode.
40559 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40561         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40562         Simplify logic.
40564 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40566         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
40567         Simplify logic.
40569 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
40571         [BZ #14138]
40572         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
40573         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
40574         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
40575         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
40576         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
40577         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
40578         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
40579         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
40580         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
40581         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
40582         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40583         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
40584         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
40585         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
40586         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
40587         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
40588         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
40589         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
40590         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
40591         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
40592         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
40593         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
40594         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
40595         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
40596         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
40597         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
40598         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
40599         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
40600         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
40601         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
40602         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
40603         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
40604         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
40605         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
40606         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
40607         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
40608         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
40609         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
40610         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
40611         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
40612         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
40613         syscall.
40614         (geteuid): Likewise.
40615         (getgid): Likewise.
40616         (getuid): Likewise.
40617         (getresgid): Likewise.
40618         (getresuid): Likewise.
40619         (getgroups): Likewise.
40620         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
40621         (geteuid): Likewise.
40622         (getgid): Likewise.
40623         (getuid): Likewise.
40624         (getresgid): Likewise.
40625         (getresuid): Likewise.
40626         (getgroups): Likewise.
40627         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
40628         (geteuid): Likewise.
40629         (getgid): Likewise.
40630         (getuid): Likewise.
40631         (getresgid): Likewise.
40632         (getresuid): Likewise.
40633         (getgroups): Likewise.
40634         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
40635         Likewise.
40636         (geteuid): Likewise.
40637         (getgid): Likewise.
40638         (getuid): Likewise.
40639         (getresgid): Likewise.
40640         (getresuid): Likewise.
40641         (getgroups): Likewise.
40642         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
40643         (geteuid): Likewise.
40644         (getgid): Likewise.
40645         (getuid): Likewise.
40646         (getresgid): Likewise.
40647         (getresuid): Likewise.
40648         (getgroups): Likewise.
40649         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
40650         Likewise.
40651         (geteuid): Likewise.
40652         (getgid): Likewise.
40653         (getuid): Likewise.
40654         (getgroups): Likewise.
40656         [BZ #14138]
40657         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
40658         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
40659         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
40660         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40661         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
40662         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
40663         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
40664         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
40665         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
40666         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
40667         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
40668         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
40669         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
40670         __chown.
40671         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
40672         (lchown): Likewise.
40673         (fchown): Likewise.
40674         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
40675         Likewise.
40676         (lchown): Likewise.
40677         (fchown): Likewise.
40678         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
40679         (lchown): Likewise.
40680         (fchown): Likewise.
40681         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
40682         Likewise.
40683         (lchown): Likewise.
40684         (fchown): Likewise.
40686 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
40688         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
40689         Simplify logic.
40691 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
40693         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
40694         Cleanup logic.
40696 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
40698         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
40699         Remove unused include.
40701 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
40703         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
40704         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
40705         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
40706         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
40708 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
40709             Helge Deller <deller@gmx.de>
40711         [BZ #17508]
40712         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
40713         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
40714         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
40716 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
40718         [BZ #14132]
40719         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
40720         Remove macro definition.
40721         (__ashrdi3_v_glibc20): Likewise.
40722         (__lshrdi3_v_glibc20): Likewise.
40723         (__cmpdi2_v_glibc20): Likewise.
40724         (__ucmpdi2_v_glibc20): Likewise.
40725         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
40726         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40727         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40728         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40729         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40730         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
40732 2014-10-22  Roland McGrath  <roland@hack.frob.com>
40734         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
40735         old GNU extension [0] syntax.
40736         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
40737         alloca rather than an array member with variable length.
40738         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
40739         * nscd/nscd.c (invalidate_db): New function, broken out of ...
40740         (parse_opt): ... here.  Likewise use alloca there.
40741         Validate the -i argument before checking for rootness.
40742         (send_shutdown): New function, broken out of ...
40743         (parse_opt): ... here.
40745 2014-10-22  Roland McGrath  <roland@hack.frob.com>
40747         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
40748         macro to get at the _rt_local_ro field.
40749         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
40750         ([PIC] case) or _dl_hwcap ([!PIC] case).
40751         * sysdeps/arm/setjmp.S: Likewise.
40753         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
40754         * sysdeps/arm/configure.ac: New check to define it.
40755         * sysdeps/arm/configure: Regenerated.
40756         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
40757         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
40758         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
40759         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
40760         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
40761         Use move/movt pair instead of a load.
40762         (LDST_GLOBAL): Macro removed.
40763         (LDR_GLOBAL): New macro replaces it.
40764         (LDR_HIDDEN): New macro.
40765         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
40766         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
40768         * setjmp/tst-setjmp-static.c: New file.
40769         * setjmp/Makefile (tests): Add it.
40770         (tests-static): New variable.
40772 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
40774         [BZ #17485]
40775         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
40777 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
40779         [BZ #14132]
40780         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
40782 2014-10-21  Roland McGrath  <roland@hack.frob.com>
40784         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
40786 2014-10-20  Roland McGrath  <roland@hack.frob.com>
40788         * io/fts.c (dirent_not_directory): New function.
40789         (fts_build): Call it.
40791 2014-10-20  Roland McGrath  <roland@hack.frob.com>
40793         * nptl/version.c (__nptl_main): Use normal __write rather than
40794         INTERNAL_SYSCALL.
40795         (banner): Update copyright years.
40797         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
40798         gettimeofday.
40799         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
40800         * nptl/pthread_cond_timedwait.c: Likewise.
40801         * nptl/pthread_mutex_timedlock.c: Likewise.
40802         * nptl/sem_timedwait.c: Likewise.
40804         * sysdeps/nptl/bits/libc-lock.h
40805         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40806         (__libc_lock_init_recursive): Return void, not 0.
40807         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
40808         (__libc_rwlock_init): Likewise.
40809         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
40811 2014-10-20  Torvald Riegel  <triegel@redhat.com>
40813         [BZ #15215]
40814         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
40815         (__pthread_once_slow): ... here.
40816         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
40817         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
40819 2014-10-20  Torvald Riegel  <triegel@redhat.com>
40821         [BZ #15215]
40822         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
40823         __PTHREAD_ONCE_FORK_GEN_INCR): New.
40824         * sysdeps/nptl/fork.c (__libc_fork): Use them.
40825         * nptl/pthread_once.c (__pthread_once): Likewise.
40826         Update comments.
40828 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
40830         [BZ #14138]
40831         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
40832         name.
40833         (writev): Use __libc_writev as strong name.
40834         * sysdeps/unix/sysv/linux/readv.c: Remove file.
40835         * sysdeps/unix/sysv/linux/writev.c: Likewise.
40837 2014-10-17  Roland McGrath  <roland@hack.frob.com>
40839         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
40841         * sysdeps/i386/nptl/tls.h
40842         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
40843         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
40844         New macros.
40845         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
40846         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
40847         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
40848         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
40849         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
40850         Call CHECK_THREAD_SYSINFO instead of doing an assert.
40852         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
40853         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
40854         on [__NR_futex].
40855         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
40856         broken out of ...
40857         (__pthread_mutex_init): ... here.  Call it.
40858         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
40859         Conditionalize PI cases on [__NR_futex].
40860         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
40861         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
40862         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
40864         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
40865         conditional on [SIGSETXID].
40866         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
40867         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
40868         is defined.  Likewise for SIGSETXID.
40869         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
40870         Conditionalize definitions on [SIGSETXID].
40871         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
40872         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
40873         unblocking on [SIGCANCEL].
40875         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
40876         [__NR_set_robust_list].
40878 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40880         * string/strcoll_l.c (get_next_seq): Fix up formatting.
40881         (do_compare): Likewise.
40883 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
40885         [BZ #15884]
40886         * string/strcoll_l.c: Don't include stdio.h.
40887         (coll_seq): Remove members idxarr and rulearr.
40888         (get_next_seq_cached): Remove function.
40889         (get_next_seq): Likewise.
40890         (get_next_seq_nocache): Rename to get_next_seq.
40891         (do_compare): Remove function.
40892         (do_compare_nocache): Rename to do_compare.
40893         (STRCOLL): Remove weight and rules cache.
40895 2014-10-16  Roland McGrath  <roland@hack.frob.com>
40897         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
40898         * sysdeps/arm/sfp-machine.h: ... to here.
40899         * sysdeps/arm/Implies: Remove arm/soft-fp.
40901 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
40903         * conform/data/sys/utsname.h-data (*_t): Allow.
40904         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
40905         [POSIX] (WEXITED): Do not expect constant.
40906         [POSIX] (WSTOPPED): Likewise.
40907         [POSIX] (WNOHANG): Likewise.
40908         [POSIX] (WNOWAIT): Likewise.
40909         [POSIX] (siginfo_t): Do not expect type or elements.
40910         [POSIX] (pid_t): Do not expect type.
40911         [POSIX] (signal.h): Do not allow header.
40912         [POSIX] (sys/resource.h): Likewise.
40913         [POSIX] (si_*): Do not allow pattern.
40914         [POSIX] (W*): Likewise.
40915         [POSIX] (P_*): Likewise.
40916         [POSIX] (BUS_*): Likewise.
40917         [POSIX] (CLD_*): Likewise.
40918         [POSIX] (FPE_*): Likewise.
40919         [POSIX] (ILL_*): Likewise.
40920         [POSIX] (POLL_*): Likewise.
40921         [POSIX] (SEGV_*): Likewise.
40922         [POSIX] (SI_*): Likewise.
40923         [POSIX] (TRAP_*): Likewise.
40924         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
40925         variable.
40927 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
40929         [BZ #12926]
40930         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
40931         infinite loop when __recvmsg returns 0.
40933 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
40935         * CANCEL-FCT-WAIVE: Remove file.
40936         * CANCEL-FILE-WAIVE: Likewise.
40938         [BZ #14132]
40939         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
40940         instead of INTVARDEF.
40941         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
40942         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
40943         rtld_hidden_data_def instead of INTVARDEF.
40944         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
40945         * elf/dl-deps.c (expand_dst): Likewise.
40946         * elf/dl-load.c (_dl_dst_count): Likewise.
40947         (_dl_dst_substitute): Likewise.
40948         (decompose_rpath): Likewise.
40949         (_dl_init_paths): Likewise.
40950         (open_path): Likewise.
40951         (_dl_map_object): Likewise.
40952         * elf/rtld.c (dl_main): Likewise.
40953         (process_dl_audit): Likewise.
40954         (process_envvars): Likewise.
40955         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
40956         Remove declaration.
40957         (__libc_enable_secure): Use rtld_hidden_proto.
40959 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40961         * elf/dl-load.c
40962         (add_path): New function broken out of _dl_rtld_di_serinfo.
40963         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
40965 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
40967         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
40968         parentheses around macro arguments.
40969         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
40970         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
40971         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
40972         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
40973         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
40974         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
40975         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
40976         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
40977         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
40978         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
40979         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
40980         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
40981         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
40982         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
40983         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
40984         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
40985         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
40986         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
40987         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
40988         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
40989         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
40990         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
40991         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
40992         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
40993         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
40994         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
40995         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
40996         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
40997         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
40998         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
40999         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
41000         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
41001         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
41002         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
41003         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
41004         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
41005         Likewise.
41006         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
41007         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41008         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41009         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
41010         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
41011         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
41012         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
41013         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
41014         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
41015         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
41016         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
41017         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
41018         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
41019         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
41020         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
41021         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41022         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41023         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
41024         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
41025         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
41026         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
41027         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
41028         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
41029         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
41030         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
41031         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
41032         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
41033         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
41034         (_FP_FRAC_SRS_1): Likewise.
41035         (_FP_FRAC_CLZ_1): Likewise.
41036         (_FP_MUL_MEAT_1_imm): Likewise.
41037         (_FP_MUL_MEAT_1_wide): Likewise.
41038         (_FP_MUL_MEAT_1_hard): Likewise.
41039         (_FP_SQRT_MEAT_1): Likewise.
41040         (_FP_FRAC_ASSEMBLE_1): Likewise.
41041         (_FP_FRAC_DISASSEMBLE_1): Likewise.
41042         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
41043         (__FP_CLZ_2): Likewise.
41044         (_FP_MUL_MEAT_2_wide): Likewise.
41045         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41046         (_FP_MUL_MEAT_2_gmp): Likewise.
41047         (_FP_MUL_MEAT_2_120_240_double): Likewise.
41048         (_FP_SQRT_MEAT_2): Likewise.
41049         (_FP_FRAC_ASSEMBLE_2): Likewise.
41050         (_FP_FRAC_DISASSEMBLE_2): Likewise.
41051         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
41052         (_FP_FRAC_CLZ_4): Likewise.
41053         (_FP_MUL_MEAT_4_wide): Likewise.
41054         (_FP_MUL_MEAT_4_gmp): Likewise.
41055         (_FP_SQRT_MEAT_4): Likewise.
41056         (_FP_FRAC_ASSEMBLE_4): Likewise.
41057         (_FP_FRAC_DISASSEMBLE_4): Likewise.
41058         * soft-fp/op-common.h (_FP_CMP): Likewise.
41059         (_FP_CMP_EQ): Likewise.
41060         (_FP_CMP_UNORD): Likewise.
41061         (_FP_TO_INT): Likewise.
41062         (_FP_FROM_INT): Likewise.
41063         [!__FP_CLZ] (__FP_CLZ): Likewise.
41064         (_FP_DIV_HELP_imm): Likewise.
41065         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
41066         Likewise.
41067         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
41068         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
41069         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
41070         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
41071         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
41072         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
41073         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
41074         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
41075         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
41076         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
41077         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
41078         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
41079         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
41080         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
41081         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
41082         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
41083         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
41084         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
41085         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
41086         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
41087         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
41088         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
41089         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
41090         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
41091         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
41092         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
41093         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
41094         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
41095         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
41096         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
41097         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
41098         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
41099         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
41100         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
41101         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
41102         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
41103         (FP_UNPACK_RAW_SP): Likewise.
41104         (FP_PACK_RAW_S): Likewise.
41105         (FP_PACK_RAW_SP): Likewise.
41106         (FP_UNPACK_S): Likewise.
41107         (FP_UNPACK_SP): Likewise.
41108         (FP_UNPACK_SEMIRAW_S): Likewise.
41109         (FP_UNPACK_SEMIRAW_SP): Likewise.
41110         (FP_PACK_S): Likewise.
41111         (FP_PACK_SP): Likewise.
41112         (FP_PACK_SEMIRAW_S): Likewise.
41113         (FP_PACK_SEMIRAW_SP): Likewise.
41114         (_FP_SQRT_MEAT_S): Likewise.
41115         (FP_CMP_S): Likewise.
41116         (FP_CMP_EQ_S): Likewise.
41117         (FP_CMP_UNORD_S): Likewise.
41118         (FP_TO_INT_S): Likewise.
41119         (FP_FROM_INT_S): Likewise.
41121         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
41123         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
41124         (FP_EX_INVALID_IMZ): Likewise.
41125         (FP_EX_INVALID_IMZ_FMA): Likewise.
41126         (FP_EX_INVALID_ISI): Likewise.
41127         (FP_EX_INVALID_ZDZ): Likewise.
41128         (FP_EX_INVALID_IDI): Likewise.
41129         (FP_EX_INVALID_SQRT): Likewise.
41130         (FP_EX_INVALID_CVI): Likewise.
41131         (FP_EX_INVALID_VC): Likewise.
41132         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
41133         "invalid" exceptions.
41134         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
41135         (_FP_ADD_INTERNAL): Likewise.
41136         (_FP_MUL): Likewise.
41137         (_FP_FMA): Likewise.
41138         (_FP_DIV): Likewise.
41139         (_FP_CMP_CHECK_NAN): Likewise.
41140         (_FP_SQRT): Likewise.
41141         (_FP_TO_INT): Likewise.
41142         (FP_EXTEND): Likewise.
41144 2014-10-09  Allan McRae  <allan@archlinux.org>
41146         * po/fr.po: Update French translation from translation project.
41148 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
41150         [BZ #14132]
41151         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
41152         of INTDEF.
41153         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
41154         (__cxa_atexit): Use libc_hidden_proto.
41155         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
41157         [BZ #14132]
41158         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
41159         declaration.
41160         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
41161         [!_ISOMAC] (__iswspace_l_internal): Likewise.
41162         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
41163         [!_ISOMAC] (__iswctype_internal): Likewise.
41164         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
41165         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
41166         alias.
41167         (fcntl): Remove __fcntl_internal alias.
41168         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
41169         __connect_internal alias.
41170         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
41171         Likewise.
41173         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
41174         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
41175         FP_DENORM_ZERO.
41176         (_FP_CHECK_FLUSH_ZERO): New macro.
41177         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
41178         (_FP_CMP): Likewise.
41179         (_FP_CMP_EQ): Likewise.
41180         (_FP_TO_INT): Do not set inexact for subnormal arguments if
41181         FP_DENORM_ZERO.
41182         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
41183         (FP_TRUNC): Likewise.
41185         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
41186         treated as invalid conversion, not as normal exponent.
41188         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
41189         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
41190         (_FP_CMP_EQ): Likewise.
41191         (_FP_CMP_UNORD): Likewise.
41192         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
41193         (FP_CMP_EQ_D): Likewise.
41194         (FP_CMP_UNORD_D): Likewise.
41195         * soft-fp/extended.h (FP_CMP_E): Likewise.
41196         (FP_CMP_EQ_E): Likewise.
41197         (FP_CMP_UNORD_E): Likewise.
41198         * soft-fp/quad.h (FP_CMP_Q): Likewise.
41199         (FP_CMP_EQ_Q): Likewise.
41200         (FP_CMP_UNORD_Q): Likewise.
41201         * soft-fp/single.h (FP_CMP_S): Likewise.
41202         (FP_CMP_EQ_S): Likewise.
41203         (FP_CMP_UNORD_S): Likewise.
41204         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
41205         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
41206         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
41207         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
41208         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
41209         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
41210         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
41211         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
41212         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
41213         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
41214         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
41215         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
41216         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
41217         to FP_CMP_Q.
41218         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
41219         FP_CMP_Q.
41220         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
41221         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
41222         FP_CMP_EQ_Q.
41223         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
41224         FP_CMP_Q.
41225         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
41226         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
41227         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
41228         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
41229         FP_CMP_EQ_Q.
41230         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
41231         FP_CMP_Q.
41232         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
41233         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
41234         FP_CMP_EQ_Q.
41235         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
41236         FP_CMP_Q.
41237         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
41238         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
41239         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
41240         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
41241         FP_CMP_EQ_Q.
41243         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
41244         a subnormal result, set the underflow exception if trapping on
41245         underflow is enabled.
41246         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
41247         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
41248         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
41249         redefine to 0.
41250         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
41251         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
41252         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
41253         * soft-fp/extendxftf2.c (__extendxftf2): Use
41254         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
41256         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
41257         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
41258         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41259         FP_HANDLE_EXCEPTIONS.
41260         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
41261         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41262         FP_HANDLE_EXCEPTIONS.
41263         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
41264         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41265         FP_HANDLE_EXCEPTIONS.
41266         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
41267         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41268         FP_HANDLE_EXCEPTIONS.
41270 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
41272         [BZ #14132]
41273         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
41274         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
41275         use INTUSE.
41276         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
41277         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
41278         Remove alias.
41279         (__adjtimex): Define using libc_hidden_ver.
41280         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
41281         Remove declaration.
41282         (ntp_gettime): Call __adjtimex directly.
41283         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
41284         Remove declaration.
41285         (ntp_gettimex): Call __adjtimex directly.
41286         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
41287         __adjtimex_internal alias.
41289 2014-10-08  Roland McGrath  <roland@hack.frob.com>
41291         [BZ #17460]
41292         * nscd/nscd.c (more_help): Rewrite list of tables collection
41293         using xstrdup and asprintf.
41295         * nscd/nscd_conf.c: Remove local xstrdup declaration.
41297 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41298             Roland McGrath  <roland@hack.frob.com>
41300         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
41301         (do_lookup_unique): ... local function 'enter' here; update callers.
41303 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
41305         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
41306         compat_symbol calls on [SHARED].
41307         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
41308         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
41309         Remove.
41310         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41311         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
41312         (oldsetrlimit): Remove.
41313         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
41315         (lchown): New syscall entry.
41316         (oldsetrlimit): Remove.
41317         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41318         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
41319         (oldsetrlimit): Remove.
41320         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41322         [BZ #14138]
41323         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
41324         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
41325         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
41326         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
41327         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41328         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
41329         (fchown): Likewise.
41330         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
41331         (fchown): Likewise.
41332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
41333         Likewise.
41335 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41337         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
41338         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
41339         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
41340         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
41341         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
41342         Likewise.
41343         (__old_sem_post): Likewise.
41345 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
41347         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
41348         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
41349         HAVE_CLOCK_GETTIME_VSYSCALL macros.
41350         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
41351         Use INLINE_VSYSCALL macro.
41352         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
41353         __vdso_clock_gettime.
41354         * sysdeps/unix/sysv/linux/tile/init-first.c
41355         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
41356         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
41357         __vdso_clock_gettime.
41359         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
41360         to set up frame more cleanly.
41362         * sysdeps/tile/memcmp.c: New file.
41364         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
41366         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
41367         * sysdeps/tile/tilegx/strcasestr.c: New file.
41368         * sysdeps/tile/tilegx/strnlen.c: New file.
41369         * sysdeps/tile/tilegx/strstr.c: New file.
41371         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
41373 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
41375         * nptl/tst-setuid3.c: Write errors to stdout.
41377 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41379         * elf/dl-deps.c
41380         (preload): New functions broken out of _dl_map_object_deps.
41381         (_dl_map_object_deps):  Remove a nested function. Update call sites.
41383 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
41385         [BZ #14138]
41386         * sysdeps/unix/sysv/linux/execve.c: Remove file.
41387         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
41389 2014-10-01  Steve Ellcey  <sellcey@mips.com>
41391         * sysdeps/mips/strcmp.S: New.
41393 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
41395         [BZ #14138]
41396         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
41397         (linkat): Likewise.
41398         (mkdirat): Likewise.
41399         (readlinkat): Likewise.
41400         (renameat): Likewise.
41401         (symlinkat): Likewise.
41402         (unlinkat): Likewise.
41403         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
41404         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
41405         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
41406         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
41407         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
41408         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
41409         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
41411 2014-09-30  Will Newton  <will.newton@linaro.org>
41413         * math/math.h: Define long double math functions if
41414         _LIBC_TEST is defined.
41415         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
41417         * localedata/Makefile: Move assignment to tests-special
41418         into an ifdef testing run-built-tests.
41419         * timezone/Makefile: Likewise.
41421 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
41423         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
41424         with $(BASH) not $(SHELL).
41426 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
41427             Matthew LeGendre  <legendre1@llnl.gov>
41429         [BZ #17411]
41430         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
41431         l_reloc_result.
41433 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41435         * stdio-common/printf_fp.c
41436         (hack_digit): New function, broken out of ...
41437         (__printf_fp): ... local function here.  Update call sites.
41438         hack_digit now takes an additional parameter that is a pointer
41439         to a struct of the referenced locals.  Those locals moved inside
41440         the struct and references updated.
41442 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
41444         * aclocal.m4: Require autoconf 2.69.
41445         * configure: Regenerated.
41446         * sysdeps/aarch64/configure: Likewise.
41447         * sysdeps/alpha/configure: Likewise.
41448         * sysdeps/arm/armv7/configure: Likewise.
41449         * sysdeps/arm/configure: Likewise.
41450         * sysdeps/ia64/configure: Likewise.
41451         * sysdeps/mach/configure: Likewise.
41452         * sysdeps/mips/configure: Likewise.
41453         * sysdeps/s390/configure: Likewise.
41454         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
41455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
41457         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
41458         file.
41459         * sysdeps/ia64/configure.ac: Likewise.
41461 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
41463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
41464         specify symbol version for ld.so.  Do not include entry for
41465         libpthread.
41466         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
41467         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
41468         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41470         [BZ #14171]
41471         * Makeconfig [$(build-shared) = yes]
41472         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
41473         makefiles.
41474         [$(build-shared) = yes && $(soversions.mk-done) = t]
41475         ($(common-objpfx)gnu/lib-names.h): Remove rule.
41476         [$(build-shared) = yes && $(soversions.mk-done) = t]
41477         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
41478         to Makerules.
41479         [$(build-shared) = yes && $(soversions.mk-done) = t]
41480         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
41481         here.
41482         [$(build-shared) = yes && $(soversions.mk-done) = t]
41483         (common-generated): Don't append gnu/lib-names.h and
41484         gnu/lib-names.stmp here.
41485         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
41486         (lib-names-h-abi): New variable.
41487         [$(build-shared) = yes && $(soversions.mk-done) = t]
41488         (lib-names-stmp-abi): Likewise.
41489         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41490         abi-variants] (before-compile): Append
41491         $(common-objpfx)$(lib-names-h-abi).
41492         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41493         abi-variants] (common-generated): Append gnu/lib-names.h.
41494         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41495         abi-variants] (install-others-nosubdir): Depend on
41496         $(inst_includedir)/$(lib-names-h-abi).
41497         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41498         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
41499         [$(build-shared) = yes && $(soversions.mk-done) = t]
41500         ($(common-objpfx)$(lib-names-h-abi)): New rule.
41501         [$(build-shared) = yes && $(soversions.mk-done) = t]
41502         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
41503         [$(build-shared) = yes && $(soversions.mk-done) = t]
41504         (common-generated): Append $(lib-names-h-abi) and
41505         $(lib-names-stmp-abi).
41506         * scripts/lib-names.awk: Do not handle multi being set.
41507         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
41508         Remove variable.
41509         (abi-lp64_be-ld-soname): Likewise.
41510         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
41511         Likewise.
41512         (abi-hard-ld-soname): Likewise.
41513         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
41514         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
41515         Remove variable.
41516         (abi-o32_hard-ld-soname): Likewise.
41517         (abi-o32_soft_2008-ld-soname): Likewise.
41518         (abi-o32_hard_2008-ld-soname): Likewise.
41519         (abi-n32_soft-ld-soname): Likewise.
41520         (abi-n32_hard-ld-soname): Likewise.
41521         (abi-n32_soft_2008-ld-soname): Likewise.
41522         (abi-n32_hard_2008-ld-soname): Likewise.
41523         (abi-n64_soft-ld-soname): Likewise.
41524         (abi-n64_hard-ld-soname): Likewise.
41525         (abi-n64_soft_2008-ld-soname): Likewise.
41526         (abi-n64_hard_2008-ld-soname): Likewise.
41527         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
41528         Likewise.
41529         (abi-64-v2-ld-soname): Likewise.
41530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
41531         ld.so entries.
41532         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
41533         variable.
41534         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
41535         entry.
41536         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
41537         variable.
41538         (abi-64-ld-soname): Likewise.
41539         (abi-x32-ld-soname): Likewise.
41540         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
41541         entry.
41542         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41544 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
41546         [BZ #14138]
41547         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
41548         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
41549         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
41550         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
41551         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
41552         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
41553         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
41554         syscall entry for GLIBC_2.2 symbol version.
41555         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
41556         Likewise.
41557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
41558         (setrlimit): Likewise.
41559         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
41560         Likewise.
41562 2014-09-23  Will Newton  <will.newton@linaro.org>
41564         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
41565         _LINUX_ARM_SYSDEP_H include guard too.
41566         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
41567         define.
41569 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
41571         * sysdeps/unix/sysv/linux/eventfd.c:
41572         Make first argument unsigned.
41573         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
41574         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
41576 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
41578         [BZ #16852]
41579         * socket/recvmmsg.c (recvmmsg): Drop const argument.
41580         * socket/sys/socket.h: Likewise.
41581         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
41583 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41585         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
41587 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
41589         * time/tst-ftime.c: New test.
41590         * time/Makefile (tests): Add tst-ftime.
41592 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
41594         * soft-fp/extended.h: Fix comment formatting.
41595         * soft-fp/op-1.h: Likewise.
41596         * soft-fp/op-2.h: Likewise.
41597         * soft-fp/op-4.h: Likewise.
41598         * soft-fp/op-8.h: Likewise.
41599         * soft-fp/op-common.h: Likewise.
41600         * soft-fp/soft-fp.h: Likewise.
41602         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
41604 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
41606         [BZ #6652]
41607         * Makeconfig (soversions-default-setname): Remove variable.
41608         ($(common-objpfx)soversions.i): Don't pass default_setname to
41609         soversions.awk.
41610         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
41611         oldest_abi to abi-versions.awk.
41612         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
41613         * config.make.in (oldest-abi): Remove variable.
41614         * configure.ac (--enable-oldest-abi): Remove configure option.
41615         * configure: Regenerated.
41616         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
41617         text.
41618         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
41619         * scripts/soversions.awk: Do not handle default_setname variable.
41620         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
41621         variable.
41622         * sysdeps/mach/hurd/configure: Regenerated.
41623         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
41624         variable.
41625         * sysdeps/unix/sysv/linux/configure: Regenerated.
41627 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41629         * elf/Makefile (CFLAGS-interp.c): Remove.
41630         ($(elf-objpfx)runtime-linker.h): Generate header with linker
41631         path string.
41632         * elf/interp.c: Include generated runtime-linker.h
41634         * Makerules (lib%.so): Don't include $(+interp) in
41635         prerequisites.
41636         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
41637         * dlfcn/eval.c: Remove file.
41639         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
41640         macros.
41642         [BZ #17266]
41643         * misc/sys/cdefs.h: Define __extern_always_inline for clang
41644         4.2 and newer.
41646         [BZ #17370]
41647         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
41649 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41650             Jakub Jelinek  <jakub@redhat.com>
41652         [BZ #17266]
41653         * libio/stdio.h: Check definition of __fortify_function
41654         instead of __extern_always_inline to include bits/stdio2.h.
41655         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
41656         check if __extern_always_inline is defined.
41657         [__USE_MISC || __USE_XOPEN]: Likewise.
41658         [__USE_ISOC99] Likewise.
41659         * misc/sys/cdefs.h (__fortify_function): Define only if
41660         __extern_always_inline is defined.
41661         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
41662         __extern_always_inline and __extern_inline only for g++-4.3
41663         and newer or a compatible gcc.
41665 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
41667         [BZ #17371]
41668         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
41669         last change to handle zero prefix length.
41671 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41673         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
41674         _SC_REGEX_VERSION.
41676         * posix/getconf.c (vars): Add _POSIX_IPV6 and
41677         _POSIX_RAW_SOCKETS.
41679 2014-09-13  Allan McRae  <allan@archlinux.org>
41681         * po/ru.po: Update Russian translation from translation project.
41683 2014-09-12  Roland McGrath  <roland@hack.frob.com>
41685         * locale/programs/locale.c (show_locale_vars): Inline local function
41686         into its sole call site.  Clean up some style nits.
41687         (print_item): New function, broken out of ...
41688         (show_info): ... local function here.  Clean up style nits.
41690         * locale/programs/ld-ctype.c (set_one_default): New function, broken
41691         out of ...
41692         (set_class_defaults): ... local function set_default here.
41693         Define set_default as a macro locally to pass constant parameters.
41694         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
41695         rather than a shared local.
41697         * stdlib/rpmatch.c (try): New function, broken out of ...
41698         (rpmatch): ... local function here.  Also, prototypify definition.
41700 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
41702         * scripts/soversions.awk: Do not handle configuration names.
41703         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
41704         vendor and os variables to soversions.awk.
41705         * configure.ac: Do not modify gnu-* host_os.
41706         * configure: Regenerated
41707         * shlib-versions: Remove first column with configuration names.
41708         * nptl/shlib-versions: Likewise.
41709         * nptl_db/shlib-versions: Likewise.
41710         * sysdeps/hppa/shlib-versions: Likewise.
41711         * sysdeps/m68k/shlib-versions: Likewise.
41712         * sysdeps/mach/hurd/shlib-versions: Likewise.
41713         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
41714         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
41715         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
41716         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
41717         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
41718         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
41719         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
41720         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
41721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
41722         Likewise.
41723         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
41724         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
41725         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
41726         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
41727         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
41728         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
41729         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
41730         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
41733         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
41734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41735         Regenerated.
41736         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
41737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
41738         Condition symbol version definitions on [HAVE_ELFV2_ABI].
41740         * shlib-versions: Remove OS-specific entries.  Moved to files in
41741         sysdeps.
41742         * sysdeps/mach/hurd/shlib-versions: New file.
41743         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
41745         * nptl/shlib-versions: Remove architecture-specific entries.
41746         Moved to files in sysdeps.
41747         * shlib-versions: Likewise.
41748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
41749         file.
41750         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
41751         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
41752         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
41753         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
41755         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
41756         (UDP_NO_CHECK6_RX): Likewise.
41758 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41760         * sysdeps/posix/sysconf.c (__sysconf): Spell
41761         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
41763 2014-08-12  Florian Weimer  <fweimer@redhat.com>
41765         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
41766         loading.
41767         * iconv/Versions (__gconv_transliterate): Export for use from
41768         gconv modules.
41769         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
41770         (struct __gconv_trans_data, __gconv_trans_fct,
41771         __gconv_trans_context_fct, __gconv_trans_query_fct,
41772         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
41773         definitions.
41774         (struct __gconv_step_data): Remove __trans member.
41775         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
41776         longer hidden.  Remove unused trans_data argument.
41777         * iconv/gconv_int.h (struct trans_struct): Remove definition.
41778         (__gconv_translit_find): Remove declaration.
41779         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
41780         prototype.
41781         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
41782         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
41783         trans_data argument.  Add hidden definition.
41784         (__gconv_translit_find): Remove.
41785         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
41786         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
41787         * iconv/skeleton.c: Remove transliteration initialization.
41788         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
41789         __gconv_step_data initialization.
41790         * libio/iofwide.c (__libio_translit_): Remove.
41791         (_IO_fwide): Adjust struct __gconv_step_data initialization.
41792         * wcsmbs/btowc.c (__btowc): Likewise.
41793         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41794         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41795         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
41796         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
41797         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
41798         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
41799         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
41800         * wcsmbs/wctob.c (wctob): Likewise.
41802 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41804         [BZ #16194]
41805         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
41806         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
41807         register usage.
41808         * sysdeps/x86/Makefile: Adjust.
41810 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41811             Roland McGrath  <roland@hack.frob.com>
41813         * locale/weight.h: Add include guard.
41814         (findidx): Make static rather than auto; take new parameters
41815         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
41816         * locale/weightwc.h: Likewise.
41817         * posix/fnmatch_loop.c
41818         (FCT): Change type of EXTRA from int32_t to wint_t.
41819         Don't include either header inside the function.
41820         Call FINDIDX rather than findidx, and pass new arguments.
41821         #undef FINDIDX at the end of the file.
41822         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
41823         FINDIDX before including fnmatch_loop.c for the non-wide version.
41824         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
41825         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
41826         for the wide version.
41827         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
41828         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
41829         Pass new arguments to findidx.
41830         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
41831         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
41832         Don't #include it inside the function.  Pass new arguments to findidx.
41833         * posix/regex_internal.h
41834         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
41835         (re_string_elem_size_at): Don't #include it inside the function.
41836         Pass new arguments to findidx.
41837         * string/strcoll_l.c: #include WEIGHT_H at top level.
41838         (get_next_seq): Don't #include it inside the function.
41839         Pass new arguments to findidx.
41840         (get_next_seq_nocache): Likewise.
41841         * string/strxfrm_l.c: #include WEIGHT_H at top level.
41842         (STRXFRM): Don't #include it inside the function.
41843         Pass new arguments to findidx.
41845 2014-09-11  Florian Weimer  <fweimer@redhat.com>
41847         [BZ #17344]
41848         * malloc/malloc.c (unlink): Turn asserts into a call to
41849         malloc_printerr.
41851 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
41853         [BZ #17370]
41854         * libio/wfileops (do_ftell_wide): Free OUT.
41856 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
41858         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
41860 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41862         [BZ #17363]
41863         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
41864         group if the current group is empty.
41866 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41868         * benchtests/bench-memset.c (test_main): Add more test from size
41869         from 32 to 512 bytes.
41870         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41871         Add POWER8 memset object.
41872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41873         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
41874         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
41875         implementation.
41876         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
41877         Likewise.
41878         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
41879         multiarch POWER8 memset optimization.
41880         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
41881         POWER8 memset optimization.
41883         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41884         Remove bzero multiarch objects.
41885         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
41886         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
41887         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
41888         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
41889         Remove define.
41890         [__bzero]: Redefine to specific name.
41891         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
41892         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
41893         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
41894         define.
41895         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41896         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41898 2014-09-10  Florian Weimer  <fweimer@redhat.com>
41900         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
41901         warnings into errors.
41903         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
41904         __cxa_thread_atexit_impl prototype.
41906 2014-09-09  Steve Ellcey  <sellcey@mips.com>
41908         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
41909         Fix capitalization of error message.
41911 2014-09-09  Steve Ellcey  <sellcey@mips.com>
41913         * sysdeps/mips/preconfigure: Modify ABI tests.
41915 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
41917         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
41919 2014-09-07  Roland McGrath  <roland@hack.frob.com>
41920             Carlos O'Donell  <carlos@systemhalted.org>
41922         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
41923         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
41924         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
41925         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
41926         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
41927         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
41928         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
41929         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
41930         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
41931         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
41932         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
41933         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
41934         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
41935         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
41936         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
41937         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
41938         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
41939         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
41940         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
41941         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
41942         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
41943         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
41944         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
41945         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
41946         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
41947         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
41948         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
41949         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
41950         Deconditionalize the code that was previously under [RESET_PID].
41951         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
41952         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
41953         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
41954         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
41955         include sysdep.h.
41957 2014-09-08  Allan McRae  <allan@archlinux.org>
41959         * version.h (RELEASE): Set to "development".
41960         (VERSION): Set to "2.20.90"
41962 2014-09-07  Allan McRae  <allan@archlinux.org
41964         * version.h (RELEASE): Set to "stable".
41965         (VERSION): Set to "2.20"
41966         * include/features.h (__GLIBC_MINOR__): Set to 20.
41968         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
41969         Liebler.
41971         * po/ko.po: Update Korean translation from translation project.
41973 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
41975         [BZ #17354]
41976         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
41977         macro for handling signed relocations.
41979 2014-09-03  Florian Weimer  <fweimer@redhat.com>
41981         [BZ #17325]
41982         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
41983         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
41984         assert.
41985         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
41986         * iconvdata/ibm935.c (BODY): Likewise.
41987         * iconvdata/ibm937.c (BODY): Likewise.
41988         * iconvdata/ibm939.c (BODY): Likewise.
41989         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
41990         assert.
41991         * iconvdata/Makefile (iconv-test.out): Pass module list to test
41992         script.
41993         * iconvdata/run-iconv-test.sh: New test loop for checking for
41994         decoder crashers.
41996 2014-09-02  Khem Raj  <raj.khem@gmail.com>
41998         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
41999         libm_hidden_ver.
42001 2014-09-01  Allan McRae  <allan@archlinux.org>
42003         * po/eo.po: Update Esperanto translation from translation project.
42005         * po/ca.po: Update Catalan translation from translation project.
42007 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42009         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
42010         __proc_dostop call.
42012 2014-08-27  Mark Wielaard  <mjw@redhat.com>
42014         [BZ #17319]
42015         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
42016         to call set_thread_area instead of hand written asm.
42017         (__NR_set_thread_area): Removed define.
42018         (TLS_FLAG_WRITABLE): Likewise.
42019         (__ASSUME_SET_THREAD_AREA): Remove check.
42020         (TLS_EBX_ARG): Remove define.
42021         (TLS_LOAD_EBX): Likewise.
42023 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42025         Simplify atomicity of socket creation in bind.
42027         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
42028         looking up the name after linking the file.
42030 2014-08-27  Allan McRae  <allan@archlinux.org>
42032         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42034 2014-08-26  Florian Weimer  <fweimer@redhat.com>
42036         [BZ #17187]
42037         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
42038         trans_compare, open_translit, __gconv_translit_find):
42039         Remove module loading code.
42041 2014-08-26  Allan McRae  <allan@archlinux.org>
42043         * po/vi.po: Update Vietnamese translation from translation project.
42045         * po/uk.po: Update Ukrainian translation from translation project.
42047         * po/fr.po: Update French translation from translation project.
42049         * po/ru.po: Update Russian translation from translation project.
42051         * po/pl.po: Update Polish translation from translation project.
42053         * po/cs.po: Update Czech translation from translation project.
42055         * po/de.po: Update German translation from translation project.
42057         * po/bg.po: Update Bulgarian translation from translation project.
42059         * po/sv.po: Update Sweedish translation from translation project.
42061         * po/nl.po: Update Dutch translation from translation project.
42063         * po/es.po: Update Spanish translation from translation project.
42065 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42067         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
42069         * catgets/Makefile (CPPFLAGS-gencat): Remove.
42070         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
42071         (CPPFLAGS-iconvconfig): Likewise.
42072         * timezone/Makefile (CPPFLAGS-zic): Likewise.
42074         * include/libc-symbols.h: Remove unnecessary check for
42075         NOT_IN_libc.
42076         * nptl/pthreadP.h: Likewise.
42077         * sysdeps/aarch64/setjmp.S: Likewise.
42078         * sysdeps/alpha/setjmp.S: Likewise.
42079         * sysdeps/arm/sysdep.h: Likewise.
42080         * sysdeps/i386/setjmp.S: Likewise.
42081         * sysdeps/m68k/setjmp.c: Likewise.
42082         * sysdeps/posix/getcwd.c: Likewise.
42083         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42084         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42085         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42086         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42087         * sysdeps/sh/sh3/setjmp.S: Likewise.
42088         * sysdeps/sh/sh4/setjmp.S: Likewise.
42089         * sysdeps/unix/alpha/sysdep.h: Likewise.
42090         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42091         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42092         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42093         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42096         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42097         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42098         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42099         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42100         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42101         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42102         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42103         * sysdeps/x86_64/setjmp.S: Likewise.
42105 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
42107         [BZ #17263]
42108         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
42109         <stdint.h>.
42110         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
42111         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
42113 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42115         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
42117         [BZ #17262]
42118         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
42119         and __x86_64__ when disabling x87 inline functions.
42121 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
42123         [BZ #17259]
42124         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
42125         asm statement with __cpuid_count.
42127 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
42129         * configure.ac: Change __ehdr_start code to dereference the struct.
42130         Run readelf on the output to look for relocations.
42131         * configure: Regenerated.
42133 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
42135         [BZ #17261]
42136         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
42137         value to 0.
42138         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
42140 2014-08-12  Roland McGrath  <roland@hack.frob.com>
42142         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
42144 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
42146         [BZ #16892]
42147         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
42148         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
42150 2014-08-12  Sean Anderson  <seanga2@gmail.com>
42152         * malloc/malloc.c: Fix typo in comment.
42154 2014-08-09  Allan McRae  <allan@archlinux.org>
42156         * Regenerate libc.po.
42158 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
42160         * intl/tst-gettext2.sh: Check every lang file for creation.
42162 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
42164         * sysdeps/aarch64/fpu/math_private.h
42165         (libc_feholdsetround_noex_aarch64_ctx): New function.
42167 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
42169         * sysdeps/arm/armv6/strcpy.S (strcpy):
42170         Fix performance issue in misaligned cases.
42172 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42174         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
42175         Move definition from termios.h.
42176         (struct termio): Likewise.
42177         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42178         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
42179         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
42180         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42181         Likewise.
42182         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
42183         Move definition to ioctl-types.h
42184         (struct termio): Likewise.
42185         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42186         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
42187         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
42188         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42189         Likewise.
42191 2014-08-05  Richard Henderson  <rth@redhat.com>
42193         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
42194         exceptions.
42195         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
42196         Add fraiseexcpt.
42197         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
42198         Use __feraiseexcept.
42199         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
42200         Protect libm symbols with IS_IN_libm.
42202         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
42204 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
42206         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
42208 2014-08-04  Will Newton  <will.newton@linaro.org>
42210         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
42211         file.
42213 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
42215         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
42216         variants for each function.
42218 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42220         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
42221         appended ...
42222         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
42223         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
42224         appended ...
42225         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
42226         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
42227         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
42228         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
42229         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
42230         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
42231         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
42232         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
42233         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
42234         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
42235         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
42236         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
42237         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
42238         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
42239         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
42240         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
42241         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
42242         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
42243         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
42244         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
42245         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
42246         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
42247         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
42248         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
42249         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
42250         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
42251         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
42252         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
42253         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
42254         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
42255         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
42256         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
42257         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
42258         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
42259         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
42260         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
42261         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
42262         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
42263         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
42264         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
42265         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
42266         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
42267         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
42268         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
42269         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
42270         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
42271         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
42272         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
42273         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
42274         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
42275         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
42276         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
42277         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
42278         Update #include.
42279         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
42280         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
42282 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42284         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
42285         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
42286         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
42287         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
42288         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
42289         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
42291 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42293         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
42294         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
42295         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42296         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
42298 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42300         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
42301         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
42302         (__libc_vfork): Define function under this name.
42303         (__vfork): Define as an alias.
42304         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
42305         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
42307 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42309         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
42310         that was previously under [RESET_PID].
42311         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
42313 2014-08-04  Andreas Schwab  <schwab@suse.de>
42315         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
42317 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
42319         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
42320         (main): Likewise.
42322 2014-08-01  Roland McGrath  <roland@hack.frob.com>
42324         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
42326 2014-08-01  Richard Henderon  <rth@redhat.com>
42328         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
42329         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
42330         typo in exact zero test.
42331         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42332         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42333         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42335 2014-08-01  Roland McGrath  <roland@hack.frob.com>
42337         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
42338         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
42339         * sysdeps/arm/sysdep.h: ... here.
42340         [!__ASSEMBLER__]: Include <stdint.h>.
42342 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42344         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
42345         (HAVE_WCTYPE_H): Likewise.
42346         (HAVE_ISWCTYPE): Likewise.
42347         (ENABLE_NLS): Likewise.
42348         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
42349         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
42351         * posix/regex_internal.c: Check if DEBUG is defined and is
42352         set.
42354         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
42355         (HAVE_MBSRTOWCS): Likewise.
42356         * posix/fnmatch.c: Include string.h unconditionally.
42358 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42360         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
42361         reversal.
42363 2014-07-31  Roland McGrath  <roland@hack.frob.com>
42365         * sysdeps/generic/safe-fatal.h: New file.
42366         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
42367         * nptl/forward.c: Include it.
42368         (__pthread_unwind): Use __safe_fatal as default action, rather
42369         than a bogus use of INTERNAL_SYSCALL that could never work.
42371         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
42372         * configure.ac (libc_cv_builtin_trap): New test.
42373         * configure: Regenerated.
42374         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
42375         (ABORT_INSTRUCTION): Define using __builtin_trap.
42377         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
42378         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
42379         * sysdeps/nptl/nptl-signals.h: New file.
42380         * nptl/pthreadP.h: Include <nptl-signals.h>.
42382 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
42384         * sysdeps/s390/s390-64/utf16-utf32-z9.c
42385         (ONE_DIRECTION): Define.
42386         * sysdeps/s390/s390-64/utf8-utf16-z9.c
42387         (ONE_DIRECTION): Define.
42388         * sysdeps/s390/s390-64/utf8-utf32-z9.c
42389         (ONE_DIRECTION): Define.
42391 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
42393         * sysdeps/s390/Makefile: Delete file.
42394         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
42395         * sysdeps/s390/__longjmp.c: Delete file.
42396         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
42397         Remove fields __flags and __reserved.
42398         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
42399         and add versioning.
42400         * sysdeps/s390/rtld-__longjmp.c: Delete file.
42401         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
42402         * sysdeps/s390/rtld-setjmp.S: Likewise.
42403         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
42404         * sysdeps/s390/s390-32/__longjmp.c: ... here.
42405         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
42406         * sysdeps/s390/s390-32/setjmp.S: ... here.
42407         Add versioning.
42408         (__sigsetjmp): Remove setting __flags field.
42409         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
42410         * sysdeps/s390/s390-64/__longjmp.c: ... here.
42411         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
42412         * sysdeps/s390/s390-64/setjmp.S: ... here.
42413         Add versioning.
42414         (__sigsetjmp): Remove setting __flags field.
42415         * sysdeps/s390/setjmp.S: Delete file.
42416         * sysdeps/s390/sigjmp.c: Likewise.
42417         * sysdeps/s390/v1-longjmp.c: Likewise.
42418         * sysdeps/s390/v1-setjmp.h: Likewise.
42419         * sysdeps/s390/v1-sigjmp.c: Likewise.
42420         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
42421         Remove v1-longjmp_chk.
42422         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
42423         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
42424         Include debug/longjmp_chk.c and add versioning.
42425         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
42426         Include nptl/pt-longjmp.c and add versioning.
42427         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
42428         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
42429         Include __longjmp.c.
42430         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42431         Move to ...
42432         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
42433         (__getcontext): Remove setting __flags field.
42434         Add versioning.
42435         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42436         Don't restore upper high grps.
42437         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
42438         Likewise.
42439         (__swapcontext): Remove setting uc_flags field.
42440         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
42441         Delete file.
42442         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42443         Include __longjmp.c.
42444         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42445         Move to ...
42446         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
42447         (__getcontext): Remove setting __flags field.
42448         Add versioning.
42449         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
42450         (__swapcontext): Remove setting uc_flags field.
42451         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
42452         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
42453         Remove fields uc_high_gprs and __reserved.
42454         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
42455         New file with reverted content.
42456         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
42457         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
42458         Regenerated.
42459         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
42460         Regenerated.
42462 2014-07-31  Andreas Schwab  <schwab@suse.de>
42464         * config.h.in (HAVE_IFUNC): Define to 0.
42465         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
42466         definedness.
42468 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
42470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42471         memmove-avx-unaligned, memcpy-avx-unaligned and
42472         mempcpy-avx-unaligned.
42473         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42474         Add tests for AVX memcpy functions.
42475         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
42476         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
42477         memcpy_chk.
42478         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
42479         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
42480         memmove_chk.
42481         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
42482         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
42483         mempcpy_chk.
42484         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
42485         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
42486         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
42488 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42490         [BZ #17213]
42491         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
42492         powerpc64le.
42494 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
42496         [BZ #16839]
42497         * manual/llio.texi: Add section about open file description locks.
42498         * manual/examples/ofdlocks.c: Example of open file description
42499         lock usage.
42500         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
42501         F_OFD_SETLK, and F_OFD_SETLKW.
42503 2014-07-23  Allan McRae  <allan@archlinux.org>
42505         * po/es.po: Update Spanish translation from translation project.
42507 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
42509         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
42511 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
42513         [BZ #17078]
42514         * sysdeps/arm/dl-machine.h (elf_machine_rela)
42515         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
42516         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
42518 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
42520         [BZ #17088]
42521         * math/fesetenv.c (__fesetenv)
42522         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
42523         * math/feupdateenv.c (__feupdateenv)
42524         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
42526         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
42527         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42528         (__ASSUME_SOCKETCALL): Do not define.
42530         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
42531         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
42532         (__ASSUME_SOCKETCALL): Do not define.
42533         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
42534         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
42535         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42536         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
42537         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42538         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
42539         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42540         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42542         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
42543         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
42544         (__ASSUME_SOCKETCALL): Do not define.
42545         (__ASSUME_IPC64): Define unconditionally.
42546         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
42547         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42548         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
42549         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42550         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
42551         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42552         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
42553         Likewise.
42555         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
42556         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
42557         (__ASSUME_SOCKETCALL): Do not define.
42558         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
42559         (__ASSUME_FUTEX_LOCK_PI): Likewise.
42560         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42561         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42562         (__ASSUME_REQUEUE_PI): Define unconditionally.
42563         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
42564         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
42565         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42566         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
42567         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42568         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42570         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
42571         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
42572         (__ASSUME_SOCKETCALL): Do not define.
42573         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
42574         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42575         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42576         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
42577         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42578         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42580         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
42581         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
42582         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42583         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
42584         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42585         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
42586         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42587         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
42588         (__ASSUME_GETCPU_SYSCALL): Likewise.
42590         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
42591         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
42592         cases for individual architectures.
42593         * sysdeps/gnu/configure: Regenerated.
42594         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
42595         LIBC_SLIBDIR_RTLDDIR.
42596         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
42597         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
42598         LIBC_SLIBDIR_RTLDDIR.
42599         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
42600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
42601         LIBC_SLIBDIR_RTLDDIR.
42602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42603         Regenerated.
42604         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
42605         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
42606         file.
42607         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
42608         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
42609         file.
42610         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
42611         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
42612         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
42613         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
42615         * sysdeps/aarch64/shlib-versions: Move to ...
42616         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
42617         * sysdeps/alpha/shlib-versions: Move to ...
42618         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
42619         * sysdeps/arm/shlib-versions: Move to ...
42620         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
42621         * sysdeps/hppa/shlib-versions: Move all contents except for
42622         libgcc_s entry to ...
42623         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
42624         entry from ...
42625         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
42626         * sysdeps/ia64/shlib-versions: Move to ...
42627         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
42628         entry from ...
42629         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
42630         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
42631         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
42632         * sysdeps/microblaze/shlib-versions: Move to ...
42633         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
42634         * sysdeps/mips/shlib-versions: Move to ...
42635         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
42636         entry from ...
42637         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
42638         * sysdeps/tile/shlib-versions: Move to ...
42639         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
42640         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
42641         from ...
42642         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
42643         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
42644         entry from ...
42645         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
42647 2014-07-17  Will Newton  <will.newton@linaro.org>
42649         * sysdeps/arm/bits/atomic.h
42650         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
42651         (__arch_compare_and_exchange_bool_16_int): Likewise.
42652         (__arch_compare_and_exchange_bool_64_int): Likewise.
42654         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
42655         into an #else block.
42657 2014-07-16  Roland McGrath  <roland@hack.frob.com>
42659         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
42660         just Linux configurations.  Test empirically that the compiler sets
42661         __ARM_EABI__, rather than using the tuple to decide.
42662         * sysdeps/arm/preconfigure: Regenerated.
42663         * sysdeps/unix/sysv/linux/arm/configure: File removed.
42664         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
42665         contents appended ...
42666         * sysdeps/arm/configure.ac: ... here.
42667         * sysdeps/arm/configure: Regenerated.
42669 2014-07-15  Roland McGrath  <roland@hack.frob.com>
42671         * nptl/pthread_kill.c: New file.
42672         * nptl/pthread_sigmask.c: New file.
42673         * nptl/pthread_sigqueue.c: New file.
42675         * sysdeps/nptl/lowlevellock.h: New file.
42676         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
42677         * sysdeps/nptl/lowlevellock-futex.h: New file.
42679         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
42680         Remove dead declarations.
42682 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
42684         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
42685         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
42686         config-cflags-avx2.
42687         * sysdeps/x86_64/configure.ac: Likewise.
42688         * sysdeps/i386/configure: Regenerated.
42689         * sysdeps/x86_64/configure: Likewise.
42690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42691         memset-avx2 only if config-cflags-avx2 is yes.
42692         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42693         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
42694         defined.
42695         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
42696         only if HAVE_AVX2_SUPPORT is defined.
42697         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42699 2014-07-14  Alan Modra  <amodra@gmail.com>
42701         [BZ #17153]
42702         * elf/elf.h (DT_PPC64_NUM): Correct value.
42703         * NEWS: Add to fixed bug list.
42705 2014-07-13  Jim Meyering  <meyering@fb.com>
42707         [BZ 17150]
42708         regex: don't deref NULL upon heap allocation failure
42709         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
42710         failure in one more place.
42711         To trigger the segfault, configure grep -with-included-regex,
42712         build it, and run these commands:
42713         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
42715 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
42717         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42719 2014-07-11  Richard Henderson  <rth@redhat.com>
42721         * sysdeps/aarch64/libm-test-ulps: Update.
42723 2014-07-10  Florian Weimer  <fweimer@redhat.com>
42725         [BZ #17135]
42726         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
42727         * nptl/allocatestack.c (__nptl_setxid_error): New function.
42728         (__nptl_setxid): Initialize error member.  Call
42729         __nptl_setxid_error.
42730         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
42731         * nptl/descr.h (struct xid_command): Add error member.
42732         * nptl/tst-setuid3.c: New file.
42733         * nptl/Makefile (tests): Add it.
42735 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42737         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
42738         New define.
42739         (__lll_trylock): Use __lll_base_trylock.
42740         (__lll_cond_trylock): Likewise.
42742 2014-07-10  Roland McGrath  <roland@hack.frob.com>
42744         * nptl/pthread_create.c (start_thread): Use atomic_or and
42745         lll_futex_wake directly rather than lll_robust_dead.
42746         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
42747         (lll_robust_dead): Macro removed.
42748         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
42749         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
42750         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
42751         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42752         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42753         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
42754         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
42755         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42756         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
42757         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42758         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42759         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42760         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42761         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42762         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42764         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
42765         Use atomic_compare_and_exchange_val_acq directly rather than
42766         lll_robust_trylock.
42767         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
42768         (__lll_robust_trylock, lll_robust_trylock): Removed.
42769         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
42770         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
42771         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42772         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42773         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
42774         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
42775         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42776         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
42777         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42778         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42779         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42780         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42781         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42782         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42784 2014-07-02  Florian Weimer  <fweimer@redhat.com>
42786         * manual/locale.texi (Locale Names): New section documenting
42787         locale name syntax.  Adjust menu and node chaining accordingly.
42788         (Choosing Locale): Reference Locale Names, Locale Categories.
42789         Mention setting LC_ALL=C.  Reflect that name syntax is now
42790         documented.
42791         (Locale Categories): New section title.  Reference Locale Names.
42792         LC_ALL is an environment variable, but not a category.
42793         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
42794         description, now in Locale Name.  Reference that section.  Locale
42795         name syntax is now documented.
42797 2014-07-02  Florian Weimer  <fweimer@redhat.com>
42799         [BZ #17137]
42800         * locale/findlocale.c (name_present, valid_locale_name): New
42801         functions.
42802         (_nl_find_locale): Use the loc_name variable to store name
42803         candidates.  Call name_present and valid_locale_name to check and
42804         validate locale names.  Return an error if the locale is invalid.
42806 2014-07-02  Florian Weimer  <fweimer@redhat.com>
42808         * locale/setlocale.c (setlocale): Use strdup for allocating
42809         composite name copy.
42811 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42813         Sync up with gnulib.
42814         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
42815         [!_LIBC && ENABLE_NLS]: Include gettext.h.
42816         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
42817         and _GL_ARG_NONNULL.
42818         [USE_UNLOCKED_IO]: Include unlocked-io.h.
42819         [!_LIBC]: Include code for Windows and Cygwin.
42820         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
42821         Include prototype for int strerror_r.
42822         [!_LIBC] (is_open): New function.
42823         (flush_stdout): New function.
42824         (print_errno_message): Use it.
42825         (error): Likewise.
42826         (error_at_line): Likewise.
42827         (error_tail) Add function attribute macros.  Use
42828         __builtin_expect.
42830         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
42832         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
42834         * io/ftw.c: Include sys/param.h unconditionally.
42836         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
42838         [BZ #17125]
42839         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
42840         libc_freeres_ptr.
42841         (freecache): New function to free CACHE on exit.
42843         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
42844         initialization.
42846 2014-07-09  David S. Miller  <davem@davemloft.net>
42848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42850         * sysdeps/sparc/nptl/internaltypes.h: Delete.
42851         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
42852         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
42853         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
42854         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
42855         * sysdeps/sparc/nptl/sem_init.c: Likewise.
42856         * sysdeps/sparc/nptl/sem_post.c: Likewise.
42857         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
42858         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
42859         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
42860         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
42861         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
42862         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
42864 2014-07-09  Andreas Schwab  <schwab@suse.de>
42866         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
42867         output.
42868         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
42869         (do_test): Likewise.
42871         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42873 2014-07-09  Will Newton  <will.newton@linaro.org>
42875         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
42876         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
42877         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
42878         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
42879         * sysdeps/hppa/start.S (_start): Likewise.
42881 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
42883         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
42885         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
42886         defined.
42888 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42890         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
42891         after checking that it is non-NULL.
42893         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
42895 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42897         * sysdeps/powerpc/memmove.c: Remove file.
42898         * sysdeps/powerpc/powerpc32/power4/memcopy.h
42899         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
42900         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
42901         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
42902         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
42903         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
42904         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
42905         string memmove instead of removed powerpc one.
42907         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42908         [weak_alias]: Fix compiler warning due trailing data.
42909         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
42910         [weak_alias]: Likewise.
42911         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
42912         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
42914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42915         (__libc_ifunc_impl_list): Add memmove functions.
42917 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42919         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
42920         Remove code.
42921         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
42922         Likewise.
42923         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
42924         Likewise.
42925         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
42926         Likewise.
42927         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
42928         Likewise.
42929         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
42930         Likewise.
42931         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
42932         Likewise.
42933         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
42934         Likewise.
42935         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
42936         Likewise.
42937         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
42938         Likewise.
42939         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
42940         Likewise.
42941         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
42942         Likewise.
42943         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
42944         Likewise.
42945         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
42946         Likewise.
42947         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
42948         Likewise.
42949         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
42950         Likewise.
42951         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
42952         Likewise.
42954 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42956         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
42957         to avoid alignment traps in non-cacheable memory.
42958         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
42961         multiarch objects.
42962         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
42963         file: multiarch power7 memmove.
42964         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
42965         multiarch default memmove.
42966         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
42967         multiarch memove for powerpc32/power4.
42969         * string/bcopy.c: Use full path to include memmove.c.
42970         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
42971         multiarch objects.
42972         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
42973         bcopy for powerpc64.
42974         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
42975         bcopy for powerpc64.
42976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
42977         and memmove implementations.
42978         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
42979         optimized multiarch memmove for POWER7/powerpc64.
42980         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
42981         default multiarch memmove for powerpc64.
42982         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
42983         multiarch for powerpc64.
42984         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
42985         for POWER7/powerpc64.
42986         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
42987         memmove for POWER7/powerpc64.
42989         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
42990         glibc default one.
42992         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
42993         __ELF_NATIVE_CLASS equal to 64.
42995 2014-07-07  Roland McGrath  <roland@hack.frob.com>
42997         * sysdeps/nptl/lowlevellock.h: File removed.
42999         * NEWS: NPTL is no longer an add-on!
43000         * nptl/internaltypes.h: Moved ...
43001         * sysdeps/nptl/internaltypes.h: ... here.
43002         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
43003         * sysdeps/nptl/fork.c: Likewise.
43004         * sysdeps/nptl/gai_misc.h: Likewise.
43005         * sysdeps/nptl/librt-cancellation.c: Likewise.
43006         * sysdeps/nptl/jmp-unwind.c: Likewise.
43007         * sysdeps/nptl/setxid.h: Likewise.
43008         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
43009         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
43010         * sysdeps/unix/sysv/linux/arm/Implies: New file.
43011         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
43012         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
43013         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
43014         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
43015         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
43016         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
43017         * sysdeps/unix/sysv/linux/mips/Implies: New file.
43018         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
43019         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
43020         * sysdeps/unix/sysv/linux/sh/Implies: New file.
43021         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
43022         * sysdeps/unix/sysv/linux/tile/Implies: New file.
43023         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
43024         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
43025         * nptl/Makeconfig: Moved ...
43026         * sysdeps/nptl/Makeconfig: ... here.
43027         * nptl/configure: File removed.
43028         * nptl/ANNOUNCE: File removed.
43029         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
43030         * sysdeps/unix/sysv/linux/configure: Regenerated.
43032         * nptl/Makefile (routines): Add libc_pthread_init,
43033         libc_multiple_threads, register-atfork and unregister-atfork.
43034         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
43035         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
43036         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
43037         pthread-pi-defines.sym, structsem.sym.
43038         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
43039         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
43040         [$(subdir) = nptl] (tests): Add tst-setgetname.
43041         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
43042         * sysdeps/unix/sysv/linux/sigaction.c: Just include
43043         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
43044         [!LIBC_SIGACTION]: Remove aliases.
43045         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43046         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43047         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43048         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
43049         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43050         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
43051         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43052         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43053         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
43054         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
43055         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
43056         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
43057         __libc_allocate_rtsig_private.
43058         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
43059         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
43060         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
43061         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
43062         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
43063         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
43064         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
43065         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
43066         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
43067         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
43068         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
43069         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
43070         * nptl/internaltypes.h: ... here.
43071         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
43072         * sysdeps/nptl/jmp-unwind.c: ... here.
43073         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
43074         * nptl/libc-lowlevellock.c: ... here.
43075         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
43076         * nptl/libc_multiple_threads.c: ... here.
43077         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
43078         * nptl/libc_pthread_init.c: ... here.
43079         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
43080         * nptl/lowlevelbarrier.sym: ... here.
43081         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
43082         * nptl/lowlevelcond.sym: ... here.
43083         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
43084         * nptl/lowlevellock.c: ... here.
43085         * nptl/lowlevellock.h: Moved ...
43086         * sysdeps/nptl/lowlevellock.h: ... here.
43087         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
43088         * nptl/lowlevelrobustlock.c: ... here.
43089         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
43090         * nptl/lowlevelrobustlock.sym: ... here.
43091         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
43092         * nptl/lowlevelrwlock.sym: ... here.
43093         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
43094         * nptl/pt-fork.c: ... here.
43095         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
43096         * nptl/pthread-pi-defines.sym: ... here.
43097         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
43098         * nptl/pthread_attr_getaffinity.c: ... here.
43099         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
43100         * nptl/pthread_attr_setaffinity.c: ... here.
43101         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
43102         * nptl/pthread_mutex_cond_lock.c: ... here.
43103         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
43104         Update #include.
43105         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
43106         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
43107         * nptl/pthread_once.c: ... here, replacing old file.
43108         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
43109         * nptl/pthread_yield.c: ... here.
43110         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
43111         * nptl/register-atfork.c: ... here.
43112         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
43113         * nptl/sem_post.c: ... here.
43114         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
43115         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
43116         * nptl/sem_timedwait.c: ... here.
43117         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
43118         * nptl/sem_trywait.c: ... here.
43119         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
43120         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
43121         * nptl/sem_wait.c: ... here.
43122         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
43123         * nptl/structsem.sym: ... here.
43124         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
43125         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
43126         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
43127         * nptl/unregister-atfork.c: ... here.
43128         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
43129         * nptl/unwindbuf.sym: ... here.
43130         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
43131         * sysdeps/nptl/fork.c: ... here.
43132         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
43133         * sysdeps/nptl/fork.h: ... here.
43134         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
43135         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
43136         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
43137         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
43138         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
43139         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
43140         * sysdeps/unix/sysv/linux/getpid.c: ... here.
43141         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
43142         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
43143         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
43144         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
43145         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
43146         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
43147         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
43148         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
43149         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
43150         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
43151         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
43152         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
43153         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
43154         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
43155         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
43156         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
43157         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
43158         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
43159         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
43160         * sysdeps/unix/sysv/linux/raise.c: ... here.
43161         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
43162         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
43163         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
43164         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
43165         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
43166         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
43167         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
43168         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
43169         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
43170         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
43171         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
43172         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
43173         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
43174         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
43175         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
43177 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43179         * sysdeps/generic/memcopy.h: Add comment for
43180         MEMCPY_OK_FOR_FWD_MEMMOVE.
43182 2014-07-04  Will Newton  <will.newton@linaro.org>
43184         * string/memchr.c: Merge from gnulib.
43185         [_LIBC]: Remove conditionals.
43186         (__ptr_t): Remove define.
43187         (LONG_MAX_32_BITS): Likewise.
43188         (LONG_MAX): Likewise.
43189         (MEMCHR): Use ANSI prototype and optimize algorithm.
43191         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
43193 2014-07-03  Roland McGrath  <roland@hack.frob.com>
43195         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
43196         (lll_futex_timed_wait_bitset): Fix syscall argument count.
43198         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
43199         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
43200         in a bare environment with no <stdlib.h> installed.
43201         * sysdeps/nptl/configure: Regenerated.
43203         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
43205         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
43206         AC_EGREP_CPP for kernel header checks, so they only succeed if
43207         including <linux/version.h> actually works right.
43208         * sysdeps/unix/sysv/linux/configure: Regenerated.
43210         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
43211         value so it's not diagnosed as unused.
43213         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
43214         thing) with "ifeq ($(subdir),rt)".
43216 2014-07-03  Richard Henderson  <rth@redhat.com>
43218         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
43219         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
43220         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
43222         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
43223         (math_force_eval): New.
43225         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
43226         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
43228         * sysdeps/alpha/fpu/s_round.c: Remove file.
43229         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
43231         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
43232         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
43233         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
43234         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
43235         (_dl_start, print_statistics): Likewise.
43236         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
43237         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
43239         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43240         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43241         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43242         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43243         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43244         (HP_SMALL_TIMING_AVAIL): Define.
43245         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43246         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
43247         (HP_SMALL_TIMING_AVAIL): Define.
43248         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43249         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43251         * sysdeps/aarch64/hp-timing.h: New file.
43253         * sysdeps/generic/hp-timing.h: Remove dead comment.
43254         * sysdeps/generic/hp-timing-common.h: New file.
43255         * sysdeps/alpha/hp-timing.h: Include it.
43256         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
43257         * sysdeps/i386/i686/hp-timing.h: Likewise.
43258         * sysdeps/ia64/hp-timing.h: Likewise.
43259         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43260         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43261         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43262         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43263         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
43264         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
43265         (hp_timing_t): New.
43267         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
43268         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
43269         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
43270         * elf/rtld.c (_dl_start_final): Likewise.
43271         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
43272         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43273         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43274         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43275         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43276         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43277         (HP_TIMING_DIFF_INIT): Remove.
43278         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43279         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
43280         (HP_TIMING_DIFF_INIT): Remove.
43281         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43282         * sysdeps/i386/i686/hp-timing.c: Remove file.
43283         * sysdeps/x86_64/hp-timing.c: Remove file.
43284         * sysdeps/ia64/hp-timing.c: Remove file.
43285         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
43286         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
43287         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
43288         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
43290         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
43291         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
43292         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
43293         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43294         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43295         (HP_TIMING_ACCUM): Remove.
43296         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43297         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
43298         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43300         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
43301         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
43302         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
43303         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
43304         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
43305         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
43306         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
43307         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
43309         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
43311 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
43313         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
43315 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43317         Sync up with gettext.
43318         * intl/loadmsgcat.c: Define O_BINARY if not defined.
43319         [_MSC_VER]: Include malloc.h
43320         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
43321         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
43322         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
43323         TEMP_FAILURE_RETRY.  Cast return of alloca.
43324         [!_LIBC] Call gl_rwlock_init.
43325         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
43327 2014-07-02  Roland McGrath  <roland@hack.frob.com>
43329         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
43330         before checking its value.
43332 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43334         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
43336         * debug/memcpy_chk.c: Don't include pagecopy.h.
43337         * debug/mempcpy_chk.c: Likewise.
43338         * string/memcpy.c: Likewise.
43339         * string/memmove.c: Likewise.
43340         * sysdeps/powerpc/memmove.c: Likewise.
43341         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
43342         definition of PAGE_COPY_FWD_MAYBE here...
43343         * sysdeps/generic/pagecopy.h: ... from here.
43344         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
43346 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43347             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43349         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
43350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
43351         optimizations.
43352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43353         (__libc_ifunc_impl_list): Likewise.
43354         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
43355         multiarch strcat for PPC64.
43356         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
43357         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
43359 2014-07-02  Roland McGrath  <roland@hack.frob.com>
43361         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
43363 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43365         * intl/loadmsgcat.c: Remove declaration of
43366         get_sysdep_segment_value.
43367         (get_sysdep_segment_value): Use ISO C style.
43368         (_nl_load_domain): Use ISO C style.  Get rid of redundant
43369         semicolon.  Fix typo and formatting in comment.
43370         (_nl_unload_domain): Use ISO C style.
43372         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
43374 2014-07-02  Will Newton  <will.newton@linaro.org>
43376         * malloc/obstack.c: Merge from gnulib master.
43377         [HAVE_CONFIG_H]: Remove conditional code.
43378         [!_LIBC]: Include config.h.
43379         [!ELIDE_CODE]: Don't include inttypes.h, include
43380         stdint.h unconditionally.
43381         (print_and_abort): Mark as _Noreturn.
43382         (_obstack_allocated_p): Mark as __attribute_pure__.
43383         (obstack_free): Rename to __obstack_free.
43384         [!__attribute__]: Remove conditional code.
43385         * malloc/obstack.h: Merge from gnulib master.
43386         [__cplusplus]: Move conditional down.
43387         [!__attribute_pure__]: Define __attribute_pure__ here
43388         if it is not already defined.
43389         (_obstack_memory_used): Mark as __attribute_pure__.
43390         [!__obstack_free]: Define as obstack_free.
43391         [__GNUC__]: Remove check for ancient NeXT gcc.
43393 2014-07-02  Will Newton  <will.newton@linaro.org>
43394             Paul Eggert  <eggert@cs.ucla.edu>
43396         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
43398 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43400         * resolv/gethnamaddr.c: Add comment warning that the file is
43401         not maintained.
43403 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
43405         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
43406         entries.
43408         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
43409         entry for aio_cancel and aio_cancel64.
43410         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
43411         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
43412         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
43413         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
43414         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
43415         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
43416         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
43417         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
43418         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
43419         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
43420         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
43421         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
43422         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
43424 2014-07-01  Roland McGrath  <roland@hack.frob.com>
43426         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
43427         * nptl/pthread_mutex_lock.c: Likewise.
43428         * nptl/pthread_mutex_timedlock.c: Likewise.
43429         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
43431 2014-07-01  Richard henderson  <rth@redhat.com>
43433         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
43434         (__isnan, __isnanl): Remove.
43435         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
43437         * sysdeps/alpha/fpu/libm-test-ulps: Update.
43439 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43441         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43443 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43445         * resolv/nss_dns/dns-host.c (getanswer_r)
43446         [MULTI_PTRS_ARE_ALIASES]: Remove code.
43448 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
43450         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43451         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
43452         undefine.
43453         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
43454         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
43456 2014-07-01  Roland McGrath <roland@hack.frob.com>
43458         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
43459         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
43461         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
43462         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
43464         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
43465         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
43466         ... here.
43467         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
43468         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
43470         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
43471         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
43472         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
43473         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
43475         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
43476         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
43477         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
43478         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
43479         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
43480         Moved ...
43481         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
43482         ... here.
43483         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
43484         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
43485         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
43486         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
43487         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
43488         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
43489         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
43490         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
43491         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
43492         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
43493         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
43494         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
43495         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
43496         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
43497         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
43498         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
43499         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
43500         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
43501         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
43502         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
43503         ... here.
43504         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
43505         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
43506         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
43507         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
43508         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
43509         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
43510         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
43511         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
43513 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
43515         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
43516         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
43517         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
43518         Add sysdep.
43520 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43524 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
43526         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
43527         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43529         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43531         * sysdeps/arm/libm-test-ulps: Regenerated.
43533 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
43534             Roland McGrath <roland@hack.frob.com>
43536         * test-skeleton.c (signal_handler): Kill the whole process group
43537         before killing the child individually.
43538         (main): Report any failure on `setpgid'.
43540 2014-06-30  Roland McGrath  <roland@hack.frob.com>
43542         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
43543         from _TLS_H to _ARM_NPTL_TLS_H.
43544         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
43545         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
43547 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
43549         [BZ #16539]
43550         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
43551         (__expm1l): Return argument unchanged when small but not
43552         subnormal.
43554         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
43555         include macro name.
43556         (_FP_UNPACK_RAW_1_P): Likewise.
43557         (_FP_PACK_RAW_1): Likewise.
43558         (_FP_PACK_RAW_1_P): Likewise.
43559         (_FP_MUL_MEAT_1_wide): Likewise.
43560         (_FP_MUL_MEAT_DW_1_hard): Likewise.
43561         (_FP_MUL_MEAT_1_hard): Likewise.
43562         (_FP_DIV_MEAT_1_imm): Likewise.
43563         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
43564         (_FP_DIV_MEAT_1_udiv): Likewise.
43565         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
43566         (_FP_UNPACK_RAW_2): Likewise.
43567         (_FP_UNPACK_RAW_2_P): Likewise.
43568         (_FP_PACK_RAW_2): Likewise.
43569         (_FP_PACK_RAW_2_P): Likewise.
43570         (_FP_MUL_MEAT_DW_2_wide): Likewise.
43571         (_FP_MUL_MEAT_2_wide): Likewise.
43572         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
43573         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
43574         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
43575         (_FP_MUL_MEAT_2_gmp): Likewise.
43576         (_FP_DIV_MEAT_2_udiv): Likewise.
43577         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
43578         (_FP_FRAC_SRL_4): Likewise.
43579         (_FP_FRAC_SRST_4): Likewise.
43580         (_FP_FRAC_SRS_4): Likewise.
43581         (_FP_UNPACK_RAW_4): Likewise.
43582         (_FP_UNPACK_RAW_4_P): Likewise.
43583         (_FP_PACK_RAW_4): Likewise.
43584         (_FP_PACK_RAW_4_P): Likewise.
43585         (_FP_MUL_MEAT_DW_4_wide): Likewise.
43586         (_FP_MUL_MEAT_4_wide): Likewise.
43587         (_FP_MUL_MEAT_4_gmp): Likewise.
43588         (umul_ppppmnnn): Likewise.
43589         (_FP_DIV_MEAT_4_udiv): Likewise.
43590         (__FP_FRAC_ADD_4): Likewise.
43591         (__FP_FRAC_SUB_3): Likewise.
43592         (__FP_FRAC_SUB_4): Likewise.
43593         (__FP_FRAC_DEC_3): Likewise.
43594         (__FP_FRAC_DEC_4): Likewise.
43595         (__FP_FRAC_ADDI_4): Likewise.
43596         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
43597         (_FP_FRAC_SRL_8): Likewise.
43598         (_FP_FRAC_SRS_8): Likewise.
43600         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
43601         include macro name.
43602         (FP_UNPACK_RAW_EP): Likewise.
43603         (FP_PACK_RAW_E): Likewise.
43604         (FP_PACK_RAW_EP): Likewise.
43605         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
43606         (_FP_ISSIGNAN): Likewise.
43607         (_FP_ADD_INTERNAL): Likewise.
43608         (_FP_FMA): Likewise.
43609         (_FP_CMP): Likewise.
43610         (_FP_SQRT): Likewise.
43611         (_FP_TO_INT): Likewise.
43612         (_FP_FROM_INT): Likewise.
43613         (FP_EXTEND): Likewise.
43614         (_FP_DIV_MEAT_N_loop): Likewise.
43616 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
43618         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
43619         throughout.
43621 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
43623         [BZ #17097]
43624         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
43625         result with correct sign in case of exponents that produce
43626         overflow except for X very close to 1.
43628 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
43630         mktime: merge #if/#ifdef usage from glibc
43631         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
43632         as that works with both Glibc's and Gnulib's style.
43633         See thread starting at Siddhesh Poyarekar's bug report at:
43634         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
43636 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43638         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
43639         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
43640         * sysdeps/tile/tilegx/memmove.c: Remove file.
43642 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
43644         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
43645         abi-name definition.
43646         * scripts/soversions.awk: Do not handle or generate ABI lines.
43647         * shlib-versions: Remove ABI entries.
43648         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
43649         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
43651 2014-06-27  Roland McGrath  <roland@hack.frob.com>
43653         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
43654         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
43655         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
43656         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
43657         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
43658         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
43659         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
43660         Moved ...
43661         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
43662         ... here.
43663         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
43664         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
43665         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
43666         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
43667         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
43668         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
43669         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
43670         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
43671         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
43672         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
43673         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
43674         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
43675         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
43676         Moved ...
43677         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
43678         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
43679         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
43680         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
43681         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
43682         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
43683         Moved ...
43684         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
43685         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
43686         Moved ...
43687         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
43688         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
43689         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
43690         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
43691         Moved ...
43692         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
43693         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
43694         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
43695         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
43696         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
43697         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
43698         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
43699         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
43700         Moved ...
43701         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
43702         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
43703         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
43704         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
43705         Moved ...
43706         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
43707         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
43708         Moved ...
43709         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
43710         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
43711         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
43712         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
43713         Moved ...
43714         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
43715         ... here.
43716         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
43717         Identical file removed.
43718         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
43719         Moved ...
43720         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
43721         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
43722         Identical file removed.
43723         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
43724         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
43725         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
43726         Moved ...
43727         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
43728         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
43729         Identical file removed.
43730         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
43731         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
43732         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
43733         Identical file removed.
43734         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
43735         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
43736         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
43737         Identical file removed.
43738         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
43739         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
43740         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
43741         Identical file removed.
43742         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
43743         Moved ...
43744         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
43745         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
43746         Identical file removed.
43747         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
43748         Moved ...
43749         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
43750         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
43751         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
43752         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
43753         Identical file removed.
43754         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
43755         Moved ...
43756         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
43757         ... here.
43758         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
43759         Identical file removed.
43760         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
43761         Moved ...
43762         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
43763         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
43764         Identical file removed.
43765         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
43766         Moved ...
43767         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
43768         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
43769         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
43770         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
43771         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
43772         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
43773         Moved ...
43774         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
43775         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
43776         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
43778         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
43779         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
43780         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
43781         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
43782         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
43784 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
43786         [BZ #17092]
43787         * nscd/nscd.c (monitor_child): Return exit status of child
43788         instead of return value from wait syscall.
43790 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
43792         * configure.ac (libc_commonpagesize): Remove variable.
43793         (libc_relro_required): Likewise.
43794         (libc_cv_z_relro): Remove configure test.
43795         * configure: Regenerated.
43796         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
43797         variable.
43798         (libc_relro_required): Likewise.
43799         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
43800         (libc_relro_required): Likewise.
43801         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
43802         (libc_relro_required): Likewise.
43803         * sysdeps/arm/preconfigure: Regenerated.
43804         * sysdeps/ia64/preconfigure: Remove file.
43805         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
43806         variable.
43807         (libc_relro_required): Likewise.
43809         [BZ #16561]
43810         [BZ #16562]
43811         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
43812         (__ieee754_yn): Set FE_TONEAREST mode internally and then
43813         recompute overflowing results in original rounding mode.
43814         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
43815         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
43816         recompute overflowing results in original rounding mode.
43817         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
43818         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
43819         recompute overflowing results in original rounding mode.
43820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
43821         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
43822         recompute overflowing results in original rounding mode.
43823         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
43824         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
43825         recompute overflowing results in original rounding mode.
43826         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
43827         (libc_feholdsetround_ctx): New macro.
43828         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
43829         * sysdeps/i386/fpu/libm-test-ulps: Update.
43830         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
43832 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43834         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
43835         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
43836         corresponding .cpsetup call.
43838 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43840         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
43841         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
43842         * sysdeps/arm/Makefile [$(subdir) = csu]
43843         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
43844         (static-only-routines): Add aeabi_read_tp here.
43845         (shared-only-routines): Add libc-aeabi_read_tp here.
43846         (CFLAGS-libc-start.c): Add -fexceptions here.
43847         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
43848         (sysdep_routines, static-only-routines, shared-only-routines):
43849         Don't add to these here.
43850         (CFLAGS-libc-start.c): Likewise.
43852         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
43853         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
43854         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
43855         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
43856         * sysdeps/arm/Makefile [$(subdir) = rt]
43857         (librt-sysdep_routines, librt-shared-only-routines):
43858         Append rt-aeabi_unwind_cpp_pr1 here.
43859         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
43860         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
43861         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
43862         (libpthread-sysdep_routines, libpthread-shared-only-routines):
43863         Append nptl-aeabi_unwind_cpp_pr1 here.
43864         (tests): Filter out tst-cleanupx4 here.
43865         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
43866         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
43867         Don't do those here.
43869 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43871         * scripts/list-sources.sh: Do not handle ports specially.
43873 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43875         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
43876         * sysdeps/arm/feupdateenv.c: Likewise.
43878         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
43880 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43882         * manual/texinfo.tex: Update to version 2014-05-05.10 with
43883         trailing whitespace removed.
43884         * scripts/config.guess: Update to version 2014-03-23.
43885         * scripts/config.sub: Update to version 2014-05-01
43886         * scripts/install-sh: Update to version 2013-12-25.23.
43887         * scripts/move-if-change: Update from gnulib.
43889 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43891         * debug/memmove_chk.c: Remove pagecopy.h include.
43893 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
43895         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
43896         identical to gnulib mktime.
43898 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43900         * configure.ac: Do not test for machine being rs6000.  Do not test
43901         for powerpc*-*soft.
43902         * configure: Regenerated.
43904         [BZ #11505]
43905         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
43906         test.
43907         * configure: Regenerated.
43908         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
43909         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
43910         Remove configure test.
43911         * sysdeps/arm/configure: Regenerated.
43912         * sysdeps/nptl/configure.ac: Do not check
43913         libc_cv_asm_cfi_directives.
43914         * sysdeps/nptl/configure: Regenerated.
43915         * sysdeps/x86_64/nptl/configure.ac: Remove file.
43916         * sysdeps/x86_64/nptl/configure: Remove generated file.
43917         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
43918         unconditional.
43919         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
43921 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43923         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
43924         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
43925         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
43926         it is defined.
43928         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
43929         instead of whether it is defined.
43930         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
43931         * sysdeps/hppa/dl-machine.h: Likewise.
43932         * sysdeps/ia64/dl-machine.h: Likewise.
43933         * sysdeps/m68k/dl-machine.h: Likewise.
43934         * sysdeps/microblaze/dl-machine.h: Likewise.
43935         * sysdeps/mips/dl-machine.: Likewise.
43936         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43937         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43938         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43939         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43940         * sysdeps/sh/dl-machine.h: Likewise.
43941         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43942         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43943         * sysdeps/tile/dl-machine.h: Likewise.
43944         * sysdeps/x86_64/dl-machine.h: Likewise.
43946         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
43947         code.
43948         (verify_persistent_db): Likewise.
43950 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
43953         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
43954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
43955         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
43956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43957         Moved ...
43958         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
43959         ... here.
43960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
43961         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
43962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
43963         Identical file removed.
43964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
43965         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
43966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
43967         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
43968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
43969         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
43970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
43971         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
43972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
43973         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
43974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43975         Moved ...
43976         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
43977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
43978         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
43979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
43980         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
43981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43982         Moved ...
43983         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
43984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
43985         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
43986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
43987         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
43988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43989         Identical file removed.
43990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
43991         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
43992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
43993         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
43994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43995         Moved ...
43996         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
43997         ... here.
43998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
43999         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
44000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
44001         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
44002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
44003         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
44004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
44005         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
44006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
44007         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
44008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44009         Moved ...
44010         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
44011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
44012         Moved ...
44013         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
44014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
44015         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
44016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44017         Moved ...
44018         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
44019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
44020         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
44022         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
44023         folded into ...
44024         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
44025         * sysdeps/unix/sysv/linux/s390/Versions
44026         (libpthread: GLIBC_2.19): New version set.
44027         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
44028         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
44029         (librt: GLIBC_2.3.3): New version set.
44030         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
44031         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
44032         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
44033         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
44034         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
44035         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
44036         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
44037         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
44038         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
44039         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
44040         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
44041         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
44042         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
44043         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
44044         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
44045         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
44046         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
44047         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
44048         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
44049         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
44050         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
44051         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
44052         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
44053         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
44054         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
44055         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
44056         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
44057         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
44058         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
44059         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
44060         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
44061         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
44062         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
44063         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
44064         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
44065         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
44066         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
44067         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
44068         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
44069         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
44070         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
44071         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
44072         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
44073         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
44074         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
44076         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
44077         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
44078         (__libc_vfork): Define the function under this name.
44079         [!NOT_IN_libc] (__vfork): Make this an alias.
44080         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
44081         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
44082         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
44083         (__libc_vfork): Define the function under this name.
44084         [!NOT_IN_libc] (__vfork): Make this an alias.
44085         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
44086         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
44087         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
44088         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
44089         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
44090         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44092         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
44093         code that was previously under [RESET_PID].
44094         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
44095         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
44096         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
44098         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
44099         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
44100         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
44101         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
44102         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
44103         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
44104         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
44105         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
44106         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
44107         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
44108         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
44109         Moved ...
44110         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
44111         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
44112         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
44113         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
44114         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
44115         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
44116         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
44117         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
44118         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
44119         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
44120         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
44121         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
44122         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
44123         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
44124         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
44125         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
44126         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
44127         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
44128         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
44129         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
44130         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
44131         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
44132         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
44133         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
44134         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
44135         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
44136         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
44137         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
44138         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
44140 2014-06-25  Roland McGrath  <roland@hack.frob.com>
44142         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
44143         that was previously under [RESET_PID].
44144         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
44146 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44148         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
44149         not undefine and redefine.
44150         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
44151         [O_CLOEXEC]: Make code unconditional.
44152         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
44153         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
44154         <kernel-features.h>.
44155         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
44156         conditional variable definition.
44157         (shm_open) [O_CLOEXEC]: Make code unconditional.
44158         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
44159         code.
44161         * configure.ac (USE_REGPARMS): Don't define here.
44162         * configure: Regenerated.
44163         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
44164         * sysdeps/i386/configure: Regenerated.
44166         * nptl/createthread.c: Don't include kernel-features.h.
44167         * nptl/pthread_cancel.c: Likewise.
44168         * nptl/pthread_condattr_setclock.c: Likewise.
44169         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
44170         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
44171         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
44172         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
44173         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
44174         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
44175         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
44176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
44177         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
44178         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
44179         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
44180         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
44181         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
44182         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
44183         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
44184         * nscd/gai.c: Likewise.
44185         * nss/nss_db/db-open.c: Likewise.
44186         * sysdeps/generic/ldsodefs.h: Likewise.
44187         * sysdeps/sh/nptl/tls.h: Likewise.
44188         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44189         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
44190         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
44191         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
44192         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
44193         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44194         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
44195         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44196         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44197         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
44198         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
44199         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44200         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
44201         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
44202         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
44203         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
44204         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
44205         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
44206         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
44207         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
44208         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
44209         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
44210         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
44211         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
44212         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
44213         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
44214         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
44215         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
44216         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
44217         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
44218         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
44219         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
44220         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
44221         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44222         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44223         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44224         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44225         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
44226         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
44227         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
44228         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44229         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
44230         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
44231         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44232         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
44233         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
44234         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
44235         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
44236         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
44237         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
44238         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
44239         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
44240         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
44241         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44242         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
44243         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44244         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44245         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
44246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
44248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
44249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
44250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
44251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
44252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
44253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
44254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
44257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
44258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
44259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
44260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
44266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
44267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
44268         * sysdeps/unix/sysv/linux/pread.c: Likewise.
44269         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
44270         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
44271         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
44272         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
44273         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
44274         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
44275         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
44276         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
44277         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
44278         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
44279         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
44280         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
44281         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
44282         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
44283         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
44284         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44285         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
44286         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
44287         * sysdeps/unix/sysv/linux/system.c: Likewise.
44288         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
44289         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
44290         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44291         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44292         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44293         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44294         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
44296         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
44297         * configure: Regenerated.
44298         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
44300         * configure.ac (base_machine): Do not set specially for particular
44301         machines here.
44302         * configure: Regenerated.
44303         * sysdeps/powerpc/preconfigure: Move machine and base_machine
44304         settings from configure.ac.
44305         * sysdeps/i386/preconfigure: New file.
44306         * sysdeps/s390/preconfigure: Likewise.
44307         * sysdeps/sh/preconfigure: Likewise.
44308         * sysdeps/sparc/preconfigure: Likewise.
44310 2014-06-25  Roland McGrath  <roland@hack.frob.com>
44312         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
44313         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
44314         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
44315         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
44316         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
44317         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
44318         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
44319         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
44320         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
44321         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
44322         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
44323         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
44324         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
44325         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
44326         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
44327         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
44328         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
44329         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
44330         * sysdeps/sparc/sparc64/Makefile: ... appended here.
44332         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
44333         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
44334         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
44335         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
44336         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
44337         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
44338         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
44339         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
44340         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
44341         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
44342         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
44343         * sysdeps/sparc/sparc32/sem_post.c: ... here.
44344         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
44345         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
44346         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
44347         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
44348         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
44349         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
44350         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
44351         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
44352         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
44353         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
44354         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
44355         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
44356         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
44357         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
44358         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
44359         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
44360         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
44361         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
44362         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
44363         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
44364         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
44365         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
44366         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
44367         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
44368         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
44369         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
44371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
44372         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
44373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
44374         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
44375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44376         Moved ...
44377         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
44378         ... here.
44379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
44380         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
44381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
44382         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
44383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
44384         Moved ...
44385         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
44386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
44387         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
44388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
44389         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
44390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
44391         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
44392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44393         Moved ...
44394         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
44395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44396         Moved ...
44397         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
44398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
44399         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
44400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44401         Moved ...
44402         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
44403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
44404         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
44405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
44406         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
44407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
44408         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
44409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
44410         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
44411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44412         Moved ...
44413         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
44414         ... here.
44415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
44416         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
44417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
44418         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
44419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
44420         Moved ...
44421         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
44422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
44423         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
44424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
44425         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
44426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
44427         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
44428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44429         Moved ...
44430         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
44431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44432         Moved ...
44433         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
44434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
44435         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
44436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44437         Moved ...
44438         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
44439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
44440         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
44441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
44442         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
44444 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44446         * timezone/checktab.awk: Update from tzcode 2014e.
44447         * timezone/private.h: Likewise.
44448         * timezone/tzfile.h: Likewise.
44449         * timezone/zdump.c: Likewise.
44450         * timezone/zic.c: Likewise.
44452         * sysdeps/unix/sysv/linux/kernel-features.h
44453         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
44454         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
44455         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
44456         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44457         Remove conditional code.
44459 2014-06-25  Will Newton  <will.newton@linaro.org>
44461         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
44462         (_dl_arm_cap_flags): Add HWCAP2 values.
44463         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
44464         (_DL_HWCAP_COUNT): Increase to 37.
44465         (_DL_HWCAP_LAST): New define.
44466         (_DL_HWCAP2_LAST): New define.
44467         (_dl_procinfo): Add support for printing
44468         AT_HWCAP2 entries.
44469         (_dl_string_hwcap): Use _dl_hwcap_string.
44471 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44475 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44477         * README: Do not mention ports directory.
44479         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
44480         Remove macro.
44481         * sysdeps/unix/sysv/linux/futimes.c: Do not include
44482         <kernel-features.h>.
44483         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
44484         conditional variable definition.
44485         (__futimes): Update comment.
44486         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
44487         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
44489         [BZ #16560]
44490         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
44491         arguments close to 0.
44492         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
44493         Likewise.
44494         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
44495         Likewise.
44496         * math/auto-libm-test-in: Add more tests of exp10.
44497         * math/auto-libm-test-out: Regenerated.
44498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44500         * sysdeps/unix/sysv/linux/kernel-features.h
44501         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
44502         * sysdeps/unix/sysv/linux/readv.c: Do not include
44503         <kernel-features.h>.
44504         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
44505         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44506         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
44507         unconditional.
44508         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
44509         conditional code.
44510         * sysdeps/unix/sysv/linux/writev.c: Do not include
44511         <kernel-features.h>.
44512         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
44513         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44514         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
44515         unconditional.
44516         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
44517         conditional code.
44519 2014-06-25  Will Newton  <will.newton@linaro.org>
44521         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
44522         comment changes throughout the file.  Remove checks
44523         for HAVE_*_H definitions that are not required.
44524         (__gen_tempname): Call abort if an unknown kind value is
44525         passed.
44527 2014-06-25  Andreas Schwab  <schwab@suse.de>
44529         [BZ #17086]
44530         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
44531         scalbln, scalblnf, scalblnl in libc.
44533 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44535         [BZ #17086]
44536         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
44537         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44538         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44540 2014-06-24  Roland McGrath  <roland@hack.frob.com>
44542         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
44543         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
44544         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
44545         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
44546         Update #include.
44547         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
44548         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
44549         Update #include.
44550         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
44551         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
44552         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
44553         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
44554         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
44555         * sysdeps/x86/bits/pthreadtypes.h: ... here.
44556         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
44557         * sysdeps/x86/bits/semaphore.h: ... here.
44558         * sysdeps/x86/nptl/elide.h: Moved ...
44559         * sysdeps/x86/elide.h: ... here.
44560         * sysdeps/x86_64/nptl/Implies: File removed.
44561         * sysdeps/i386/nptl/Implies: File removed.
44563 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
44565         [BZ #16539]
44566         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
44567         return the argument for normal arguments with exponent below -64.
44568         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44569         Likewise.
44570         * math/auto-libm-test-in: Add another test of expm1.
44571         * math/auto-libm-test-out: Regenerated.
44573         [BZ #16287]
44574         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
44575         calling __erfcl for arguments at least 16.
44576         * math/auto-libm-test-in: Add more tests of erf.
44577         * math/auto-libm-test-out: Regenerated.
44579         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
44580         individual architectures.
44581         * sysdeps/unix/sysv/linux/configure: Regenerated.
44582         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
44583         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
44584         * sysdeps/unix/sysv/linux/powerpc/configure.ac
44585         (ldd_rewrite_script): Define variable.
44586         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
44588         file.
44589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
44590         generated file.
44591         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
44592         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
44593         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
44594         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
44595         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
44596         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
44597         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
44598         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
44600 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44602         [BZ #17084]
44603         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
44604         Rename member __data.d to __data.__elision_data.
44606 2014-06-24  Wilco  <wdijkstr@arm.com>
44608         * NEWS: Add 16918 to fixed bug list.
44610 2014-06-24  Wilco  <wdijkstr@arm.com>
44612         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
44614 2014-06-24  Wilco  <wdijkstr@arm.com>
44616         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
44617         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
44618         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
44619         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
44620         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
44621         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
44622         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
44623         Use _FPU_MASK_RM.
44625 2014-06-24  Wilco  <wdijkstr@arm.com>
44627         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
44629 2014-06-24  Wilco  <wdijkstr@arm.com>
44631         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
44632         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
44633         * sysdeps/arm/fesetround.c (fesetround): Remove space.
44634         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
44636 2014-06-24  Wilco  <wdijkstr@arm.com>
44638         [BZ #16918]
44639         * sysdeps/arm/feupdateenv.c (feupdateenv):
44640         Rewrite to reduce FPSCR accesses and fix return value.
44642 2014-06-24  Wilco  <wdijkstr@arm.com>
44644         * sysdeps/arm/fclrexcpt.c (feclearexcept):
44645         Optimize to avoid unnecessary FPSCR writes.
44646         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
44647         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
44648         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
44649         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
44651 2014-06-24  Wilco  <wdijkstr@arm.com>
44653         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
44654         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
44655         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
44656         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
44657         Call libc_fetestexcept_vfp.
44658         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
44659         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
44660         __SOFTFP__ ifdef so that they can be built for softfp.
44662 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44664         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
44665         argument type signed char.
44667         * Makerules (check-abi): Dump diff of symlist if the test
44668         fails.
44670 2014-06-23  Roland McGrath  <roland@hack.frob.com>
44672         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
44673         using abort.
44675         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
44676         Remove unused variable ST.
44678 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
44680         [BZ #16354]
44681         [BZ #17061]
44682         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
44683         small arguments before calling __expm1.
44684         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
44685         small arguments before calling __expm1f.
44686         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
44687         small arguments before calling __expm1l.
44688         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
44689         Likewise.
44690         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
44691         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
44692         spurious underflow for some cosh tests.
44693         * math/auto-libm-test-out: Regenerated.
44694         * sysdeps/i386/fpu/libm-test-ulps: Update.
44696         [BZ #17050]
44697         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
44698         (__ieee754_y1): Set errno if return value overflows.
44699         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
44700         (__ieee754_y1f): Set errno if return value overflows.
44701         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
44702         (__ieee754_y1l): Set errno if return value overflows.
44703         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
44704         (__ieee754_y1l): Set errno if return value overflows.
44705         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
44706         * math/auto-libm-test-out: Regenerated.
44708         * math/gen-auto-libm-tests.c: Document use of
44709         ignore-zero-inf-sign.
44710         (input_flag_type): Add value flag_ignore_zero_inf_sign.
44711         (input_flags): Add ignore-zero-inf-sign.
44712         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
44713         * math/gen-libm-test.pl (generate_testfile): Handle
44714         ignore-zero-inf-sign.
44715         * math/auto-libm-test-in: Mark some cpow tests with
44716         ignore-zero-inf-sign and some with xfail-rounding.
44717         * math/auto-libm-test-out: Regenerated.
44718         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
44719         * sysdeps/i386/fpu/libm-test-ulps: Update.
44720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44722         [BZ #16315]
44723         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
44724         overflowing or underflowing operations take place with sign of
44725         result.
44726         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44727         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44728         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
44729         (__ieee754_pow): Recompute overflowing and underflowing results in
44730         original rounding mode.
44731         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
44732         (__powl_helper): Allow negative argument X and scale negated value
44733         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
44734         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
44735         overflowing or underflowing operations take place with sign of
44736         result.
44737         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
44738         Include <math.h>.
44739         * math/auto-libm-test-in: Add more tests of pow.
44740         * math/auto-libm-test-out: Regenerated.
44741         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
44742         (pow_tonearest_test_data): Remove.
44743         (pow_test_tonearest): Likewise.
44744         (pow_towardzero_test_data): Likewise.
44745         (pow_test_towardzero): Likewise.
44746         (pow_downward_test_data): Likewise.
44747         (pow_test_downward): Likewise.
44748         (pow_upward_test_data): Likewise.
44749         (pow_test_upward): Likewise.
44750         (main): Don't call removed functions.
44751         * sysdeps/i386/fpu/libm-test-ulps: Update.
44752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44754 2014-06-23  Roland McGrath  <roland@hack.frob.com>
44756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
44757         Moved ...
44758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
44759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44760         Moved ...
44761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
44762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44763         Moved ...
44764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
44765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44766         Moved ...
44767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
44768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44769         File removed.
44770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44771         File removed.
44772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
44773         File removed.
44774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
44775         File removed.
44776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
44777         File removed.
44778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
44779         File removed.
44780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
44781         File removed.
44782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44783         File removed.
44784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
44785         File removed.
44786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44787         File removed.
44788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
44789         File removed.
44790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
44791         File removed.
44792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
44793         Moved ...
44794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
44795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
44796         Moved ...
44797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
44798         ... here.
44799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
44800         Moved ...
44801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
44802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
44803         Moved ...
44804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
44805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
44806         Moved ...
44807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
44808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
44809         Moved ...
44810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
44811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
44812         Moved ...
44813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
44814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
44815         Moved ...
44816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
44817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
44818         Moved ...
44819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
44820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
44821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
44822         ... here.
44823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
44824         Moved ...
44825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
44826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44827         Moved ...
44828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
44829         ... here.
44830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
44831         Moved ...
44832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
44833         ... here.
44834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44835         Moved ...
44836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44837         ... here.
44838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44839         Moved ...
44840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
44841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44842         Moved ...
44843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
44844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
44845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
44846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44847         Moved ...
44848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
44849         ... here.
44850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44851         Moved ...
44852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
44853         ... here.
44854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44855         Moved ...
44856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
44857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44858         Moved ...
44859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
44860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44861         Moved ...
44862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
44863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44864         Moved ...
44865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
44866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44867         Moved ...
44868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
44869         ... here.
44870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44871         Moved ...
44872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
44873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44874         Moved ...
44875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
44876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44877         Moved ...
44878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
44879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44880         Moved ...
44881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
44882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
44883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
44884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44885         Moved ...
44886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
44887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44888         Moved ...
44889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
44890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44891         Moved ...
44892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
44893         ... here.
44894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44895         Moved ...
44896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
44897         ... here.
44898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44899         Moved ...
44900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
44901         ... here.
44902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44903         Moved ...
44904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
44905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44906         Moved ...
44907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
44908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44909         Moved ...
44910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
44911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44912         Moved ...
44913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
44914         ... here.
44915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44916         Moved ...
44917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
44918         ... here.
44919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44920         Moved ...
44921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
44922         ... here.
44923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44924         Moved ...
44925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
44926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44927         Moved ...
44928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
44930 2014-06-23  Will Newton  <will.newton@linaro.org>
44931             Wilco  <wdijkstr@arm.com>
44933         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
44934         implementation.  Include get-rounding-mode.h.
44935         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
44936         [!libc_feholdsetround_noex_ctx]: Define
44937         libc_feholdsetround_noex_ctx.
44938         [!libc_feholdsetround_noexf_ctx]: Define
44939         libc_feholdsetround_noexf_ctx.
44940         [!libc_feholdsetround_noexl_ctx]: Define
44941         libc_feholdsetround_noexl_ctx.
44942         (libc_feholdsetround_ctx): New function.
44943         (libc_feresetround_ctx): New function.
44944         (libc_feholdsetround_noex_ctx): New function.
44945         (libc_feresetround_noex_ctx): New function.
44947 2014-06-23  Roland McGrath  <roland@hack.frob.com>
44949         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
44950         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
44951         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
44952         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
44953         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
44954         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
44956         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
44957         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
44958         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
44959         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
44960         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
44961         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
44962         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
44963         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
44964         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
44965         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
44966         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
44967         Moved ...
44968         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
44969         ... here.
44970         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
44971         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
44972         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
44973         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
44974         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
44975         Moved ...
44976         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
44977         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
44978         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
44979         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
44980         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
44981         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
44982         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
44983         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
44984         Moved ...
44985         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
44986         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
44987         Moved ...
44988         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
44989         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
44990         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
44991         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
44992         Moved ...
44993         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
44994         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
44995         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
44996         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
44997         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
44998         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
44999         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
45000         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
45001         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
45002         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
45003         Moved ...
45004         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
45005         ... here.
45006         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
45007         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
45008         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
45009         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
45010         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
45011         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
45012         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
45013         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
45014         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
45015         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
45016         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
45017         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
45018         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
45019         Moved ...
45020         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
45021         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
45022         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
45023         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
45024         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
45025         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
45026         Moved ...
45027         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
45028         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
45029         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
45030         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
45031         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
45033         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
45034         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
45035         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
45036         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
45037         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
45038         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
45039         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
45040         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
45041         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
45042         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
45043         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
45044         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
45045         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
45046         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
45047         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
45048         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
45049         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
45050         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
45051         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
45052         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
45053         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
45054         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
45055         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
45056         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
45057         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
45058         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
45059         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
45060         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
45062 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45064         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
45065         (FALLOC_FL_COLLAPSE_RANGE): New macro.
45066         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
45067         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
45068         (IPV6_PMTUDISC_INTERFACE): Likewise.
45069         (IPV6_PMTUDISC_OMIT): Likewise.
45071 2014-06-23  Andreas Schwab  <schwab@suse.de>
45073         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
45074         Remove unused errout label.
45076 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45078         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
45079         macro: hardware supports Vector Crypto instructions.
45081 2014-06-23  Will Newton  <will.newton@linaro.org>
45083         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
45084         rather than __builtin_expect.
45086         * elf/dl-lookup.c (undefined_msg): Remove variable.
45087         (_dl_lookup_symbol_x): Replace undefined_msg with string
45088         literal.
45090         * elf/dl-lookup.c (do_lookup_unique): New function.
45091         (do_lookup_x): Move STB_GNU_UNIQUE handling code
45092         to a separate function.
45094 2014-06-23  Andreas Schwab  <schwab@suse.de>
45096         [BZ #17079]
45097         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
45098         before reading the next line.
45100 2014-06-23  Will Newton  <will.newton@linaro.org>
45102         * test-skeleton.c (signal_handler): Use printf and %m
45103         rather than perror.  Use printf rather than fprintf to
45104         stderr.  Use puts rather than fputs to stderr.
45105         (main): Likewise.
45107 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
45109         * nscd/nscd.c (thread_info_t): Remove typedef.
45110         (thread_info): Remove variable.
45112 2014-06-21  Allan McRae  <allan@archlinux.org>
45114         * NEWS: Mention CVE-2014-4043.
45116 2014-06-20  Roland McGrath  <roland@hack.frob.com>
45118         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
45119         * nptl/smp.h: ... here.
45121         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
45123         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
45124         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
45125         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
45126         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
45128         * nptl/allocatestack.c: Include <stack-aliasing.h>.
45129         * nptl/stack-aliasing.h: New file.
45130         * sysdeps/i386/i686/stack-aliasing.h: New file.
45131         * sysdeps/i386/i686/nptl/Makefile: File removed.
45132         * sysdeps/x86_64/stack-aliasing.h: New file.
45133         * sysdeps/x86_64/nptl/Makefile
45134         (CFLAGS-pthread_create.c): Variable removed.
45136         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
45137         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
45138         old file.
45139         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
45140         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
45141         old file.
45143 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
45145         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45146         (__ASSUME_SIGFRAME_V2): Remove macro.
45147         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
45148         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
45149         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
45150         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
45151         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
45152         Declare as function.  Remove conditional macro definitions.
45153         (__default_rt_sa_restorer): Likewise.
45154         (__default_sa_restorer_v1): Remove declaration.
45155         (__default_sa_restorer_v2): Likewise.
45156         (__default_rt_sa_restorer_v1): Likewise.
45157         (__default_rt_sa_restorer_v2): Likewise.
45158         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
45159         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
45160         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
45162 2014-06-20  Roland McGrath  <roland@hack.frob.com>
45164         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
45165         (libpthread-routines): Add sysdep.
45166         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
45167         * sysdeps/unix/sysv/linux/sparc/Versions
45168         (libpthread: GLIBC_2.3.3): New version set.
45169         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
45170         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
45171         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
45172         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
45173         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
45174         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
45175         Moved ...
45176         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
45177         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
45178         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
45179         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
45180         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
45181         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
45182         * sysdeps/sparc/nptl/sem_init.c: ... here.
45183         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
45184         * sysdeps/sparc/nptl/sem_post.c: ... here.
45185         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
45186         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
45187         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
45188         * sysdeps/sparc/nptl/sem_wait.c: ... here.
45189         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
45190         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
45191         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
45192         (libpthread-routines): Add cpu_relax.
45193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
45194         File removed.
45195         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
45196         (librt: GLIBC_2.3.3): New version set.
45197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
45198         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
45199         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
45200         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
45201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
45202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
45203         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
45204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
45205         Moved ...
45206         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
45207         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
45208         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
45209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
45210         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
45211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
45212         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
45213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
45214         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
45215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
45216         Moved ...
45217         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
45218         Update #include.
45219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
45220         Moved ...
45221         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
45222         Update #include.
45223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
45224         Moved ...
45225         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
45226         Update #include.
45227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
45228         Moved ...
45229         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
45230         Update #include.
45231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
45232         Moved ...
45233         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
45234         Update #include.
45235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
45236         Moved ...
45237         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
45238         Update #include.
45239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
45240         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
45241         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
45242         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
45243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
45244         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
45245         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
45246         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
45247         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
45248         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
45249         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45250         Moved ...
45251         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
45252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
45253         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
45254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
45255         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
45257 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45259         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
45260         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
45261         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45262         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
45263         * nscd/nscd.c: Likewise.
45264         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
45265         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
45266         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
45267         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
45269         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
45270         <kernel-features.h>.
45271         (init_mq_netlink): Remove conditional have_sock_cloexec
45272         definitions.  Remove code conditional on have_sock_cloexec < 0.
45273         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
45274         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
45275         * sysdeps/unix/sysv/linux/opensock.c: Do not include
45276         <kernel-features.h>.
45277         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
45278         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
45280 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
45282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45283         Add tests for memset_chk and memset.
45285         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
45286         with AVX2_Usable.
45288 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
45290         [BZ #16046]
45291         * elf/tst-dl-iter-static.c: New file.
45292         * elf/Makefile (tests-static): Add tst-dl-iter-static.
45294         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
45295         error.
45297 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45299         * sysdeps/unix/sysv/linux/kernel-features.h
45300         (__ASSUME_F_GETOWN_EX): Remove macro.
45301         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
45302         <kernel-features.h>.
45303         (miss_F_GETOWN_EX): Remove variable or macro.
45304         (do_fcntl): Do not check miss_F_GETOWN_EX.
45305         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
45307         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
45308         Remove macro.
45309         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
45310         [!__ASSUME_AT_RANDOM]: Remove conditional code.
45311         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
45313         * sysdeps/unix/sysv/linux/kernel-features.h
45314         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
45315         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
45316         [ADJ_OFFSET_SS_READ]: Make code unconditional.
45317         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
45319 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
45321         [BZ #17075]
45322         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
45323         Fix calculation of the symbol's value.
45324         * sysdeps/arm/tst-armtlsdescloc.c: New file.
45325         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
45326         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
45327         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
45328         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
45329         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
45330         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
45331         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
45332         (modules-names): Add `tst-armtlsdescmod',
45333         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
45334         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
45335         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
45336         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
45337         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
45338         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
45339         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
45340         ($(objpfx)tst-armtlsdescloc): New dependency.
45341         ($(objpfx)tst-armtlsdescextnow): Likewise.
45342         ($(objpfx)tst-armtlsdescextlazy): Likewise.
45343         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
45344         TLS scheme support.
45345         * sysdeps/arm/configure: Regenerate.
45347 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45349         * include/fcntl.h (__atfct_seterrno): Remove prototype.
45350         (__atfct_seterrno_2): Likewise.
45351         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
45352         <kernel-features.h>.
45353         (__ASSUME_ATFCTS): Do not undefine and redefine.
45354         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
45355         (__have_atfcts): Remove conditional definition.
45356         (__fxstatat([__NR_fstatat64]: Make code unconditional.
45357         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
45358         unreachable if [__ASSUME_ATFCTS].
45359         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
45360         not undefine and redefine.
45361         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
45362         <kernel-features.h>.
45363         (faccessat) [__NR_faccessat]: Make code unconditional.
45364         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
45365         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
45366         <kernel-features.h>.
45367         (fchmodat) [__NR_fchmodat]: Make code unconditional.
45368         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
45369         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
45370         <kernel-features.h>.
45371         (fchownat) [__NR_fchownat]: Make code unconditional.
45372         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
45373         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
45374         <kernel-features.h>.
45375         (futimesat) [__NR_futimesat]: Make code unconditional.
45376         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
45377         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45378         <kernel-features.h>.
45379         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
45380         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45381         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45382         <kernel-features.h>.
45383         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
45384         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
45385         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
45386         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45387         <kernel-features.h>.
45388         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
45389         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45390         * sysdeps/unix/sysv/linux/linkat.c: Do not include
45391         <kernel-features.h>.
45392         (linkat) [__NR_linkat]: Make code unconditional.
45393         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45394         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
45395         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
45396         <kernel-features.h>.
45397         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
45398         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
45399         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
45400         <kernel-features.h>.
45401         (mkdirat) [__NR_mkdirat]: Make code unconditional.
45402         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
45403         * sysdeps/unix/sysv/linux/openat.c: Do not include
45404         <kernel-features.h>.
45405         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
45406         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
45407         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
45408         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
45409         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
45410         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
45411         <kernel-features.h>.
45412         (readlinkat) [__NR_readlinkat]: Make code unconditional.
45413         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
45414         result of INLINE_SYSCALL directly, not via int variable.
45415         * sysdeps/unix/sysv/linux/renameat.c: Do not include
45416         <kernel-features.h>.
45417         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
45418         (renameat) [__NR_renameat]: Make code unconditional.
45419         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
45420         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
45421         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
45422         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
45423         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
45424         (__ASSUME_ATFCTS): Do not undefine and redefine.
45425         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
45426         <kernel-features.h>.
45427         (symlinkat) [__NR_symlinkat]: Make code unconditional.
45428         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45429         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
45430         <kernel-features.h>.
45431         (unlinkat) [__NR_unlinkat]: Make code unconditional.
45432         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45433         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
45434         (__ASSUME_ATFCTS): Do not undefine and redefine.
45435         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45436         <kernel-features.h>.
45437         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
45438         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45439         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45440         <kernel-features.h>.
45441         (__xmknodat) [__NR_mknodat]: Make code unconditional.
45442         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
45444 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
45446         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
45448 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
45450         [BZ #17069]
45451         * posix/regcomp.c (parse_reg_exp): Deallocate partially
45452         constructed tree before returning error.
45453         * posix/bug-regexp36.c: Expand test case.
45455 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
45457         [BZ #6803]
45458         * math/libm-test.inc (scalbln_test_date):
45459         Add errno expectations.
45460         * math/w_scalblnf.c: New File.
45461         Add wrapper which checks for setting errno to ERANGE.
45462         Add weak_alias for corresponding scalbln function.
45463         * math/w_scalbln.c: Likewise.
45464         * math/w_scalblnl.c: Likewise.
45465         * math/Makefile (libm-calls): Add w_scalbln.
45466         * sysdeps/ieee754/flt-32/s_scalblnf.c:
45467         Remove weak_alias for corresponding scalbln function.
45468         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45469         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45470         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45471         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45472         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
45473         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45474         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
45475         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45476         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
45477         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
45478         Remove long_double_symbol for scalblnl function in libm, libc.
45479         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
45480         Add wrapper which checks for setting errno to ERANGE.
45481         Add long_double_symbol for scalblnl function in libm, libc.
45482         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
45483         Remove long_double_symbol for scalblnl in libm.
45484         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
45485         Add wrapper which checks for setting errno to ERANGE.
45486         Add long_double_symbol for scalblnl function in libm.
45487         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
45488         Do not use wrapper because of own implementation.
45490 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
45492         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
45493         3 bytes for __pad1 for x32.
45494         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
45496 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
45497             H.J. Lu  <hongjiu.lu@intel.com>
45499         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
45500         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
45501         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45502         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45503         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
45505 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
45507         [BZ #17069]
45508         * posix/regcomp.c (parse_expression): Deallocate partially
45509         constructed tree before returning error.
45510         * posix/Makefile.c (tests): Add bug-regex36.
45511         (generated): Add bug-regex36.mtrace.
45512         (tests-special): Add $(objpfx)bug-regex36-mem.out
45513         (bug-regex36-ENV): New variable.
45514         ($(objpfx)bug-regex36-mem.out): New rule.
45515         * posix/bug-regex36.c: New file.
45517 2014-06-19  Will Newton  <will.newton@linaro.org>
45519         * malloc/malloc.c (systrim): If extra is zero then return
45520         early.
45522 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45524         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
45526 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
45528         * sysdeps/aarch64/strchr.S: New file.
45530 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
45532         [BZ #17022]
45533         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
45534         from arguments -2 or below.
45535         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
45536         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
45538 2014-06-18  Andreas Schwab  <schwab@suse.de>
45540         [BZ #17062]
45541         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
45542         of a bracket expr not to run off the end of the string.
45543         * posix/Makefile (tests): Add tst-fnmatch3.
45544         * posix/tst-fnmatch3.c: New file.
45546 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
45548         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
45549         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45550         [$(cross-compiling) = no]: Likewise.
45551         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45552         [$(cross-compiling) = no]: Likewise.
45554 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45556         [BZ #17031]
45557         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
45558         double, adjusted for any remainder from the high double.
45559         * math/libm-test.inc (nearbyint): Add tests.
45560         (rint): Likewise.
45562 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45564         * nptl/sysdeps/powerpc/Makefile: Moved ...
45565         * sysdeps/powerpc/nptl/Makefile: ... here.
45566         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
45567         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
45568         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
45569         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
45570         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
45571         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
45572         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
45573         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
45574         * nptl/sysdeps/powerpc/tls.h: Moved ...
45575         * sysdeps/powerpc/nptl/tls.h: ... here.
45577 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
45579         [BZ #16681]
45580         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
45581         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
45582         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
45583         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
45584         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
45585         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
45586         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
45587         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
45588         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
45590 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
45592         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45594 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
45596         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
45597         defined operator.
45599         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
45600         $TIMEOUTFACTOR.
45602 2014-06-16  Florian Weimer  <fweimer@redhat.com>
45604         [BZ #17058]
45605         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
45606         non-executed part of the test.
45608 2014-06-16  Andreas Schwab  <schwab@suse.de>
45610         * string/bits/string2.h (strdup, strndup): Update feature guard.
45612 2014-06-14  David S. Miller  <davem@davemloft.net>
45614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45616 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
45618         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
45619         that was previously under [RESET_PID].
45620         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
45622         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
45623         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
45624         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
45625         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45626         (__libc_vfork): New strong alias.
45627         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
45629 2014-06-14 Andi Kleen  <ak@linux.intel.com>
45631         * sysdeps/generic/elide.h: New file.
45633 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
45635         * Makefile (installed-headers): Adjust path of pthread.h header.
45637 2014-06-13  Roland McGrath  <roland@hack.frob.com>
45639         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
45640         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
45641         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
45642         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
45644         * nptl/sysdeps/s390/Makefile: Moved ...
45645         * sysdeps/s390/nptl/Makefile: ... here.
45646         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
45647         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
45648         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
45649         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
45650         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
45651         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
45652         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
45653         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
45654         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
45655         * sysdeps/s390/nptl/pthreaddef.h: ... here.
45656         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
45657         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
45658         * nptl/sysdeps/s390/tls.h: Moved ...
45659         * sysdeps/s390/nptl/tls.h: ... here.
45661         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
45662         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
45664 2014-06-13  David S. Miller  <davem@davemloft.net>
45666         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
45667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
45668         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
45669         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
45670         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
45671         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
45672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
45673         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
45674         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
45675         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
45676         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
45677         Remove RESET_PID cpp guards.
45678         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
45679         Remove RESET_PID cpp guards.
45680         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
45682 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
45684         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
45685         __sp to uintptr_t.
45687 2014-06-13  Andi Kleen  <ak@linux.intel.com>
45689         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
45690         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
45691         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
45692         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
45693         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
45694         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
45695         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
45696         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
45697         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
45698         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
45699         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
45700         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
45701         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
45702         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
45703         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
45704         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
45705         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
45706         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
45707         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
45708         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
45710         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
45711         (pthread_rwlock_rdlock): Add elision.
45712         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
45713         (pthread_rwlock_wrlock): Add elision.
45714         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
45715         (pthread_rwlock_trywrlock): Add elision.
45716         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
45717         (pthread_rwlock_tryrdlock): Add elision.
45718         * nptl/pthread_rwlock_unlock.c: Include elide.h.
45719         (pthread_rwlock_tryrdlock): Add elision unlock.
45720         * nptl/sysdeps/pthread/pthread.h:
45721         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
45722         (PTHREAD_RWLOCK_INITIALIZER,
45723         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
45724         Handle new elision field.
45725         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
45726         * sysdeps/arm/nptl/bits/pthreadtypes.h
45727         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45728         * sysdeps/sh/nptl/bits/pthreadtypes.h
45729         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45730         * sysdeps/tile/nptl/bits/pthreadtypes.h
45731         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45732         * sysdeps/a/nptl/bits/pthreadtypes.h
45733         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45734         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
45735         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45736         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
45737         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45738         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
45739         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45740         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
45741         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45742         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
45743         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45744         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
45745         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45746         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
45747         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45748         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
45749         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45750         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
45751         (elision_init): Set try_xbegin to zero when no RTM.
45752         * sysdeps/x86/nptl/bits/pthreadtypes.h
45753         (pthread_rwlock_t): Change __pad1 to __rwelision.
45754         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45756 2014-06-13  Andi Kleen  <ak@linux.intel.com>
45758         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
45759         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
45760         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
45761         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
45763 2014-06-13  Meador Inge  <meadori@codesourcery.com>
45765         [BZ #16996]
45766         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
45767         that the cached result has been set before returning it.
45769 2014-06-12  Roland McGrath  <roland@hack.frob.com>
45771         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
45772         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
45773         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
45774         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
45775         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
45776         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
45778         * nptl/sysdeps/sparc/Makefile: Moved ...
45779         * sysdeps/sparc/nptl/Makefile: ... here.
45780         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
45781         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
45782         * nptl/sysdeps/sparc/tls.h: Moved ...
45783         * sysdeps/sparc/nptl/tls.h: ... here.
45784         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
45785         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
45786         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
45787         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
45788         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
45789         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
45790         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
45791         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
45792         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
45793         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
45794         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
45795         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
45796         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
45797         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
45798         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
45799         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
45800         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
45801         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
45802         Update #include.
45803         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
45804         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
45805         Update #include.
45806         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
45807         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
45808         Update #include.
45809         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
45810         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
45811         Update #include.
45813         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
45815         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
45816         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
45818         * sysdeps/pthread/posix-timer.h: Include <list.h>.
45819         (struct list_links): Type removed.
45820         (struct thread_node, struct timer_node): Replace struct list_links
45821         with struct list_head.
45822         (list_unlink_ip): Likewise.
45823         * sysdeps/pthread/timer_routines.c
45824         (timer_free_list, thread_free_list, thread_active_list): Likewise.
45825         (list_append, list_insbefore): Likewise.
45826         (list_init): Function removed.
45827         (thread_init, init_module): Use INIT_LIST_HEAD instead.
45828         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
45829         * sysdeps/pthread/Makefile: ... here, new file.
45831         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
45832         * sysdeps/nptl/Implies: ... here.
45833         * sysdeps/unix/sysv/linux/Implies: Add nptl.
45834         * nptl/sysdeps/pthread/list.h: Moved ...
45835         * include/list.h: ... here.
45836         * nptl/sysdeps/pthread/createthread.c: Moved ...
45837         * nptl/createthread.c: ... here.
45838         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
45839         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
45840         * nptl/pt-longjmp.c: ... here.
45841         * nptl/sysdeps/pthread/Makefile: Moved ...
45842         * sysdeps/nptl/Makefile: ... here.
45843         * nptl/sysdeps/pthread/Subdirs: Moved ...
45844         * sysdeps/nptl/Subdirs: ... here.
45845         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
45846         * sysdeps/nptl/aio_misc.h: ... here.
45847         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
45848         * sysdeps/nptl/bits/libc-lock.h: ... here.
45849         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
45850         * sysdeps/nptl/bits/libc-lockP.h: ... here.
45851         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
45852         * sysdeps/nptl/bits/stdio-lock.h: ... here.
45853         * nptl/sysdeps/pthread/configure: Moved ...
45854         * sysdeps/nptl/configure: ... here.
45855         * nptl/sysdeps/pthread/configure.ac: Moved ...
45856         * sysdeps/nptl/configure.ac: ... here.
45857         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
45858         * sysdeps/nptl/gai_misc.h: ... here.
45859         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
45860         * sysdeps/nptl/librt-cancellation.c: ... here.
45861         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
45862         * sysdeps/nptl/malloc-machine.h: ... here.
45863         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
45864         * sysdeps/nptl/pthread-functions.h: ... here.
45865         * nptl/sysdeps/pthread/pthread.h: Moved ...
45866         * sysdeps/nptl/pthread.h: ... here.
45867         * nptl/sysdeps/pthread/setxid.h: Moved ...
45868         * sysdeps/nptl/setxid.h: ... here.
45869         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
45870         * sysdeps/nptl/sigfillset.c: ... here.
45871         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
45872         * sysdeps/nptl/tcb-offsets.h: ... here.
45873         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
45874         * sysdeps/nptl/tst-mqueue8x.c: ... here.
45875         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
45876         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
45877         * nptl/sysdeps/pthread/allocalim.h: Moved ...
45878         * sysdeps/pthread/allocalim.h: ... here.
45879         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
45880         * sysdeps/pthread/bits/sigthread.h: ... here.
45881         * nptl/sysdeps/pthread/flockfile.c: Moved ...
45882         * sysdeps/pthread/flockfile.c: ... here.
45883         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
45884         * sysdeps/pthread/ftrylockfile.c: ... here.
45885         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
45886         * sysdeps/pthread/funlockfile.c: ... here.
45887         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
45888         * sysdeps/pthread/posix-timer.h: ... here.
45889         * nptl/sysdeps/pthread/timer_create.c: Moved ...
45890         * sysdeps/pthread/timer_create.c: ... here.
45891         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
45892         * sysdeps/pthread/timer_delete.c: ... here.
45893         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
45894         * sysdeps/pthread/timer_getoverr.c: ... here.
45895         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
45896         * sysdeps/pthread/timer_gettime.c: ... here.
45897         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
45898         * sysdeps/pthread/timer_routines.c: ... here.
45899         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
45900         * sysdeps/pthread/timer_settime.c: ... here.
45901         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
45902         * sysdeps/pthread/tst-timer.c: ... here.
45903         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
45904         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
45906         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
45907         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
45909         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
45910         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
45911         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
45912         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
45913         Update #include target.
45914         * nptl/sysdeps/i386/i686/Makefile: Moved ...
45915         * sysdeps/i386/i686/nptl/Makefile: ... here.
45916         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
45917         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
45918         Update #include target.
45919         * nptl/sysdeps/i386/i686/tls.h: Moved ...
45920         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
45921         * nptl/sysdeps/i386/Makefile: Moved ...
45922         * sysdeps/i386/nptl/Makefile: ... here.
45923         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
45924         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
45925         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
45926         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
45927         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
45928         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
45929         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
45930         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
45931         * sysdeps/i386/nptl/pthreaddef.h: ... here.
45932         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
45933         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
45934         * nptl/sysdeps/i386/tls.h: Moved ...
45935         * sysdeps/i386/nptl/tls.h: ... here.
45937         * sysdeps/sh/Makefile [$(subdir) = csu]
45938         (gen-as-const-headers): Add tcb-offsets.sym.
45939         * nptl/sysdeps/sh/Makefile: File removed.
45940         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
45941         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
45942         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
45943         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
45944         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
45945         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
45946         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
45947         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
45948         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
45949         * sysdeps/sh/nptl/pthreaddef.h: ... here.
45950         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
45951         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
45952         * nptl/sysdeps/sh/tls.h: Moved ...
45953         * sysdeps/sh/nptl/tls.h: ... here.
45954         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
45955         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
45956         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
45957         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
45958         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
45959         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
45960         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
45961         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
45962         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
45963         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
45964         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
45965         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
45966         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
45967         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
45968         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
45969         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
45970         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
45971         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
45972         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
45973         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
45974         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
45975         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
45976         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
45977         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
45978         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
45979         Moved ...
45980         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
45981         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
45982         Moved ...
45983         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
45984         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
45985         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
45986         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
45987         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
45988         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
45989         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
45990         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
45991         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
45992         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
45993         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
45994         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
45995         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
45996         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
45997         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
45998         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
45999         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
46000         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
46001         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
46003 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
46005         * posix/spawn_faction_addopen.c: Include string.h.
46007 2014-06-11  Roland McGrath  <roland@hack.frob.com>
46009         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
46010         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
46011         * nptl/sysdeps/x86_64/Makefile: Moved ...
46012         * sysdeps/x86_64/nptl/Makefile: ... here.
46013         * nptl/sysdeps/x86_64/configure: Moved ...
46014         * sysdeps/x86_64/nptl/configure: ... here.
46015         * nptl/sysdeps/x86_64/configure.ac: Moved ...
46016         * sysdeps/x86_64/nptl/configure.ac: ... here.
46017         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
46018         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
46019         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
46020         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
46021         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
46022         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
46023         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
46024         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
46025         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
46026         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
46027         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
46028         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
46029         * nptl/sysdeps/x86_64/tls.h: Moved ...
46030         * sysdeps/x86_64/nptl/tls.h: ... here.
46031         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
46032         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
46033         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
46034         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
46036         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
46038 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46042 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
46044         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
46045         type.
46046         [POSIX] (off_t): Likewise.
46047         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
46048         [POSIX] (S_ISBLK): Require macro.
46049         [POSIX] (S_ISCHR): Likewise.
46050         [POSIX] (S_ISDIR): Likewise.
46051         [POSIX] (S_ISFIFO): Likewise.
46052         [POSIX] (S_ISREG): Likewise.
46053         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
46054         optional-macro.
46055         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
46056         type.
46057         [POSIX] (time_t): Likewise.
46058         [POSIX] (timer_t): Likewise.
46060 2014-06-11  Florian Weimer  <fweimer@redhat.com>
46062         [BZ #17048]
46063         * posix/spawn_int.h (struct __spawn_action): Make the path string
46064         non-const to support deallocation.
46065         * posix/spawn_faction_addopen.c
46066         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
46067         * posix/spawn_faction_destroy.c
46068         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
46069         path in all spawn_do_open actions.
46070         * posix/tst-spawn.c (do_test): Exercise the copy operation in
46071         posix_spawn_file_actions_addopen.
46073 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
46075         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
46076         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
46077         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
46078         conditional code always true.
46079         (__libc_vfork): New alias.
46081 2014-06-11  Roland McGrath  <roland@hack.frob.com>
46083         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46084         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
46086         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
46088         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46089         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
46091         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46092         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
46094         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46095         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
46097 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46099         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
46100         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
46101         multiarch strcmp for PPC64.
46102         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
46103         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
46104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
46105         multiarch optimizations.
46106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46107         (__libc_ifunc_impl_list): Likewise.
46109 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46111         * benchtests/scripts/validate_benchout.py: New script.
46112         * benchtests/Makefile (bench-func): Call it.
46113         * benchtests/scripts/benchout.schema.json: New file.
46115 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
46117         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
46118         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
46119         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
46120         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
46121         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
46122         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
46123         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
46124         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
46125         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
46126         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
46127         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
46128         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
46129         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
46130         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
46131         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
46132         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
46133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
46134         Moved ...
46135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
46136         ... here.
46137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
46138         Moved ...
46139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
46140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
46141         Moved ...
46142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
46143         ... here.
46144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
46145         Moved ...
46146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
46147         ... here.
46148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
46149         Moved ...
46150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
46151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
46152         Moved ...
46153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
46154         ... here.
46155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
46156         Moved ...
46157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
46158         ... here.
46159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
46160         Moved ...
46161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
46162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
46163         Moved ...
46164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
46165         ... here.
46166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
46167         Moved ...
46168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
46169         ... here.
46170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
46171         Moved ...
46172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
46173         ... here.
46174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
46175         Moved ...
46176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
46177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
46178         Moved ...
46179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
46180         ... here.
46181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
46182         Moved ...
46183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
46184         ... here.
46185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
46186         Moved ...
46187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
46188         ... here.
46189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
46190         Moved ...
46191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
46192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
46193         Moved ...
46194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
46195         ... here.
46196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
46197         Moved ...
46198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
46199         ... here.
46200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
46201         Moved ...
46202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
46203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
46204         Moved ...
46205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
46206         ... here.
46207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
46208         Moved ...
46209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
46210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
46211         Moved ...
46212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
46213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
46214         Moved ...
46215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
46216         ... here.
46217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
46218         Moved ...
46219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
46220         ... here.
46221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
46222         Moved ...
46223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
46224         ... here.
46225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
46226         Moved ...
46227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
46228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
46229         Moved ...
46230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
46231         ... here.
46232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
46233         Moved ...
46234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
46235         ... here.
46236         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
46237         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
46238         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
46239         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
46240         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
46241         Moved ...
46242         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
46243         ... here.
46244         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
46245         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
46246         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
46247         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
46248         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
46249         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
46250         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
46251         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
46252         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
46253         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
46254         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
46255         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
46256         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
46257         Moved ...
46258         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
46259         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
46260         Moved ...
46261         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
46262         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
46263         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
46264         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
46265         Moved ...
46266         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
46267         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
46268         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
46269         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
46270         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
46271         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
46272         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
46274 2014-06-10  Wilco  <wdijkstr@arm.com>
46276         * math/test-fenv-return.c: New file.
46277         * math/Makefile: Add new test test-fenv-return.
46279 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
46281         [BZ #17042]
46282         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
46283         when x - 1 is zero.
46284         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
46285         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
46286         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
46287         0.0L for an argument of 1.0L.
46288         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
46289         Likewise.
46290         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
46291         value when x - 1 is zero.
46292         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
46293         * sysdeps/i386/fpu/libm-test-ulps: Update.
46294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46296 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
46298         [BZ #15119]
46299         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
46301 2014-06-09  Roland McGrath  <roland@hack.frob.com>
46303         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
46304         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
46306 2014-06-09  Roland McGrath  <roland@hack.frob.com>
46308         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46309         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
46311         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46312         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
46314         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46315         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
46317         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46318         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
46320         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
46321         if not already defined.
46322         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
46323         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
46324         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
46325         (TLS_INIT_TP): Use it.
46326         (TLS_DEFINE_INIT_TP): New macro.
46327         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
46329 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
46331         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
46332         constant.
46333         [POSIX] (IXANY): Likewise.
46334         [POSIX] (OLCUC): Likewise.
46335         [POSIX || POSIX2008] (CBAUD): Do not allow.
46336         [POSIX || POSIX2008] (DEFECHO): Likewise.
46337         [POSIX || POSIX2008] (ECHOCTL): Likewise.
46338         [POSIX || POSIX2008] (ECHOKE): Likewise.
46339         [POSIX || POSIX2008] (ECHOPRT): Likewise.
46340         [POSIX || POSIX2008] (EXTA): Likewise.
46341         [POSIX || POSIX2008] (EXTB): Likewise.
46342         [POSIX || POSIX2008] (FLUSHO): Likewise.
46343         [POSIX || POSIX2008] (LOBLK): Likewise.
46344         [POSIX || POSIX2008] (PENDIN): Likewise.
46345         [POSIX || POSIX2008] (SWTCH): Likewise.
46346         [POSIX || POSIX2008] (VDISCARD): Likewise.
46347         [POSIX || POSIX2008] (VDSUSP): Likewise.
46348         [POSIX || POSIX2008] (VLNEXT): Likewise.
46349         [POSIX || POSIX2008] (VREPRINT): Likewise.
46350         [POSIX || POSIX2008] (VSTATUS): Likewise.
46351         [POSIX || POSIX2008] (VWERASE): Likewise.
46352         (B*): Change to B[0123456789]*.
46353         * conform/data/time.h-data [POSIX || UNIX98]
46354         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
46355         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46356         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
46357         [POSIX] (tm_*): Do not allow.
46359 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
46361         * Makefile (install): Don't set LANGUAGE.
46362         * Makefile.in (install): Likewise.
46363         * assert/Makefile (test-assert-ENV): Remove variable.
46364         (test-assert-perr-ENV): Likewise.
46365         * elf/Makefile (neededtest4-ENV): Likewise.
46366         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46367         [$(cross-compiling) = no]: Don't set LANGUAGE.
46368         * io/ftwtest-sh (LANG): Remove variable.
46369         * libio/Makefile (tst-widetext-ENV): Likewise.
46370         * manual/install.texi (Running make install): Don't refer to
46371         environment settings for make install.
46372         * INSTALL: Regenerated.
46373         * nptl/tst-tls6.sh: Don't set LANG.
46374         * posix/globtest.sh (LANG): Remove variable.
46375         * string/Makefile (tester-ENV): Likewise.
46376         (inl-tester-ENV): Likewise.
46377         (noinl-tester-ENV): Likewise.
46378         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46379         [$(cross-compiling) = no]: Don't set LANGUAGE.
46380         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
46381         without explicit environment settings.
46383 2014-06-06  Roland McGrath  <roland@hack.frob.com>
46385         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
46386         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
46387         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
46388         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
46390 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
46392         * crypt/crypt-private.h [DOS]: Add some includes taken from the
46393         other files in the crypt directory.
46394         * crypt/crypt.c: Remove duplicate includes.
46395         * crypt/crypt-entry.c: Likewise.
46396         * crypt/crypt_util.c: Likewise.
46398 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
46400         * Makeconfig (run-program-env): New variable.
46401         (run-program-prefix-before-env): Likewise.
46402         (run-program-prefix-after-env): Likewise.
46403         (run-program-prefix): Define in terms of new variables.
46404         (built-program-cmd-before-env): New variable.
46405         (built-program-cmd-after-env): Likewise.
46406         (built-program-cmd): Define in terms of new variables.
46407         (test-program-prefix-before-env): New variable.
46408         (test-program-prefix-after-env): Likewise.
46409         (test-program-prefix): Define in terms of new variables.
46410         (test-program-cmd-before-env): New variable.
46411         (test-program-cmd-after-env): Likewise.
46412         (test-program-cmd): Define in terms of new variables.
46413         * Rules (make-test-out): Use $(run-program-env).
46414         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
46415         (help): Do not mention environment variables.  Mention
46416         --timeoutfactor option.
46417         (timeoutfactor): New variable.
46418         (blacklist_exports): Remove function.
46419         (exports): Remove variable.
46420         (command): Do not include ${exports}.
46421         * manual/install.texi (Configuring and compiling): Do not mention
46422         test wrappers preserving environment variables.  Mention that last
46423         assignment to a variable must take precedence.
46424         * INSTALL: Regenerated.
46425         * benchtests/Makefile (run-bench): Use $(run-program-env).
46426         * catgets/Makefile ($(objpfx)test1.cat): Use
46427         $(built-program-cmd-before-env), $(run-program-env) and
46428         $(built-program-cmd-after-env).
46429         ($(objpfx)test2.cat): Do not specify environment variables
46430         explicitly.
46431         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
46432         $(run-program-env) and $(built-program-cmd-after-env).
46433         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
46434         $(run-program-env) and $(test-program-cmd-after-env).
46435         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
46436         explicitly.
46437         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
46438         run_program_env and test_program_cmd_after_env arguments.
46439         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
46440         * elf/tst-pathopt.sh: Use run_program_env argument.
46441         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
46442         $(test-wrapper-env) and $(run-program-env).
46443         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
46444         run_program_env arguments.
46445         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
46446         * intl/Makefile ($(objpfx)tst-gettext.out): Use
46447         $(test-program-prefix-before-env), $(run-program-env) and
46448         $(test-program-prefix-after-env).
46449         ($(objpfx)tst-gettext2.out): Likewise.
46450         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
46451         run_program_env and test_program_prefix_after_env arguments.
46452         * intl/tst-gettext2.sh: Likewise.
46453         * intl/tst-gettext4.sh: Do not set environment variables
46454         explicitly.
46455         * intl/tst-gettext6.sh: Likewise.
46456         * intl/tst-translit.sh: Likewise.
46457         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
46458         $(test-program-prefix-before-env), $(run-program-env) and
46459         $(test-program-prefix-after-env).
46460         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
46461         run_program_env and test_program_prefix_after_env arguments.
46462         * math/Makefile (run-regen-ulps): Use $(run-program-env).
46463         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
46464         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
46465         explicitly with each use of ${test_wrapper_env}.
46466         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
46467         $(test-program-prefix-before-env), $(run-program-env) and
46468         $(test-program-prefix-after-env).
46469         * posix/tst-getconf.sh: Do not set environment variables
46470         explicitly.
46471         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
46472         run_program_env and test_program_prefix_after_env arguments.
46473         * stdio-common/tst-printf.sh: Do not set environment variables
46474         explicitly.
46475         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
46476         $(test-program-prefix-before-env), $(run-program-env) and
46477         $(test-program-prefix-after-env).
46478         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
46479         run_program_env and test_program_prefix_after_env arguments.
46480         Split $test calls into $test_pre and $test.
46481         * timezone/Makefile (build-testdata): Use
46482         $(built-program-cmd-before-env), $(run-program-env) and
46483         $(built-program-cmd-after-env).
46485 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46487         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
46488         strlen for non SHARED builds.
46490 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46492         * nptl/allocatestack.c (check_list): Inlined function...
46493         (__reclaim_stacks): ... here.
46495 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
46497         [BZ #15698]
46498         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46499         memory overrun.
46501 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
46503         * Rules (make-test-out): Include
46504         LOCPATH=$(common-objpfx)localedata in default environment.
46505         * debug/Makefile (tst-chk1-ENV): Remove variable.
46506         (tst-chk2-ENV): Likewise.
46507         (tst-chk3-ENV): Likewise.
46508         (tst-chk4-ENV): Likewise.
46509         (tst-chk5-ENV): Likewise.
46510         (tst-chk6-ENV): Likewise.
46511         (tst-lfschk1-ENV): Likewise.
46512         (tst-lfschk2-ENV): Likewise.
46513         (tst-lfschk3-ENV): Likewise.
46514         (tst-lfschk4-ENV): Likewise.
46515         (tst-lfschk5-ENV): Likewise.
46516         (tst-lfschk6-ENV): Likewise.
46517         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
46518         (tst-iconv7-ENV): Likewise.
46519         * intl/Makefile (LOCPATH-ENV): Likewise.
46520         (tst-codeset-ENV): Likewise.
46521         (tst-gettext3-ENV): Likewise.
46522         (tst-gettext5-ENV): Likewise.
46523         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
46524         (tst-fopenloc-ENV): Likewise.
46525         (tst-fgetws-ENV): Remove variable.
46526         (tst-ungetwc1-ENV): Likewise.
46527         (tst-ungetwc2-ENV): Likewise.
46528         (bug-ungetwc2-ENV): Likewise.
46529         (tst-swscanf-ENV): Likewise.
46530         (bug-ftell-ENV): Likewise.
46531         (tst-fgetwc-ENV): Likewise.
46532         (tst-fseek-ENV): Likewise.
46533         (tst-ftell-partial-wide-ENV): Likewise.
46534         (tst-ftell-active-handler-ENV): Likewise.
46535         (tst-ftell-append-ENV): Likewise.
46536         * posix/Makefile (tst-fnmatch-ENV): Likewise.
46537         (tst-regexloc-ENV): Likewise.
46538         (bug-regex1-ENV): Likewise.
46539         (tst-regex-ENV): Likewise.
46540         (tst-regex2-ENV): Likewise.
46541         (bug-regex5-ENV): Likewise.
46542         (bug-regex6-ENV): Likewise.
46543         (bug-regex17-ENV): Likewise.
46544         (bug-regex18-ENV): Likewise.
46545         (bug-regex19-ENV): Likewise.
46546         (bug-regex20-ENV): Likewise.
46547         (bug-regex22-ENV): Likewise.
46548         (bug-regex23-ENV): Likewise.
46549         (bug-regex25-ENV): Likewise.
46550         (bug-regex26-ENV): Likewise.
46551         (bug-regex30-ENV): Likewise.
46552         (bug-regex32-ENV): Likewise.
46553         (bug-regex33-ENV): Likewise.
46554         (bug-regex34-ENV): Likewise.
46555         (bug-regex35-ENV): Likewise.
46556         (tst-rxspencer-ENV): Likewise.
46557         (tst-rxspencer-no-utf8-ENV): Likewise.
46558         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
46559         (tst-sscanf-ENV): Likewise.
46560         (tst-swprintf-ENV): Likewise.
46561         (tst-swscanf-ENV): Likewise.
46562         (test-vfprintf-ENV): Likewise.
46563         (scanf13-ENV): Likewise.
46564         (bug14-ENV): Likewise.
46565         (tst-grouping-ENV): Likewise.
46566         * stdlib/Makefile (tst-strtod-ENV): Likewise.
46567         (tst-strtod3-ENV): Likewise.
46568         (tst-strtod4-ENV): Likewise.
46569         (tst-strtod5-ENV): Likewise.
46570         (testmb2-ENV): Likewise./
46571         * string/Makefile (tst-strxfrm-ENV): Likewise.
46572         (tst-strxfrm2-ENV): Likewise.
46573         (bug-strcoll1-ENV): Likewise.
46574         (test-strcasecmp-ENV): Likewise.
46575         (test-strncasecmp-ENV): Likewise.
46576         * time/Makefile (tst-strptime-ENV): Likewise.
46577         (tst-ftime_l-ENV): Likewise.
46578         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
46579         (tst-mbrtowc-ENV): Likewise.
46580         (tst-wcrtomb-ENV): Likewise.
46581         (tst-mbrtowc2-ENV): Likewise.
46582         (tst-c16c32-1-ENV): Likewise.
46583         (tst-mbsnrtowcs-ENV): Likewise.
46585 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
46587         * manual/resource.texi (How to get information about the memory
46588         subsystem?): Fix typo.
46589         Reported by Peon de la Parra Ivan <peon@keba.com>
46591 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
46593         [BZ #16882]
46594         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
46595         (pthread_spin_lock): Branch out of spin loop to proper location.
46596         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
46597         (pthread_spin_lock): Likewise.
46599         * nptl/tst-spin4.c: New test.
46600         * nptl/Makefile (tests): Add tst-spin4.
46602 2014-06-03  Andreas Schwab  <schwab@suse.de>
46604         [BZ #15946]
46605         * resolv/res_send.c (send_dg): Reload file descriptor after
46606         calling reopen.
46608 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
46610         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46612 2014-06-03  Richard Henderson  <rth@redhat.com>
46614         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
46615         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
46616         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
46617         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
46618         in the SAVE_PID block.
46619         (__libc_vfork): New alias.
46620         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
46622         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
46623         child in registers, not on the stack.  Remove RESET_PID conditionals.
46624         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
46626 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46628         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46630 2014-06-03  Wilco  <wdijkstr@arm.com>
46632         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
46633         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
46634         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
46635         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
46636         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
46637         Likewise.
46639 2014-06-03  Wilco  <wdijkstr@arm.com>
46641         * sysdeps/aarch64/fpu/math_private.h
46642         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
46643         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
46644         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
46645         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
46646         Fix declarations.
46648 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46650         * crypt/crypt-private.h: Include ufc-crypt.h.
46651         (__b64_from_24bit): Declare extern.
46652         * crypt/crypt_util.c(__b64_from_24bit): New function.
46653         (b64t): New static const variable.
46654         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
46655         (b64t): Remove variable.
46656         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
46657         * crypt/sha256-crypt.c: Include crypt-private.h.
46658         (b64t): Remove variable.
46659         (__sha256_crypt_r): Remove b64_from_24bit and replace
46660         with __b64_from_24bit.
46661         * crypt/sha512-crypt.c: Likewise.
46663 2014-06-02  Roland McGrath  <roland@hack.frob.com>
46665         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
46666         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
46667         Label the code __libc_vfork rather than __vfork.
46668         [!NOT_IN_libc] (vfork): Define as weak alias.
46669         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
46670         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
46671         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
46673 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46675         * malloc/malloc.c (malloc_info): Fix format specifier for
46676         n_mmaps.
46678 2014-06-02  Wilco  <wdijkstr@arm.com>
46680         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
46681         FPCR write.
46683 2014-06-02  Wilco  <wdijkstr@arm.com>
46685         [BZ #17009]
46686         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
46687         Rewrite to reduce FPCR/FPSR accesses.
46689 2014-06-01  David S. Miller  <davem@davemloft.net>
46691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46693 2014-05-31  David S. Miller  <davem@davemloft.net>
46695         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
46696         to occur in round to nearest mode when |x| >= 2.0
46698 2014-05-30  Richard Henderson  <rth@twiddle.net>
46700         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
46701         (PSEUDO_RET_NOERRNO): Remove.
46702         (ret): Don't redefine.
46703         (ret_NOERRNO): Define in terms of ret.
46704         (ret_ERRVAL): Likewise.
46706         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
46707         use of PSEUDO_RET; perform the error check directly.
46709 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
46711         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
46712         with __int128_t.
46714 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46716         * malloc/malloc (malloc_info): Fix formatting.
46718 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46719             Roland McGrath  <roland@hack.frob.com>
46721         * malloc/malloc (malloc_info): Also print mmapped statistics.
46723 2014-05-30  Roland McGrath  <roland@hack.frob.com>
46725         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
46726         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
46728 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
46730         * malloc/malloc.c (malloc_info): Inline mi_arena.
46732 2014-05-29  Richard Henderson  <rth@twiddle.net>
46734         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
46735         Remove comma before expanding ASM_ARGS_##nr.
46736         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
46737         Make _x0 a strict output; make _x8 a strict input; adjust expansion
46738         of ASM_ARGS_##nr.
46739         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
46740         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
46741         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
46742         (ASM_ARGS_1): Add leading comma.
46744         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
46745         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
46746         to __errno_location.
46747         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
46748         Remove the expected plt for __errno_location.
46750         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46751         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
46752         call to __read_tp.
46754         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46755         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
46756         it and break it down.
46757         (DOCARGS_0, DOCARGS_1): Do nothing.
46758         (DOCARGS_2): Update to store into the new stack frame.
46759         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
46760         (UNDOCARGS_1): Update to restore from the new stack frame.
46761         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
46762         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
46764         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46765         (SINGLE_THREAD_P): New parameter for result regno.
46766         (PSEUDO): Update to match; use cbz instead of beq.
46768         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46769         Use ENTRY to define the _nocancel entry point.  Share the syscall
46770         and syscall error check paths with the cancel path.
46771         (PSEUDO_END): New.
46773         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
46774         whitespace; tabs before and after asm mnemonics.
46776 2014-05-29  Eric Wong  <normalperson@yhbt.net>
46778         [BZ #15132]
46779         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46780         Call fstat64 or stat64 internally, depending on arguments passed.
46781         Replace stat buffer argument with file descriptor argument.
46782         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
46783         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
46784         Pass fd to __internal_statvfs instead of calling fstat64.
46785         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
46786         Pass fd to __internal_statvfs64 instead of calling fstat64.
46787         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
46788         Pass -1 to __internal_statvfs instead of calling stat64.
46789         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
46790         Pass -1 to __internal_statvfs64 instead of calling stat64.
46792 2014-05-28  Roland McGrath  <roland@hack.frob.com>
46794         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
46795         that was previously under [RESET_PID].
46796         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
46798         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
46799         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
46801 2014-05-27  Roland McGrath  <roland@hack.frob.com>
46803         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
46805         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
46806         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
46808 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
46810         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
46812 2014-05-27  Andreas Schwab  <schwab@suse.de>
46814         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
46815         TLS_INIT_TP macro.
46816         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
46817         * elf/rtld.c (init_tls, dl_main): Likewise.
46818         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
46819         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
46820         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
46821         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
46822         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
46823         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
46824         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
46825         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
46826         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
46827         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
46828         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
46829         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
46830         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
46831         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
46832         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
46833         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
46834         * sysdeps/generic/tls.h: Update description.
46836 2014-05-27  Will Newton  <will.newton@linaro.org>
46838         [BZ #16990]
46839         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
46840         and restore r2 rather than just restoring.
46842 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46844         [BZ #16724]
46845         * libio/tst-ftell-append.c: New test case.
46846         * libio/Makefile (tests): Add test case.
46847         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
46848         append mode.
46849         * libio/wfileops.c (do_ftell_wide): Likewise.
46851 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46855         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
46856         ...
46857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
46858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46859         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
46860         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
46861         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
46862         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
46863         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
46864         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
46865         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
46866         Moved ...
46867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
46868         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
46869         Moved ...
46870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
46871         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
46872         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
46873         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
46874         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
46875         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
46876         ...
46877         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
46878         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
46879         Moved ...
46880         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
46881         here.
46882         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
46883         ...
46884         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
46885         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
46886         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
46888         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
46889         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
46890         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
46891         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
46893         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
46894         merge into ...
46895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
46896         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
46897         ...
46898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
46899         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
46900         ...
46901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
46902         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46903         Moved ...
46904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
46905         here.
46906         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46907         Moved ...
46908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
46909         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46910         Moved ...
46911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
46913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
46914         conditional [RESET_PID].
46915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
46916         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
46917         removed.
46918         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
46919         removed.
46921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
46922         <tcb-offsets.h>.
46923         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46924         (__libc_vfork): New strong alias.
46925         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
46926         removed.
46927         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
46928         Removed.
46930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
46931         <tcb-offsets.h>.
46932         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
46933         (__libc_vfork): New strong alias.
46934         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
46935         removed.
46936         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
46937         removed.
46939 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
46941         * malloc/malloc.c (mi_arena): New function.
46942         (malloc_info): Remove nested function mi_arena. Call non-nosted
46943         function mi_arena.
46945 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46947         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
46948         by insrwi.
46949         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
46950         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
46951         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
46952         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
46953         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
46954         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
46955         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
46957 2014-05-26  Andreas Schwab  <schwab@suse.de>
46959         [BZ #16984]
46960         * locale/programs/repertoire.c (repertoire_read): Add slash
46961         between I18NPATH element and file name.
46962         * locale/programs/locfile.c (locfile_read): Likewise.
46964 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
46966         * nptl/pthread_mutexattr_settype.c
46967         (__pthread_mutexattr_settype):
46968         Disable lock elision for PTHREAD_MUTEX_NORMAL.
46970 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
46972         * nptl/tst-mutex5 (do_test):
46973         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
46975 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46977         * benchtests/README: Document 'init' directive.
46978         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
46979         BENCH_INIT.
46980         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
46981         (parse_file): Recognize 'init' directive.
46983 2014-05-26  Kyle McMartin  <kyle@redhat.com>
46985         [BZ #16796]
46986         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
46987         alignment of struct pthread.
46989 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46991         [BZ #16878]
46992         * nscd/netgroupcache.c (addgetnetgrentX): Look for
46993         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
46994         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
46995         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
46997 2014-05-25  Richard Henderson  <rth@twiddle.net>
46999         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47000         (SINGLE_THREAD_P_PIC): Remove.
47001         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
47002         (SINGLE_THREAD_P_PIC): Remove.
47004         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
47005         branch to syscall error ...
47006         (PSEUDO): ... here.
47007         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
47008         from __local_syscall_error to .Lsyscall_error.
47009         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
47010         (SYSCALL_ERROR): Update label name.
47012         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47013         Do not use DOARGS/UNDOARGS.
47014         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
47015         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
47016         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
47017         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
47018         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
47020         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
47021         block comment.
47023         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
47024         define if !NOT_IN_libc.
47025         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
47026         define with non-default symbol versions.
47028 2014-05-23  Richard Henderson  <rth@twiddle.net>
47030         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
47031         (vfork, __vfork): Define via compat_symbol.
47033         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
47034         [!HAVE_IFUNC] (vfork_compat): Remove.
47035         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
47037 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
47039         [BZ #16978]
47040         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
47041         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
47042         variable.
47044 2014-05-23  Richard Henderson  <rth@twiddle.net>
47046         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
47047         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
47048         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
47049         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
47051         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
47052         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
47053         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
47054         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
47055         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
47056         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
47057         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
47058         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
47059         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
47060         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
47061         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
47062         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
47063         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
47064         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
47065         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
47066         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
47067         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
47068         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
47069         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
47070         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
47071         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
47072         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
47073         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
47074         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
47075         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
47076         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
47077         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
47078         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
47079         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
47080         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
47081         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
47082         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
47083         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
47084         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
47085         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
47086         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
47087         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
47088         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
47089         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
47090         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
47091         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
47092         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
47093         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
47094         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
47095         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
47096         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
47097         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
47098         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
47099         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
47100         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
47101         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
47102         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
47103         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
47104         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
47105         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
47106         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
47108         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
47109         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
47110         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
47111         before exiting on error.
47112         (__libc_vfork): New strong alias.
47113         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
47114         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
47116         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
47117         that was previously under [RESET_PID].
47118         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
47120         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
47122 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
47124         [BZ #16977]
47125         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
47126         value when x - 1 is zero.
47127         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
47128         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
47129         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
47130         0.0L for an argument of 1.0L.
47131         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
47132         Likewise.
47133         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
47134         value when x - 1 is zero.
47135         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
47136         * sysdeps/i386/fpu/libm-test-ulps: Update.
47137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47139 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
47141         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
47142         alphasort and versionsort.
47144 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47146         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
47147         macro.
47148         [copysignf]: Likewise.
47150 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47152         * crypt/md5-crypt.c: Fix formatting.
47154 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
47156         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
47157         (b64_from_24bit): New function.
47159 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47161         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
47162         libc_hidden_builtin_def to ifunc.
47163         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47164         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
47166 2014-05-21  Roland McGrath  <roland@hack.frob.com>
47168         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
47169         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
47171 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
47173         * nscd/Depend (linuxthreads): Remove.
47174         (nptl): Add.
47175         * resolv/Depend (linuxthreads): Remove.
47176         * rt/Depend (linuxthreads): Remove.
47178         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
47179         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
47180         $(common-objpfx)elf/.
47181         (link-libc-before-gnulib): Likewise.
47182         (elfobjdir): Remove variable.
47183         * Makefile (install): Use $(elf-objpfx) instead of
47184         $(common-objpfx)elf/.
47185         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
47186         $(elfobjdir)/.
47187         (link-libc-deps): Likewise.
47188         ($(common-objpfx)libc.so): Likewise.
47189         ($(common-objpfx)linkobj/libc.so): Likewise.
47190         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
47191         instead of $(common-objpfx)elf/.
47192         (symbolic-link-list): Likewise.
47193         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47194         [$(cross-compiling) = no]: Likewise.
47195         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
47196         $(elfobjdir)/.
47197         (static-gnulib-arch): Likewise.
47198         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47199         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
47200         $(common-objpfx)elf/.
47202 2014-05-21  Richard Henderson  <rth@redhat.com>
47204         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47205         (SINGLE_THREAD_P): Use the correct width load.  Fold
47206         into the ldr offset.
47208         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
47209         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
47211 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
47213         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
47214         (libgcc_s_resume): Use __attribute_used__.
47215         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
47216         Likewise.
47218 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47220         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
47221         optimization when used with float constants.
47223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47225 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
47227         [BZ #16915]
47228         * locale/nl_langinfo_l.c: Make direct reference to every
47229         _nl_current_CATEGORY symbol.
47230         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
47231         (tests-static): Add tst-langinfo-static.
47232         (tests-special): Add tst-langinfo-static.out.
47233         ($(objpfx)tst-langinfo.out): Redirect output.
47234         ($(objpfx)tst-langinfo-static.out): New.
47235         * localedata/tst-langinfo.sh: Send output to stdout.
47236         * localedata/tst-langinfo-static.c: New file.
47238         [BZ #16965]
47239         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
47240         when the shift amount is modulo the limb size.
47242 2014-05-20  Richard Henderson  <rth@redhat.com>
47244         [BZ #16967]
47245         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
47246         Change type of sa_flags from unsigned int to int.
47248         [BZ #16966]
47249         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
47251         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
47253 2014-05-20  Will Newton  <will.newton@linaro.org>
47255         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47256         Test the return value of the system call in the nocancel case.
47258 2014-05-20  Will Newton  <will.newton@linaro.org>
47259             Yvan Roux  <yvan.roux@linaro.org>
47261         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
47262         #include of asm/ptrace.h.
47263         (PTRACE_GET_THREAD_AREA): Remove #undef.
47264         (PTRACE_GETHBPREGS): Likewise.
47265         (PTRACE_SETHBPREGS): Likewise.
47266         (struct user_regs_struct): New structure.
47267         (struct user_fpsimd_struct): New structure.
47268         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
47269         #include of asm/ptrace.h and second #include of sys/user.h.
47270         (PTRACE_GET_THREAD_AREA): Remove #undef.
47271         (PTRACE_GETHBPREGS): Likewise.
47272         (PTRACE_SETHBPREGS): Likewise.
47273         (ELF_NGREG): Use new struct user_regs_struct.
47274         (elf_fpregset_t): Use new struct user_fpsimd_struct.
47276 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47278         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
47279         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
47281 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
47283         [BZ #16958]
47284         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
47285         membar to avoid block loads/stores to overlap previous stores.
47287 2014-05-17  Richard Henderson  <rth@redhat.com>
47289         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
47290         Create the __##syscall_name##_nocancel entry point.
47291         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
47292         Remove; let the sysdep-cancel.h code create it.
47294 2014-05-17  David S. Miller  <davem@davemloft.net>
47296         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
47297         Protect with __USE_GNU.
47298         (TIOCSET_TEMPT): Likewise.
47299         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47300         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
47301         these are already provided in bits/ioctl-types.h
47303 2014-05-16  Roland McGrath  <roland@hack.frob.com>
47305         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
47306         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
47308         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
47309         Use wait4 regardless of [__NR_waitpid].
47311 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47313         PR libgcc/60166
47314         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47315         (_FP_NANSIGN_Q): Set the quiet bit.
47317 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
47319         * benchtests/Makefile
47320         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
47321         not $(common-objpfx)math/libm.so.
47322         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
47323         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
47324         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
47325         $(common-objpfx)dlfcn/libdl.so.
47326         ($(objpfx)tst-audit8): Depend on $(libm), not
47327         $(common-objpfx)math/libm.so.
47328         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
47329         not $(common-objpfx)dlfcn/libdl.so.
47330         * math/Makefile
47331         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47332         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
47333         [$(build-shared) = yes].
47334         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
47335         $(common-objpfx)nptl/libpthread.so.
47336         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
47337         $(common-objpfx)math/libm.so$(libm.so-version) or
47338         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
47339         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
47340         $(common-objpfx)dlfcn/libdl.so.
47341         * setjmp/Makefile (link-libm): Remove variable.
47342         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
47343         * stdio-common/Makefile (link-libm): Remove variable.
47344         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
47345         * stdlib/Makefile (link-libm): Remove variable.
47346         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
47347         ($(objpfx)tst-strtod-round): Likewise.
47348         ($(objpfx)tst-tininess): Likewise.
47349         ($(objpfx)tst-strtod-underflow): Likewise.
47350         ($(objpfx)tst-strtod6): Likewise.
47351         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
47352         $(libdl), not $(common-objpfx)nptl/libpthread.so and
47353         $(common-objpfx)dlfcn/libdl.so.
47355 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47357         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
47358         BSD terminal modes definitions.
47360 2014-05-16  Roland McGrath  <roland@hack.frob.com>
47362         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
47363         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
47365         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
47366         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
47367         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
47368         Don't do #include_next.
47369         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
47370         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
47371         Don't do #include_next.
47372         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
47373         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
47374         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
47375         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
47377 2014-05-16  Allan McRae  <allan@archlinux.org>
47379         * po/sv.po: Update Swedish translation from translation project.
47381         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
47382         in sed expression.
47384 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
47386         [BZ #16917]
47387         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
47388         errno if the TIOCGPTN ioctl fails with an error different than
47389         EINVAL.
47390         * login/tst-ptsname.c: New file.
47391         * login/Makefile (tests): Add tst-ptsname.
47393         [BZ #16943]
47394         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
47395         and prlimit64.
47397 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47399         [BZ #16849]
47400         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
47401         herrno to return EAI_AGAIN.
47403 2014-05-14  Roland McGrath  <roland@hack.frob.com>
47405         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
47406         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
47407         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
47408         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
47409         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
47410         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
47411         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
47412         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
47413         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
47414         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
47415         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
47416         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
47417         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
47418         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
47419         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
47420         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
47421         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
47422         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
47423         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
47424         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
47425         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
47426         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
47427         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
47428         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
47429         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
47430         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
47431         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
47432         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
47433         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
47434         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
47435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
47436         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
47437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
47438         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
47439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47440         Moved ...
47441         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
47442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
47443         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
47444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
47445         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
47446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
47447         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
47448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
47449         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
47450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
47451         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
47452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
47453         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
47454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
47455         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
47456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
47457         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
47458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
47459         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
47460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
47461         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
47462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
47463         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
47464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
47465         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
47466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
47467         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
47468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47469         Moved ...
47470         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
47471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
47472         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
47473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
47474         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
47475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
47476         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
47477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
47478         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
47479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
47480         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
47481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
47482         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
47483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
47484         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
47485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
47486         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
47487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
47488         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
47489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47490         Moved ...
47491         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
47492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
47493         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
47495         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
47496         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
47497         (libpthread-sysdep_routines): Add elision-related stuff here instead.
47498         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
47499         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
47500         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
47501         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
47502         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
47503         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
47504         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
47505         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
47506         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
47507         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
47508         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
47509         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
47510         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
47511         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
47512         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
47513         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
47514         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
47515         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
47516         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
47517         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
47518         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
47519         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
47520         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
47521         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
47522         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
47523         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
47524         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
47525         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
47527         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
47528         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
47530         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
47531         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
47532         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
47533         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
47534         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
47535         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
47536         Moved ...
47537         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
47538         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
47539         Moved ...
47540         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
47541         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
47542         Moved ...
47543         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
47544         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
47545         Moved ...
47546         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
47547         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
47548         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
47549         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
47550         Moved ...
47551         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
47552         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
47553         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
47554         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
47555         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
47556         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
47557         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
47558         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
47559         Moved ...
47560         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
47561         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
47562         Moved ...
47563         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
47564         ... here.
47565         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
47566         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
47567         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
47568         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
47569         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
47570         Moved ...
47571         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
47572         ... here.
47573         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
47574         Moved ...
47575         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
47576         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
47577         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
47578         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
47579         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
47580         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
47581         Moved ...
47582         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
47583         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
47584         Moved ...
47585         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
47586         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
47587         Moved ...
47588         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
47589         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
47590         Moved ...
47591         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
47592         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
47593         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
47594         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
47595         Moved ...
47596         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
47597         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
47598         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
47599         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
47600         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
47601         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
47602         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
47603         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
47604         Moved ...
47605         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
47606         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
47607         Moved ...
47608         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
47609         ... here.
47610         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
47611         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
47612         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
47613         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
47614         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
47615         Moved ...
47616         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
47617         ... here.
47618         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
47619         Moved ...
47620         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
47621         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
47622         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
47623         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
47624         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
47625         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
47626         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
47627         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
47628         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
47629         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
47630         Moved ...
47631         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
47632         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
47633         Moved ...
47634         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
47635         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
47636         Moved ...
47637         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
47638         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
47639         Moved ...
47640         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
47641         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
47642         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
47643         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
47644         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
47645         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
47646         Moved ...
47647         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
47648         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
47649         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
47650         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
47651         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
47652         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
47653         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
47654         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
47655         Moved ...
47656         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
47657         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
47658         Moved ...
47659         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
47660         ... here.
47661         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
47662         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
47663         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
47664         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
47665         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
47666         Moved ...
47667         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
47668         ... here.
47669         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
47670         Moved ...
47671         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
47672         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
47673         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
47674         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
47675         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
47676         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
47677         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
47678         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
47679         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
47680         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
47681         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
47683         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
47684         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
47686         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
47687         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
47689         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
47690         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
47691         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
47692         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
47693         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
47694         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
47695         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
47696         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
47697         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
47698         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
47699         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
47700         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
47701         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
47702         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
47703         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
47704         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
47705         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
47706         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
47707         Moved ...
47708         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
47709         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
47710         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
47711         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
47712         Moved ...
47713         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
47714         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
47715         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
47716         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
47717         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
47718         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
47719         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
47720         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
47721         Moved ...
47722         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
47723         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
47724         Moved ...
47725         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
47726         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
47727         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
47728         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
47729         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
47730         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
47731         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
47732         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
47733         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
47734         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
47735         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
47736         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
47737         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
47738         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
47739         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
47740         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
47741         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
47743         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
47744         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
47745         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
47746         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
47747         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
47749         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
47750         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
47751         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
47752         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
47753         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
47754         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
47755         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
47756         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
47757         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
47758         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
47760         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
47761         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
47763         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
47764         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
47765         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
47766         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
47767         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
47768         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
47769         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
47770         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
47771         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
47772         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
47773         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
47774         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
47775         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
47776         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
47777         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
47778         Update #include.
47779         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
47780         Likewise.
47781         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
47782         Likewise.
47783         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
47784         Likewise.
47785         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
47786         Likewise.
47787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
47788         Likewise.
47789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
47790         Likewise.
47791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
47792         Likewise.
47793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
47794         Likewise.
47795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
47796         Likewise.
47797         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
47798         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
47799         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
47800         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
47801         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
47802         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
47803         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
47804         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
47805         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
47806         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
47807         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
47808         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
47809         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
47810         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
47811         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
47813         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
47814         that was previously under [RESET_PID].
47815         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47816         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
47817         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
47819         * sysdeps/i386/nptl/Implies: New file.
47820         * sysdeps/x86_64/nptl/Implies: New file.
47821         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
47822         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
47823         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
47824         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
47826         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
47827         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47828         (__libc_vfork): New strong alias.
47829         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
47830         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
47832         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
47833         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47834         (__libc_vfork): New strong alias.
47835         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
47836         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
47838         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
47839         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47840         (__libc_vfork): New strong alias.
47841         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
47842         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
47843         * nptl/pt-vfork.c: New file.
47844         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
47845         (libpthread: GLIBC_2.20): New version set (empty).
47847 2014-05-14  Will Newton  <will.newton@linaro.org>
47849         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
47850         rather than #if.
47852 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
47854         [BZ #16564]
47855         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
47856         arguments with exponent 65 or above.
47857         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
47858         arguments 0x1p113L or above.
47859         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
47860         to arguments 0x1p107L or above.
47861         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
47862         positive arguments with exponent 65 or above.
47863         * math/auto-libm-test-in: Add more tests of log1p.
47864         * math/auto-libm-test-out: Regenerated.
47866         [BZ #16928]
47867         * math/s_cacos.c (__cacos): Ensure zero real part of result from
47868         non-finite arguments is +0.
47869         * math/s_cacosf.c (__cacosf): Likewise.
47870         * math/s_cacosl.c (__cacosl): Likewise.
47871         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
47872         * sysdeps/i386/fpu/libm-test-ulps: Update.
47873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47875         [BZ #16927]
47876         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
47877         value.
47878         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
47879         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
47880         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
47881         for explicit high bit of mantissa when testing for argument equal
47882         to 1.
47883         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
47884         * sysdeps/i386/fpu/libm-test-ulps: Update.
47885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47887         [BZ #16516]
47888         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
47889         (__erf): Scale by 16 instead of 8 in potentially underflowing
47890         case.  Ensure exception if result actually underflows.
47891         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
47892         (__erff): Scale by 16 instead of 8 in potentially underflowing
47893         case.  Ensure exception if result actually underflows.
47894         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
47895         (efx8): Remove variable.
47896         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47897         case.  Ensure exception if result actually underflows.
47898         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
47899         (efx8): Remove variable.
47900         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47901         case.  Ensure exception if result actually underflows.
47902         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
47903         (efx8): Remove variable.
47904         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47905         case.  Ensure exception if result actually underflows.
47906         * math/auto-libm-test-in: Add more tests of erf.
47907         * math/auto-libm-test-out: Regenerated.
47909 2014-05-14  Andreas Schwab  <schwab@suse.de>
47911         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
47912         Remove code conditionalized on USE___THREAD.
47914         * config.h.in (HAVE_PT_CHOWN): Define as 0.
47915         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
47916         not definedness.
47918 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
47920         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
47921         Define unconditionally.
47922         (__ASSUME_O_CLOEXEC): Likewise.
47923         (__ASSUME_SOCK_CLOEXEC): Likewise.
47924         (__ASSUME_IN_NONBLOCK): Likewise.
47925         (__ASSUME_PIPE2): Likewise.
47926         (__ASSUME_EVENTFD2): Likewise.
47927         (__ASSUME_SIGNALFD4): Likewise.
47928         (__ASSUME_DUP3): Likewise.
47929         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47930         (__ASSUME_DUP3): Do not define.
47931         (__ASSUME_EVENTFD2): Likewise.
47932         (__ASSUME_IN_NONBLOCK): Likewise.
47933         (__ASSUME_O_CLOEXEC): Likewise.
47934         (__ASSUME_PIPE2): Likewise.
47935         (__ASSUME_SIGNALFD4): Likewise.
47936         (__ASSUME_SOCK_CLOEXEC): Likewise.
47937         (__ASSUME_UTIMES): Undefine.
47938         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47939         (__ASSUME_UTIMES): Do not define.
47940         (__ASSUME_O_CLOEXEC): Likewise.
47941         (__ASSUME_SOCK_CLOEXEC): Likewise.
47942         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
47943         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
47944         0x020621].
47945         (__ASSUME_PIPE2): Likewise.
47946         (__ASSUME_EVENTFD2): Likewise.
47947         (__ASSUME_SIGNALFD4): Likewise.
47948         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
47949         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
47950         Do not define.
47951         (__ASSUME_EVENTFD2): Likewise.
47952         (__ASSUME_SIGNALFD4): Likewise.
47953         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
47954         (__ASSUME_32BITUIDS): Likewise.
47955         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47956         (__ASSUME_IPC64): Likewise.
47957         (__ASSUME_ST_INO_64_BIT): Likewise.
47958         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
47959         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
47960         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47961         (__ASSUME_UTIMES): Do not define.
47962         (__ASSUME_PSELECT): Likewise.
47963         (__ASSUME_PPOLL): Likewise.
47964         (__ASSUME_O_CLOEXEC): Likewise.
47965         (__ASSUME_SOCK_CLOEXEC): Likewise.
47966         (__ASSUME_IN_NONBLOCK): Likewise.
47967         (__ASSUME_PIPE2): Likewise.
47968         (__ASSUME_EVENTFD2): Likewise.
47969         (__ASSUME_SIGNALFD4): Likewise.
47970         (__ASSUME_DUP3): Likewise.
47971         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47972         (__ASSUME_UTIMES): Likewise.
47973         (__ASSUME_O_CLOEXEC): Likewise.
47974         (__ASSUME_SOCK_CLOEXEC): Likewise.
47975         (__ASSUME_IN_NONBLOCK): Likewise.
47976         (__ASSUME_PIPE2): Likewise.
47977         (__ASSUME_EVENTFD2): Likewise.
47978         (__ASSUME_SIGNALFD4): Likewise.
47979         (__ASSUME_DUP3): Likewise.
47980         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47981         (__ASSUME_UTIMES): Likewise.
47982         (__ASSUME_O_CLOEXEC): Likewise.
47983         (__ASSUME_SOCK_CLOEXEC): Likewise.
47984         (__ASSUME_IN_NONBLOCK): Likewise.
47985         (__ASSUME_PIPE2): Likewise.
47986         (__ASSUME_EVENTFD2): Likewise.
47987         (__ASSUME_SIGNALFD4): Likewise.
47988         (__ASSUME_DUP3): Likewise.
47989         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
47990         Likewise.
47991         (__ASSUME_UTIMES): Likewise.
47992         (__ASSUME_EVENTFD2): Likewise.
47993         (__ASSUME_SIGNALFD4): Likewise.
47994         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47995         (__ASSUME_O_CLOEXEC): Likewise.
47996         (__ASSUME_SOCK_CLOEXEC): Likewise.
47997         (__ASSUME_IN_NONBLOCK): Likewise.
47998         (__ASSUME_PIPE2): Likewise.
47999         (__ASSUME_EVENTFD2): Likewise.
48000         (__ASSUME_SIGNALFD4): Likewise.
48001         (__ASSUME_DUP3): Likewise.
48002         (__ASSUME_UTIMES): Undefine.
48004         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
48005         feclearexcept.  Remove symbol versioning code.
48006         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
48007         symbol versioning code.
48008         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
48009         symbol versioning code.
48010         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
48011         feupdateenv.  Remove symbol versioning code.
48012         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
48013         fegetexceptflag.  Remove symbol versioning code.
48014         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
48015         fesetexceptflag.  Remove symbol versioning code.
48016         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
48017         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
48018         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
48019         (__posix_fadvise64_l32): Remove prototype.
48020         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
48021         code.
48023 2014-05-13  Roland McGrath  <roland@hack.frob.com>
48025         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
48026         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
48027         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
48028         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
48030 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
48032         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
48033         current working directory
48035 2014-05-13  Roland McGrath  <roland@hack.frob.com>
48037         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
48038         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
48039         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
48040         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
48041         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
48042         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
48043         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
48044         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
48045         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
48046         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
48047         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
48048         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
48049         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
48050         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
48051         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
48052         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
48053         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
48054         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
48055         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
48056         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
48057         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
48058         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
48059         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
48060         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
48061         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
48062         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
48063         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
48064         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
48065         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
48066         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
48067         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
48068         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
48069         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
48070         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
48071         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
48072         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
48073         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
48074         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
48075         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
48076         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
48077         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
48078         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
48080         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
48081         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
48083         * sysdeps/unix/sysv/linux/arm/Makefile
48084         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
48085         Add rt-aeabi_unwind_cpp_pr1.
48086         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
48087         Add nptl-aeabi_unwind_cpp_pr1.
48088         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
48089         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
48090         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
48091         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48092         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
48093         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48095         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
48096         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
48097         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
48098         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
48100         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
48101         Deconditionalize the code that was previously under [RESET_PID].
48102         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
48104         * sysdeps/generic/exit-thread.h: New file.
48105         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
48106         * include/unistd.h (__exit_thread): Remove declaration.
48107         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
48108         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
48109         * csu/libc-start.c: Include <exit-thread.h>.
48110         (LIBC_START_MAIN): Pass no argument to __exit_thread.
48111         * nptl/pthread_create.c: Include <exit-thread.h>.
48112         (start_thread): Call __exit_thread in place of __exit_thread_inline.
48113         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
48114         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
48115         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
48116         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
48117         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
48118         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
48119         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
48120         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
48121         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
48122         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
48123         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
48124         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
48125         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
48126         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
48127         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
48128         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
48130 2014-05-13  Andreas Schwab  <schwab@suse.de>
48132         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
48134 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
48136         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
48137         (__ASSUME_UTIMES): Do not condition on kernel version.
48138         (__ASSUME_PSELECT): Define unconditionally.
48139         (__ASSUME_PPOLL): Likewise.
48140         (__ASSUME_ATFCTS): Likewise.
48141         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
48142         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
48143         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
48144         (__ASSUME_UTIMENSAT): Define unconditionally.
48145         (__ASSUME_PRIVATE_FUTEX): Likewise.
48146         (__ASSUME_FALLOCATE): Likewise.
48147         (__ASSUME_O_CLOEXEC): Likewise.
48148         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
48149         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
48150         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
48151         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
48152         (__ASSUME_IN_NONBLOCK): Likewise.
48153         (__ASSUME_PIPE2): Likewise.
48154         (__ASSUME_EVENTFD2): Likewise.
48155         (__ASSUME_SIGNALFD4): Likewise.
48156         (__ASSUME_DUP3): Likewise.
48157         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48158         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
48159         (__ASSUME_AT_RANDOM): Likewise.
48160         (__ASSUME_PREADV): Likewise.
48161         (__ASSUME_PWRITEV): Likewise.
48162         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
48163         (__ASSUME_F_GETOWN_EX): Define unconditionally.
48164         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
48165         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48166         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
48167         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48168         (__ASSUME_O_CLOEXEC): Define unconditionally.
48169         (__ASSUME_PSELECT): Do not undefine conditionally.
48170         (__ASSUME_PPOLL): Likewise.
48171         (__ASSUME_ATFCTS): Likewise.
48172         (__ASSUME_SET_ROBUST_LIST): Likewise.
48173         (__ASSUME_UTIMENSAT): Likewise.
48174         (__ASSUME_FDATASYNC): Define unconditionally.
48175         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48176         (__ASSUME_SIGFRAME_V2): Likewise.
48177         )__ASSUME_EVENTFD2): Likewise.
48178         (__ASSUME_SIGNALFD4): Likewise.
48179         (__ASSUME_PSELECT): Do not undefine conditionally.
48180         (__ASSUME_PPOLL): Likewise.
48181         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48182         (__ASSUME_PSELECT): Define unconditionally.
48183         (__ASSUME_PPOLL): Likewise.
48184         (__ASSUME_O_CLOEXEC): Likewise.
48185         (__ASSUME_SOCK_CLOEXEC): Likewise.
48186         (__ASSUME_IN_NONBLOCK): Likewise.
48187         (__ASSUME_PIPE2): Likewise.
48188         (__ASSUME_EVENTFD2): Likewise.
48189         (__ASSUME_SIGNALFD4): Likewise.
48190         (__ASSUME_DUP3): Likewise.
48191         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48192         (__ASSUME_O_CLOEXEC): Likewise.
48193         (__ASSUME_SOCK_CLOEXEC): Likewise.
48194         (__ASSUME_IN_NONBLOCK): Likewise.
48195         (__ASSUME_PIPE2): Likewise.
48196         (__ASSUME_EVENTFD2): Likewise.
48197         (__ASSUME_SIGNALFD4): Likewise.
48198         (__ASSUME_DUP3): Likewise.
48199         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48200         (__ASSUME_EVENTFD2): Likewise.
48201         (__ASSUME_SIGNALFD4): Likewise.
48202         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48204 2014-05-12  Andreas Schwab  <schwab@suse.de>
48206         [BZ #16932]
48207         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
48208         (_nss_nis_gethostbyname4_r): Return error if item length is larger
48209         than maximum RPC packet size.
48210         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
48211         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
48212         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
48213         (_nss_nis_getservbyport_r): Likewise.
48215 2014-05-12  Will Newton  <will.newton@linaro.org>
48217         * malloc/Makefile (tests): Add tst-mallopt.
48218         * malloc/tst-mallopt.c: New file.
48220 2014-05-09  Roland McGrath  <roland@hack.frob.com>
48222         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
48223         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
48225 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48227         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
48228         (tst-tlsmod6.so): Likewise.
48230 2014-05-09  Roland McGrath  <roland@hack.frob.com>
48232         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
48234 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
48236         [BZ #16064]
48237         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
48238         and <dl-procinfo.h>.
48239         (__fegetenv): Save SSE state in envp->__eip if supported.
48240         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
48241         envp->__eip if supported.
48242         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
48243         and <dl-procinfo.h>.
48244         (__fesetenv): Always set __eip, __cs_selector, __opcode,
48245         __data_offset and __data_selector in environment to 0.  Set SSE
48246         state if supported.
48247         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
48248         test-fenv-sse.
48249         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
48250         -mfpmath=sse.
48251         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
48253 2014-05-09  Will Newton  <will.newton@linaro.org>
48255         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
48256         and libc_relro_required for ARM.
48257         * sysdeps/arm/preconfigure: Regenerate.
48259 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
48260             Stefan Liebler  <stli@linux.vnet.ibm.com>
48262         * config.make.in (enable-lock-elision): New Makefile variable.
48263         * configure.ac: Likewise.
48264         * configure: Regenerate.
48265         * sysdeps/s390/configure.ac:
48266         Add check for gcc transactions support.
48267         * sysdeps/s390/configure: Regenerate.
48268         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
48269         Build elision files if enabled.
48270         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
48271         Add lock elision support for s390.
48272         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
48273         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
48274         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
48275         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
48276         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
48277         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
48278         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
48279         Likewise.
48280         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
48281         Likewise.
48282         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
48283         Likewise.
48284         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
48285         Likewise.
48286         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
48287         (__lll_timedlock_elision, __lll_lock_elision)
48288         (__lll_unlock_elision, __lll_trylock_elision)
48289         (lll_timedlock_elision, lll_lock_elision)
48290         (lll_unlock_elision, lll_trylock_elision): Add.
48291         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48292         (pthread_mutex_t): Add lock elision support for s390.
48294 2014-05-14  Wilco  <wdijkstr@arm.com>
48296         * sysdeps/arm/fclrexcpt.c: Cleanup.
48297         * sysdeps/arm/fedisblxcpt.c: Cleanup.
48298         * sysdeps/arm/feenablxcpt.c: Cleanup.
48299         * sysdeps/arm/fegetenv.c: Cleanup.
48300         * sysdeps/arm/fegetexcept.c: Cleanup.
48301         * sysdeps/arm/fegetround.c: Cleanup.
48302         * sysdeps/arm/feholdexcpt.c: Cleanup.
48303         * sysdeps/arm/fesetenv.c: Cleanup.
48304         * sysdeps/arm/fesetround.c: Cleanup.
48305         * sysdeps/arm/feupdateenv.c: Cleanup.
48306         * sysdeps/arm/fgetexcptflg.c: Cleanup.
48307         * sysdeps/arm/fraiseexcpt.c: Cleanup.
48308         * sysdeps/arm/fsetexcptflg.c: Cleanup.
48309         * sysdeps/arm/ftestexcept.c: Cleanup.
48310         * sysdeps/arm/get-rounding-mode.h: Cleanup.
48311         * sysdeps/arm/setfpucw.c: Cleanup.
48313 2014-05-09  Will Newton  <will.newton@linaro.org>
48315         * sysdeps/arm/armv7/strcmp.S: New file.
48316         * NEWS: Mention addition of ARMv7 optimized strcmp.
48318 2014-05-08  Roland McGrath  <roland@hack.frob.com>
48320         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
48321         look for %.ac rather than %.in.
48323         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
48324         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
48325         * sysdeps/mach/hurd/configure: Regenerated.
48326         * sysdeps/unix/sysv/linux/configure: Regenerated.
48328         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
48330 2014-05-07  Steve Ellcey  <sellcey@mips.com>
48332         [BZ #16922]
48333         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
48334         (LONG_SUB): Ditto.
48335         (PTR_SUB): Ditto.
48337 2014-05-07  Andreas Schwab  <schwab@suse.de>
48339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
48340         when skipping over non-matching result from nscd.
48342 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
48344         [BZ #16876]
48345         * nptl/sockperf.c (client): Check socket return value.
48347         [BZ #16877]
48348         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
48349         nscd security class.
48351 2014-05-06  Roland McGrath  <roland@hack.frob.com>
48353         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
48354         * sysdeps/arm/unwind.h: ... here.
48356 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
48358         [BZ #16916]
48359         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
48360         Define.
48362 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48364         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
48365         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
48366         multiarch strncpy for PPC64.
48367         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
48368         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
48369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
48370         multiarch optimizations.
48371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48372         (__libc_ifunc_impl_list): Likewise.
48373         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
48374         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
48375         multiarch stpncpy for PPC64.
48376         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
48377         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
48379 2014-05-06  Andreas Schwab  <schwab@suse.de>
48381         [BZ #16912]
48382         * gmon/mcount.c (_MCOUNT_DECL): Use
48383         atomic_compare_and_exchange_bool_acq instead of
48384         catomic_compare_and_exchange_bool_acq.
48386 2014-05-05  Roland McGrath  <roland@hack.frob.com>
48388         * elf/Makefile (others, install-bin): Remove pldd.
48389         (pldd-modules): Variable removed.
48390         ($(objpfx)pldd): Target removed.
48391         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
48392         (others, install-bin): Append pldd here.
48393         ($(objpfx)pldd): New target.
48395         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
48396         to 0, so the first #if test emitted later doesn't see it undefined.
48397         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
48398         * sysdeps/gnu/errlist.c: Regenerated.
48400 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48402         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48403         [libc_hidden_builtin_def]: Define to empty value.
48404         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
48405         [libc_hidden_builtin_def]: Likewise.
48406         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
48407         [libc_hidden_builtin_def]: Likewise.
48408         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
48409         [libc_hidden_builtin_def]: Likewise.
48410         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
48411         __redirect_memcpy and define ifunc as default hidden symbol.
48412         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
48413         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
48415 2014-05-04  Adam Conrad  <adconrad@0c3.net>
48417         * locale/iso-4217.def: Reintroduce XDR currency.
48419 2014-05-04  Allan McRae  <allan@archlinux.org>
48421         * po/eo.po: Update Esperanto translation from translation project.
48423 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
48425         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
48426         and FEATURE_INDEX_MAX to 1.
48427         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
48429 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48431         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
48432         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
48433         * iconvdata/big5.c (ONE_DIRECTION): Define.
48434         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
48435         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
48436         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
48437         * iconvdata/cp932.c (ONE_DIRECTION): Define.
48438         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
48439         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
48440         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
48441         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
48442         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
48443         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
48444         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
48445         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
48446         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
48447         * iconvdata/gbk.c (ONE_DIRECTION): Define.
48448         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
48449         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
48450         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
48451         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
48452         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
48453         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
48454         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
48455         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
48456         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
48457         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
48458         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
48459         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
48460         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
48461         * iconvdata/iso646.c (ONE_DIRECTION): Define.
48462         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
48463         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
48464         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
48465         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
48466         * iconvdata/johab.c (ONE_DIRECTION): Define.
48467         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
48468         * iconvdata/sjis.c (ONE_DIRECTION): Define.
48469         * iconvdata/t.61.c (ONE_DIRECTION): Define.
48470         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
48471         * iconvdata/tscii.c (ONE_DIRECTION): Define.
48472         * iconvdata/uhc.c (ONE_DIRECTION): Define.
48473         * iconvdata/unicode.c (ONE_DIRECTION): Define.
48474         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
48475         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
48476         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
48478 2014-05-01  Roland McGrath  <roland@hack.frob.com>
48480         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
48481         (_IO_JUMPS_OFFSET): Define to 0.
48483         * nptl/sysdeps/pthread/bits/libc-lock.h
48484         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
48485         (__libc_lock_define_initialized_recursive): Always define using
48486         initializer.  Modern compilers treat uninitialized (implicit zero) and
48487         explicit zero initializers the same (i.e. put the datum in bss).
48489 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48491         * nscd/nscd-client.h: Include <string.h>.
48493 2014-05-01  David S. Miller  <davem@davemloft.net>
48495         [BZ #16885]
48496         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
48497         multiple zero bytes exist at the end of a string.
48498         Reported by Aurelien Jarno <aurelien@aurel32.net>
48500         * string/test-strcmp.c (check): Add explicit test for situations where
48501         there are multiple zero bytes after the first.
48503 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48505         [BZ #16890]
48506         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
48507         when compiling wprintf.
48508         * stdio-common/tstdiomisc.c (t3): New function.
48509         (main): Call it.
48511 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48513         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
48514         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
48515         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
48516         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
48518 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48520         * stdlib/longlong.h: Updated from GCC.
48522 2014-05-01  Will Newton  <will.newton@linaro.org>
48523             Bernard Ogden  <bernie.ogden@linaro.org>
48525         * NEWS: Update fixed bug list.
48527         [BZ #15119]
48528         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
48530 2014-04-30  David S. Miller  <davem@davemloft.net>
48532         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
48533         (libc_feholdexcept_setround_sparc_ctx): New function.
48534         (libc_fesetenv_sparc_ctx): Likewise.
48535         (libc_feupdateenv_sparc_ctx): Likewise.
48536         (libc_feholdsetround_sparc_ctx): Likewise.
48537         (libc_feholdexcept_setround_ctx): Define.
48538         (libc_feholdexcept_setroundf_ctx): Likewise.
48539         (libc_feholdexcept_setroundl_ctx): Likewise.
48540         (libc_fesetenv_ctx): Likewise.
48541         (libc_fesetenvf_ctx): Likewise.
48542         (libc_fesetenvl_ctx): Likewise.
48543         (libc_feupdateenv_ctx): Likewise.
48544         (libc_feupdateenvf_ctx): Likewise.
48545         (libc_feupdateenvl_ctx): Likewise.
48546         (libc_feresetround_ctx): Likewise.
48547         (libc_feresetroundf_ctx): Likewise.
48548         (libc_feresetroundl_ctx): Likewise.
48549         (libc_feholdsetround_ctx): Likewise.
48550         (libc_feholdsetroundf_ctx): Likewise.
48551         (libc_feholdsetroundl_ctx): Likewise.
48553         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
48554         with __USE_GNU instead of XOPEN cpp guards.
48556         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
48557         0.
48559         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
48560         with XOPEN cpp guards.
48562 2014-04-30  Julian Brown  <julian@codesourcery.com>
48564         [BZ #16888]
48565         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
48566         handling.
48568 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
48570         [BZ #9894]
48571         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
48572         Change to 2.6.32.
48573         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
48574         * sysdeps/unix/sysv/linux/configure: Regenerated.
48575         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
48576         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
48577         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
48578         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
48579         * README: Update reference to required Linux kernel version.
48580         * manual/install.texi (Linux): Update reference to required Linux
48581         kernel headers version.
48582         * INSTALL: Regenerated.
48584         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
48585         header inclusion.
48586         [POSIX] (limits.h): Likewise.
48587         [POSIX] (math.h): Likewise.
48588         [POSIX] (sys/wait.h): Likewise.
48589         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
48590         function.
48591         [POSIX] (stddef.h): Do not allow header inclusion.
48593 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48595         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
48597 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
48599         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
48600         Return immediately after lll_futex_wake.
48602 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48604         [BZ #16791]
48605         * nscd/nscd-client.h (datahead_init_common): Initialize entire
48606         structure.
48607         (datahead_init_pos): Call datahead_init_common early.
48608         (datahead_init_neg): Likewise.
48610         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
48611         datahead_init_neg): New functions.
48612         * nscd/aicache.c (addhstaiX): Use them.
48613         * nscd/grpcache.c (cache_addgr): Likewise.
48614         * nscd/hstcache.c (cache_addhst): Likewise.
48615         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48616         * nscd/netgroupcache.c (do_notfound): Likewise.
48617         (addgetnetgrentX): Likewise.
48618         (addinnetgrX): Likewise.
48619         * nscd/pwdcache.c (cache_addpw): Likewise.
48620         * nscd/servicescache.c (cache_addserv): Likewise.
48622 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48623             Atsushi Onoe  <atsushi@onoe.org>
48625         [BZ #14308]
48626         [BZ #12994]
48627         [BZ #13651]
48628         * resolv/res_query.c (__libc_res_nsearch): Return if at least
48629         one response is valid.
48630         * resolv/res_send.c (send_dg): Check for validity of other
48631         response if the current response is a referral.
48633 2014-04-29  Steve Ellcey  <sellcey@mips.com>
48635         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
48637 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
48639         [BZ #16823]
48640         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
48641         Always divide by positive zero when computing -Inf result.
48642         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48643         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
48645 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48647         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
48648         FPSCR if value do not change.
48649         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48650         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
48651         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
48652         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48653         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
48654         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
48655         function.
48657 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
48659         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
48660         * sysdeps/unix/sysv/linux/hppa: Move directory from
48661         ports/systeps/unix/sysv/linux/hppa.
48662         * README: Update listing for hppa-*-linux-gnu.
48664 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
48666         [BZ #16754]
48667         * manual/stdio.texi (Hook functions): Fix types of stream hook
48668         functions.
48669         [BZ #16854]
48670         * socket/sys/socket.h: Fix typo in comment.
48672 2014-04-28  Wilco  <wdijkstr@arm.com>
48674         * sysdeps/arm/fenv_private.h: New file.
48675         * sysdeps/arm/math_private.h: New file.
48676         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
48678 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
48680         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
48681         with __int128_t.
48682         (La_x86_64_retval): Likewise.
48684 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
48686         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
48687         fpsr if value didn't change.
48688         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
48689         to fpcr if value didn't change.
48690         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
48691         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
48692         fpsr or fpcr if value didn't change.
48693         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
48694         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
48695         fpcr if value didn't change.
48696         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
48697         to fpsr if value didn't change.
48699 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48701         * nptl/tst-sem3.c: Use test-skeleton.c
48702         (main): Rename to do_test.  Use return instead of
48703         exit.
48704         * nptl/tst-sem4.c: Use test-skeleton.c
48705         (main): Rename to do_test.
48707 2014-04-22  David S. Miller  <davem@davemloft.net>
48709         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
48710         (struct sigaction): New struct member __glibc_reserved0, change
48711         type of sa_flags to int.
48713 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
48715         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
48716         (COUNT_LEADING_ZEROS_0): Define for AArch64.
48718 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48720         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
48721         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
48723 2014-04-22  Will Newton  <will.newton@linaro.org>
48724             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
48726         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
48727         (__longjmp): Add longjmp and longjmp_target SystemTap
48728         probes.
48729         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
48730         (__sigsetjmp): Add setjmp SystemTap probe.
48732 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
48734         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
48735         match manual order.
48737 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48739         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
48741         * sysdeps/powerpc/fpu/fenv_private.h
48742         (libc_feholdexcept_setroundl_ctx): Define to
48743         libc_feholdexcept_setround_ppc_ctx.
48744         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
48745         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
48746         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
48747         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
48749 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
48751         * sysdeps/aarch64/math-tests.h: New file.
48753 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
48755         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
48756         New.
48757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48758         Check and set bit_AVX2_Usable.
48759         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
48760         macro.
48761         (bit_AVX2): Likewise.
48762         (index_AVX2_Usable): Likewise.
48763         (CPUID_AVX2): Likewise.
48764         (HAS_AVX2): Likewise.
48766 2014-04-17  Will Newton  <will.newton@linaro.org>
48768         * manual/setjmp.texi (System V contexts): Add note that
48769         calling setcontext on a context created by a call to a
48770         signal handler is undefined.  Update text to note that
48771         setcontext from a signal handler is possible but not
48772         recommended.
48774         [BZ #16629]
48775         * stdlib/tst-setcontext.c: Include signal.h.
48776         (main): Check that the signal stack before and
48777         after swapcontext is the same.
48779         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
48780         Re-implement to restore registers in user code and avoid
48781         rt_sigreturn system call.
48783 2014-04-17  Wilco  <wdijkstr@arm.com>
48785         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
48786         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
48787         * math/test-fenv.c: Skip exception trap tests on targets which only
48788         support non-stop mode.
48790 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
48791             Wilco Dijkstra  <wilco.dijkstra@arm.com>
48793         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
48794         (libc_feholdsetround_aarch64_ctx)
48795         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
48796         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
48797         (libc_feresetround_ctx, libc_feresetroundf_ctx)
48798         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
48799         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
48800         (libc_feresetround_noexl_ctx): Define.
48802 2014-04-16  Richard Henderson  <rth@redhat.com>
48804         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
48806         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
48807         unwind tables.
48809         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
48810         const from the non-libc, non-ldso copy.
48812         * sysdeps/alpha/libm-test-ulps: Regenerate.
48814 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
48815             Wilco Dijkstra  <wilco.dijkstra@arm.com>
48817         * sysdeps/aarch64/fpu/math_private.h: New file.
48819 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48821         * sysdeps/aarch64/libm-test-ulps: Regenerate.
48823 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
48825         [BZ #16275]
48826         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
48827         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
48828         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
48829         Intel MPX bound registers before _dl_profile_fixup.
48830         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
48831         registers after _dl_profile_fixup.  Save and restore bound
48832         registers bnd0/bnd1 when calling _dl_call_pltexit.
48833         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
48834         (LR_BND_OFFSET): Likewise.
48835         (LRV_BND0_OFFSET): Likewise.
48836         (LRV_BND1_OFFSET): Likewise.
48838 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48840         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
48841         to...
48842         * sysdeps/mach/hurd/i386/tls.h: ... here.
48843         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
48844         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
48845         fields.
48847 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48849         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
48851 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
48853         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48855 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
48857         [BZ #14770]
48858         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
48859         * sysdeps/s390/configure: Regenerate.
48861         [BZ #16824]
48862         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
48863         Set round-to-nearest internally to reduce error accumulation.
48865 2014-04-16  Alan Modra  <amodra@gmail.com>
48867         [BZ #16740]
48868         [BZ #16619]
48869         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
48870         * math/libm-test.inc (frexp_test_data): Add tests.
48871         * NEWS: Update fixed bug list.
48873 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48875         * benchtests/Makefile: Depend on libraries in build directory.
48876         (bench-math): Separate out math tests.
48877         (bench-pthread): Separate out pthread tests.
48878         (bench): Include math and pthread tests.
48880 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
48882         [BZ #16831]
48883         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
48884         _dl_debug_initialize.
48886         * configure.ac: Remove SELinux header check.
48887         * configure: Regenerate.
48888         * nscd/selinux.c (perms): Array of const char* to permission names.
48889         (nscd_request_avc_has_perm): Call security_deny_unknown to find
48890         default policy. Call string_to_security_class and string_to_av_perm to
48891         translate strings. Enforce default policy and call avs_has_perm with
48892         results of translated strings.
48894 2014-04-13  David S. Miller  <davem@davemloft.net>
48896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48898 2014-04-12  Allan McRae  <allan@archlinux.org>
48900         [BZ #16838]
48901         * manual/string.texi (Collation Functions): Fix qsort argument
48902         order in example.
48903         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48905 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
48907         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
48908         Make the test a no-op if there are no exceptions defined.
48910 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
48912         * elf/Makefile (tests): make tst-dlopen-aout conditional on
48913         enable-hardcoded-path-in-tests
48915 2014-04-11  Will Newton  <will.newton@linaro.org>
48917         * benchtests/Makefile (extra-objs): Add json-lib.o.
48918         (bench-func): Tidy up JSON output.
48919         * benchtests/bench-skeleton.c: Include json-lib.h.
48920         (main): Use JSON library functions to do output of
48921         benchmark results.
48922         * benchtests/bench-timing-type.c (main): Output the
48923         timing type simply, leaving formatting to the user.
48924         * benchtests/json-lib.c: New file.
48925         * benchtests/json-lib.h: Likewise.
48927 2014-04-11  Torvald Riegel  <triegel@redhat.com>
48929         [BZ #15215]
48930         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
48931         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
48932         memory barriers.  Add comments.
48933         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
48934         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
48935         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
48936         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
48937         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
48938         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
48940 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
48942         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
48943         * sysdeps/s390/s390-64/configure.ac: ... this ...
48944         * sysdeps/s390/configure.ac: ... to here.
48945         * sysdeps/s390/s390-32/configure: Delete file.
48946         * sysdeps/s390/s390-64/configure: Delete file.
48947         * sysdeps/s390/configure: Regenerate.
48949 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
48951         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
48953 2014-04-11  Will Newton  <will.newton@linaro.org>
48955         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
48956         to zero if it is not defined elsewhere.  (mtrim): Test
48957         the value of MALLOC_DEBUG with #if rather than #ifdef.
48959 2014-04-10 Torvald Riegel  <triegel@redhat.com>
48961         * benchtests/pthread_once-inputs: New file.
48962         * benchtests/pthread_once-source.c: New file.
48963         * benchtests/README: Update documentation.
48965 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
48966             H.J. Lu  <hongjiu.lu@intel.com>
48968         [BZ #16275]
48969         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
48970         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
48971         * sysdeps/x86_64/configure: Regenerated.
48972         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
48973         macro.
48974         (REGISTER_SAVE_RAX): Likewise.
48975         (REGISTER_SAVE_RCX): Likewise.
48976         (REGISTER_SAVE_RDX): Likewise.
48977         (REGISTER_SAVE_RSI): Likewise.
48978         (REGISTER_SAVE_RDI): Likewise.
48979         (REGISTER_SAVE_R8): Likewise.
48980         (REGISTER_SAVE_R9): Likewise.
48981         (REGISTER_SAVE_BND0): Likewise.
48982         (REGISTER_SAVE_BND1): Likewise.
48983         (REGISTER_SAVE_BND2): Likewise.
48984         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
48985         bound registers when calling _dl_fixup.
48987 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48989         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
48990         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
48991         of its definition.
48992         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
48993         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
48994         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
48995         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
48996         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
48997         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
48998         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
49000 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
49002         [BZ #15514]
49003         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
49004         pathconf(_PC_NAME_MAX).
49006 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49008         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
49009         Remove macro usage.
49010         (__PTHREAD_SPINS): Move definition to ...
49011         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49012         (__PTHREAD_SPINS): ... here.
49013         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49014         (__PTHREAD_SPIN): Likewise.
49015         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
49016         (__PTHREAD_SPIN): Likewise.
49017         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
49018         (__PTHREAD_SPIN): Likewise.
49019         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
49020         (__PTHREAD_SPIN): Likewise.
49021         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
49022         (__PTHREAD_SPIN): Likewise.
49023         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
49024         (__PTHREAD_SPIN): Likewise.
49025         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
49026         (__PTHREAD_SPIN): Likewise.
49027         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
49028         (__PTHREAD_SPIN): Likewise.
49029         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
49030         (__PTHREAD_SPIN): Likewise.
49031         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
49032         (__PTHREAD_SPIN): Likewise.
49033         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
49034         (__PTHREAD_SPIN): Likewise.
49035         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
49036         (__PTHREAD_SPIN): Likewise.
49038         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
49039         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
49040         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
49041         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
49042         imply folder.
49043         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
49044         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
49045         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
49046         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
49047         correct imply path.
49048         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
49049         strlen symbol for non multi-arch builds.
49050         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
49051         missing hidden_def and weak_alias.
49053 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
49055         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
49057 2014-04-07  Will Newton  <will.newton@linaro.org>
49059         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
49060         and contents.  [!_LIBC] Remove #ifndef and contents.
49061         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
49062         * string/memccpy.c (__memccpy): Use ANSI prototype.
49063         * string/memfrob.c (memfrob): Likewise.
49064         * string/strcoll.c (STRCOLL): Likewise.
49065         * string/strlen.c (strlen): Likewise.
49066         * string/strtok.c (STRTOK): Likewise.
49067         * string/strcat.c: Remove unused #include of memcopy.h.
49068         (strcat): Use ANSI prototype.
49069         * string/strchr.c: Remove unused #include of memcopy.h.
49070         (strchr): Use ANSI prototype.
49071         * string/strcmp.c: Remove unused #include of memcopy.h.
49072         (strcmp): Use ANSI prototype.
49073         * string/strcpy.c: Remove unused #include of memcopy.h.
49074         (strcpy): Use ANSI prototype.
49076 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49078         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
49079         * config.make.in (config-extra-cppflags): Set it from
49080         libc_extra_cppflags.
49081         * configure.ac (libc_extra_cflags): Make it accumulate over
49082         configure fragments.
49083         (libc_extra_cppflags): New flag.
49084         * configure. Regenerate.
49085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
49086         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
49087         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
49088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
49090         [BZ #16815]
49091         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
49092         result for FE_DOWNWARD rounding mode.
49093         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
49094         Likewise.
49095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49097 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
49099         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
49100         in function argument name.
49102 2014-04-03  David Svoboda  <svoboda@cert.org>
49104         [BZ #5666]
49105         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
49106         explicitly.
49108 2014-04-03  Roland McGrath  <roland@hack.frob.com>
49110         * elf/dl-unmap-segments.h: New file.
49111         * sysdeps/generic/ldsodefs.h
49112         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
49113         * elf/dl-close.c: Include <dl-unmap-segments.h>.
49114         * elf/dl-fptr.c: Likewise.
49115         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
49116         * sysdeps/aarch64/tlsdesc.c: Likewise.
49117         * sysdeps/arm/tlsdesc.c: Likewise.
49118         * sysdeps/i386/tlsdesc.c: Likewise.
49119         * sysdeps/tile/dl-runtime.c: Likewise.
49120         * sysdeps/x86_64/tlsdesc.c: Likewise.
49121         * elf/dl-load.h: New file.
49122         * elf/dl-load.c: Include it.
49123         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
49124         Macros moved to dl-load.h.
49125         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
49126         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
49127         Use _dl_unmap_segments in place of __munmap.
49128         Break out segment-mapping loop into ...
49129         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
49131 2014-04-03  Will Newton  <will.newton@linaro.org>
49133         * elf/dl-lookup.c (do_lookup_x): Remove comment
49134         referring to nested function and move variable
49135         declarations down to before first use.
49137 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
49139         [BZ #16799]
49140         [BZ #16800]
49141         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
49142         with 0 numerator.
49143         * math/s_catanf.c (__catanf): Likewise.
49144         * math/s_catanh.c (__catanh): Likewise.
49145         * math/s_catanhf.c (__catanhf): Likewise.
49146         * math/s_catanhl.c (__catanhl): Likewise.
49147         * math/s_catanl.c (__catanl): Likewise.
49148         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
49149         by positive zero when computing -Inf result.
49150         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
49151         (catanh_test): Likewise.
49152         * sysdeps/i386/fpu/libm-test-ulps: Update.
49153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49155         [BZ #16789]
49156         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
49157         instead of using underflowing value in computing result.
49158         * math/s_clog10.c (__clog10): Likewise.
49159         * math/s_clog10f.c (__clog10f): Likewise.
49160         * math/s_clog10l.c (__clog10l): Likewise.
49161         * math/s_clogf.c (__clogf): Likewise.
49162         * math/s_clogl.c (__clogl): Likewise.
49163         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
49164         (clog10_test): Likewise.
49165         * sysdeps/i386/fpu/libm-test-ulps: Update.
49166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49168 2014-04-02  Alan Modra  <amodra@gmail.com>
49170         [BZ #16739]
49171         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
49172         output when value is near a power of two.  Use int64_t for lx and
49173         remove casts.  Use decimal rather than hex exponent constants.
49174         Don't use long double multiplication when double will suffice.
49175         * math/libm-test.inc (nextafter_test_data): Add tests.
49176         * NEWS: Add 16739 and 16786 to bug list.
49178         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
49180         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
49182 2014-04-01  Will Newton  <will.newton@linaro.org>
49184         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
49185         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
49187 2014-04-01  Florian Weimer  <fweimer@redhat.com>
49189         [BZ #13347]
49190         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
49191         * nptl/tst-setuid2.c: New file.
49192         * nptl/Makefile (xtests): Add tst-setuid2.
49194 2014-04-01  Alan Modra  <amodra@gmail.com>
49196         [BZ #16786]
49197         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
49199 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
49201         [BZ #6803]
49202         [BZ #6804]
49203         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
49204         set errno as appropriate.
49205         * math/w_scalbf.c (__scalbf): Likewise.
49206         * math/w_scalbl.c (__scalbl): Likewise.
49207         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
49208         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
49209         * math/libm-test.inc (scalb_test_data): Add errno expectations.
49210         Add more NaN tests.
49212         [BZ #16349]
49213         * math/w_atan2.c: Include <errno.h>.
49214         (__atan2): Set errno for result underflowing to zero.
49215         * math/w_atan2f.c: Include <errno.h>.
49216         (__atan2f): Set errno for result underflowing to zero.
49217         * math/w_atan2l.c: Include <errno.h>.
49218         (__atan2l): Set errno for result underflowing to zero.
49219         * math/auto-libm-test-in: Don't allow missing errno for some atan2
49220         tests.
49221         * math/auto-libm-test-out: Regenerated.
49223 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49225         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
49226         Encode instruction correctly in little endian.
49227         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
49228         Likewise.
49229         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
49230         Likewise.
49231         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
49232         Likewise.
49233         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
49234         Likewise.
49236 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
49238         [BZ #9894]
49239         * sysdeps/unix/sysv/linux/kernel-features.h
49240         [__sparc__ && !__arch64__ && !__sparc_v9__]
49241         (__ASSUME_SET_ROBUST_LIST): Do not define.
49242         [__sparc__ && !__arch64__ && !__sparc_v9__]
49243         (__ASSUME_FUTEX_LOCK_PI): Likewise.
49244         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
49245         Likewise.
49246         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49247         (__ASSUME_FUTEX_LOCK_PI): Undefine.
49248         (__ASSUME_REQUEUE_PI): Likewise.
49249         (__ASSUME_SET_ROBUST_LIST): Likewise.
49250         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49251         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
49252         Undefine.
49253         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49254         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
49255         Likewise.
49256         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
49257         Likewise.
49258         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
49259         Likewise.
49260         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49261         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
49262         Undefine.
49263         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
49264         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
49265         Likewise.
49267         [BZ #16648]
49268         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49269         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
49270         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
49272 2014-03-31  Will Newton  <will.newton@linaro.org>
49274         * benchtests/Makefile (bench): Add ffs and ffsll to list
49275         of tests.
49276         * benchtests/ffs-inputs: New file.
49277         * benchtests/ffsll-inputs: Likewise.
49279 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
49281         [BZ #16770]
49282         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
49283         too large before casting to int.
49284         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
49285         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
49286         * math/libm-test.inc (scalb_test_data): Add more tests.
49288 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49290         * benchtests/Makefile (DETAILED_OPT): New make option.
49291         (bench-func): Run benchmark program with -d if DETAILED_OPT is
49292         set.
49293         * benchtests/bench-skeleton.c: Include stdbool.h.
49294         (main): Store and print timings per input.
49295         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
49296         member to each argument value.
49297         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
49298         (_print_arg_data): Initialize per-input timing to 0.
49300         * benchtests/Makefile (timing-type): New binary.
49301         (bench-clean): Also remove bench-timing-type.
49302         (bench): New target for timing-type.
49303         (bench-func): Print output in JSON format.
49304         * benchtests/bench-skeleton.c (main): Print output in JSON
49305         format.
49306         * benchtests/bench-timing-type.c: New file.
49307         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
49308         (TIMING_PRINT_STATS): Remove.
49309         * benchtests/scripts/bench.py (_print_arg_data): Store variant
49310         name separately.
49312         * benchtests/bench-modf.c: Remove.
49313         * benchtests/modf-inputs: New inputs file.
49315 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
49317         [BZ #16362]
49318         * math/s_clog10.c (M_PI_LOG10E): New macro.
49319         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
49320         imaginary parts are 0.
49321         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
49322         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
49323         imaginary parts are 0.
49324         * math/s_clog10l.c (M_PI_LOG10El): New macro.
49325         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
49326         imaginary parts are 0.
49327         * math/libm-test.inc (clog10_test_data): Update expected results
49328         for when real and imaginary parts are 0.
49330 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
49332         * elf/dl-load.c: Finish conversion of __builtin_expect into
49333         __glibc_{un}likely.
49335 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
49337         [BZ #16348]
49338         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
49339         1+x for argument with exponent below -67.
49340         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
49341         Likewise.
49342         * math/auto-libm-test-in: Add more tests of exp.
49343         * math/auto-libm-test-out: Regenerated.
49345 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49347         [BZ #16759]
49348         * inet/getnetgrent_r.c (get_nonempty_val): New function.
49349         (nscd_getnetgrent): Use it.
49351         [BZ #16760]
49352         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
49353         of stpcpy.
49355 2014-03-27  Andi Kleen  <ak@linux.intel.com>
49357         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
49358         (lll_robust_lock, lll_cond_lock, lll_timedlock)
49359         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
49360         (lll_robust_unlock): Remove out of line section. Use cfi
49361         intrinsics.
49362         (LLL_STUB_UNWIND_INFO*): Remove.
49363         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
49364         (lll_robust_lock, lll_cond_lock, lll_timedlock)
49365         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
49366         (lll_robust_unlock): Remove out of line section. Use cfi
49367         intrinsics.
49368         (LLL_STUB_UNWIND_INFO*): Remove.
49370 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49372         [BZ #16758]
49373         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
49374         blank values.
49376 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
49378         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
49380 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
49382         [BZ #16198]
49383         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
49384         fnstenv.
49385         * math/test-fenv-preserve.c: New file.
49386         * math/Makefile (tests): Add test-fenv-preserve.
49388 2014-03-26  Will Newton <will.newton@linaro.org>
49390         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
49392 2014-03-25  Roland McGrath  <roland@hack.frob.com>
49394         * scripts/versionlist.awk: Partition the version sets and emit all
49395         GLIBC_* (sorted) before all others (sorted).
49397 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
49399         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
49400         GLIBC_2.2.5 version.
49402 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49404         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
49405         calls.
49407         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
49408         previous change.
49410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49412 2014-03-25  Andreas Schwab  <schwab@suse.de>
49414         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
49415         label to be used after in6ailist is initialized.
49417 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49419         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49420         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
49422 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
49424         [BZ #16357]
49425         [BZ #16599]
49426         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
49427         min_plus_half.
49428         (fp_formats): Update initializers.
49429         (init_fp_formats): Initialize new field.
49430         (output_for_one_input_case): Allow underflow for results up to
49431         min_plus_half.
49432         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
49433         * math/auto-libm-test-in: Don't mark some underflows from asin and
49434         atanh as spurious.
49435         * math/auto-libm-test-out: Regenerated.
49436         * sysdeps/i386/fpu/libm-test-ulps: Update.
49437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49439 2014-03-25  Andreas Schwab  <schwab@suse.de>
49441         * libio/Makefile (tst-ftell-partial-wide-ENV)
49442         (tst-ftell-active-handler-ENV): Define.
49444 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
49446         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
49448 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
49450         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
49452 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
49454         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
49455         * sysdeps/x86_64/fpu/multiarch/e_exp.c
49456         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
49458 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
49460         [BZ #16634]
49461         * elf/dl-load.c (open_verify): Add mode parameter.
49462         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
49463         (open_path): Change from boolean 'secure' to complete flag 'mode'
49464         (_dl_map_object): Adjust.
49465         * elf/Makefile (tests): Add tst-dlopen-aout.
49466         * elf/tst-dlopen-aout.c: New test.
49468 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
49470         [BZ #16714]
49471         * sysdeps/unix/sysv/linux/s390/bits/stat.h
49472         (struct stat): Rename member pad0 to __glibc_reserved0.
49474         [BZ #16712]
49475         * sysdeps/s390/s390-32/bits/wordsize.h
49476         (__WORDSIZE32_SIZE_ULONG): New define.
49477         * sysdeps/s390/s390-64/bits/wordsize.h
49478         (__WORDSIZE32_SIZE_ULONG): Likewise.
49479         * sysdeps/generic/stdint.h (SIZE_MAX):
49480         Define as UL if __WORDSIZE32_SIZE_ULONG.
49482         [BZ #16713]
49483         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
49484         (__glibc_reserved0): New variable.
49485         (sa_flags): Change type to int.
49487         * posix/Makefile (before-compile): Use += before-compile instead
49488         of a :=.
49490         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49491         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
49493 2014-03-20  Andreas Schwab  <schwab@suse.de>
49495         [BZ #16743]
49496         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
49497         non-matching result from nscd.
49499 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49501         * scripts/bench.py: Moved to ...
49502         * benchtests/scripts/bench.py: ... here.
49503         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
49505 2014-03-24  Andreas Schwab  <schwab@suse.de>
49507         [BZ #16002]
49508         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
49509         alloca_account and account alloca use for struct in6ailist.
49511 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
49513         [BZ #16284]
49514         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
49515         rounding mode to recompute results that overflow to infinity or
49516         underflow to zero.
49517         * math/auto-libm-test-in: Don't mark tests as expected to fail for
49518         bug 16284.
49519         * math/auto-libm-test-out: Regenerated.
49520         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
49521         (ccosh_test): Likewise.
49522         (csin_test_data): Use plus_oflow.
49523         (csin_test): Use ALL_RM_TEST.
49524         (csinh_test_data): Use plus_oflow.
49525         (csinh_test): Use ALL_RM_TEST.
49526         * sysdeps/i386/fpu/libm-test-ulps: Update.
49527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49529 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
49531         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
49532         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
49533         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
49535         [BZ #16731]
49536         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
49537         when x - 1 is zero.
49538         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
49539         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
49540         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49541         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
49542         argument is 1.
49543         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
49544         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
49545         zero.
49546         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
49547         * sysdeps/i386/fpu/libm-test-ulps: Update.
49548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49550 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49552         * scripts/bench.pl: Remove file.
49553         * scripts/bench.py: New benchmark script.
49554         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
49555         * benchtests/README: Mention python dependency.
49556         * scripts/pylintrc: New file.
49557         * scripts/pylint: New file.
49559         * bits/mathdef.h: Use #ifdef instead of #if.
49560         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
49561         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49562         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
49563         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49564         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
49565         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49567 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49568             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49570         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
49571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
49572         and strpbrk-ppc64 objects.
49573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49574         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
49575         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
49576         multiarch strpbrk for POWER7.
49577         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
49578         multiarch strpbrk for PPC64.
49579         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
49580         ifunc selector.
49581         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
49582         strpbrk for POWER7.
49584 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
49586         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
49587         (atan_test): Likewise.
49588         (atanh_test_data): Use NO_TEST_INLINE for two tests.
49589         (atanh_test): Use ALL_RM_TEST.
49590         (atan2_test_data): Likewise.
49591         (cabs_test): Likewise.
49592         (cacosh_test): Likewise.
49593         (carg_test): Likewise.
49594         (casin_test): Likewise.
49595         (casinh_test): Likewise.
49596         (cbrt_test): Likewise.
49597         (csqrt_test): Likewise.
49598         (erf_test): Likewise.
49599         (erfc_test): Likewise.
49600         (pow10_test): Likewise.
49601         (exp2_test): Likewise.
49602         (hypot_test): Likewise.
49603         (j0_test): Likewise.
49604         (j1_test): Likewise.
49605         (lgamma_test): Likewise.
49606         (gamma_test): Likewise.
49607         (sincos_test): Likewise.
49608         (tanh_test): Likewise.
49609         (y0_test): Likewise.
49610         (y1_test): Likewise.
49611         * sysdeps/i386/fpu/libm-test-ulps: Update.
49612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49614 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49616         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
49617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
49618         and strcspn-ppc64 objects.
49619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49620         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
49621         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
49622         multiarch strcspn for POWER7.
49623         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
49624         multiarch strcspn for PPC64.
49625         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
49626         ifunc selector.
49627         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
49628         strcspn for POWER7.
49630 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
49632         * math/gen-libm-test.pl (generate_testfile): Expect only function
49633         name as argument to AUTO_TESTS_* and pass results for all rounding
49634         modes to parse_args.
49635         (parse_auto_input): Separate inputs of automatic tests from
49636         outputs before storing in %auto_tests.
49637         * math/libm-test.inc (acos_test_data): Update call to
49638         AUTO_TESTS_f_f.
49639         (acos_test): Use ALL_RM_TEST.
49640         (acos_tonearest_test_data): Remove.
49641         (acos_test_tonearest): Likewise.
49642         (acos_towardzero_test_data): Likewise.
49643         (acos_test_towardzero): Likewise.
49644         (acos_downward_test_data): Likewise.
49645         (acos_test_downward): Likewise.
49646         (acos_upward_test_data): Likewise.
49647         (acos_test_upward): Likewise.
49648         (acosh_test_data): Update call to AUTO_TESTS_f_f.
49649         (asin_test_data): Likewise.
49650         (asin_test): Use ALL_RM_TEST.
49651         (asin_tonearest_test_data): Remove.
49652         (asin_test_tonearest): Likewise.
49653         (asin_towardzero_test_data): Likewise.
49654         (asin_test_towardzero): Likewise.
49655         (asin_downward_test_data): Likewise.
49656         (asin_test_downward): Likewise.
49657         (asin_upward_test_data): Likewise.
49658         (asin_test_upward): Likewise.
49659         (asinh_test_data): Update call to AUTO_TESTS_f_f.
49660         (atan_test_data): Likewise.
49661         (atanh_test_data): Likewise.
49662         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
49663         (cabs_test_data): Update call to AUTO_TESTS_c_f.
49664         (carg_test_data): Likewise.
49665         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
49666         (ccos_test_data): Update call to AUTO_TESTS_c_c.
49667         (ccosh_test_data): Likewise.
49668         (cexp_test_data): Likewise.
49669         (clog_test_data): Likewise.
49670         (clog10_test_data): Likewise.
49671         (cos_test_data): Update call to AUTO_TESTS_f_f.
49672         (cos_test): Use ALL_RM_TEST.
49673         (cos_tonearest_test_data): Remove.
49674         (cos_test_tonearest): Likewise.
49675         (cos_towardzero_test_data): Likewise.
49676         (cos_test_towardzero): Likewise.
49677         (cos_downward_test_data): Likewise.
49678         (cos_test_downward): Likewise.
49679         (cos_upward_test_data): Likewise.
49680         (cos_test_upward): Likewise.
49681         (cosh_test_data): Update call to AUTO_TESTS_f_f.
49682         (cosh_test): Use ALL_RM_TEST.
49683         (cosh_tonearest_test_data): Remove.
49684         (cosh_test_tonearest): Likewise.
49685         (cosh_towardzero_test_data): Likewise.
49686         (cosh_test_towardzero): Likewise.
49687         (cosh_downward_test_data): Likewise.
49688         (cosh_test_downward): Likewise.
49689         (cosh_upward_test_data): Likewise.
49690         (cosh_test_upward): Likewise.
49691         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
49692         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
49693         (ctan_test_data): Likewise.
49694         (ctan_test): Use ALL_RM_TEST.
49695         (ctan_tonearest_test_data): Remove.
49696         (ctan_test_tonearest): Likewise.
49697         (ctan_towardzero_test_data): Likewise.
49698         (ctan_test_towardzero): Likewise.
49699         (ctan_downward_test_data): Likewise.
49700         (ctan_test_downward): Likewise.
49701         (ctan_upward_test_data): Likewise.
49702         (ctan_test_upward): Likewise.
49703         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
49704         (ctanh_test): Use ALL_RM_TEST.
49705         (ctanh_tonearest_test_data): Remove.
49706         (ctanh_test_tonearest): Likewise.
49707         (ctanh_towardzero_test_data): Likewise.
49708         (ctanh_test_towardzero): Likewise.
49709         (ctanh_downward_test_data): Likewise.
49710         (ctanh_test_downward): Likewise.
49711         (ctanh_upward_test_data): Likewise.
49712         (ctanh_test_upward): Likewise.
49713         (erf_test_data): Update call to AUTO_TESTS_f_f.
49714         (erfc_test_data): Likewise.
49715         (exp_test_data): Likewise.
49716         (exp_test): Use ALL_RM_TEST.
49717         (exp_tonearest_test_data): Remove.
49718         (exp_test_tonearest): Likewise.
49719         (exp_towardzero_test_data): Likewise.
49720         (exp_test_towardzero): Likewise.
49721         (exp_downward_test_data): Likewise.
49722         (exp_test_downward): Likewise.
49723         (exp_upward_test_data): Likewise.
49724         (exp_test_upward): Likewise.
49725         (exp10_test_data): Update call to AUTO_TESTS_f_f.
49726         (exp10_test): Use ALL_RM_TEST.
49727         (exp10_tonearest_test_data): Remove.
49728         (exp10_test_tonearest): Likewise.
49729         (exp10_towardzero_test_data): Likewise.
49730         (exp10_test_towardzero): Likewise.
49731         (exp10_downward_test_data): Likewise.
49732         (exp10_test_downward): Likewise.
49733         (exp10_upward_test_data): Likewise.
49734         (exp10_test_upward): Likewise.
49735         (exp2_test_data): Update call to AUTO_TESTS_f_f.
49736         (expm1_test_data): Likewise.
49737         (expm1_test): Use ALL_RM_TEST.
49738         (expm1_tonearest_test_data): Remove.
49739         (expm1_test_tonearest): Likewise.
49740         (expm1_towardzero_test_data): Likewise.
49741         (expm1_test_towardzero): Likewise.
49742         (expm1_downward_test_data): Likewise.
49743         (expm1_test_downward): Likewise.
49744         (expm1_upward_test_data): Likewise.
49745         (expm1_test_upward): Likewise.
49746         (fma_test_data): Update call to AUTO_TESTS_fff_f.
49747         (fma_test): Use ALL_RM_TEST.
49748         (fma_towardzero_test_data): Remove.
49749         (fma_test_towardzero): Likewise.
49750         (fma_downward_test_data): Likewise.
49751         (fma_test_downward): Likewise.
49752         (fma_upward_test_data): Likewise.
49753         (fma_test_upward): Likewise.
49754         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
49755         (j0_test_data): Update call to AUTO_TESTS_f_f.
49756         (j1_test_data): Likewise.
49757         (jn_test_data): Update call to AUTO_TESTS_if_f.
49758         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
49759         (log_test_data): Update call to AUTO_TESTS_f_f.
49760         (log10_test_data): Likewise.
49761         (log1p_test_data): Likewise.
49762         (log2_test_data): Likewise.
49763         (pow_test_data): Update call to AUTO_TESTS_ff_f.
49764         (pow_tonearest_test_data): Likewise.
49765         (sin_test_data): Update call to AUTO_TESTS_f_f.
49766         (sin_test): Use ALL_RM_TEST.
49767         (sin_tonearest_test_data): Remove.
49768         (sin_test_tonearest): Likewise.
49769         (sin_towardzero_test_data): Likewise.
49770         (sin_test_towardzero): Likewise.
49771         (sin_downward_test_data): Likewise.
49772         (sin_test_downward): Likewise.
49773         (sin_upward_test_data): Likewise.
49774         (sin_test_upward): Likewise.
49775         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
49776         (sinh_test_data): Update call to AUTO_TESTS_f_f.
49777         (sinh_test): Use ALL_RM_TEST.
49778         (sinh_tonearest_test_data): Remove.
49779         (sinh_test_tonearest): Likewise.
49780         (sinh_towardzero_test_data): Likewise.
49781         (sinh_test_towardzero): Likewise.
49782         (sinh_downward_test_data): Likewise.
49783         (sinh_test_downward): Likewise.
49784         (sinh_upward_test_data): Likewise.
49785         (sinh_test_upward): Likewise.
49786         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
49787         (sqrt_test): Use ALL_RM_TEST.
49788         (sqrt_tonearest_test_data): Remove.
49789         (sqrt_test_tonearest): Likewise.
49790         (sqrt_towardzero_test_data): Likewise.
49791         (sqrt_test_towardzero): Likewise.
49792         (sqrt_downward_test_data): Likewise.
49793         (sqrt_test_downward): Likewise.
49794         (sqrt_upward_test_data): Likewise.
49795         (sqrt_test_upward): Likewise.
49796         (tan_test_data): Update call to AUTO_TESTS_f_f.
49797         (tan_test): Use ALL_RM_TEST.
49798         (tan_tonearest_test_data): Remove.
49799         (tan_test_tonearest): Likewise.
49800         (tan_towardzero_test_data): Likewise.
49801         (tan_test_towardzero): Likewise.
49802         (tan_downward_test_data): Likewise.
49803         (tan_test_downward): Likewise.
49804         (tan_upward_test_data): Likewise.
49805         (tan_test_upward): Likewise.
49806         (tanh_test_data): Update call to AUTO_TESTS_f_f.
49807         (tgamma_test_data): Likewise.
49808         (y0_test_data): Likewise.
49809         (y1_test_data): Likewise.
49810         (yn_test_data): Update call to AUTO_TESTS_if_f.
49811         (main): Do not call removed functions.
49813 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
49815         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
49816         (ldexp_test_data): Remove.
49817         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
49818         scalbn_test_data.
49819         (scalb_test): Use ALL_RM_TEST.
49821 2014-03-19  Andreas Schwab  <schwab@suse.de>
49823         * nscd/nscd.service: Also invalidate netgroup cache on reload.
49825 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
49827         [BZ #16649]
49828         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49829         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
49830         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
49831         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49832         (__ASSUME_PREADV): Undefine.
49833         (__ASSUME_PWRITEV): Likewise.
49835 2014-03-18  Roland McGrath  <roland@hack.frob.com>
49837         * bits/mman-linux.h: Add comment about non-Linux use.
49838         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
49839         bits/mman-linux.h resting place.
49841         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
49842         * bits/mman-linux.h: ... here.
49844 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49846         * conform/conformtest.pl: Add standard definition when calling C
49847         preprocessor on data files.
49848         (checknamespace): Remove unused variable.
49850 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
49852         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
49853         minus_oflow, plus_uflow and minus_uflow in expected results.
49854         * math/libm-test.inc (scalbn_test_data): Add more tests of
49855         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
49856         minus_uflow.
49857         (scalbn_test): Use ALL_RM_TEST.
49858         (scalbln_test_data): Add more tests of negative arguments.  Use
49859         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
49860         (scalbln_test): Use ALL_RM_TEST.
49862 2014-03-18  Roland McGrath  <roland@hack.frob.com>
49864         * scripts/abilist.awk: Ignore symbols marked with .hidden.
49866 2014-03-18  Will Newton  <will.newton@linaro.org>
49868         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
49869         inaccurate comment.
49871 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
49873         * Makerules [!subdir] (check-abi): Exit with error status if a
49874         test failed.
49876 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
49878         * math/libm-test.inc (nearbyint_test_data): Include all tests used
49879         for rint.  Include results for all rounding modes.
49880         (nearbyint_test): Use ALL_RM_TEST.
49881         (rint_test_data): Include all tests used for nearbyint.
49883 2014-03-17  Will Newton  <will.newton@linaro.org>
49885         * nptl/sysdeps/pthread/pthread.h: Revert previous
49886         change.
49888         * sysdeps/generic/ldsodefs.h: Revert previous
49889         change.
49891         * libio/genops.c: Revert previous change.
49892         * libio/libioP.h: Likewise.
49893         * stdio-common/vfprintf.c: Likewise.
49895         * sysdeps/generic/math_private.h: Revert previous
49896         change.
49898         * sysdeps/generic/math_private.h: Check whether
49899         HAVE_RM_CTX is defined with #ifdef rather
49900         than #if.
49902         * argp/argp-fmtstream.h: Check whether
49903         __STRICT_ANSI__ is defined with #ifdef rather
49904         than #if.
49905         * argp/argp.h: Likewise.
49907         * libio/genops.c: Check whether
49908         _IO_JUMPS_OFFSET is defined with #ifdef rather
49909         than #if.
49910         * libio/libioP.h: Likewise.
49911         * stdio-common/vfprintf.c: Likewise.
49913         * sysdeps/generic/ldsodefs.h: Check whether
49914         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
49915         than #if.
49917         * nptl/sysdeps/pthread/pthread.h: Check
49918         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
49919         its value.
49921 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49923         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
49924         setting O_APPEND.
49925         * libio/tst-ftell-active-handler.c (do_append_test): Add a
49926         test case.
49928         [BZ #16680]
49929         * libio/fileops.c (_IO_file_open): Seek to end of file but
49930         don't cache the offset.
49931         (get_file_offset): Remove function.
49932         (do_ftell): Use cached offset when available.
49933         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
49934         don't cache the offset.
49935         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
49936         case.
49937         (do_one_test): Call it.
49938         (do_ftell_test): Fix up expected old offset for a+ mode.
49939         * libio/wfileops.c (do_ftell_wide): Used cached offset when
49940         available.
49942         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
49943         up test status with function return status.
49944         (do_write_test): Likewise.
49945         (do_append_test): Likewise.
49947         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
49948         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
49949         Remove.
49951 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
49953         * math/gen-libm-test.pl (parse_args): Handle results specified for
49954         each rounding mode separately.
49955         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
49956         tests and results from lrint_tonearest_test_data,
49957         lrint_towardzero_test_data, lrint_downward_test_data and
49958         lrint_upward_test_data.
49959         (lrint_test): Use ALL_RM_TEST.
49960         (lrint_tonearest_test_data): Remove.
49961         (lrint_test_tonearest): Likewise.
49962         (lrint_towardzero_test_data): Likewise.
49963         (lrint_test_towardzero): Likewise.
49964         (lrint_downward_test_data): Likewise.
49965         (lrint_test_downward): Likewise.
49966         (lrint_upward_test_data): Likewise.
49967         (lrint_test_upward): Likewise.
49968         (llrint_test_data): Merge in per-rounding-mode tests and results
49969         from llrint_tonearest_test_data, llrint_towardzero_test_data,
49970         llrint_downward_test_data and llrint_upward_test_data.
49971         (llrint_test): Use ALL_RM_TEST.
49972         (llrint_tonearest_test_data): Remove.
49973         (llrint_test_tonearest): Likewise.
49974         (llrint_towardzero_test_data): Likewise.
49975         (llrint_test_towardzero): Likewise.
49976         (llrint_downward_test_data): Likewise.
49977         (llrint_test_downward): Likewise.
49978         (llrint_upward_test_data): Likewise.
49979         (llrint_test_upward): Likewise.
49980         (rint_test_data): Merge in per-rounding-mode tests and results
49981         from rint_tonearest_test_data, rint_towardzero_test_data,
49982         rint_downward_test_data and rint_upward_test_data.  Add
49983         per-rounding-mode results for tests not in those arrays.
49984         (rint_test): Use ALL_RM_TEST.
49985         (rint_tonearest_test_data): Remove.
49986         (rint_test_tonearest): Likewise.
49987         (rint_towardzero_test_data): Likewise.
49988         (rint_test_towardzero): Likewise.
49989         (rint_downward_test_data): Likewise.
49990         (rint_test_downward): Likewise.
49991         (rint_upward_test_data): Likewise.
49992         (rint_test_upward): Likewise.
49993         (main): Don't call removed functions.
49995 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49997         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
49998         "Compiled on ..." crapola.  It is anti-useful.
50000 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
50002         * scripts/evaluate-test.sh: Handle fourth argument to determine
50003         whether test run should stop on failure.
50004         * Makeconfig (stop-on-test-failure): New variable.
50005         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
50006         $(stop-on-test-failure).
50007         * Makefile (tests): Give a summary of results from testing and
50008         exit with failure status if they include an ERROR or FAIL.
50009         (xtests): Likewise.
50010         * manual/install.texi (Configuring and compiling): Mention
50011         stop-on-test-failure=y.
50012         * INSTALL: Regenerated.
50014 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50016         * scripts/versionlist.awk: New file.
50017         * Makerules [$(build-shared) = yes]
50018         (postclean-generated): Add Versions.def, not Versions.def.v and
50019         Versions.def.v.i.
50020         ($(common-objpfx)Versions.def.v.i): Target removed.
50021         ($(common-objpfx)Versions.def): New target.
50022         ($(common-objpfx)Versions.all): Depend on that rather that
50023         $(common-objpfx)Versions.def.v.
50024         * Versions.def: File removed.
50026         * Makeconfig (+gccwarn): Add -Wundef.
50027         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
50028         a dl-sysdep.h breaking its contract.
50029         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
50030         * include/stackinfo.h: New file.
50031         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
50032         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
50033         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
50034         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
50035         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
50036         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
50037         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50038         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50039         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50040         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50041         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50042         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
50043         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50044         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50045         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50047 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50049         [BZ #16707]
50050         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
50051         implementation.
50052         * math/libm-test.inc (round_test_data): Add more tests.
50054         [BZ #16706]
50055         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
50056         implementation.
50057         * math/libm-test.inc (nearbyint_test_data): Add more tests.
50059         [BZ #16701]
50060         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
50061         implementation.
50062         * math/libm-test.inc (ceil_test_data): Add more tests.
50064         * math/libm-test.inc (trunc_test_data): Add more tests related to
50065         BZ#16414.
50067 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50069         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
50070         with #if rather than #ifdef.
50071         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
50073 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
50075         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
50076         first.  Disable AVX-512 GCC support if assembler doesn't support
50077         it.
50078         * sysdeps/x86_64/configure: Regenerated.
50080 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
50082         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
50083         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
50084         (__old_pthread_attr_setstack): Likewise.
50085         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
50086         [!_STACK_GROWS_DOWN]: Likewise.
50088 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
50090         * config.make.in (have-bash2): Delete.
50091         * configure.ac (libc_cv_have_bash2): Delete.
50092         * configure: Regenerate.
50093         * elf/Makefile (common-ldd-rewrite): Rename to ...
50094         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
50095         (sh-ldd-rewrite): Delete.
50096         (bash-ldd-rewrite): Delete.
50097         (have-bash2): Delete checks.
50098         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
50099         ldd-rewrite.
50101         * config.make.in (have-ksh): Delete.
50102         (KSH): Delete.
50103         * configure.ac (libc_cv_have_ksh): Delete.
50104         * configure: Regenerate.
50106         * elf/Makefile: Delete $(have-ksh) check.
50107         ($(objpfx)sotruss): Change KSH to BASH.
50108         * elf/sotruss.ksh: Rename to ...
50109         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
50110         function style to match POSIX.  Drop ksh vim mode setting.
50112         * manual/time.texi (Specifying the Time Zone with TZ): Change
50113         Tuesday to Thursday.
50115         * debug/tst-longjmp_chk2.c: Update header comment.
50116         (stackoverflow_handler): Add comment.  Call assert on pass value.
50118 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
50120         [BZ #16194]
50121         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
50122         (HAVE_AVX512_ASM_SUPPORT): Likewise.
50123         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
50124         (La_x86_64_vector): Add zmm.
50125         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
50126         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
50127         ($(objpfx)tst-audit10): New target.
50128         ($(objpfx)tst-audit10.out): Likewise.
50129         (tst-audit10-ENV): New.
50130         (AVX512-CFLAGS): Likewise.
50131         (CFLAGS-tst-audit10.c): Likewise.
50132         (CFLAGS-tst-auditmod10a.c): Likewise.
50133         (CFLAGS-tst-auditmod10b.c): Likewise.
50134         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
50135         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
50136         * sysdeps/x86_64/configure: Regenerated.
50137         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
50138         AVX-512 zmm register support.
50139         (_dl_x86_64_save_sse): Likewise.
50140         (_dl_x86_64_restore_sse): Likewise.
50141         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
50142         size vector registers.
50143         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
50144         (ZMM_SIZE): Likewise.
50145         * sysdeps/x86_64/tst-audit10.c: New file.
50146         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
50147         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
50149 2014-03-13  Roland McGrath  <roland@hack.frob.com>
50151         * configure.ac (HAVE_EHDR_START): New check.
50152         * configure: Regenerated.
50153         * config.h.in (HAVE_EHDR_START): New #undef.
50154         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
50155         assuming the lowest-addressed segment maps the start of the file.
50157 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
50159         * INSTALL: Regenerated.
50161 2014-03-13  Will Newton  <will.newton@linaro.org>
50163         * manual/setjmp.texi (System V contexts): Improve
50164         clarity and grammar of documentation.
50166 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
50168         [BZ #16381]
50169         * elf/Makefile (tests): Add tst-pie2.
50170         (tests-pie): Add tst-pie2.
50171         * elf/tst-pie2.c: New file.
50172         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
50173         for ET_EXEC.
50174         * elf/rtld.c (map_doit): Load executable as lt_executable.
50175         (dl_main): Likewise.
50177 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
50179         [BZ #16642]
50180         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50181         (__ASSUME_PSELECT): Undefine.
50183 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50185         [BZ #16689]
50186         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
50187         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
50188         static build.
50189         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
50190         selector for static builds.
50192 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50194         [BZ #16695]
50195         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
50196         key in the buffer.
50198 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50200         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
50201         IFUNC selector for static builds.
50203 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
50205         * sysdeps/mips/math_private.h [__mips_hard_float]
50206         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
50207         libc_feresetround_mips_ctx.
50208         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
50209         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
50210         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
50212         [BZ #16677]
50213         * math/s_nextafter.c (__nextafter): Do not return value from
50214         overflowing computation.
50215         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
50216         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
50217         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
50218         Likewise.
50219         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
50220         Likewise.
50221         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
50222         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
50224 2014-03-11  Roland McGrath  <roland@hack.frob.com>
50226         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
50227         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
50228         Move sfi_sp use from the load-multiple (that no longer sets sp) to
50229         the new mov targetting sp.
50231 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50233         [BZ #16683]
50234         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
50235         Define it for static builds as well.
50236         (NO_BZERO_IMPL): Likewise.
50238 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50240         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
50241         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
50242         multiarch strspn for PPC64.
50243         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
50244         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
50245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50246         (__libc_ifunc_impl_list): Likewise.
50247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
50248         multiarch optimizations
50249         * string/strspn.c (strspn): Using macro to redefine symbol name.
50251 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50252             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50254         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
50255         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
50256         multiarch strncat for PPC64.
50257         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
50258         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
50259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50260         (__libc_ifunc_impl_list): Likewise.
50261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
50262         multiarch optimizations
50264 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50266         [BZ #16639]
50267         * nscd/nscd.service: Make service type forking.
50269 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50271         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
50272         sign in non default rounding modes.
50273         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
50275 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
50277         * math/libm-test.inc (ALL_RM_TEST): New macro.
50278         (ceil_test): Use ALL_RM_TEST.
50279         (cimag_test): Likewise.
50280         (conj_test): Likewise.
50281         (copysign_test): Likewise.
50282         (cproj_test): Likewise.
50283         (creal_test): Likewise.
50284         (fabs_test): Likewise.
50285         (floor_test): Likewise.
50286         (fmax_test): Likewise.
50287         (fmin_test): Likewise.
50288         (fmod_test): Likewise.
50289         (fpclassify_test): Likewise.
50290         (frexp_test): Likewise.
50291         (ilogb_test): Likewise.
50292         (isfinite_test): Likewise.
50293         (finite_test): Likewise.
50294         (isgreater_test): Likewise.
50295         (isgreaterequal_test): Likewise.
50296         (isinf_test): Likewise.
50297         (isless_test): Likewise.
50298         (islessequal_test): Likewise.
50299         (islessgreater_test): Likewise.
50300         (isnan_test): Likewise.
50301         (isnormal_test): Likewise.
50302         (issignaling_test): Likewise.
50303         (isunordered_test): Likewise.
50304         (logb_test): Likewise.
50305         (logb_downward_test_data): Remove.
50306         (logb_test_downward): Likewise.
50307         (lround_test): Use ALL_RM_TEST.
50308         (llround_test): Likewise.
50309         (modf_test): Likewise.
50310         (nexttoward_test): Likewise.
50311         (remainder_test): Likewise.
50312         (drem_test): Likewise.
50313         (remainder_tonearest_test_data): Likewise.
50314         (remainder_test_tonearest): Likewise.
50315         (drem_test_tonearest): Likewise.
50316         (remainder_towardzero_test_data): Likewise.
50317         (remainder_test_towardzero): Likewise.
50318         (drem_test_towardzero): Likewise.
50319         (remainder_downward_test_data): Likewise.
50320         (remainder_test_downward): Likewise.
50321         (drem_test_downward): Likewise.
50322         (remainder_upward_test_data): Likewise.
50323         (remainder_test_upward): Likewise.
50324         (drem_test_upward): Likewise.
50325         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
50326         (round_test): Use ALL_RM_TEST.
50327         (signbit_test): Likewise.
50328         (trunc_test): Likewise.
50329         (significand_test): Likewise.
50330         (main): Don't call removed functions.
50332 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
50334         [BZ #16674]
50335         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
50336         || __USE_XOPEN2K8].
50337         (ILL_ILLOPN): Likewise.
50338         (ILL_ILLADR): Likewise.
50339         (ILL_ILLTRP): Likewise.
50340         (ILL_PRVOPC): Likewise.
50341         (ILL_PRVREG): Likewise.
50342         (ILL_COPROC): Likewise.
50343         (ILL_BADSTK): Likewise.
50344         (FPE_INTDIV): Likewise.
50345         (FPE_INTOVF): Likewise.
50346         (FPE_FLTDIV): Likewise.
50347         (FPE_FLTOVF): Likewise.
50348         (FPE_FLTUND): Likewise.
50349         (FPE_FLTRES): Likewise.
50350         (FPE_FLTINV): Likewise.
50351         (FPE_FLTSUB): Likewise.
50352         (SEGV_MAPERR): Likewise.
50353         (SEGV_ACCERR): Likewise.
50354         (BUS_ADRALN): Likewise.
50355         (BUS_ADRERR): Likewise.
50356         (BUS_OBJERR): Likewise.
50357         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50358         (TRAP_TRACE): Likewise.
50359         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50360         __USE_XOPEN2K8].
50361         (CLD_KILLED): Likewise.
50362         (CLD_DUMPED): Likewise.
50363         (CLD_TRAPPED): Likewise.
50364         (CLD_STOPPED): Likewise.
50365         (CLD_CONTINUED): Likewise.
50366         (POLL_IN): Likewise.
50367         (POLL_OUT): Likewise.
50368         (POLL_MSG): Likewise.
50369         (POLL_ERR): Likewise.
50370         (POLL_PRI): Likewise.
50371         (POLL_HUP): Likewise.
50372         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
50373         Likewise.
50374         (ILL_ILLOPN): Likewise.
50375         (ILL_ILLADR): Likewise.
50376         (ILL_ILLTRP): Likewise.
50377         (ILL_PRVOPC): Likewise.
50378         (ILL_PRVREG): Likewise.
50379         (ILL_COPROC): Likewise.
50380         (ILL_BADSTK): Likewise.
50381         (FPE_INTDIV): Likewise.
50382         (FPE_INTOVF): Likewise.
50383         (FPE_FLTDIV): Likewise.
50384         (FPE_FLTOVF): Likewise.
50385         (FPE_FLTUND): Likewise.
50386         (FPE_FLTRES): Likewise.
50387         (FPE_FLTINV): Likewise.
50388         (FPE_FLTSUB): Likewise.
50389         (SEGV_MAPERR): Likewise.
50390         (SEGV_ACCERR): Likewise.
50391         (BUS_ADRALN): Likewise.
50392         (BUS_ADRERR): Likewise.
50393         (BUS_OBJERR): Likewise.
50394         (BUS_MCEERR_AR): Likewise.
50395         (BUS_MCEERR_AO): Likewise.
50396         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50397         (TRAP_TRACE): Likewise.
50398         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50399         __USE_XOPEN2K8].
50400         (CLD_KILLED): Likewise.
50401         (CLD_DUMPED): Likewise.
50402         (CLD_TRAPPED): Likewise.
50403         (CLD_STOPPED): Likewise.
50404         (CLD_CONTINUED): Likewise.
50405         (POLL_IN): Likewise.
50406         (POLL_OUT): Likewise.
50407         (POLL_MSG): Likewise.
50408         (POLL_ERR): Likewise.
50409         (POLL_PRI): Likewise.
50410         (POLL_HUP): Likewise.
50411         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
50412         (ILL_ILLOPN): Likewise.
50413         (ILL_ILLADR): Likewise.
50414         (ILL_ILLTRP): Likewise.
50415         (ILL_PRVOPC): Likewise.
50416         (ILL_PRVREG): Likewise.
50417         (ILL_COPROC): Likewise.
50418         (ILL_BADSTK): Likewise.
50419         (FPE_INTDIV): Likewise.
50420         (FPE_INTOVF): Likewise.
50421         (FPE_FLTDIV): Likewise.
50422         (FPE_FLTOVF): Likewise.
50423         (FPE_FLTUND): Likewise.
50424         (FPE_FLTRES): Likewise.
50425         (FPE_FLTINV): Likewise.
50426         (FPE_FLTSUB): Likewise.
50427         (SEGV_MAPERR): Likewise.
50428         (SEGV_ACCERR): Likewise.
50429         (BUS_ADRALN): Likewise.
50430         (BUS_ADRERR): Likewise.
50431         (BUS_OBJERR): Likewise.
50432         (BUS_MCEERR_AR): Likewise.
50433         (BUS_MCEERR_AO): Likewise.
50434         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50435         (TRAP_TRACE): Likewise.
50436         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50437         __USE_XOPEN2K8].
50438         (CLD_KILLED): Likewise.
50439         (CLD_DUMPED): Likewise.
50440         (CLD_TRAPPED): Likewise.
50441         (CLD_STOPPED): Likewise.
50442         (CLD_CONTINUED): Likewise.
50443         (POLL_IN): Likewise.
50444         (POLL_OUT): Likewise.
50445         (POLL_MSG): Likewise.
50446         (POLL_ERR): Likewise.
50447         (POLL_PRI): Likewise.
50448         (POLL_HUP): Likewise.
50449         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
50450         Likewise.
50451         (ILL_ILLOPN): Likewise.
50452         (ILL_ILLADR): Likewise.
50453         (ILL_ILLTRP): Likewise.
50454         (ILL_PRVOPC): Likewise.
50455         (ILL_PRVREG): Likewise.
50456         (ILL_COPROC): Likewise.
50457         (ILL_BADSTK): Likewise.
50458         (ILL_BADIADDR): Likewise.
50459         (ILL_BREAK): Likewise.
50460         (FPE_INTDIV): Likewise.
50461         (FPE_INTOVF): Likewise.
50462         (FPE_FLTDIV): Likewise.
50463         (FPE_FLTOVF): Likewise.
50464         (FPE_FLTUND): Likewise.
50465         (FPE_FLTRES): Likewise.
50466         (FPE_FLTINV): Likewise.
50467         (FPE_FLTSUB): Likewise.
50468         (FPE_DECOVF): Likewise.
50469         (FPE_DECDIV): Likewise.
50470         (FPE_DECERR): Likewise.
50471         (FPE_INVASC): Likewise.
50472         (FPE_INVDEC): Likewise.
50473         (SEGV_MAPERR): Likewise.
50474         (SEGV_ACCERR): Likewise.
50475         (SEGV_PSTKOVF): Likewise.
50476         (BUS_ADRALN): Likewise.
50477         (BUS_ADRERR): Likewise.
50478         (BUS_OBJERR): Likewise.
50479         (BUS_MCEERR_AR): Likewise.
50480         (BUS_MCEERR_AO): Likewise.
50481         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50482         (TRAP_TRACE): Likewise.
50483         (TRAP_BRANCH): Likewise.
50484         (TRAP_HWBKPT): Likewise.
50485         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50486         __USE_XOPEN2K8].
50487         (CLD_KILLED): Likewise.
50488         (CLD_DUMPED): Likewise.
50489         (CLD_TRAPPED): Likewise.
50490         (CLD_STOPPED): Likewise.
50491         (CLD_CONTINUED): Likewise.
50492         (POLL_IN): Likewise.
50493         (POLL_OUT): Likewise.
50494         (POLL_MSG): Likewise.
50495         (POLL_ERR): Likewise.
50496         (POLL_PRI): Likewise.
50497         (POLL_HUP): Likewise.
50498         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
50499         (ILL_ILLOPN): Likewise.
50500         (ILL_ILLADR): Likewise.
50501         (ILL_ILLTRP): Likewise.
50502         (ILL_PRVOPC): Likewise.
50503         (ILL_PRVREG): Likewise.
50504         (ILL_COPROC): Likewise.
50505         (ILL_BADSTK): Likewise.
50506         (FPE_INTDIV): Likewise.
50507         (FPE_INTOVF): Likewise.
50508         (FPE_FLTDIV): Likewise.
50509         (FPE_FLTOVF): Likewise.
50510         (FPE_FLTUND): Likewise.
50511         (FPE_FLTRES): Likewise.
50512         (FPE_FLTINV): Likewise.
50513         (FPE_FLTSUB): Likewise.
50514         (SEGV_MAPERR): Likewise.
50515         (SEGV_ACCERR): Likewise.
50516         (BUS_ADRALN): Likewise.
50517         (BUS_ADRERR): Likewise.
50518         (BUS_OBJERR): Likewise.
50519         (BUS_MCEERR_AR): Likewise.
50520         (BUS_MCEERR_AO): Likewise.
50521         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50522         (TRAP_TRACE): Likewise.
50523         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50524         __USE_XOPEN2K8].
50525         (CLD_KILLED): Likewise.
50526         (CLD_DUMPED): Likewise.
50527         (CLD_TRAPPED): Likewise.
50528         (CLD_STOPPED): Likewise.
50529         (CLD_CONTINUED): Likewise.
50530         (POLL_IN): Likewise.
50531         (POLL_OUT): Likewise.
50532         (POLL_MSG): Likewise.
50533         (POLL_ERR): Likewise.
50534         (POLL_PRI): Likewise.
50535         (POLL_HUP): Likewise.
50536         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
50537         (ILL_ILLOPN): Likewise.
50538         (ILL_ILLADR): Likewise.
50539         (ILL_ILLTRP): Likewise.
50540         (ILL_PRVOPC): Likewise.
50541         (ILL_PRVREG): Likewise.
50542         (ILL_COPROC): Likewise.
50543         (ILL_BADSTK): Likewise.
50544         (FPE_INTDIV): Likewise.
50545         (FPE_INTOVF): Likewise.
50546         (FPE_FLTDIV): Likewise.
50547         (FPE_FLTOVF): Likewise.
50548         (FPE_FLTUND): Likewise.
50549         (FPE_FLTRES): Likewise.
50550         (FPE_FLTINV): Likewise.
50551         (FPE_FLTSUB): Likewise.
50552         (SEGV_MAPERR): Likewise.
50553         (SEGV_ACCERR): Likewise.
50554         (BUS_ADRALN): Likewise.
50555         (BUS_ADRERR): Likewise.
50556         (BUS_OBJERR): Likewise.
50557         (BUS_MCEERR_AR): Likewise.
50558         (BUS_MCEERR_AO): Likewise.
50559         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50560         (TRAP_TRACE): Likewise.
50561         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50562         __USE_XOPEN2K8].
50563         (CLD_KILLED): Likewise.
50564         (CLD_DUMPED): Likewise.
50565         (CLD_TRAPPED): Likewise.
50566         (CLD_STOPPED): Likewise.
50567         (CLD_CONTINUED): Likewise.
50568         (POLL_IN): Likewise.
50569         (POLL_OUT): Likewise.
50570         (POLL_MSG): Likewise.
50571         (POLL_ERR): Likewise.
50572         (POLL_PRI): Likewise.
50573         (POLL_HUP): Likewise.
50574         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
50575         (ILL_ILLOPN): Likewise.
50576         (ILL_ILLADR): Likewise.
50577         (ILL_ILLTRP): Likewise.
50578         (ILL_PRVOPC): Likewise.
50579         (ILL_PRVREG): Likewise.
50580         (ILL_COPROC): Likewise.
50581         (ILL_BADSTK): Likewise.
50582         (FPE_INTDIV): Likewise.
50583         (FPE_INTOVF): Likewise.
50584         (FPE_FLTDIV): Likewise.
50585         (FPE_FLTOVF): Likewise.
50586         (FPE_FLTUND): Likewise.
50587         (FPE_FLTRES): Likewise.
50588         (FPE_FLTINV): Likewise.
50589         (FPE_FLTSUB): Likewise.
50590         (SEGV_MAPERR): Likewise.
50591         (SEGV_ACCERR): Likewise.
50592         (BUS_ADRALN): Likewise.
50593         (BUS_ADRERR): Likewise.
50594         (BUS_OBJERR): Likewise.
50595         (BUS_MCEERR_AR): Likewise.
50596         (BUS_MCEERR_AO): Likewise.
50597         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50598         (TRAP_TRACE): Likewise.
50599         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50600         __USE_XOPEN2K8].
50601         (CLD_KILLED): Likewise.
50602         (CLD_DUMPED): Likewise.
50603         (CLD_TRAPPED): Likewise.
50604         (CLD_STOPPED): Likewise.
50605         (CLD_CONTINUED): Likewise.
50606         (POLL_IN): Likewise.
50607         (POLL_OUT): Likewise.
50608         (POLL_MSG): Likewise.
50609         (POLL_ERR): Likewise.
50610         (POLL_PRI): Likewise.
50611         (POLL_HUP): Likewise.
50612         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
50613         (ILL_ILLOPN): Likewise.
50614         (ILL_ILLADR): Likewise.
50615         (ILL_ILLTRP): Likewise.
50616         (ILL_PRVOPC): Likewise.
50617         (ILL_PRVREG): Likewise.
50618         (ILL_COPROC): Likewise.
50619         (ILL_BADSTK): Likewise.
50620         (ILL_DBLFLT): Likewise.
50621         (ILL_HARDWALL): Likewise.
50622         (FPE_INTDIV): Likewise.
50623         (FPE_INTOVF): Likewise.
50624         (FPE_FLTDIV): Likewise.
50625         (FPE_FLTOVF): Likewise.
50626         (FPE_FLTUND): Likewise.
50627         (FPE_FLTRES): Likewise.
50628         (FPE_FLTINV): Likewise.
50629         (FPE_FLTSUB): Likewise.
50630         (SEGV_MAPERR): Likewise.
50631         (SEGV_ACCERR): Likewise.
50632         (BUS_ADRALN): Likewise.
50633         (BUS_ADRERR): Likewise.
50634         (BUS_OBJERR): Likewise.
50635         (BUS_MCEERR_AR): Likewise.
50636         (BUS_MCEERR_AO): Likewise.
50637         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50638         (TRAP_TRACE): Likewise.
50639         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50640         __USE_XOPEN2K8].
50641         (CLD_KILLED): Likewise.
50642         (CLD_DUMPED): Likewise.
50643         (CLD_TRAPPED): Likewise.
50644         (CLD_STOPPED): Likewise.
50645         (CLD_CONTINUED): Likewise.
50646         (POLL_IN): Likewise.
50647         (POLL_OUT): Likewise.
50648         (POLL_MSG): Likewise.
50649         (POLL_ERR): Likewise.
50650         (POLL_PRI): Likewise.
50651         (POLL_HUP): Likewise.
50652         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
50653         (ILL_ILLOPN): Likewise.
50654         (ILL_ILLADR): Likewise.
50655         (ILL_ILLTRP): Likewise.
50656         (ILL_PRVOPC): Likewise.
50657         (ILL_PRVREG): Likewise.
50658         (ILL_COPROC): Likewise.
50659         (ILL_BADSTK): Likewise.
50660         (FPE_INTDIV): Likewise.
50661         (FPE_INTOVF): Likewise.
50662         (FPE_FLTDIV): Likewise.
50663         (FPE_FLTOVF): Likewise.
50664         (FPE_FLTUND): Likewise.
50665         (FPE_FLTRES): Likewise.
50666         (FPE_FLTINV): Likewise.
50667         (FPE_FLTSUB): Likewise.
50668         (SEGV_MAPERR): Likewise.
50669         (SEGV_ACCERR): Likewise.
50670         (BUS_ADRALN): Likewise.
50671         (BUS_ADRERR): Likewise.
50672         (BUS_OBJERR): Likewise.
50673         (BUS_MCEERR_AR): Likewise.
50674         (BUS_MCEERR_AO): Likewise.
50675         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50676         (TRAP_TRACE): Likewise.
50677         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50678         __USE_XOPEN2K8].
50679         (CLD_KILLED): Likewise.
50680         (CLD_DUMPED): Likewise.
50681         (CLD_TRAPPED): Likewise.
50682         (CLD_STOPPED): Likewise.
50683         (CLD_CONTINUED): Likewise.
50684         (POLL_IN): Likewise.
50685         (POLL_OUT): Likewise.
50686         (POLL_MSG): Likewise.
50687         (POLL_ERR): Likewise.
50688         (POLL_PRI): Likewise.
50689         (POLL_HUP): Likewise.
50690         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
50691         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
50693         [BZ #16670]
50694         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
50695         before #include of <time.h>.
50696         [!__USE_XOPEN2K] (__need_timespec): Likewise.
50697         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
50698         (test-xfail-UNIX98/sched.h/conform): Likewise.
50700 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50702         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
50703         error absence of trapping exception support.
50704         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
50706 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
50708         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
50709         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
50710         * timezone/Makefile (testdata): Move definition above include of
50711         Rules.
50712         (test-zones): New variable.
50713         (tests-special): Add zone files.
50714         (build-testdata): Use $(evaluate-test).
50716         * elf/Makefile (tests-special): Rename tests to end with .out.
50717         ($(objpfx)noload-mem): Likewise.
50718         ($(objpfx)tst-leaks1-mem): Likewise.
50719         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
50720         * iconv/Makefile (xtests-special): Change test-iconvconfig to
50721         $(objpfx)test-iconvconfig.out.
50722         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
50723         set -e inside subshell and redirect output to file.
50724         * iconvdata/Makefile (generated): Rename tests to end with .out.
50725         Correct type.
50726         (tests-special): Rename tests to end with .out.
50727         ($(objpfx)mtrace-tst-loading): Likewise.
50728         * intl/Makefile (generated): Likewise.
50729         (tests-special): Likewise.
50730         ($(objpfx)mtrace-tst-gettext): Likewise.
50731         * misc/Makefile (generated): Likewise.
50732         (tests-special): Likewise.
50733         ($(objpfx)tst-error1-mem): Likewise.
50734         * nptl/Makefile (tests-special): Likewise.
50735         ($(objpfx)tst-stack3-mem): Likewise.
50736         (generated): Likewise.
50737         * posix/Makefile (generated): Likewise.
50738         (tests-special): Likewise.
50739         (xtests-special): Likewise.
50740         ($(objpfx)tst-fnmatch-mem): Likewise.
50741         ($(objpfx)bug-regex2-mem): Likewise.
50742         ($(objpfx)bug-regex14-mem): Likewise.
50743         ($(objpfx)bug-regex21-mem): Likewise.
50744         ($(objpfx)bug-regex31-mem): Likewise.
50745         ($(objpfx)tst-vfork3-mem): Likewise.
50746         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50747         ($(objpfx)tst-pcre-mem): Likewise.
50748         ($(objpfx)tst-boost-mem): Likewise.
50749         ($(objpfx)bug-ga2-mem): Likewise.
50750         ($(objpfx)bug-glob2-mem): Likewise.
50751         * resolv/Makefile (generate): Likewise.
50752         (tests-special): Likewise.
50753         (xtests-special): Likewise.
50754         (generated): Likewise.
50755         ($(objpfx)mtrace-tst-leaks): Likewise.
50756         ($(objpfx)mtrace-tst-leaks2): Likewise.
50758         * scripts/merge-test-results.sh: New file.
50759         * Makefile (tests-special-notdir): New variable.
50760         (tests): Run merge-test-results.sh.
50761         (xtests): Likewise.
50762         * Rules (tests-special-notdir): New variable.
50763         (xtests-special-notdir): Likewise.
50764         (tests): Run merge-test-results.sh
50765         (xtests): Likewise.
50767         * Makeconfig (test-xfail-name): New variable.
50768         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
50769         compute variable name for expected failures.
50770         * conform/Makefile (conformtest-headers-data): New variable.
50771         (conformtest-standards): Likewise.
50772         (conformtest-headers-ISO): Likewise.
50773         (conformtest-headers-ISO99): Likewise.
50774         (conformtest-headers-ISO11): Likewise.
50775         (conformtest-headers-POSIX): Likewise.
50776         (conformtest-headers-XPG3): Likewise.
50777         (conformtest-headers-XPG4): Likewise.
50778         (conformtest-headers-UNIX98): Likewise.
50779         (conformtest-headers-XOPEN2K): Likewise.
50780         (conformtest-headers-POSIX2008): Likewise.
50781         (conformtest-headers-XOPEN2K8): Likewise.
50782         (conformtest-header-list-base): Likewise.
50783         (conformtest-header-list-tests): Likewise.
50784         (conformtest-header-base): Likewise.
50785         (conformtest-header-tests): Likewise.
50786         (tests-special): Add $(conformtest-header-list-tests).  If
50787         [$(fast-check) && !$(cross-compiling)], add
50788         $(conformtest-header-tests) instead of
50789         $(objpfx)run-conformtest.out.
50790         (generated): Add $(conformtest-header-list-base).  If
50791         [$(fast-check) && !$(cross-compiling)], add
50792         $(conformtest-header-base).  Remove previous setting.
50793         ($(conformtest-header-list-tests)): New target.
50794         (test-xfail-run-conformtest): Remove variable.
50795         ($(objpfx)run-conformtest.out): Remove target.
50796         (test-xfail-ISO11/complex.h/conform): New variable.
50797         (test-xfail-ISO11/stdalign.h/conform): Likewise.
50798         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
50799         (test-xfail-XPG3/varargs.h/conform): Likewise.
50800         (test-xfail-XPG4/varargs.h/conform): Likewise.
50801         (test-xfail-UNIX98/varargs.h/conform): Likewise.
50802         (test-xfail-XPG4/ndbm.h/conform): Likewise.
50803         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
50804         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
50805         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
50806         (test-xfail-XPG3/fcntl.h/conform): Likewise.
50807         (test-xfail-XPG3/ftw.h/conform): Likewise.
50808         (test-xfail-XPG3/grp.h/conform): Likewise.
50809         (test-xfail-XPG3/langinfo.h/conform): Likewise.
50810         (test-xfail-XPG3/limits.h/conform): Likewise.
50811         (test-xfail-XPG3/pwd.h/conform): Likewise.
50812         (test-xfail-XPG3/search.h/conform): Likewise.
50813         (test-xfail-XPG3/signal.h/conform): Likewise.
50814         (test-xfail-XPG3/stdio.h/conform): Likewise.
50815         (test-xfail-XPG3/stdlib.h/conform): Likewise.
50816         (test-xfail-XPG3/string.h/conform): Likewise.
50817         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
50818         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
50819         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
50820         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
50821         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
50822         (test-xfail-XPG3/sys/types.h/conform): Likewise.
50823         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
50824         (test-xfail-XPG3/termios.h/conform): Likewise.
50825         (test-xfail-XPG3/time.h/conform): Likewise.
50826         (test-xfail-XPG3/unistd.h/conform): Likewise.
50827         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
50828         (test-xfail-XPG4/fcntl.h/conform): Likewise.
50829         (test-xfail-XPG4/langinfo.h/conform): Likewise.
50830         (test-xfail-XPG4/netdb.h/conform): Likewise.
50831         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
50832         (test-xfail-XPG4/signal.h/conform): Likewise.
50833         (test-xfail-XPG4/stdio.h/conform): Likewise.
50834         (test-xfail-XPG4/stdlib.h/conform): Likewise.
50835         (test-xfail-XPG4/stropts.h/conform): Likewise.
50836         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
50837         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
50838         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
50839         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
50840         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
50841         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
50842         (test-xfail-XPG4/sys/time.h/conform): Likewise.
50843         (test-xfail-XPG4/sys/types.h/conform): Likewise.
50844         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
50845         (test-xfail-XPG4/termios.h/conform): Likewise.
50846         (test-xfail-XPG4/ucontext.h/conform): Likewise.
50847         (test-xfail-XPG4/unistd.h/conform): Likewise.
50848         (test-xfail-XPG4/utmpx.h/conform): Likewise.
50849         (test-xfail-POSIX/sched.h/conform): Likewise.
50850         (test-xfail-POSIX/signal.h/conform): Likewise.
50851         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
50852         (test-xfail-POSIX/tar.h/conform): Likewise.
50853         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
50854         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
50855         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
50856         (test-xfail-UNIX98/netdb.h/conform): Likewise.
50857         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
50858         (test-xfail-UNIX98/sched.h/conform): Likewise.
50859         (test-xfail-UNIX98/signal.h/conform): Likewise.
50860         (test-xfail-UNIX98/stdio.h/conform): Likewise.
50861         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
50862         (test-xfail-UNIX98/stropts.h/conform): Likewise.
50863         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
50864         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
50865         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
50866         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
50867         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
50868         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
50869         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
50870         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
50871         (test-xfail-UNIX98/unistd.h/conform): Likewise.
50872         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
50873         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
50874         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
50875         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
50876         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
50877         (test-xfail-XOPEN2K/math.h/conform): Likewise.
50878         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
50879         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
50880         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
50881         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
50882         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
50883         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
50884         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
50885         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
50886         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
50887         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
50888         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
50889         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
50890         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
50891         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
50892         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
50893         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
50894         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
50895         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
50896         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
50897         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
50898         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
50899         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
50900         (test-xfail-POSIX2008/signal.h/conform): Likewise.
50901         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
50902         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
50903         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
50904         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
50905         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
50906         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
50907         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
50908         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
50909         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
50910         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
50911         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
50912         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
50913         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
50914         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
50915         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
50916         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
50917         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
50918         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
50919         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
50920         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
50921         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
50922         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
50923         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
50924         (conformtest-cc-flags): Likewise.
50925         ($(conformtest-header-tests): New target.
50926         * conform/check-header-lists.sh: New file.
50927         * conform/run-conformtest.sh: Remove.
50929         * conform/conformtest.pl: Allow ' and \ in values given for
50930         constants.
50931         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
50932         inclusion.
50933         [POSIX] (sys/types.h): Likewise.
50934         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
50935         inclusion.
50936         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
50937         inclusion.
50938         * conform/data/signal.h-data (SIGIO): Remove expectation.
50939         [XPG3] (SIGBUS): Do not expect.
50940         [POSIX || XPG3] (SIGPOLL): Likewise.
50941         [POSIX || XPG3] (SIGPROF): Likewise.
50942         [POSIX || XPG3] (SIGSYS): Likewise.
50943         [XPG3] (SIGTRAP): Likewise.
50944         [POSIX || XPG3] (SIGURG): Likewise.
50945         [POSIX || XPG3] (SIGVTALRM): Likewise.
50946         [POSIX || XPG3] (SIGXCPU): Likewise.
50947         [POSIX || XPG3] (SIGXFSZ): Likewise.
50948         [POSIX] (SA_SIGINFO): Expect.
50949         [XPG3] (siginfo_t): Do not expect type or contents.
50950         [POSIX] (si_pid): Do not expect element.
50951         [POSIX] (si_uid): Likewise.
50952         [POSIX] (si_addr): Likewise.
50953         [POSIX] (si_status): Likewise.
50954         [POSIX] (si_band): Likewise.
50955         [XPG4] (si_value): Likewise.
50956         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
50957         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
50958         [POSIX || XPG3] (ILL_ILLADR): Likewise.
50959         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
50960         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
50961         [POSIX || XPG3] (ILL_PRVREG): Likewise.
50962         [POSIX || XPG3] (ILL_COPROC): Likewise.
50963         [POSIX || XPG3] (ILL_BADSTK): Likewise.
50964         [POSIX || XPG3] (FPE_INTDIV): Likewise.
50965         [POSIX || XPG3] (FPE_INTOVF): Likewise.
50966         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
50967         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
50968         [POSIX || XPG3] (FPE_FLTUND): Likewise.
50969         [POSIX || XPG3] (FPE_FLTRES): Likewise.
50970         [POSIX || XPG3] (FPE_FLTINV): Likewise.
50971         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
50972         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
50973         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
50974         [POSIX || XPG3] (BUS_ADRALN): Likewise.
50975         [POSIX || XPG3] (BUS_ADRERR): Likewise.
50976         [POSIX || XPG3] (BUS_OBJERR): Likewise.
50977         [POSIX || XPG3] (CLD_EXITED): Likewise.
50978         [POSIX || XPG3] (CLD_KILLED): Likewise.
50979         [POSIX || XPG3] (CLD_DUMPED): Likewise.
50980         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
50981         [POSIX || XPG3] (CLD_STOPPED): Likewise.
50982         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
50983         [POSIX || XPG3] (POLL_IN): Likewise.
50984         [POSIX || XPG3] (POLL_OUT): Likewise.
50985         [POSIX || XPG3] (POLL_MSG): Likewise.
50986         [POSIX || XPG3] (POLL_ERR): Likewise.
50987         [POSIX || XPG3] (POLL_PRI): Likewise.
50988         [POSIX || XPG3] (POLL_HUP): Likewise.
50989         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
50990         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
50991         (SIG*): Do not allow.
50992         [XPG3] (si_*): Likewise.
50993         [XPG3] (SI_*): Likewise.
50994         [XPG3 || XPG4] (sigev_*): Likewise.
50995         [XPG3 || XPG4] (SIGEV_*): Likewise.
50996         [XPG3 || XPG4] (sival_*): Likewise.
50997         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
50998         [POSIX || XPG3] (BUS_*): Likewise.
50999         [POSIX || XPG3] (CLD_*): Likewise.
51000         [POSIX || XPG3] (FPE_*): Likewise.
51001         [POSIX || XPG3] (ILL_*): Likewise.
51002         [POSIX || XPG3] (POLL_*): Likewise.
51003         [POSIX || XPG3] (SEGV_*): Likewise.
51004         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
51005         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
51006         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
51007         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
51008         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
51009         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
51010         Specify type and value.
51011         (TVERSLEN): Likewise.
51012         (REGTYPE): Likewise.
51013         (AREGTYPE): Likewise.
51014         (LNKTYPE): Likewise.
51015         (SYMTYPE): Likewise.
51016         (CHRTYPE): Likewise.
51017         (BLKTYPE): Likewise.
51018         (DIRTYPE): Likewise.
51019         (FIFOTYPE): Likewise.
51020         (CONTTYPE): Likewise.
51021         (TSUID): Likewise.
51022         (TSGID): Likewise.
51023         (TSVTX): Likewise.
51024         (TUREAD): Likewise.
51025         (TUWRITE): Likewise.
51026         (TUEXEC): Likewise.
51027         (TGREAD): Likewise.
51028         (TGWRITE): Likewise.
51029         (TGEXEC): Likewise.
51030         (TOREAD): Likewise.
51031         (TOWRITE): Likewise.
51032         (TOEXEC): Likewise.
51033         [POSIX] (TSVTX): Expect constant.
51035 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
51037         * Makefile (tests): Change dependencies to ....
51038         (tests-special): ... additions to this variable.
51039         (tests): Depend on $(tests-special).
51040         * Makerules (check-abi-list): New variable.
51041         (check-abi): Depend on $(check-abi-list).
51042         [$(subdir) = elf] (tests-special): Add
51043         $(objpfx)check-abi-libc.out.
51044         [$(build-shared) = yes && subdir] (tests-special): Add
51045         $(check-abi-list).
51046         [$(build-shared) = yes && subdir] (tests): Do not depend on
51047         check-abi.
51048         * Rules (tests): Depend on $(tests-special).
51049         (xtests): Depend on $(xtests-special).
51050         * catgets/Makefile (tests): Change dependencies to ....
51051         (tests-special): ... additions to this variable.
51052         * conform/Makefile (tests): Change dependencies to ....
51053         (tests-special): ... additions to this variable.
51054         * elf/Makefile (tests): Change dependencies to ....
51055         (tests-special): ... additions to this variable.
51056         * grp/Makefile (tests): Change dependencies to ....
51057         (tests-special): ... additions to this variable.
51058         * iconv/Makefile (xtests): Change dependencies to ....
51059         (xtests-special): ... additions to this variable.
51060         * iconvdata/Makefile (tests): Change dependencies to ....
51061         (tests-special): ... additions to this variable.
51062         * intl/Makefile (tests): Change dependencies to ....
51063         (tests-special): ... additions to this variable.  Also add
51064         $(objpfx)tst-gettext.out.
51065         * io/Makefile (tests): Change dependencies to ....
51066         (tests-special): ... additions to this variable.
51067         * libio/Makefile (tests): Change dependencies to ....
51068         (tests-special): ... additions to this variable.
51069         * malloc/Makefile (tests): Change dependencies to ....
51070         (tests-special): ... additions to this variable.
51071         * misc/Makefile (tests): Change dependencies to ....
51072         (tests-special): ... additions to this variable.
51073         * nptl/Makefile (tests): Change dependencies to ....
51074         (tests-special): ... additions to this variable.
51075         * nptl_db/Makefile (tests): Change dependencies to ....
51076         (tests-special): ... additions to this variable.
51077         * posix/Makefile (tests): Change dependencies to ....
51078         (tests-special): ... additions to this variable.
51079         (xtests): Change dependencies to ....
51080         (xtests-special): ... additions to this variable.
51081         * resolv/Makefile (tests): Change dependencies to ....
51082         (tests-special): ... additions to this variable.
51083         (xtests): Change dependencies to ....
51084         (xtests-special): ... additions to this variable.
51085         * stdio-common/Makefile (tests): Change dependencies to ....
51086         (tests-special): ... additions to this variable.
51087         (do-tst-unbputc): Remove target.
51088         (do-tst-printf): Likewise.
51089         * stdlib/Makefile (tests): Change dependencies to ....
51090         (tests-special): ... additions to this variable.
51091         * string/Makefile (tests): Change dependencies to ....
51092         (tests-special): ... additions to this variable.
51093         * sysdeps/x86/Makefile (tests): Change dependencies to ....
51094         (tests-special): ... additions to this variable.
51096         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
51097         whole file.
51098         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
51099         whole file.
51100         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
51101         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
51103         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
51104         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
51105         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
51106         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
51107         * conform/data/libgen.h-data [XPG3]: Likewise.
51108         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
51109         * conform/data/ndbm.h-data [XPG3]: Likewise.
51110         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
51111         * conform/data/netdb.h-data [XPG3]: Likewise.
51112         * conform/data/netinet/in.h-data [XPG3]: Likewise.
51113         * conform/data/poll.h-data [XPG3]: Likewise.
51114         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
51115         * conform/data/strings.h-data [XPG3]: Likewise.
51116         * conform/data/stropts.h-data [XPG3]: Likewise.
51117         * conform/data/sys/mman.h-data [XPG3]: Likewise.
51118         * conform/data/sys/resource.h-data [XPG3]: Likewise.
51119         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
51120         Likewise.
51121         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
51122         * conform/data/sys/time.h-data [XPG3]: Likewise.
51123         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
51124         * conform/data/sys/uio.h-data [XPG3]: Likewise.
51125         * conform/data/sys/un.h-data [XPG3]: Likewise.
51126         * conform/data/syslog.h-data [XPG3]: Likewise.
51127         * conform/data/ucontext.h-data [XPG3]: Likewise.
51128         * conform/data/utmpx.h-data [XPG3]: Likewise.
51129         * conform/data/varargs.h-data [UNIX98]: Enable file.
51131         * manual/Makefile (INSTALL_INFO): Remove variable setting.
51133         * math/libm-test.inc (struct test_f_f_data): Move expected results
51134         into structure for each rounding mode.
51135         (struct test_ff_f_data): Likewise.
51136         (struct test_ff_f_data_nexttoward): Likewise.
51137         (struct test_fi_f_data): Likewise.
51138         (struct test_fl_f_data): Likewise.
51139         (struct test_if_f_data): Likewise.
51140         (struct test_fff_f_data): Likewise.
51141         (struct test_c_f_data): Likewise.
51142         (struct test_f_f1_data): Likewise.
51143         (struct test_fF_f1_data): Likewise.
51144         (struct test_ffI_f1_data): Likewise.
51145         (struct test_c_c_data): Likewise.
51146         (struct test_cc_c_data): Likewise.
51147         (struct test_f_i_data): Likewise.
51148         (struct test_ff_i_data): Likewise.
51149         (struct test_f_l_data): Likewise.
51150         (struct test_f_L_data): Likewise.
51151         (struct test_fFF_11_data): Likewise.
51152         (RM_): New macro.
51153         (RM_FE_DOWNWARD): Likewise.
51154         (RM_FE_TONEAREST): Likewise.
51155         (RM_FE_TOWARDZERO): Likewise.
51156         (RM_FE_UPWARD): Likewise.
51157         (RUN_TEST_LOOP_f_f): Update references to expected results.
51158         (RUN_TEST_LOOP_2_f): Likewise.
51159         (RUN_TEST_LOOP_fff_f): Likewise.
51160         (RUN_TEST_LOOP_c_f): Likewise.
51161         (RUN_TEST_LOOP_f_f1): Likewise.
51162         (RUN_TEST_LOOP_fF_f1): Likewise.
51163         (RUN_TEST_LOOP_fI_f1): Likewise.
51164         (RUN_TEST_LOOP_ffI_f1): Likewise.
51165         (RUN_TEST_LOOP_c_c): Likewise.
51166         (RUN_TEST_LOOP_cc_c): Likewise.
51167         (RUN_TEST_LOOP_f_i): Likewise.
51168         (RUN_TEST_LOOP_f_i_tg): Likewise.
51169         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51170         (RUN_TEST_LOOP_f_b): Likewise.
51171         (RUN_TEST_LOOP_f_b_tg): Likewise.
51172         (RUN_TEST_LOOP_f_l): Likewise.
51173         (RUN_TEST_LOOP_f_L): Likewise.
51174         (RUN_TEST_LOOP_fFF_11): Likewise.
51175         * math/gen-libm-test.pl (parse_args): Output four copies of
51176         expected results for each test.
51178         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51179         (__ASSUME_UTIMES): Remove.
51180         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51181         (__ASSUME_UTIMES): Likewise.
51183         * math/gen-auto-libm-tests.c: Update comment on output format.
51184         (output_for_one_input_case): Generate before-rounding and
51185         after-rounding information as conditions on output flags not
51186         floating-point format.
51187         * math/auto-libm-test-out: Regenerated.
51188         * math/gen-libm-test.pl (cond_value): New function.
51189         (or_cond_value): Use cond_value.
51190         (generate_testfile): Handle conditional exceptions.
51192 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
51194         * math/libm-test.inc (max_valid_error): New variable.
51195         (init_max_error): Take new argument specifying whether function
51196         results are exactly determined.  Set max_valid_error and bound
51197         other variables for errors based on this argument.
51198         (set_max_error): Do not record results above max_valid_error.
51199         (check_float_internal): Only accept errors of up to 0.5ulps if
51200         also at most max_valid_error.
51201         (START): Take new argument EXACT and pass it to init_max_error.
51202         (acos_test): Update call to START.
51203         (acos_test_tonearest): Likewise.
51204         (acos_test_towardzero): Likewise.
51205         (acos_test_downward): Likewise.
51206         (acos_test_upward): Likewise.
51207         (acosh_test): Likewise.
51208         (asin_test): Likewise.
51209         (asin_test_tonearest): Likewise.
51210         (asin_test_towardzero): Likewise.
51211         (asin_test_downward): Likewise.
51212         (asin_test_upward): Likewise.
51213         (asinh_test): Likewise.
51214         (atan_test): Likewise.
51215         (atanh_test): Likewise.
51216         (atan2_test): Likewise.
51217         (cabs_test): Likewise.
51218         (cacos_test): Likewise.
51219         (cacosh_test): Likewise.
51220         (carg_test): Likewise.
51221         (casin_test): Likewise.
51222         (casinh_test): Likewise.
51223         (catan_test): Likewise.
51224         (catanh_test): Likewise.
51225         (cbrt_test): Likewise.
51226         (ccos_test): Likewise.
51227         (ccosh_test): Likewise.
51228         (ceil_test): Likewise.
51229         (cexp_test): Likewise.
51230         (cimag_test): Likewise.
51231         (clog_test): Likewise.
51232         (clog10_test): Likewise.
51233         (conj_test): Likewise.
51234         (copysign_test): Likewise.
51235         (cos_test): Likewise.
51236         (cos_test_tonearest): Likewise.
51237         (cos_test_towardzero): Likewise.
51238         (cos_test_downward): Likewise.
51239         (cos_test_upward): Likewise.
51240         (cosh_test): Likewise.
51241         (cosh_test_tonearest): Likewise.
51242         (cosh_test_towardzero): Likewise.
51243         (cosh_test_downward): Likewise.
51244         (cosh_test_upward): Likewise.
51245         (cpow_test): Likewise.
51246         (cproj_test): Likewise.
51247         (creal_test): Likewise.
51248         (csin_test): Likewise.
51249         (csinh_test): Likewise.
51250         (csqrt_test): Likewise.
51251         (ctan_test): Likewise.
51252         (ctan_test_tonearest): Likewise.
51253         (ctan_test_towardzero): Likewise.
51254         (ctan_test_downward): Likewise.
51255         (ctan_test_upward): Likewise.
51256         (ctanh_test): Likewise.
51257         (ctanh_test_tonearest): Likewise.
51258         (ctanh_test_towardzero): Likewise.
51259         (ctanh_test_downward): Likewise.
51260         (ctanh_test_upward): Likewise.
51261         (erf_test): Likewise.
51262         (erfc_test): Likewise.
51263         (exp_test): Likewise.
51264         (exp_test_tonearest): Likewise.
51265         (exp_test_towardzero): Likewise.
51266         (exp_test_downward): Likewise.
51267         (exp_test_upward): Likewise.
51268         (exp10_test): Likewise.
51269         (exp10_test_tonearest): Likewise.
51270         (exp10_test_towardzero): Likewise.
51271         (exp10_test_downward): Likewise.
51272         (exp10_test_upward): Likewise.
51273         (pow10_test): Likewise.
51274         (exp2_test): Likewise.
51275         (expm1_test): Likewise.
51276         (expm1_test_tonearest): Likewise.
51277         (expm1_test_towardzero): Likewise.
51278         (expm1_test_downward): Likewise.
51279         (expm1_test_upward): Likewise.
51280         (fabs_test): Likewise.
51281         (fdim_test): Likewise.
51282         (floor_test): Likewise.
51283         (fma_test): Likewise.
51284         (fma_test_towardzero): Likewise.
51285         (fma_test_downward): Likewise.
51286         (fma_test_upward): Likewise.
51287         (fmax_test): Likewise.
51288         (fmin_test): Likewise.
51289         (fmod_test): Likewise.
51290         (fpclassify_test): Likewise.
51291         (frexp_test): Likewise.
51292         (hypot_test): Likewise.
51293         (ilogb_test): Likewise.
51294         (isfinite_test): Likewise.
51295         (finite_test): Likewise.
51296         (isgreater_test): Likewise.
51297         (isgreaterequal_test): Likewise.
51298         (isinf_test): Likewise.
51299         (isless_test): Likewise.
51300         (islessequal_test): Likewise.
51301         (islessgreater_test): Likewise.
51302         (isnan_test): Likewise.
51303         (isnormal_test): Likewise.
51304         (issignaling_test): Likewise.
51305         (isunordered_test): Likewise.
51306         (j0_test): Likewise.
51307         (j1_test): Likewise.
51308         (jn_test): Likewise.
51309         (ldexp_test): Likewise.
51310         (lgamma_test): Likewise.
51311         (gamma_test): Likewise.
51312         (lrint_test): Likewise.
51313         (lrint_test_tonearest): Likewise.
51314         (lrint_test_towardzero): Likewise.
51315         (lrint_test_downward): Likewise.
51316         (lrint_test_upward): Likewise.
51317         (llrint_test): Likewise.
51318         (llrint_test_tonearest): Likewise.
51319         (llrint_test_towardzero): Likewise.
51320         (llrint_test_downward): Likewise.
51321         (llrint_test_upward): Likewise.
51322         (log_test): Likewise.
51323         (log10_test): Likewise.
51324         (log1p_test): Likewise.
51325         (log2_test): Likewise.
51326         (logb_test): Likewise.
51327         (logb_test_downward): Likewise.
51328         (lround_test): Likewise.
51329         (llround_test): Likewise.
51330         (modf_test): Likewise.
51331         (nearbyint_test): Likewise.
51332         (nextafter_test): Likewise.
51333         (nexttoward_test): Likewise.
51334         (pow_test): Likewise.
51335         (pow_test_tonearest): Likewise.
51336         (pow_test_towardzero): Likewise.
51337         (pow_test_downward): Likewise.
51338         (pow_test_upward): Likewise.
51339         (remainder_test): Likewise.
51340         (drem_test): Likewise.
51341         (remainder_test_tonearest): Likewise.
51342         (drem_test_tonearest): Likewise.
51343         (remainder_test_towardzero): Likewise.
51344         (drem_test_towardzero): Likewise.
51345         (remainder_test_downward): Likewise.
51346         (drem_test_downward): Likewise.
51347         (remainder_test_upward): Likewise.
51348         (drem_test_upward): Likewise.
51349         (remquo_test): Likewise.
51350         (rint_test): Likewise.
51351         (rint_test_tonearest): Likewise.
51352         (rint_test_towardzero): Likewise.
51353         (rint_test_downward): Likewise.
51354         (rint_test_upward): Likewise.
51355         (round_test): Likewise.
51356         (scalb_test): Likewise.
51357         (scalbn_test): Likewise.
51358         (scalbln_test): Likewise.
51359         (signbit_test): Likewise.
51360         (sin_test): Likewise.
51361         (sin_test_tonearest): Likewise.
51362         (sin_test_towardzero): Likewise.
51363         (sin_test_downward): Likewise.
51364         (sin_test_upward): Likewise.
51365         (sincos_test): Likewise.
51366         (sinh_test): Likewise.
51367         (sinh_test_tonearest): Likewise.
51368         (sinh_test_towardzero): Likewise.
51369         (sinh_test_downward): Likewise.
51370         (sinh_test_upward): Likewise.
51371         (sqrt_test): Likewise.
51372         (sqrt_test_tonearest): Likewise.
51373         (sqrt_test_towardzero): Likewise.
51374         (sqrt_test_downward): Likewise.
51375         (sqrt_test_upward): Likewise.
51376         (tan_test): Likewise.
51377         (tan_test_tonearest): Likewise.
51378         (tan_test_towardzero): Likewise.
51379         (tan_test_downward): Likewise.
51380         (tan_test_upward): Likewise.
51381         (tanh_test): Likewise.
51382         (tgamma_test): Likewise.
51383         (trunc_test): Likewise.
51384         (y0_test): Likewise.
51385         (y1_test): Likewise.
51386         (yn_test): Likewise.
51387         (significand_test): Likewise.
51389         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
51390         individual tests in comment.
51391         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
51392         (prev_max_error): New variable.
51393         (prev_real_max_error): Likewise.
51394         (prev_imag_max_error): Likewise.
51395         (compare_ulp_data): Don't refer to test names in comment.
51396         (find_test_ulps): Remove function.
51397         (find_function_ulps): Likewise.
51398         (find_complex_function_ulps): Likewise.
51399         (init_max_error): Take function name as argument.  Look up ulps
51400         for that function.
51401         (print_ulps): Remove function.
51402         (print_max_error): Use prev_max_error instead of calling
51403         find_function_ulps.
51404         (print_complex_max_error): Use prev_real_max_error and
51405         prev_imag_max_error instead of calling find_complex_function_ulps.
51406         (check_float_internal): Take max_ulp parameter instead of calling
51407         find_test_ulps.  Don't call print_ulps.
51408         (check_float): Update call to check_float_internal.
51409         (check_complex): Update calls to check_float_internal.
51410         (START): Pass argument to init_max_error.
51411         * math/gen-libm-test.pl (%results): Don't include "kind"
51412         information.
51413         (parse_ulps): Don't handle ulps of individual tests.
51414         (print_ulps_file): Likewise.
51415         (output_ulps): Likewise.
51416         * math/README.libm-test: Update.
51417         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
51418         individual tests.
51419         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
51420         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
51421         * sysdeps/arm/libm-test-ulps: Likewise.
51422         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
51423         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
51424         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
51425         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
51426         * sysdeps/microblaze/libm-test-ulps: Likewise.
51427         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
51428         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
51429         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51430         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
51431         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51432         * sysdeps/sh/libm-test-ulps: Likewise.
51433         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51434         * sysdeps/tile/libm-test-ulps: Likewise.
51435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51437 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
51439         * math/libm-test.inc (print_complex_max_error): Check separately
51440         whether real and imaginary errors are within allowed range and
51441         pass 0 to print_complex_function_ulps instead of value within
51442         allowed range.
51444 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51446         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
51447         formatting.
51448         (get_handles_fopen): Likewise.
51449         (do_write_test): Likewise.
51451         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
51453         * libio/fileops.c (do_ftell): Use cached offset when
51454         available.
51455         * libio/iofwide.c (do_ftell_wide): Likewise.
51456         * libio/iofdopen.c (_IO_new_fdopen): Don't use
51457         _IO_file_attach.
51458         * libio/wfileops.c (_IO_fwide): Don't cache offset.
51460         [BZ #16532]
51461         * libio/libioP.h (get_file_offset): New function.
51462         * libio/fileops.c (get_file_offset): Likewise.
51463         (do_ftell): Likewise.
51464         (_IO_new_file_seekoff): Split out ftell logic.
51465         * libio/wfileops.c (do_ftell_wide): Likewise.
51466         (_IO_wfile_seekoff): Split out ftell logic.
51467         * libio/tst-ftell-active-handler.c: New test case.
51468         * libio/Makefile (tests): Add it.
51470 2014-03-03  Roland McGrath  <roland@hack.frob.com>
51472         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
51473         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
51475 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51477         [BZ #16639]
51478         * nscd/connections.c (nscd_init): Call do_exit.
51479         (start_threads): Call do_exit and notify_parent.
51480         (begin_drop_privileges): Call do_exit.
51481         (finish_drop_privileges): Likewise.
51482         * nscd/selinux.c (preserve_capabilities): Likewise.
51483         (install_real_capabilities): Likewise.
51484         (nscd_selinux_enabled): Likewise.
51485         (avc_create_thread): Likewise.
51486         (avc_alloc_lock): Likewise.
51487         (nscd_avc_init): Likewise.
51488         * nscd/nscd.c (parent_fd): New static variable.
51489         (main): Create a pipe between parent and child processes.
51490         Skip closing parent_fd.
51491         (monitor_child): New function.
51492         (do_exit): Likewise.
51493         (notify_parent): Likewise.
51494         * nscd/nscd.h (notify_parent): Likewise.
51495         (do_exit): Likewise.
51497 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
51499         * malloc/malloc.c (__libc_calloc): Revert last change.
51501 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51505 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
51507         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
51508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
51509         implementation.
51510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51511         (__libc_ifunc_impl_list): Likewise.
51512         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
51513         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
51514         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
51515         * string/strrchr.c: Define STRRCHR.
51517 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
51519         * benchtest/bench-strtok.c (simple_strtok): Delete.
51520         (strtok_string): Use as benchmark.
51521         * string/strtok (STRTOK): New macro.
51523 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
51525         * manual/threads.texi: Add header and standard comments to all
51526         functions.
51528         * elf/dl-lookup.c (check_match): New function.
51529         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
51530         (do_lookup_x): Remove nested function check_match. Use non-nested
51531         function check_match.
51533 2014-02-28  Roland McGrath  <roland@hack.frob.com>
51535         * csu/Makefile (generated, before-compile): Use += rather than =.
51536         * catgets/Makefile (generated, generated-dirs): Likewise.
51537         * debug/Makefile (generated): Likewise.
51538         * dlfcn/Makefile (generated): Likewise.
51539         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
51540         * iconvdata/Makefile (before-compile, generated): Likewise.
51541         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
51542         * libio/Makefile (generated): Likewise.
51543         * malloc/Makefile (generated): Likewise.
51544         * manual/Makefile (generated, generated-dirs): Likewise.
51545         * misc/Makefile (generated): Likewise.
51546         * posix/Makefile (generated): Likewise.
51547         * resolv/Makefile (generated): Likewise.
51548         * sunrpc/Makefile (generated, generated-dirs): Likewise.
51549         * timezone/Makefile (generated, generated-dirs): Likewise.
51551         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
51553 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51556         power8 implementation.
51557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
51558         file: POWER8 llround ifunc implementation.
51559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
51560         (__lllround): Add POWER8 implementation.
51561         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
51562         POWER8 llround implementation.
51564         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
51565         power8 implementation.
51566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
51567         file: POWER8 llrint ifunc implementation.
51568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
51569         Add POWER8 implementation.
51570         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
51571         POWER8 llrint implementation.
51573         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
51574         power8 implementation.
51575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
51576         file: POWER8 finite ifunc implementation.
51577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
51578         Add POWER8 implementation.
51579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
51580         Likewise.
51581         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
51582         POWER8 finite implementation.
51583         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
51585         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
51586         power8 implementation.
51587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
51588         file: POWER8 isinf ifunc implementation.
51589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
51590         POWER8 implementation.
51591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
51592         Likewise.
51593         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
51594         isinf implementation.
51595         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
51597         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
51598         (INIT_ARCH): Add hwcap2 initialization.
51599         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51600         power8 implementation.
51601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
51602         file: POWER8 isnan ifunc implementation.
51603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
51604         POWER8 implementation.
51605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
51606         Likewise.
51607         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
51608         isnan implementation.
51609         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
51611 2014-02-27  Joey Ye  <joey.ye@arm.com>
51613         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51614         (_FP_NANFRAC_Q): Set to zero.
51616 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51618         [BZ #16623]
51619         * math/auto-libm-test-in: New test inputs.
51620         * math/auto-libm-test-out: Regenerate.
51621         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
51622         and DA.
51623         (__cos): Likewise.
51624         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51626 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
51628         * scripts/evaluate-test.sh: Take new argument indicating whether
51629         failure is expected.
51630         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
51631         indicating whether failure is expected.
51632         * conform/Makefile (test-xfail-run-conformtest): New variable.
51633         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
51634         level.
51635         * posix/Makefile (test-xfail-annexc): New variable.
51636         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
51638 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
51640         * argp/Makefile: Include Makeconfig immediately after defining
51641         subdir.
51642         * assert/Makefile: Likewise.
51643         * benchtests/Makefile: Likewise.
51644         * catgets/Makefile: Likewise.
51645         * conform/Makefile: Likewise.
51646         * crypt/Makefile: Likewise.
51647         * csu/Makefile: Likewise.
51648         (all): Remove target.
51649         * ctype/Makefile: Include Makeconfig immediately after defining
51650         subdir.
51651         * debug/Makefile: Likewise.
51652         * dirent/Makefile: Likewise.
51653         * dlfcn/Makefile: Likewise.
51654         * gmon/Makefile: Likewise.
51655         * gnulib/Makefile: Likewise.
51656         * grp/Makefile: Likewise.
51657         * gshadow/Makefile: Likewise.
51658         * hesiod/Makefile: Likewise.
51659         * hurd/Makefile: Likewise.
51660         (all): Remove target.
51661         * iconvdata/Makefile: Include Makeconfig immediately after
51662         defining subdir.
51663         * inet/Makefile: Likewise.
51664         * intl/Makefile: Likewise.
51665         * io/Makefile: Likewise.
51666         * libio/Makefile: Likewise.
51667         (all): Remove target.
51668         * locale/Makefile: Include Makeconfig immediately after defining
51669         subdir.
51670         * login/Makefile: Likewise.
51671         * mach/Makefile: Likewise.
51672         (all): Remove target.
51673         * malloc/Makefile: Include Makeconfig immediately after defining
51674         subdir.
51675         (all): Remove target.
51676         * manual/Makefile: Include Makeconfig immediately after defining
51677         subdir.
51678         * math/Makefile: Likewise.
51679         * misc/Makefile: Likewise.
51680         * nis/Makefile: Likewise.
51681         * nss/Makefile: Likewise.
51682         * po/Makefile: Likewise.
51683         (all): Remove target.
51684         * posix/Makefile: Include Makeconfig immediately after defining
51685         subdir.
51686         * pwd/Makefile: Likewise.
51687         * resolv/Makefile: Likewise.
51688         * resource/Makefile: Likewise.
51689         * rt/Makefile: Likewise.
51690         * setjmp/Makefile: Likewise.
51691         * shadow/Makefile: Likewise.
51692         * signal/Makefile: Likewise.
51693         * socket/Makefile: Likewise.
51694         * soft-fp/Makefile: Likewise.
51695         * stdio-common/Makefile: Likewise.
51696         * stdlib/Makefile: Likewise.
51697         * streams/Makefile: Likewise.
51698         * string/Makefile: Likewise.
51699         * sunrpc/Makefile: Likewise.
51700         (all): Remove target.
51701         * sysvipc/Makefile: Include Makeconfig immediately after defining
51702         subdir.
51703         * termios/Makefile: Likewise.
51704         * time/Makefile: Likewise.
51705         * timezone/Makefile: Likewise.
51706         (all): Remove target.
51707         * wcsmbs/Makefile: Include Makeconfig immediately after defining
51708         subdir.
51709         * wctype/Makefile: Likewise.
51711 2014-02-26  Steve Ellcey  <sellcey@mips.com>
51713         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
51714         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
51715         (libc_feholdexcept_setround_mips): Ditto.
51716         (libc_feholdsetround): New.
51717         (libc_feholdsetroundf): New.
51718         (libc_feholdsetroundl): New.
51719         (libc_feupdateenv_test_mips): New.
51720         (libc_feupdateenv_test): New.
51721         (libc_feupdateenv_testf): New.
51722         (libc_feupdateenv_testl): New.
51723         (libc_feresetround): New.
51724         (libc_feresetroundf): New.
51725         (libc_feresetroundl): New.
51726         (libc_fetestexcept_mips): New.
51727         (libc_fetestexcept): New.
51728         (libc_fetestexceptf): New.
51729         (libc_fetestexceptl): New.
51730         (HAVE_RM_CTX): New.
51731         (libc_feholdexcept_setround_mips_ctx): New.
51732         (libc_feholdexcept_setround_ctx): New.
51733         (libc_feholdexcept_setroundf_ctx): New.
51734         (libc_feholdexcept_setroundl_ctx): New.
51735         (libc_fesetenv_mips_ctx): New.
51736         (libc_fesetenv_ctx): New.
51737         (libc_fesetenv_ctxf): New.
51738         (libc_fesetenv_ctxl): New.
51739         (libc_feupdateenv_mips_ctx): New.
51740         (libc_feupdateenv_ctx): New.
51741         (libc_feupdateenvf_ctx): New.
51742         (libc_feupdateenvl_ctx): New.
51743         (libc_feholdsetround_mips_ctx): New.
51744         (libc_feholdsetround_ctx): New.
51745         (libc_feholdsetroundf_ctx): New.
51746         (libc_feholdsetroundl_ctx): New.
51747         (libc_feresetround_mips_ctx): New.
51748         (libc_feresetround_ctx): New.
51749         (libc_feresetroundf_ctx): New.
51750         (libc_feresetroundl_ctx): New.
51752 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
51754         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
51756         * manual/ipc.texi: New file.
51757         * manual/Makefile (chapters): Add ipc.
51758         * manual/job.texi: Add "Inter-Process Communication" to next.
51759         * manual/process.texi: Add "Inter-Process Communication" to prev.
51761 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51765 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
51767         * malloc/malloc.c (__libc_calloc): Simplify implementation.
51769         * manual/arith.texi: Fix spaces after sentences.
51770         * manual/charset.texi: Likewise.
51771         * manual/errno.texi: Likewise.
51772         * manual/install.texi: Likewise.
51773         * manual/llio.texi: Likewise.
51774         * manual/locale.texi: Likewise.
51775         * manual/maint.texi: Likewise.
51776         * manual/math.texi: Likewise.
51777         * manual/memory.texi: Likewise.
51778         * manual/message.texi: Likewise.
51779         * manual/probes.texi: Likewise.
51780         * manual/resource.texi: Likewise.
51781         * manual/signal.texi: Likewise.
51782         * manual/socket.texi: Likewise.
51783         * manual/stdio.texi: Likewise.
51784         * manual/string.texi: Likewise.
51785         * manual/time.texi: Likewise.
51786         * manual/users.texi: Likewise.
51788 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
51790         [BZ #16632]
51791         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
51792         _DEFAULT_SOURCE is defined.
51794 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
51795             Carlos O'Donell  <carlos@redhat.com>
51797         [BZ #16613]
51798         * elf/dl-tls.c (_dl_count_modids): New function.
51799         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
51800         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
51801         audit library and increment generation counter.
51802         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
51803         * elf/tst-audit9.c: New file.
51804         * elf/tst-auditmod9a.c: New file.
51805         * elf/tst-auditmod9b.c: New file.
51806         * elf/Makefile: Add rules to build and run tst-audit9.
51808 2014-02-25  Florian Weimer  <fweimer@redhat.com>
51810         [BZ #15347]
51811         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
51813 2014-02-25  Will Newton  <will.newton@linaro.org>
51815         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
51816         (__longjmp): Restore sp and lr before restoring callee
51817         saved registers.  Add longjmp and longjmp_target
51818         SystemTap probe point.
51819         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
51820         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
51821         Define to zero to match jmpbuf layout.
51822         * sysdeps/arm/setjmp.S: Include stap-probe.h.
51823         (__sigsetjmp): Save sp and lr before saving callee
51824         saved registers.  Add setjmp SystemTap probe point.
51826 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
51828         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51830 2014-02-24  Andreas Schwab  <schwab@suse.de>
51832         [BZ #15804]
51833         * elf/pldd.c (wait_for_ptrace_stop): New function.
51834         (main): Call it after attaching.
51836 2014-02-22  Roland McGrath  <roland@hack.frob.com>
51838         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
51839         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
51840         Versions files is now verboten.
51841         * hurd/Versions (libc: GLIBC_2.0):
51842         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
51843         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
51844         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
51845         * mach/Versions: Likewise.
51847         * csu/Versions: Remove unused %include.
51848         * resolv/Versions: Likewise.
51850 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
51852         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
51853         ($(objpfx)check-local-headers.out): Likewise.
51854         ($(objpfx)begin-end-check.out): Likewise.
51855         * Makerules (check-abi-%.out): Likewise.
51856         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
51857         ($(objpfx)test2.cat): Likewise.
51858         ($(objpfx)de/libc.cat): Likewise.
51859         ($(objpfx)test-gencat.out): Likewise.
51860         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
51861         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
51862         ($(objpfx)noload-mem): Likewise.
51863         ($(objpfx)tst-pathopt.out): Likewise.
51864         ($(objpfx)tst-rtld-load-self.out): Likewise.
51865         ($(objpfx)tst-array1-cmp.out): Likewise.
51866         ($(objpfx)tst-array1-static-cmp.out): Likewise.
51867         ($(objpfx)tst-array2-cmp.out): Likewise.
51868         ($(objpfx)tst-array3-cmp.out): Likewise.
51869         ($(objpfx)tst-array4-cmp.out): Likewise.
51870         ($(objpfx)tst-array5-cmp.out): Likewise.
51871         ($(objpfx)tst-array5-static-cmp.out): Likewise.
51872         ($(objpfx)check-textrel.out): Likewise.
51873         ($(objpfx)check-execstack.out): Likewise.
51874         ($(objpfx)check-localplt.out): Likewise.
51875         ($(objpfx)order2-cmp.out): Likewise.
51876         ($(objpfx)tst-leaks1-mem): Likewise.
51877         ($(objpfx)tst-leaks1-static-mem): Likewise.
51878         ($(objpfx)tst-initorder-cmp.out): Likewise.
51879         ($(objpfx)tst-initorder2-cmp.out): Likewise.
51880         ($(objpfx)tst-unused-dep.out): Likewise.
51881         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
51882         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
51883         * iconv/Makefile (test-iconvconfig): Likewise.
51884         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
51885         ($(objpfx)iconv-test.out): Likewise.
51886         ($(objpfx)tst-tables.out): Likewise.
51887         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
51888         ($(objpfx)tst-gettext.out): Likewise.
51889         ($(objpfx)tst-translit.out): Likewise.
51890         ($(objpfx)tst-gettext2.out): Likewise.
51891         ($(objpfx)tst-gettext4.out): Likewise.
51892         ($(objpfx)tst-gettext6.out): Likewise.
51893         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
51894         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
51895         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
51896         ($(objpfx)tst-fopenloc-mem.out): Likewise.
51897         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
51898         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
51899         * posix/Makefile ($(objpfx)globtest.out): Likewise.
51900         ($(objpfx)wordexp-tst.out): Likewise.
51901         ($(objpfx)annexc.out): Likewise.
51902         ($(objpfx)tst-fnmatch-mem): Likewise.
51903         ($(objpfx)bug-regex2-mem): Likewise.
51904         ($(objpfx)bug-regex14-mem): Likewise.
51905         ($(objpfx)bug-regex21-mem): Likewise.
51906         ($(objpfx)bug-regex31-mem): Likewise.
51907         ($(objpfx)tst-vfork3-mem): Likewise.
51908         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
51909         ($(objpfx)tst-pcre-mem): Likewise.
51910         ($(objpfx)tst-boost-mem): Likewise.
51911         ($(objpfx)tst-getconf.out): Likewise.
51912         ($(objpfx)bug-ga2-mem): Likewise.
51913         ($(objpfx)bug-glob2-mem): Likewise.
51914         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
51915         ($(objpfx)mtrace-tst-leaks2): Likewise.
51916         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
51917         ($(objpfx)tst-printf.out): Likewise.
51918         ($(objpfx)tst-setvbuf1.out): Likewise.
51919         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
51920         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
51921         ($(objpfx)tst-fmtmsg.out): Likewise.
51922         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
51923         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
51925         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
51926         * bits/sigaction.h [__USE_MISC]: Likewise.
51927         * bits/waitstatus.h: Update #endif comments.
51928         * ctype/ctype.h: Likewise.
51929         * dirent/dirent.h: Likewise.
51930         [__USE_MISC]: Remove redundant conditionals.
51931         * grp/grp.h: Update #endif comments.
51932         [__USE_GNU]: Remove redundant conditionals.
51933         [__USE_MISC]: Likewise.
51934         * inet/netinet/in.h [__USE_GNU]: Likewise.
51935         * io/sys/stat.h [__USE_MISC]: Likewise.
51936         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
51937         * libio/bits/stdio.h: Update #endif comments.
51938         [__USE_MISC]: Remove redundant conditionals.
51939         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
51940         * libio/stdio.h: Update #endif comments.
51941         [__USE_MISC]: Remove redundant conditionals.
51942         * math/bits/math-finite.h [__USE_MISC]: Likewise.
51943         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
51944         * math/math.h: Update #else and #endif comments.
51945         [__USE_MISC]: Remove redundant conditionals.
51946         * misc/sys/uio.h: Update #endif comments.
51947         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
51948         * posix/glob.h [__USE_MISC]: Likewise.
51949         * posix/sys/types.h: Update #endif comments.
51950         [__USE_MISC]: Remove redundant conditionals.
51951         * posix/sys/wait.h: Update #endif comments.
51952         [__USE_MISC]: Remove redundant conditionals.
51953         * posix/unistd.h: Update #endif comments.
51954         [__USE_MISC]: Remove redundant conditionals.
51955         * pwd/pwd.h [__USE_GNU]: Likewise.
51956         [__USE_MISC]: Likewise.
51957         * resolv/netdb.h [__USE_GNU]: Likewise.
51958         * signal/signal.h: Update #endif comments.
51959         [__USE_MISC]: Remove redundant conditionals.
51960         * stdlib/stdlib.h: Update #else and #endif comments.
51961         [__USE_MISC]: Remove redundant conditionals.
51962         [__USE_GNU]: Likewise.
51963         * string/bits/string2.h [__USE_MISC]: Likewise.
51964         * string/string.h: Update #endif comments.
51965         [__USE_MISC]: Remove redundant conditionals.
51966         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
51967         Likewise.
51968         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
51969         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
51970         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
51971         Likewise.
51972         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
51973         Likewise.
51974         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
51975         comments.
51976         [__USE_MISC]: Remove redundant conditionals.
51977         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
51978         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
51979         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
51980         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
51981         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
51982         Likewise.
51983         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
51984         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
51985         Likewise.
51986         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
51987         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
51988         Likewise.
51989         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
51990         Likewise.
51991         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
51992         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
51993         Likewise.
51994         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
51995         Likewise.
51996         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
51997         * sysdeps/x86/bits/string.h: Update #endif comments.
51998         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
51999         conditionals.
52000         * time/sys/time.h: Update #endif comments.
52001         * time/time.h: Likewise.
52002         [__USE_MISC]: Remove redundant conditionals.
52004 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
52006         [BZ #16600]
52007         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
52009 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
52011         * Versions.def (librt): Add GLIBC_2.17.
52013 2014-02-21  Adam Conrad  <adconrad@0c3.net>
52015         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
52016         synonym for _SYS_AUXV_H to allow direct inclusion.
52017         * sysdeps/sparc/bits/hwcap.h: Likewise.
52018         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
52019         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
52020         * sysdeps/sparc/sysdep.h: Likewise.
52022 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52024         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
52026 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52028         * benchtests/bench-strrchr.c: Print length instead of position.
52030 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
52032         [BZ #16611]
52033         * sysdeps/unix/sysv/linux/kernel-features.h
52034         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
52035         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
52036         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
52037         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
52038         Likewise.
52039         [__i386__ || __powerpc__ || __sh__ || __sparc__]
52040         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52041         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
52042         (__ASSUME_SENDMMSG): Define instead of using previous
52043         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
52044         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52045         (__ASSUME_SENDMMSG_SYSCALL): Define.
52046         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52047         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
52048         Likewise.
52049         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52050         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52051         Likewise.
52052         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52053         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52054         Likewise.
52055         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
52056         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
52057         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
52058         [__ASSUME_SENDMMSG]: Change conditionals to
52059         [__ASSUME_SENDMMSG_SOCKETCALL].
52060         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52061         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
52062         Define.
52063         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52064         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
52065         Likewise.
52066         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
52067         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
52068         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
52069         [!__ASSUME_SENDMMSG]: Change conditional to
52070         [!__ASSUME_SENDMMSG_SOCKETCALL].
52071         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52072         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52073         Define.
52075         [BZ #16610]
52076         * sysdeps/unix/sysv/linux/kernel-features.h
52077         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
52078         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
52079         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
52080         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
52081         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
52082         [__i386__ || __sparc__]
52083         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52084         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
52085         (__ASSUME_RECVMMSG): Define instead of using previous
52086         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
52087         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52088         (__ASSUME_RECVMMSG_SYSCALL): Define.
52089         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52090         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52091         Likewise.
52092         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52093         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52094         Likewise.
52095         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52096         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52097         Likewise.
52098         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
52099         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
52100         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
52101         [__ASSUME_RECVMMSG]: Change condition to
52102         [__ASSUME_RECVMMSG_SOCKETCALL].
52103         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52104         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52105         Define.
52106         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52107         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52108         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52109         Likewise.
52110         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
52111         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
52112         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
52113         [!__ASSUME_RECVMMSG]: Change condition to
52114         [!__ASSUME_RECVMMSG_SOCKETCALL].
52115         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52116         (__ASSUME_RECVMMSG_SYSCALL): Define.
52118         [BZ #16609]
52119         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
52120         __powerpc__ || __s390__ || __sh__ || __sparc__]
52121         (__ASSUME_SOCKETCALL): Define.
52122         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
52123         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
52124         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
52125         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
52126         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52127         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
52128         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
52129         (__ASSUME_ACCEPT4): Define instead of using previous
52130         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
52131         __powerpc__ || __sparc__ || __s390__)] condition.
52132         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52133         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
52134         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
52135         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
52136         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
52137         [!__ASSUME_ACCEPT4]: Change condition to
52138         [!__ASSUME_ACCEPT4_SOCKETCALL].
52139         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52140         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
52141         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
52142         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52143         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
52144         __ASSUME_ACCEPT4_SYSCALL.
52145         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
52146         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
52147         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52148         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
52149         __ASSUME_ACCEPT4_SYSCALL.
52150         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
52151         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
52152         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
52153         [__ASSUME_ACCEPT4]: Change condition to
52154         [__ASSUME_ACCEPT4_SOCKETCALL].
52155         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52156         (__ASSUME_SOCKETCALL): Define.
52157         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
52158         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52159         (__ASSUME_SOCKETCALL): Define.
52160         (__ASSUME_ACCEPT4): Remove.
52161         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
52162         Define.
52163         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52164         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
52165         Likewise.
52166         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52167         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
52169         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
52170         macro.
52171         (HWCAP_ARM_LPAE): Likewise.
52172         (HWCAP_ARM_EVTSTRM): Likewise.
52173         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
52174         Add vpfd32, lpae and evtstrm.
52175         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
52176         Increase to 22.
52178 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
52180         * math/auto-libm-test-in: Add tests of clog10.
52181         * math/auto-libm-test-out: Regenerated.
52182         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
52183         * sysdeps/i386/fpu/libm-test-ulps: Update.
52184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52186 2014-02-18  Andreas Schwab  <schwab@suse.de>
52188         [BZ #16574]
52189         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
52190         Store non-zero if the second buffer was newly allocated.
52191         (send_dg): Likewise.
52192         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
52193         to send_vc and send_dg.
52194         (res_nsend): Pass NULL for ansp2_malloced.
52195         * resolv/res_query.c (__libc_res_nquery): Add parameter
52196         answerp2_malloced and pass it down to __libc_res_nsend.
52197         (res_nquery): Pass additional NULL to __libc_res_nquery.
52198         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
52199         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
52200         second answer buffer if answerp2_malloced was set.
52201         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
52202         (__libc_res_nquerydomain): Add parameter
52203         answerp2_malloced and pass it down to __libc_res_nquery.
52204         (res_nquerydomain): Pass additional NULL to
52205         __libc_res_nquerydomain.
52206         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
52207         additional NULL to __libc_res_nsend and __libc_res_nquery.
52208         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
52209         additional NULL to __libc_res_nsearch.
52210         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
52211         parameter of __libc_res_nsearch to check for separately allocated
52212         second buffer.
52213         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
52214         __libc_res_nquery.
52215         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
52216         additional NULL to __libc_res_nquery.
52217         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
52218         __libc_res_nsearch.
52219         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
52220         * include/resolv.h: Update prototypes of __libc_res_nquery,
52221         __libc_res_nsearch, __libc_res_nsend.
52223 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
52225         * math/auto-libm-test-in: Add tests of fma.
52226         * math/auto-libm-test-out: Regenerated.
52227         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
52228         (fma_towardzero_test_data): Likewise.
52229         (fma_downward_test_data): Likewise.
52230         (fma_upward_test_data): Likewise.
52231         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
52232         mpc_mode.
52233         (rounding_modes): Add values for new field.
52234         (func_calc_method): Add value mpfr_fff_f.
52235         (func_calc_desc): Add mpfr_fff_f union field.
52236         (test_function): Add field exact_args.
52237         (FUNC): Add macro argument EXACT_ARGS.
52238         (FUNC_mpfr_f_f): Update call to FUNC.
52239         (FUNC_mpfr_f_f): Likewise.
52240         (FUNC_mpfr_ff_f): Likewise.
52241         (FUNC_mpfr_if_f): Likewise.
52242         (FUNC_mpc_c_f): Likewise.
52243         (FUNC_mpc_c_c): Likewise.
52244         (test_functions): Add fma.  Update calls to FUNC.
52245         (handle_input_arg): Add argument exact_args.
52246         (add_test): Update call to handle_input_arg.
52247         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
52248         (output_for_one_input_case): Update call to calc_generic_results.
52249         Recalculate exact zero results in each rounding mode.
52251         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
52252         non-negative before setting low bit.
52253         * math/auto-libm-test-in: Mark one asin test possibly having
52254         spurious underflow.
52255         * math/auto-libm-test-out: Regenerated.
52256         * sysdeps/i386/fpu/libm-test-ulps: Update.
52257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52259 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
52261         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
52262         * sysdeps/unix/sysv/linux/microblaze: Move directory from
52263         ports/sysdeps/unix/sysv/linux/microblaze.
52264         * README: Add missing listing for microblaze*-*-linux-gnu.
52266 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
52268         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
52269         duplicate code
52271 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
52273         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
52274         * sysdeps/unix/sysv/linux/ia64: Move directory from
52275         ports/sysdeps/unix/sysv/linux/ia64.
52276         * README: Update listing for ia64-*-linux-gnu.
52278 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
52279             Joseph Myers  <joseph@codesourcery.com>
52281         * Makeconfig (test-name): New variable.
52282         (evaluate-test): Likewise.
52283         * Makerules (do-test-clean): Remove .test-result files.
52284         (common-mostlyclean): Likewise.
52285         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
52286         * scripts/evaluate-test.sh: New file.
52288 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
52290         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
52291         separate $(objpfx)tst-fopenloc-cmp.out and
52292         $(objpfx)tst-fopenloc-mem.out targets.
52293         (tests): Update dependencies.
52294         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
52295         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
52296         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
52297         (tst-rxspencer-no-utf8-ARGS): New variable.
52298         (tst-rxspencer-no-utf8-ENV): Likewise.
52299         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
52300         instead of $(objpfx)tst-rxspencer-mem.
52301         ($(objpfx)tst-rxspencer-mem): Change target to
52302         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
52303         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
52304         * posix/tst-rxspencer-no-utf8.c: New file.
52306         * elf/Makefile ($(objpfx)order.out): Remove rule.
52307         [$(run-built-tests) = yes] (tests): Depend on
52308         $(objpfx)order-cmp.out.
52309         ($(objpfx)order-cmp.out): New rule.
52310         [$(run-built-tests) = yes] (tests): Depend on
52311         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
52312         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
52313         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
52314         $(objpfx)tst-array5-static-cmp.out.
52315         ($(objpfx)tst-array1.out): Remove rule.
52316         ($(objpfx)tst-array1-cmp.out): New rule.
52317         ($(objpfx)tst-array1-static.out): Remove rule.
52318         ($(objpfx)tst-array1-static-cmp.out): New rule.
52319         ($(objpfx)tst-array2.out): Remove rule.
52320         ($(objpfx)tst-array2-cmp.out): New rule.
52321         ($(objpfx)tst-array3.out): Remove rule.
52322         ($(objpfx)tst-array3-cmp.out): New rule.
52323         ($(objpfx)tst-array4.out): Remove rule.
52324         ($(objpfx)tst-array4-cmp.out): New rule.
52325         ($(objpfx)tst-array5.out): Remove rule.
52326         ($(objpfx)tst-array5-cmp.out): New rule.
52327         ($(objpfx)tst-array5-static.out): Remove rule.
52328         ($(objpfx)tst-array5-static-cmp.out): New rule.
52329         [$(run-built-tests) = yes] (tests): Depend on
52330         $(objpfx)order2-cmp.out.
52331         ($(objpfx)order2.out): Remove rule.
52332         ($(objpfx)order2-cmp.out): New rule.
52333         ($(objpfx)tst-initorder.out): Remove rule.
52334         [$(run-built-tests) = yes] (tests): Depend on
52335         $(objpfx)tst-initorder-cmp.out.
52336         ($(objpfx)tst-initorder-cmp.out): New rule.
52337         ($(objpfx)tst-initorder2.out): Remove rule.
52338         [$(run-built-tests) = yes] (tests): Depend on
52339         $(objpfx)tst-initorder2-cmp.out.
52340         ($(objpfx)tst-initorder2-cmp.out): New rule.
52341         [$(run-built-tests) = yes] (tests): Depend on
52342         $(objpfx)tst-unused-dep-cmp.out.
52343         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
52344         ($(objpfx)tst-unused-dep-cmp.out): New rule.
52345         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
52346         on $(objpfx)tst-setvbuf1-cmp.out.
52347         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
52348         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
52349         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
52350         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
52351         ($(objpfx)tst-svc.out): Remove rule.
52352         ($(objpfx)tst-svc-cmp.out): New rule.
52354 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
52356         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
52357         * ctype/ctype.h [__USE_MISC]: Likewise.
52358         * dirent/dirent.h [__USE_MISC]: Likewise.
52359         * grp/grp.h [__USE_MISC]: Likewise.
52360         * io/fcntl.h [__USE_MISC]: Likewise.
52361         * io/sys/stat.h [__USE_MISC]: Likewise.
52362         * libio/stdio.h [__USE_MISC]: Likewise.
52363         * posix/unistd.h [__USE_MISC]: Likewise.
52364         * pwd/pwd.h [__USE_MISC]: Likewise.
52365         * stdlib.h [__USE_MISC]: Likewise.
52366         * string/bits/string2.h [__USE_MISC]: Likewise.
52367         * string/string.h [__USE_MISC]: Likewise.
52368         * time/time.h [__USE_MISC]: Likewise.
52370 2014-02-13  Andreas Schwab  <schwab@suse.de>
52372         [BZ #16574]
52373         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
52374         second answer buffer if it was separately allocated.
52376 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
52378         * sysdeps/mips/math-tests.h: Include <features.h>.
52379         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
52380         (ROUNDING_TESTS_long_double): Do not define.
52381         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
52382         (EXCEPTION_TESTS_long_double): Likewise.
52383         * sysdeps/mips/mips64/libm-test-ulps: Update.
52385         * include/features.h (__USE_BSD): Remove macro definitions.
52386         (__USE_SVID): Likewise.
52387         (_BSD_SOURCE): Likewise.
52388         (_SVID_SOURCE): Likewise.
52389         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
52390         from definition of _DEFAULT_SOURCE.
52391         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
52392         [_DEFAULT_SOURCE].
52393         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
52394         * bits/mman.h [__USE_BSD]: Likewise.
52395         * bits/termios.h [__USE_BSD]: Likewise.
52396         * bits/waitstatus.h [__USE_BSD]: Likewise.
52397         * ctype/ctype.h [__USE_SVID]: Likewise.
52398         * dirent/dirent.h [__USE_BSD]: Likewise.
52399         * grp/grp.h [__USE_SVID]: Likewise.
52400         [__USE_BSD]: Likewise.
52401         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
52402         * io/fcntl.h [__USE_BSD]: Likewise.
52403         * io/ftw.h [__USE_BSD]: Likewise.
52404         * io/sys/stat.h [__USE_BSD]: Likewise.
52405         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
52406         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
52407         * libio/stdio.h [__USE_SVID]: Likewise.
52408         [__USE_BSD]: Likewise.
52409         * math/math.h [__USE_SVID]: Likewise.
52410         [__USE_BSD]: Likewise.
52411         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
52412         * misc/bits/syslog.h [__USE_BSD]: Likewise.
52413         * misc/search.h [__USE_SVID]: Likewise.
52414         * misc/sys/mman.h [__USE_BSD]: Likewise.
52415         * misc/sys/syslog.h [__USE_BSD]: Likewise.
52416         * misc/sys/uio.h [__USE_BSD]: Likewise.
52417         * posix/bits/unistd.h [__USE_BSD]: Likewise.
52418         * posix/glob.h [__USE_BSD]: Likewise.
52419         * posix/regex.h [__USE_BSD]: Likewise.
52420         * posix/sys/types.h [__USE_BSD]: Likewise.
52421         [__USE_SVID]: Likewise.
52422         * posix/sys/utsname.h [__USE_SVID]: Likewise.
52423         * posix/sys/wait.h [__USE_BSD]: Likewise.
52424         [__USE_SVID]: Likewise.
52425         * posix/unistd.h [__USE_BSD]: Likewise.
52426         [__USE_SVID]: Likewise.
52427         * pwd/pwd.h [__USE_SVID]: Likewise.
52428         * resolv/netdb.h [__USE_BSD]: Likewise.
52429         * setjmp/setjmp.h [__USE_BSD]: Likewise.
52430         * signal/signal.h [__USE_BSD]: Likewise.
52431         [__USE_SVID]: Likewise.
52432         * socket/sys/socket.h [__USE_BSD]: Likewise.
52433         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
52434         * stdlib/stdlib.h [__USE_BSD]: Likewise.
52435         [__USE_SVID]: Likewise.
52436         * string/bits/string2.h [__USE_BSD]: Likewise.
52437         [__USE_SVID]: Likewise.
52438         * string/bits/string3.h [__USE_BSD]: Likewise.
52439         * string/endian.h [__USE_BSD]: Likewise.
52440         * string/string.h [__USE_SVID]: Likewise.
52441         [__USE_BSD]: Likewise.
52442         * string/strings.h [__USE_BSD]: Likewise.
52443         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
52444         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
52445         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
52446         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
52447         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
52448         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
52449         Likewise.
52450         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
52451         Likewise.
52452         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
52453         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
52454         Likewise.
52455         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
52456         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
52457         Likewise.
52458         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
52459         Likewise.
52460         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
52461         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
52462         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
52463         Likewise.
52464         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
52465         Likewise.
52466         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
52467         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
52468         * termios/termios.h [__USE_BSD]: Likewise.
52469         * time/sys/time.h [__USE_BSD]: Likewise.
52470         * time/time.h [__USE_BSD]: Likewise.
52471         [__USE_SVID]: Likewise.
52473         * Makefile (subdir_targets): Remove subdir_lint.out.
52475         * stdio-common/Makefile (do-tst-unbputc): Remove target.
52476         (do-tst-printf): Likewise.
52477         (tests): Depend directly on $(objpfx)tst-unbputc.out and
52478         $(objpfx)tst-printf.out.
52480         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
52482         * Makerules (check-abi-%): Change target to
52483         $(objpfx)check-abi-%.out.
52484         (check-abi target): Update dependencies.
52485         (check-abi-pattern variable): Redirect output of diff to $@.
52486         (check-abi variable): Likewise.
52487         * elf/Makefile (check-abi): Update dependencies.
52489         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
52490         unused.
52491         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
52492         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
52493         subnormal range.
52494         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
52495         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
52496         value has largest subnormal exponent.
52497         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
52498         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
52499         * sysdeps/aarch64/soft-fp/sfp-machine.h
52500         (_FP_TININESS_AFTER_ROUNDING): New macro.
52501         * sysdeps/alpha/soft-fp/sfp-machine.h
52502         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52503         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52504         Likewise.
52505         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
52506         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52507         * sysdeps/mips/soft-fp/sfp-machine.h
52508         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52509         * sysdeps/powerpc/soft-fp/sfp-machine.h
52510         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52511         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52512         Likewise.
52513         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
52514         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52515         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
52516         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52517         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52518         Likewise.
52520 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
52522         [BZ #16545]
52523         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
52524         model 1.
52526 2014-02-12  Richard Henderson  <rth@redhat.com>
52528         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
52529         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
52530         * sysdeps/unix/sysv/linux/alpha: Move directory from
52531         ports/sysdeps/unix/sysv/linux/alpha.
52532         * README: Update listing for alpha-*-linux-gnu.
52534 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
52536         * include/features.h: Update comment documenting feature test
52537         macros.
52538         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
52539         _DEFAULT_SOURCE.
52540         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
52541         (_SVID_SOURCE): Likewise.
52542         (_DEFAULT_SOURCE): Update description of default features.
52543         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
52544         with _GNU_SOURCE.
52545         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
52546         (S_ISVTX): Likewise.
52547         * manual/math.texi (Mathematical Constants): Likewise.
52548         * manual/signal.texi (Interrupted Primitives): Likewise.
52549         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
52550         * math/test-matherr.c (_SVID_SOURCE): Do not define.
52551         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
52552         Don't refer to _SVID_SOURCE in warning text.
52554         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52556         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
52557         already defined.
52558         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
52559         * sysdeps/mips/dl-lookup.c: Remove.
52560         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
52562 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
52564         [BZ #16447]
52565         * math/auto-libm-test-in: Add testcase for expl.
52566         * math/auto-libm-test-out: Regenerate.
52567         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
52568         calculation of unsafe.
52569         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
52571 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52573         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
52574         * sysdeps/unix/sysv/linux/aarch64: Move directory from
52575         ports/sysdeps/unix/sysv/linux/aarch64.
52576         * README: Update listing for aarch64*-*-linux-gnu.
52578 2014-02-11  Will Newton  <will.newton@linaro.org>
52580         * manual/probes.texi (Mathematical Function Probes): Use
52581         "triggered" instead of "hit".
52583         * manual/probes.texi (Internal Probes): Add documentation
52584         of setjmp, longjmp and longjmp_target probes.
52586         * include/stap-probe.h: Add comment about probe argument
52587         format.
52589         * malloc/mtrace.c (attribute_hidden): Remove unused macro
52590         definition.  (tr_where, tr_freehook, tr_mallochook,
52591         tr_reallochook, tr_memalignhook): Use ANSI protoype.
52593 2014-02-11  David S. Miller  <davem@davemloft.net>
52595         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
52596         processing int_tests.
52598 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
52600         * sysdeps/mips: Move directory from ports/sysdeps/mips.
52601         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
52602         * sysdeps/unix/sysv/linux/mips: Move directory from
52603         ports/sysdeps/unix/sysv/linux/mips.
52604         * README: Update listing for mips-*-linux-gnu and
52605         mips64-*-linux-gnu.
52607 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
52609         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
52610         * sysdeps/unix/sysv/linux/m68k: Move directory from
52611         ports/sysdeps/unix/sysv/linux/m68k.
52612         * README: Update listing for m68k-*-linux-gnu.
52614 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
52616         * sysdeps/tile: Move directory from ports/sysdeps/tile.
52617         * sysdeps/unix/sysv/linux/generic: Move directory from
52618         ports/sysdeps/unix/sysv/linux/generic.
52619         * sysdeps/unix/sysv/linux/tile: Move directory from
52620         ports/sysdeps/unix/sysv/linux/tile.
52621         * README: Update listing for tile*-*-linux-gnu.
52623 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
52625         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
52626         __builtin_expect.
52627         * benchtests/bench-memmem.c (simple_memmem): Likewise.
52628         * catgets/open_catalog.c (__open_catalog): Likewise.
52629         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
52630         * debug/confstr_chk.c: Likewise.
52631         * debug/fread_chk.c (__fread_chk): Likewise.
52632         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
52633         * debug/getgroups_chk.c: Likewise.
52634         * debug/mbsnrtowcs_chk.c: Likewise.
52635         * debug/mbsrtowcs_chk.c: Likewise.
52636         * debug/mbstowcs_chk.c: Likewise.
52637         * debug/memcpy_chk.c: Likewise.
52638         * debug/memmove_chk.c: Likewise.
52639         * debug/mempcpy_chk.c: Likewise.
52640         * debug/memset_chk.c: Likewise.
52641         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52642         * debug/strcat_chk.c (__strcat_chk): Likewise.
52643         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
52644         * debug/strncat_chk.c (__strncat_chk): Likewise.
52645         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
52646         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
52647         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
52648         * debug/wcpncpy_chk.c: Likewise.
52649         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52650         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
52651         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
52652         * debug/wcsncpy_chk.c: Likewise.
52653         * debug/wcsnrtombs_chk.c: Likewise.
52654         * debug/wcsrtombs_chk.c: Likewise.
52655         * debug/wcstombs_chk.c: Likewise.
52656         * debug/wmemcpy_chk.c: Likewise.
52657         * debug/wmemmove_chk.c: Likewise.
52658         * debug/wmempcpy_chk.c: Likewise.
52659         * debug/wmemset_chk.c: Likewise.
52660         * dirent/scandirat.c (SCANDIRAT): Likewise.
52661         * dlfcn/dladdr1.c (dladdr1): Likewise.
52662         * dlfcn/dladdr.c (dladdr): Likewise.
52663         * dlfcn/dlclose.c (dlclose_doit): Likewise.
52664         * dlfcn/dlerror.c (__dlerror): Likewise.
52665         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
52666         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
52667         * dlfcn/dlopen.c (dlopen_doit): Likewise.
52668         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
52669         * dlfcn/dlsym.c (dlsym_doit): Likewise.
52670         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
52671         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
52672         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
52673         Likewise.
52674         * elf/dl-conflict.c: Likewise.
52675         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
52676         * elf/dl-dst.h: Likewise.
52677         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
52678         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
52679         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
52680         * elf/dl-init.c (call_init, _dl_init): Likewise.
52681         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
52682         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
52683         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
52684         Likewise.
52685         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
52686         Likewise.
52687         * elf/dl-minimal.c (__libc_memalign): Likewise.
52688         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
52689         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52690         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
52691         * elf/dl-sym.c (do_sym): Likewise.
52692         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
52693         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
52694         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
52695         * elf/dl-writev.h (_dl_writev): Likewise.
52696         * elf/ldconfig.c (search_dir): Likewise.
52697         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
52698         (dl_main): Likewise.
52699         * elf/setup-vdso.h (setup_vdso): Likewise.
52700         * grp/compat-initgroups.c (compat_call): Likewise.
52701         * grp/fgetgrent.c (fgetgrent): Likewise.
52702         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
52703         * grp/putgrent.c (putgrent): Likewise.
52704         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52705         Likewise.
52706         * hurd/hurdinit.c: Likewise.
52707         * iconvdata/8bit-gap.c (struct): Likewise.
52708         * iconvdata/ansi_x3.110.c : Likewise.
52709         * iconvdata/big5.c : Likewise.
52710         * iconvdata/big5hkscs.c : Likewise.
52711         * iconvdata/cp1255.c: Likewise.
52712         * iconvdata/cp1258.c : Likewise.
52713         * iconvdata/cp932.c : Likewise.
52714         * iconvdata/euc-cn.c: Likewise.
52715         * iconvdata/euc-jisx0213.c : Likewise.
52716         * iconvdata/euc-jp.c: Likewise.
52717         * iconvdata/euc-jp-ms.c : Likewise.
52718         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
52719         * iconvdata/gb18030.c : Likewise.
52720         * iconvdata/gbbig5.c (const): Likewise.
52721         * iconvdata/gbgbk.c: Likewise.
52722         * iconvdata/gbk.c : Likewise.
52723         * iconvdata/ibm1364.c : Likewise.
52724         * iconvdata/ibm930.c : Likewise.
52725         * iconvdata/ibm932.c: Likewise.
52726         * iconvdata/ibm933.c : Likewise.
52727         * iconvdata/ibm935.c : Likewise.
52728         * iconvdata/ibm937.c : Likewise.
52729         * iconvdata/ibm939.c : Likewise.
52730         * iconvdata/ibm943.c: Likewise.
52731         * iconvdata/iso_11548-1.c: Likewise.
52732         * iconvdata/iso-2022-cn.c : Likewise.
52733         * iconvdata/iso-2022-cn-ext.c : Likewise.
52734         * iconvdata/iso-2022-jp-3.c: Likewise.
52735         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
52736         * iconvdata/iso-2022-kr.c : Likewise.
52737         * iconvdata/iso646.c (gconv_end): Likewise.
52738         * iconvdata/iso_6937-2.c : Likewise.
52739         * iconvdata/iso_6937.c : Likewise.
52740         * iconvdata/iso8859-1.c: Likewise.
52741         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
52742         * iconvdata/shift_jisx0213.c : Likewise.
52743         * iconvdata/sjis.c : Likewise.
52744         * iconvdata/t.61.c : Likewise.
52745         * iconvdata/tcvn5712-1.c : Likewise.
52746         * iconvdata/tscii.c: Likewise.
52747         * iconvdata/uhc.c : Likewise.
52748         * iconvdata/unicode.c (gconv_end): Likewise.
52749         * iconvdata/utf-16.c (gconv_end): Likewise.
52750         * iconvdata/utf-32.c (gconv_end): Likewise.
52751         * iconvdata/utf-7.c (base64): Likewise.
52752         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
52753         * iconv/gconv_close.c (__gconv_close): Likewise.
52754         * iconv/gconv_open.c (__gconv_open): Likewise.
52755         * iconv/gconv_simple.c (internal_ucs4_loop_single)
52756         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
52757         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
52758         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
52759         (ucs4le_internal_loop_single): Likewise.
52760         * iconv/iconv.c (iconv): Likewise.
52761         * iconv/iconv_close.c: Likewise.
52762         * iconv/loop.c (SINGLE): Likewise.
52763         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
52764         * include/atomic.h: Likewise.
52765         * inet/inet6_option.c (option_alloc): Likewise.
52766         * intl/bindtextdom.c (set_binding_values): Likewise.
52767         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
52768         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
52769         * intl/localealias.c (read_alias_file): Likewise.
52770         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
52771         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
52772         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
52773         * libio/fmemopen.c (fmemopen): Likewise.
52774         * libio/iofgets.c (_IO_fgets): Likewise.
52775         * libio/iofgets_u.c (fgets_unlocked): Likewise.
52776         * libio/iofgetws.c (fgetws): Likewise.
52777         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
52778         * libio/iogetdelim.c (_IO_getdelim): Likewise.
52779         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
52780         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
52781         * locale/findlocale.c (_nl_find_locale): Likewise.
52782         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
52783         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
52784         Likewise.
52785         * locale/setlocale.c (setlocale): Likewise.
52786         * login/programs/pt_chown.c (main): Likewise.
52787         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
52788         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
52789         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
52790         (mmap, mmap64, mremap, munmap): Likewise.
52791         * math/e_exp2l.c: Likewise.
52792         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
52793         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
52794         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
52795         * math/s_catan.c (__catan): Likewise.
52796         * math/s_catanf.c (__catanf): Likewise.
52797         * math/s_catanh.c (__catanh): Likewise.
52798         * math/s_catanhf.c (__catanhf): Likewise.
52799         * math/s_catanhl.c (__catanhl): Likewise.
52800         * math/s_catanl.c (__catanl): Likewise.
52801         * math/s_ccosh.c (__ccosh): Likewise.
52802         * math/s_ccoshf.c (__ccoshf): Likewise.
52803         * math/s_ccoshl.c (__ccoshl): Likewise.
52804         * math/s_cexp.c (__cexp): Likewise.
52805         * math/s_cexpf.c (__cexpf): Likewise.
52806         * math/s_cexpl.c (__cexpl): Likewise.
52807         * math/s_clog10.c (__clog10): Likewise.
52808         * math/s_clog10f.c (__clog10f): Likewise.
52809         * math/s_clog10l.c (__clog10l): Likewise.
52810         * math/s_clog.c (__clog): Likewise.
52811         * math/s_clogf.c (__clogf): Likewise.
52812         * math/s_clogl.c (__clogl): Likewise.
52813         * math/s_csin.c (__csin): Likewise.
52814         * math/s_csinf.c (__csinf): Likewise.
52815         * math/s_csinh.c (__csinh): Likewise.
52816         * math/s_csinhf.c (__csinhf): Likewise.
52817         * math/s_csinhl.c (__csinhl): Likewise.
52818         * math/s_csinl.c (__csinl): Likewise.
52819         * math/s_csqrt.c (__csqrt): Likewise.
52820         * math/s_csqrtf.c (__csqrtf): Likewise.
52821         * math/s_csqrtl.c (__csqrtl): Likewise.
52822         * math/s_ctan.c (__ctan): Likewise.
52823         * math/s_ctanf.c (__ctanf): Likewise.
52824         * math/s_ctanh.c (__ctanh): Likewise.
52825         * math/s_ctanhf.c (__ctanhf): Likewise.
52826         * math/s_ctanhl.c (__ctanhl): Likewise.
52827         * math/s_ctanl.c (__ctanl): Likewise.
52828         * math/w_pow.c: Likewise.
52829         * math/w_powf.c: Likewise.
52830         * math/w_powl.c: Likewise.
52831         * math/w_scalb.c (sysv_scalb): Likewise.
52832         * math/w_scalbf.c (sysv_scalbf): Likewise.
52833         * math/w_scalbl.c (sysv_scalbl): Likewise.
52834         * misc/error.c (error_tail): Likewise.
52835         * misc/pselect.c (__pselect): Likewise.
52836         * nis/nis_callback.c (__nis_create_callback): Likewise.
52837         * nis/nis_call.c (__nisfind_server): Likewise.
52838         * nis/nis_creategroup.c (nis_creategroup): Likewise.
52839         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
52840         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
52841         * nis/nis_getservlist.c (nis_getservlist): Likewise.
52842         * nis/nis_lookup.c (nis_lookup): Likewise.
52843         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
52844         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
52845         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
52846         * nis/nis_xdr.c (xdr_endpoint): Likewise.
52847         * nis/nss_compat/compat-grp.c (getgrent_next_file)
52848         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
52849         * nis/nss_compat/compat-initgroups.c (add_group)
52850         (internal_getgrent_r): Likewise.
52851         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
52852         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
52853         * nis/nss_compat/compat-spwd.c (getspent_next_file)
52854         (internal_getspnam_r): Likewise.
52855         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
52856         (_nss_nis_getaliasbyname_r): Likewise.
52857         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
52858         (_nss_nis_getntohost_r): Likewise.
52859         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
52860         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
52861         (_nss_nis_getgrgid_r): Likewise.
52862         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
52863         (internal_nis_gethostent_r, internal_gethostbyname2_r)
52864         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
52865         (_nss_nis_gethostbyname4_r): Likewise.
52866         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
52867         (initgroups_netid): Likewise.
52868         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
52869         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
52870         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
52871         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
52872         (_nss_nis_getprotobynumber_r): Likewise.
52873         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
52874         (_nss_nis_getsecretkey): Likewise.
52875         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
52876         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
52877         (_nss_nis_getpwuid_r): Likewise.
52878         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
52879         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
52880         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
52881         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
52882         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
52883         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
52884         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
52885         Likewise.
52886         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
52887         (_nss_nisplus_getntohost_r): Likewise.
52888         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
52889         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
52890         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
52891         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
52892         Likewise.
52893         * nis/nss_nisplus/nisplus-initgroups.c
52894         (_nss_nisplus_initgroups_dyn): Likewise.
52895         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
52896         (_nss_nisplus_getnetbyaddr_r): Likewise.
52897         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
52898         (_nss_nisplus_getprotobynumber_r): Likewise.
52899         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
52900         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
52901         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
52902         Likewise.
52903         * nis/nss_nisplus/nisplus-service.c
52904         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
52905         (_nss_nisplus_getservbyport_r): Likewise.
52906         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
52907         (_nss_nisplus_getspnam_r): Likewise.
52908         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
52909         Likewise.
52910         * nscd/aicache.c (addhstaiX): Likewise.
52911         * nscd/cache.c (cache_search, prune_cache): Likewise.
52912         * nscd/connections.c (register_traced_file, send_ro_fd)
52913         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
52914         (main_loop_epoll): Likewise.
52915         * nscd/grpcache.c (addgrbyX): Likewise.
52916         * nscd/hstcache.c (addhstbyX): Likewise.
52917         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52918         * nscd/mem.c (gc, mempool_alloc): Likewise.
52919         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
52920         (addinnetgrX): Likewise.
52921         * nscd/nscd-client.h (__nscd_acquire_maplock)
52922         (__nscd_drop_map_ref): Likewise.
52923         * nscd/nscd_getai.c (__nscd_getai): Likewise.
52924         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
52925         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
52926         Likewise.
52927         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
52928         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52929         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
52930         (__nscd_get_map_ref): Likewise.
52931         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
52932         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
52933         Likewise.
52934         * nscd/pwdcache.c (addpwbyX): Likewise.
52935         * nscd/selinux.c (preserve_capabilities): Likewise.
52936         * nscd/servicescache.c (addservbyX): Likewise.
52937         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
52938         * posix/fnmatch.c (fnmatch): Likewise.
52939         * posix/getopt.c (_getopt_internal_r): Likewise.
52940         * posix/glob.c (glob, glob_in_dir): Likewise.
52941         * posix/wordexp.c (exec_comm_child): Likewise.
52942         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
52943         (getanswer_r, gaih_getanswer_slice): Likewise.
52944         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
52945         * resolv/res_init.c: Likewise.
52946         * resolv/res_mkquery.c (res_nmkquery): Likewise.
52947         * resolv/res_query.c (__libc_res_nquery): Likewise.
52948         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
52949         Likewise.
52950         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
52951         * stdio-common/perror.c (perror): Likewise.
52952         * stdio-common/printf_fp.c (___printf_fp): Likewise.
52953         * stdio-common/tmpnam.c (tmpnam): Likewise.
52954         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52955         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
52956         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
52957         Likewise.
52958         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
52959         * stdlib/putenv.c (putenv): Likewise.
52960         * stdlib/setenv.c (__add_to_environ): Likewise.
52961         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52962         * stdlib/strtol_l.c (INTERNAL): Likewise.
52963         * string/memmem.c (memmem): Likewise.
52964         * string/strerror.c (strerror): Likewise.
52965         * string/strnlen.c (__strnlen): Likewise.
52966         * string/test-memmem.c (simple_memmem): Likewise.
52967         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
52968         * sunrpc/pm_getport.c (__get_socket): Likewise.
52969         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
52970         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
52971         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
52972         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
52973         Likewise.
52974         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
52975         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
52976         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
52977         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
52978         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
52979         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
52980         Likewise.
52981         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
52982         Likewise.
52983         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
52984         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
52985         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52986         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
52987         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
52988         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
52989         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
52990         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
52991         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
52992         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
52993         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52994         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
52995         Likewise.
52996         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
52997         Likewise.
52998         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
52999         Likewise.
53000         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
53001         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53002         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
53003         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
53004         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
53005         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
53006         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53007         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
53008         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
53009         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
53010         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
53011         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53012         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53013         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
53014         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53015         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
53016         Likewise.
53017         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
53018         Likewise.
53019         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
53020         Likewise.
53021         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
53022         Likewise.
53023         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53024         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53025         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
53026         Likewise.
53027         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
53028         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
53029         * sysdeps/posix/opendir.c (__opendirat): Likewise.
53030         * sysdeps/posix/sleep.c: Likewise.
53031         * sysdeps/posix/tempname.c: Likewise.
53032         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
53033         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53034         Likewise.
53035         * sysdeps/powerpc/powerpc32/dl-machine.h
53036         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
53037         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53038         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53039         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
53040         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
53041         Likewise.
53042         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
53043         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
53044         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53045         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
53046         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53047         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
53048         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
53049         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
53050         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53051         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
53052         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
53053         (elf_machine_lazy_rel): Likewise.
53054         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53055         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
53056         (elf_machine_lazy_rel): Likewise.
53057         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
53058         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
53059         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
53060         * sysdeps/unix/grantpt.c (grantpt): Likewise.
53061         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
53062         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
53063         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
53064         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53065         Likewise.
53066         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
53067         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
53068         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
53069         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
53070         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53071         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53072         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
53073         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
53074         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
53075         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53076         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
53077         Likewise.
53078         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
53079         (__posix_fallocate64_l64): Likewise.
53080         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
53081         (posix_fallocate): Likewise.
53082         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
53083         Likewise.
53084         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53085         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
53086         (getifaddrs_internal): Likewise.
53087         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
53088         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
53089         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
53090         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
53091         * sysdeps/unix/sysv/linux/posix_fallocate64.c
53092         (__posix_fallocate64_l64): Likewise.
53093         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
53094         Likewise.
53095         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
53096         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
53097         (__get_clockfreq): Likewise.
53098         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
53099         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
53100         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
53101         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53102         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53103         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
53104         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
53105         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
53106         Likewise.
53107         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
53108         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
53109         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
53110         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
53111         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53112         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
53113         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
53114         Likewise.
53115         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
53116         (posix_fallocate): Likewise.
53117         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53118         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
53119         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
53120         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
53121         (elf_machine_rela, elf_machine_rela_relative)
53122         (elf_machine_lazy_rel): Likewise.
53123         * time/asctime.c (asctime_internal): Likewise.
53124         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
53125         * time/tzset.c (__tzset_parse_tz): Likewise.
53126         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
53127         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
53128         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
53129         * wcsmbs/wcsmbsload.h: Likewise.
53131         [BZ #15894]
53132         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
53134         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
53135         (arena_get2): Remove THREAD_STATS conditionals.
53136         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
53137         (__malloc_stats, int): Likewise.
53139 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
53141         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
53142         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
53144         * manual/setjmp.texi: Fix typos/grammar errors.
53146         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
53147         Only return early when n is <= 0.  Delete unused return statement.
53149         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
53150         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
53151         * debug/tst-longjmp_chk3.c: New file.
53153         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
53154         (test_main): Replace code with set_fortify_handler call.
53155         * debug/test-strcpy_chk.c: Likewise.
53156         * debug/tst-chk1.c: Likewise.
53157         * debug/tst-longjmp_chk.c: Likewise.
53158         * test-skeleton.c: Include fcntl.h & paths.h
53159         (set_fortify_handler): Define.
53161         * debug/tst-longjmp_chk.c: Add header comment and include
53162         ../test-skeleton.c.
53163         (do_test): Mark static.
53164         (TEST_FUNCTION): Define.
53166         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
53167         (IP_PMTUDISC_INTERFACE): Likewise.
53168         (IP_MULTICAST_IF): Likewise.
53169         (IP_MULTICAST_TTL): Likewise.
53170         (IP_MULTICAST_LOOP): Likewise.
53171         (IP_ADD_MEMBERSHIP): Likewise.
53172         (IP_DROP_MEMBERSHIP): Likewise.
53173         (IP_UNBLOCK_SOURCE): Likewise.
53174         (IP_BLOCK_SOURCE): Likewise.
53175         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
53176         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
53177         (IP_MSFILTER): Likewise.
53178         (MCAST_JOIN_GROUP): Likewise.
53179         (MCAST_BLOCK_SOURCE): Likewise.
53180         (MCAST_UNBLOCK_SOURCE): Likewise.
53181         (MCAST_LEAVE_GROUP): Likewise.
53182         (MCAST_JOIN_SOURCE_GROUP): Likewise.
53183         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
53184         (MCAST_MSFILTER): Likewise.
53185         (IP_MULTICAST_ALL): Likewise.
53186         (IP_UNICAST_IF): Likewise.
53188         * timezone/Makefile: Delete $(have-ksh) check.
53189         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
53190         * timezone/tzselect.ksh: Add +x mode bits.
53192         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
53193         (ANON_INODE_FS_MAGIC): Likewise.
53194         (BDEVFS_MAGIC): Likewise.
53195         (BINFMTFS_MAGIC): Likewise.
53196         (BTRFS_TEST_MAGIC): Likewise.
53197         (CRAMFS_MAGIC_WEND): Likewise.
53198         (DEBUGFS_MAGIC): Likewise.
53199         (ECRYPTFS_SUPER_MAGIC): Likewise.
53200         (EXT3_SUPER_MAGIC): Likewise.
53201         (EXT4_SUPER_MAGIC): Likewise.
53202         (FUTEXFS_SUPER_MAGIC): Likewise.
53203         (HOSTFS_SUPER_MAGIC): Likewise.
53204         (HUGETLBFS_MAGIC): Likewise.
53205         (MINIX3_SUPER_MAGIC): Likewise.
53206         (MTD_INODE_FS_MAGIC): Likewise.
53207         (NILFS_SUPER_MAGIC): Likewise.
53208         (OPENPROM_SUPER_MAGIC): Likewise.
53209         (PIPEFS_MAGIC): Likewise.
53210         (PSTOREFS_MAGIC): Likewise.
53211         (QNX6_SUPER_MAGIC): Likewise.
53212         (RAMFS_MAGIC): Likewise.
53213         (REISERFS_SUPER_MAGIC_STRING): Likewise.
53214         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
53215         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
53216         (SECURITYFS_MAGIC): Likewise.
53217         (SELINUX_MAGIC): Likewise.
53218         (SMACK_MAGIC): Likewise.
53219         (SOCKFS_MAGIC): Likewise.
53220         (SQUASHFS_MAGIC): Likewise.
53221         (STACK_END_MAGIC): Likewise.
53222         (TMPFS_MAGIC): Likewise.
53223         (USBDEVICE_SUPER_MAGIC): Likewise.
53224         (V9FS_MAGIC): Likewise.
53225         (XENFS_SUPER_MAGIC): Likewise.
53226         (CRAMFS_MAGIC): Fix typo in comment.
53227         (EXT2_SUPER_MAGIC): Update comment.
53228         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
53230 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
53232         * sysdeps/arm: Move directory from ports/sysdeps/arm.
53233         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
53234         * sysdeps/unix/sysv/linux/arm: Move directory from
53235         ports/sysdeps/unix/sysv/linux/arm.
53236         * README: Update listing for arm-*-linux-gnueabi.
53238         * README: Remove mention of am33.
53240 2014-02-07  Roland McGrath  <roland@hack.frob.com>
53242         * bits/sigset.h (__sigemptyset): Use a statement expression rather
53243         than the comma operator, to avoid "rhs of comma has no effect"
53244         compiler warnings.
53245         (__sigfillset, __sigandset, __sigorset): Likewise.
53246         * include/signal.h (__sigemptyset): Likewise.
53247         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
53249 2014-02-07  Allan McRae  <allan@archlinux.org>
53251         * version.h (RELEASE): Set to "development".
53252         (VERSION): Set to "2.19.90"
53253         * NEWS: Add 2.20 section.
53255 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
53257         [BZ #16529]
53258         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
53260 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53262         * manual/contrib.texi: Update entry for Carlos O'Donell,
53263         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
53265 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
53267         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
53269         * sysdeps/unix/sysv/linux/kernel-features.h
53270         [__LINUX_KERNEL_VERSION >= 0x020621]
53271         (__ASSUME_PROC_PID_TASK_COMM): Define.
53273 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53275         [BZ #16398]
53276         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
53277         conversion when destination buffer does not have enough space.
53278         * libio/tst-ftell-partial-wide.c: New test case.
53279         * libio/Makefile (tests): Add tst-ftell-partial-wide.
53281         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
53282         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
53283         Leonard and Allan McRae.
53285 2014-02-04  David S. Miller  <davem@davemloft.net>
53287         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
53288         32-bit.
53290 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
53293         New file
53294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
53295         New file
53296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
53297         New file.
53298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
53299         New file.
53300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
53301         New file.
53302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
53303         New file.
53304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
53305         New file.
53306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
53307         New file.
53308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
53309         New file.
53310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
53311         New file.
53312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
53313         New file.
53314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
53315         New file.
53316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
53317         New file.
53319 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53321         * nptl/shlib-versions: Change powerpc*le start to 2.17.
53322         * shlib-versions: Likewise.
53324 2014-02-04  Roland McGrath  <roland@hack.frob.com>
53325             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53327         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
53328         (abilist-pattern): New variable, set to %-le.abilist.
53330         * Makerules (abilist-pattern): New variable.
53331         (vpath): Use $(abilist-pattern) in place of %.abilist.
53332         (check-abi-% pattern rule): Likewise.
53333         (check-abi, update-abi): Likewise.
53335 2014-02-04  Eric Wong  <normalperson@yhbt.net>
53337         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53339 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
53341         * manual/startup.texi: Add next, previous, and top entries for
53342         the `Program Arguments' and `Environment Variables' nodes.
53344 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
53346         * manual/macros.texi: Add comments before MTASC-safety macros.
53348         * manual/users.texi: Document MTASC-safety properties.
53350         * manual/threads.texi (pthread_key_create, pthread_key_delete)
53351         (pthread_getspecific, pthread_setspecific): Format with
53352         @deftypefun, and add @safety note.
53353         * manual/signal.texi: Move comments that analyze the above
53354         functions to their home place.
53356 2014-02-03  Allan McRae  <allan@archlinux.org>
53358         * po/sl.po: Update Slovenian translation from translation project.
53360 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
53362         * manual/time.texi (timegm): Add missing blank after @c.
53363         Reported by Joseph Myers <joseph@codesourcery.com>.
53365 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
53367         * manual/check-safety.sh: New.
53368         * manual/Makefile ($(objpfx)stamp-summary): Run it.
53370         * manual/terminal.texi: Document MTASC-safety properties.
53372         * manual/filesys.texi: Document MTASC-safety properties.
53374         * manual/errno.texi: Document MTASC-safety properties.
53376         * manual/intro.texi: Document safety identifiers and
53377         conditionals.
53379         * manual/string.texi (wcstok): Fix prototype.
53380         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
53382         * manual/time.texi: Document MTASC-safety properties.
53384         * manual/string.texi: Document MTASC-safety properties.
53386         * manual/threads.texi: Document MTASC-safety properties.
53388         * manual/stdio.texi: Document MTASC-safety properties.
53390         * manual/syslog.texi: Document MTASC-safety properties.
53392         * manual/sysinfo.texi: Document MTASC-safety properties.
53394         * manual/startup.texi: Document MTASC-safety properties.
53396         * manual/socket.texi: Document MTASC-safety properties.
53398         * manual/signal.texi: Document MTASC-safety properties.
53400 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
53402         * manual/setjmp.texi: Document MTASC-safety properties.
53404         * manual/search.texi: Document MTASC-safety properties.
53406         * manual/resource.texi: Document MTASC-safety properties.
53408         * manual/process.texi: Document MTASC-safety properties.
53410         * manual/platform.texi: Document MTASC-safety properties.
53412         * manual/pipe.texi: Document MTASC-safety properties.
53414         * manual/pattern.texi: Document MTASC-safety properties.
53416         * manual/message.texi: Document MTASC-safety properties.
53418         [BZ #12751]
53419         * manual/memory.texi: Document MTASC-safety properties.
53421         * manual/math.texi: Document MTASC-safety properties.
53423         * manual/locale.texi: Document MTASC-safety properties.
53425         * manual/llio.texi: Document MTASC-safety properties.
53427         * manual/libdl.texi: New.
53429         * manual/lang.texi: Document MTASC-safety properties.
53431         * manual/job.texi: Document MTASC-safety properties.
53433         * manual/getopt.texi: Document MTASC-safety properties.
53435         * manual/ctype.texi: Document MTASC-safety properties.
53437 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
53439         [BZ #16046]
53440         * csu/libc-tls.c (static_map): Remove variable.
53441         (__libc_setup_tls): Use main executable's link map for TLS data.
53442         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
53443         casing for LM_ID_BASE and GL(dl_nns).
53444         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
53445         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
53446         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
53447         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
53448         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
53449         member.
53450         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
53451         l_phnum members.
53453 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
53455         * manual/debug.texi: Document MTASC-safety properties.
53457 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
53459         [BZ #16510]
53460         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
53461         of __x86_64__ when disabling x87 inline functions.
53463 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
53465         * manual/charset.texi: Document MTASC-safety properties.
53467         * manual/crypt.texi: Document MTASC-safety properties.
53469         * manual/conf.texi: Document MTASC-safety properties.
53471         * manual/arith.texi: Document MTASC-safety properties.
53473         * manual/argp.texi: Document MTASC-safety properties.
53475         * manual/macros.texi: Introduce macros to document multi
53476         thread, asynchronous signal and asynchronous cancellation
53477         safety properties.
53478         * manual/intro.texi: Introduce the properties themselves.
53480 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53482         * sysdeps/sh/sh4/Makefile: New file.
53484 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
53486         * math/gen-libm-test.pl ($srcdir): New variable.
53487         ($auto_input): Use it.
53489 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53491         [BZ #16506]
53492         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
53493         access beyond array bounds when parsing netgroups file.
53495         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
53496         the old buffer before realloc.
53498 2014-01-27  Allan McRae  <allan@archlinux.org>
53500         * po/fr.po: Update French translation from translation project.
53502 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53504         * sysdeps/sh/libm-test-ulps: Regenerate.
53506 2014-01-24  David S. Miller  <davem@davemloft.net>
53508         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
53510 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53512         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
53513         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
53515 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53517         [BZ #16474]
53518         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
53519         string pointers after reallocation.
53521 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53523         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
53524         __SH4A__ instead of __SH_FPU_ANY__.
53526 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53528         * sysdeps/sh/fpu_control.h: New file.
53529         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
53530         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
53531         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
53532         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
53533         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
53534         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
53535         * sysdeps/sh/sys/ucontext.h: Remove.
53536         * sysdeps/sh/sys: Remove directory.
53538 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53540         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
53541         s390/sys/ucontext.h.
53542         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
53543         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
53545 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
53547         [BZ #15605]
53548         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
53550 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53552         [BZ #16431]
53553         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53554         Adjust the vDSO correctly for internal calls.
53555         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
53557 2014-01-20  Allan McRae  <allan@archlinux.org>
53559         * po/ca.po: Update Catalan translation from translation project.
53561 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
53563         * sysdeps/s390/sotruss-lib.c: New file.
53565 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53567         [BZ #16430]
53568         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
53569         (__GI___gettimeofday): Alias for a different internal symbol to avoid
53570         local calls issues by not having a PLT stub required for IFUNC calls.
53571         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
53573 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
53575         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
53576         * math/test-fpucw-static.c: Likewise.
53578 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53580         [BZ #16453]
53581         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
53583 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53585         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
53586         implementation for powerpc.
53588 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
53590         [BZ #14782]
53591         * sysdeps/posix/system.c (__libc_system): Do not enable
53592         asynchronous cancellation.
53594 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53596         [BZ #16427]
53597         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
53598         handling only for numbers special also in the IEEE case.
53600 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53602         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53604 2014-01-11  Allan McRae  <allan@archlinux.org>
53606         * po/bg.po: Update Bulgarian translation from translation project.
53608         * po/de.po: Update German translation from translation project.
53610 2014-01-10  Roland McGrath  <roland@hack.frob.com>
53612         * sysdeps/generic/gcc-compat.h: New file.
53614 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53616         * benchtests/asin-inputs: Correct slow inputs.
53617         * benchtests/acos-inputs: Likewise.
53619 2014-01-10  Allan McRae  <allan@archlinux.org>
53621         * po:sv.po: Update Swedish translation from translation project.
53623         * po/vi.po: Update Vietnamese translation from translation project.
53625         * po/eo.po: Update Esperanto translation from translation project.
53627         * po/cs.po: Update Czech translation from translation project.
53629         * po/nl.po: Update Dutch translation from translation project.
53631         * po/pl.po: Update Polish translation from translation project.
53633         * po/ru.po: Update Russian translation from translation project.
53635         * po/uk.po: Update Ukrainian translation from translation project.
53637 2014-01-08  Brooks Moses  <bmoses@google.com>
53639         * elf/dl-load.c: Fix comment typo.
53641 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
53643         * po/header.pot: Rename to...
53644         * po/pot.header: ... this.
53645         * po/Makefile: Use pot.header.
53647 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
53648             Maxim Kuvyrkov  <maxim@kugelworks.com>
53650         [BZ #16394]
53651         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
53652         SRC and DEST against LEN.
53654 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53656         [BZ #16414]
53657         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
53658         implementation.
53659         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
53661 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53665 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
53667         [BZ #16408]
53668         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
53669         for large positive arguments.
53671 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
53673         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
53675         * math/auto-libm-test-in: Mark various tests with
53676         xfail-rounding:ldbl-128ibm.
53677         * math/auto-libm-test-out: Regenerated.
53679         [BZ #16407]
53680         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
53681         Increase overflow threshold.
53683 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
53685         [BZ #14286]
53686         * stdio-common/vfprintf.c: Check for integer overflow.
53688 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53690         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
53691         the first argument and return value of __tls_get_addr_internal.
53693 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53695         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
53696         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
53698 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53700         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
53701         * sysdeps/s390/rtld-global-offsets.sym: New file.
53702         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
53703         GLIBC_2.19 symbol.
53704         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
53705         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
53706         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
53707         ... this.
53708         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
53709         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
53710         ... this.
53711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53712         Regenerate.
53713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53714         Regenerate.
53715         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
53716         halfs of GPRs for high_gprs contexts.
53717         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
53718         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
53719         field.
53720         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
53721         uc_flags field.
53722         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
53723         64 bit versions:
53724         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
53725         for high GPRs (uc_high_gprs) and for future extensions
53726         (__reserved).
53727         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
53728         for future extensions (__reserved).
53729         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
53730         64 bit versions:
53731         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
53732         SC_HIGHGPRS offset definition.
53733         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
53734         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
53736         * Versions.def: Add GLIBC_2.19 for libpthread.
53737         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
53738         siglongjmp for libpthread with GLIBC_2.19 symver.
53739         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
53740         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
53741         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
53742         * sysdeps/s390/__longjmp.c: New file.
53743         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
53744         * sysdeps/s390/longjmp.c: New file.
53745         * sysdeps/s390/setjmp.S: New file.
53746         * sysdeps/s390/sigjmp.S: New file.
53747         * sysdeps/s390/v1-longjmp.c: New file.
53748         * sysdeps/s390/v1-setjmp.h: New file.
53749         * sysdeps/s390/v1-sigjmp.c: New file.
53750         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
53751         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
53752         GLIBC_2.19 version.
53753         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
53754         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
53755         versioned symbols for ____longjmp_chk.
53756         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
53757         Likewise.
53758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53759         Regenerate.
53760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53761         Regenerate.
53762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53763         Regenerate.
53764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53765         Regenerate.
53766         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
53767         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
53768         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
53769         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
53770         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
53771         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
53772         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
53773         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
53774         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
53775         * sysdeps/s390/rtld-__longjmp.c: New file.
53776         * sysdeps/s390/rtld-setjmp.S: New file.
53778 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
53780         [BZ #16400]
53781         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
53782         Return -__logl (x) for small positive arguments without evaluating
53783         a polynomial.
53785 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
53787         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
53788         Rename to ...
53789         (__ptrace_peeksiginfo_args): ... this.
53790         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53791         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53792         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53794 2014-01-06  Allan McRae  <allan@archlinux.org>
53796         * inet/netinet/in.h: Fix typo in comment.
53798 2014-01-05  Andreas Jaeger  <aj@suse.de>
53800         * sysdeps/i386/fpu/libm-test-ulps: Update.
53802 2014-01-05  Allan McRae  <allan@archlinux.org>
53804         * po/libc.pot: Regenerated.
53806         * malloc/memusagestat.c: Fix gettext call formatting.
53808 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
53810         * nscd/nscd.c: Improve usage() output.
53812 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
53814         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
53815         * sysdeps/unix/sysv/linux/configure: Regenerated.
53816         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
53817         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
53819 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
53821         [BZ #16390]
53822         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53823         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
53825 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53827         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
53828         extra tokens at end of #undef directive.
53829         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
53830         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
53831         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
53833 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
53835         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
53837         * math/auto-libm-test-in: Mark various tests with
53838         xfail-rounding:ldbl-128ibm.
53839         * math/auto-libm-test-out: Regenerated.
53841 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
53843         [BZ #16386]
53844         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
53845         numbers with subnormal high part when calculating exponent.
53847         [BZ #16385]
53848         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
53849         fabs.
53851         [BZ #16384]
53852         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
53853         M_LN2l.
53854         (__ieee754_acoshl): Use __log1pl not __log1p.
53856 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
53858         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
53859         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
53860         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
53861         (grow_heap, heap_trim, _int_new_arena, get_free_list)
53862         (reused_arena, arena_get2): Convert to GNU style.
53863         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
53864         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
53865         (memalign_check, __malloc_set_state): Likewise.
53866         * malloc/mallocbug.c (main): Likewise.
53867         * malloc/malloc.c (__malloc_assert, malloc_init_state)
53868         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
53869         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
53870         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
53871         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
53872         (__posix_memalign, malloc_info): Likewise.
53873         * malloc/malloc.h: Likewise.
53874         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
53875         (mallochook, memalignhook, reallochook, mabort): Likewise.
53876         * malloc/mcheck.h: Likewise.
53877         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
53878         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
53879         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
53880         * malloc/morecore.c (__default_morecore): Likewise.
53881         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
53882         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
53883         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
53884         (print_and_abort): Likewise.
53885         * malloc/obstack.h: Likewise.
53886         * malloc/set-freeres.c (__libc_freeres): Likewise.
53887         * malloc/tst-mallocstate.c (main): Likewise.
53888         * malloc/tst-mtrace.c (main): Likewise.
53889         * malloc/tst-realloc.c (do_test): Likewise.
53891 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53893         [BZ #16366]
53894         * nscd/netgroupcache.c (do_notfound): New function.
53895         (addgetnetgrentX): Use it.
53897         [BZ # 16365]
53898         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
53899         NSS_STATUS_NOTFOUND.
53901 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
53903         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53906 2014-01-01  Allan McRae  <allan@archlinux.org>
53908         * scripts/update-copyrights: Update configure input file suffix.
53910         * NEWS: Update copyright year.
53911         * catgets/gencat.c: Likewise.
53912         * csu/version.c: Likewise.
53913         * debug/catchsegv.sh: Likewise.
53914         * debug/pcprofiledump.c: Likewise.
53915         * debug/xtrace.sh: Likewise.
53916         * elf/ldconfig.c: Likewise.
53917         * elf/ldd.bash.in: Likewise.
53918         * elf/pldd.c: Likewise.
53919         * elf/sotruss.ksh: Likewise.
53920         * elf/sprof.c: Likewise.
53921         * iconv/iconv_prog.c: Likewise.
53922         * iconv/iconvconfig.c: Likewise.
53923         * locale/programs/locale.c: Likewise.
53924         * locale/programs/localedef.c: Likewise.
53925         * login/programs/pt_chown.c: Likewise.
53926         * malloc/memusage.sh: Likewise.
53927         * malloc/memusagestat.c: Likewise.
53928         * malloc/mtrace.pl: Likewise.
53929         * manual/libc.texinfo: Likewise.
53930         * nscd/nscd.c: Likewise.
53931         * nss/getent.c: Likewise.
53932         * nss/makedb.c: Likewise.
53933         * posix/getconf.c: Likewise.
53934         * scripts/test-installation.pl: Likewise.
53936         * All files with FSF copyright notices: Update copyright dates
53937         using scripts/update-copyrights.
53938         * intl/plural.c: Regenerated.
53939         * locale/programs/charmap-kw.h: Likewise.
53940         * locale/programs/locfile-kw.h: Likewise.
53942 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
53944         * sysdeps/unix/sysv/linux/configure: Regenerated.
53945         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
53946         the linux/fanotify.h header.
53947         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
53948         HAVE_LINUX_FANOTIFY_H is defined.
53950 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53952         * benchtests/cos-inputs: New inputs.
53953         * benchtests/sin-inputs: Likewise.
53955         * benchtests/atan-inputs: New inputs. Fix name of multiple
53956         precision fallback inputs.
53958         * benchtests/atanh-inputs: New inputs.
53959         * benchtests/tanh-inputs: Likewise.
53961         * benchtests/acosh-inputs: New inputs.
53962         * benchtests/asinh-inputs: Likewise.
53964         * benchtests/cosh-inputs: New inputs.
53965         * benchtests/sinh-inputs: Likewise.
53967         * benchtests/acos-inputs: Add more inputs.
53968         * benchtests/asin-inputs: Likewise.
53970 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
53972         [BZ #16375]
53973         * manual/arith.texi: Fix spelling.
53974         * manual/charset.texi: Likewise.
53975         * manual/errno.texi: Likewise.
53976         * manual/filesys.texi: Likewise.
53977         * manual/lang.texi: Likewise.
53978         * manual/llio.texi: Likewise.
53979         * manual/locale.texi: Likewise.
53980         * manual/message.texi: Likewise.
53981         * manual/resource.texi: Likewise.
53982         * manual/search.texi: Likewise.
53983         * manual/setjmp.texi: Likewise.
53984         * manual/stdio.texi: Likewise.
53985         * manual/string.texi: Likewise.
53986         * manual/sysinfo.texi: Likewise.
53987         * manual/time.texi: Likewise.
53989 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
53991         * po/sl.po: New file.
53993 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
53995         * .gitignore: Add core/.gdbinit/.gdb_history.
53997 2013-12-27  Allan McRae  <allan@archlinux.org>
53999         [BZ #16369]
54000         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
54001         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
54003 2013-12-24  Brooks Moses  <bmoses@google.com>
54005         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
54006         all compilers that claim C++98 compliance, not just GCC.
54007         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
54008         Likewise.
54010 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
54012         * NEWS: Restore accidentally deleted bug-fix entries.
54014 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
54015             Ondřej Bílka  <neleai@seznam.cz>
54017         [BZ #15073]
54018         * malloc/malloc.c (_int_free): Perform sanity check only if we
54019         have_lock.
54021 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
54023         [BZ #12986]
54024         * manual/stdio.texi (String Input Conversions): Clarify that character
54025         classes are not supported.
54027 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54031 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
54033         [BZ #16337]
54034         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54035         Calculate results for small negative arguments directly rather
54036         than using reflection formula with special underflow handling.
54038         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
54039         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
54040         sysdeps/unix/bsd/bsd4.4/syscalls.list.
54041         (fchflags): Likewise.
54042         (revoke): Likewise.
54043         (setlogin): Likewise.
54044         (sigaltstack): Likewise.
54045         (wait4): Likewise.
54046         (sigblock): Remove.
54047         (sigsetmask): Likewise.
54048         (wait3): Likewise.
54049         (waitpid): Likewise.
54050         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
54051         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
54052         file.
54053         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
54054         * sysdeps/unix/bsd/Makefile: ... here.
54055         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
54056         * sysdeps/unix/bsd/Versions: ... here.
54057         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
54058         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
54059         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
54060         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
54061         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
54062         * sysdeps/unix/bsd/sigblock.c: ... here.
54063         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
54064         * sysdeps/unix/bsd/sigsetmask.c: ... here.
54065         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
54066         * sysdeps/unix/bsd/sigvec.c: ... here.
54067         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
54068         * sysdeps/unix/bsd/tcdrain.c: ... here.
54069         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
54070         * sysdeps/unix/bsd/tcgetattr.c: ... here.
54071         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
54072         * sysdeps/unix/bsd/tcsetattr.c: ... here.
54073         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
54074         * sysdeps/unix/bsd/wait.c: ... here.
54075         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
54076         * sysdeps/unix/bsd/wait3.c: ... here.
54077         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
54078         * sysdeps/unix/bsd/waitpid.c: ... here.
54080 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
54082         [BZ #16356]
54083         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
54084         round-to-nearest for [!USE_AS_EXPM1L].
54085         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
54086         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
54087         more tests of exp and exp10.  Expect some exp10 tests to miss
54088         exceptions or fail in directed rounding modes.
54089         * math/auto-libm-test-out: Regenerated.
54090         * math/libm-test.inc (exp10_tonearest_test_data): New array.
54091         (exp10_test_tonearest): New function.
54092         (exp10_towardzero_test_data): New array.
54093         (exp10_test_towardzero): New function.
54094         (exp10_downward_test_data): New array.
54095         (exp10_test_downward): New function.
54096         (exp10_upward_test_data): New array.
54097         (exp10_test_upward): New function.
54098         (main): Call the new functions.
54099         * sysdeps/i386/fpu/libm-test-ulps: Update.
54100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54102 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
54104         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
54105         asinh, atan, atan2, atanh, cbrt, cos and cosh.
54106         * math/auto-libm-test-out: Regenerated.
54107         * math/libm-test.inc (acosh_test_data): Add more tests.
54108         (atanh_test_data): Likewise.
54109         (ceil_test_data): Likewise.
54110         (copysign_test_data): Likewise.
54111         * sysdeps/i386/fpu/libm-test-ulps: Update.
54112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54114         * timezone/checktab.awk: Update from tzcode 2013i.
54115         * timezone/private.h: Likewise.
54116         * timezone/scheck.c: Likewise.
54117         * timezone/tzfile.h: Likewise.
54118         * timezone/tzselect.ksh: Likewise.
54119         * timezone/zdump.c: Likewise.
54120         * timezone/zic.c: Likewise.
54122         * math/auto-libm-test-in: Add tests of cpow.
54123         * math/auto-libm-test-out: Regenerated.
54124         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
54125         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54126         mpc_cc_c.
54127         (func_calc_desc): Add mpc_cc_c union field.
54128         (test_functions): Add cpow.
54129         (special_fill_2pi): New function.
54130         (special_real_inputs): Add 2pi.
54131         (calc_generic_results): Handle mpc_cc_c.
54132         * sysdeps/i386/fpu/libm-test-ulps: Update.
54133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54135         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
54136         csqrt, ctan and ctanh.
54137         * math/auto-libm-test-out: Regenerated.
54138         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54139         (TEST_COND_x86): Likewise.
54140         (ccos_test_data): Use AUTO_TESTS_c_c.
54141         (ccosh_test_data): Likewise.
54142         (cexp_test_data): Likewise.
54143         (clog_test_data): Likewise.
54144         (csqrt_test_data): Likewise.
54145         (ctan_test_data): Likewise.
54146         (ctan_tonearest_test_data): Likewise.
54147         (ctan_towardzero_test_data): Likewise.
54148         (ctan_downward_test_data): Likewise.
54149         (ctan_upward_test_data): Likewise.
54150         (ctanh_test_data): Likewise.
54151         (ctanh_tonearest_test_data): Likewise.
54152         (ctanh_towardzero_test_data): Likewise.
54153         (ctanh_downward_test_data): Likewise.
54154         (ctanh_upward_test_data): Likewise.
54155         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54156         mpc_c_c.
54157         (func_calc_desc): Add mpc_c_c union field.
54158         (FUNC_mpc_c_c): New macro.
54159         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
54160         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
54161         ctanh.
54162         (special_fill_min_subnorm_p120): New function.
54163         (special_real_inputs): Add min_subnorm_p120.
54164         (calc_generic_results): Handle mpc_c_c.
54165         * sysdeps/i386/fpu/libm-test-ulps: Update.
54166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54168 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54170         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
54171         (do_sin_slow): New functions.
54172         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
54173         (cslow2, csloww1, csloww2): Use the new functions.
54175         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
54176         Use M to change sign of result instead of X.  Assume X is
54177         positive.
54178         (csloww1): Likewise.
54179         (__sin): Adjust.
54180         (__cos): Adjust.
54182         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
54183         arguments A and DA.
54184         (__sin): Adjust.
54185         (__cos): Likewise.
54187         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
54188         (__cos): Likewise.
54189         (sloww1): Don't adjust sign of DX.
54190         (csloww1): Likewise.
54191         (sloww2): Use X directly and don't adjust sign of DX.
54192         (csloww2): Likewise.
54194 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54196         * math/auto-libm-test-in: Add tests of cabs and carg.
54197         * math/auto-libm-test-out: Regenerated.
54198         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
54199         (carg_test_data): Likewise.
54200         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54201         mpc_c_f.
54202         (func_calc_desc): Add mpc_c_f union field.
54203         (test_functions): Add cabs and carg.
54204         (calc_generic_results): Handle mpc_c_f.
54206         * sysdeps/powerpc/powerpc32/libgcc-compat.S
54207         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
54208         as a macro and a compat symbol.
54209         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
54210         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
54211         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
54212         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
54213         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
54214         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
54215         not use .hidden.
54216         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
54217         Likewise.
54218         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
54219         Likewise.
54220         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
54221         Likewise.
54222         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
54223         Likewise.
54224         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
54225         Likewise.
54226         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
54227         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
54228         from GLIBC_2.3.2.
54230 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54234 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54236         * manual/texinfo.tex: Update to version 2013-11-26.10 with
54237         trailing whitespace removed.
54238         * scripts/config.guess: Update to version 2013-11-29.
54239         * scripts/config.sub: Update to version 2013-10-01.
54241         * math/auto-libm-test-in: Add tests of sincos.
54242         * math/auto-libm-test-out: Regenerated.
54243         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
54244         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54245         mpfr_f_11.
54246         (func_calc_desc): Add mpfr_f_11 union field.
54247         (test_functions): Add sincos.
54248         (calc_generic_results): Handle mpfr_f_11.
54249         * sysdeps/i386/fpu/libm-test-ulps: Update.
54250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54252 2013-12-19  Andreas Schwab  <schwab@suse.de>
54254         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
54255         CALL_MCOUNT.
54256         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54257         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
54258         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
54260 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54262         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
54263         * sysdeps/i386/fpu/libm-test-ulps: Update.
54264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54266         [BZ #16293]
54267         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
54268         round-to-nearest mode when using frndint.
54269         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
54270         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54271         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
54272         Likewise.
54273         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
54274         sinh test to fail.
54275         * math/auto-libm-test-out: Regenerated.
54276         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
54277         (TEST_COND_x86): Likewise.
54278         (expm1_tonearest_test_data): New array.
54279         (expm1_test_tonearest): New function.
54280         (expm1_towardzero_test_data): New array.
54281         (expm1_test_towardzero): New function.
54282         (expm1_downward_test_data): New array.
54283         (expm1_test_downward): New function.
54284         (expm1_upward_test_data): New array.
54285         (expm1_test_upward): New function.
54286         (main): Run the new test functions.
54287         * sysdeps/i386/fpu/libm-test-ulps: Update.
54288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54290         * include/features.h: Update comment documenting feature test
54291         macros.  Mention _DEFAULT_SOURCE in comment.
54292         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
54293         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
54294         _BSD_SOURCE and _SVID_SOURCE.
54295         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
54296         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
54297         !_SVID_SOURCE]: Likewise.
54298         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54299         (__USE_POSIX_IMPLICITLY): Define.
54300         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54301         (_POSIX_SOURCE): Undefine and redefine.
54302         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54303         (_POSIX_C_SOURCE): Likewise.
54304         * manual/creature.texi (_DEFAULT_SOURCE): Document.
54305         (Feature Test Macros): Update documentation of default features.
54307 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54309         * benchtests/Makefile: Add bench-strtok.
54310         * benchtests/bench-strtok.c: New file: strtok benchtest.
54312 2013-12-19  Allan McRae  <allan@archlinux.org>
54314         * manual/install.texi: Suppress menu for plain text output.
54315         * INSTALL: Regenerated.
54317 2013-12-18  Brooks Moses  <bmoses@google.com>
54319         [BZ #15846]
54320         * misc/getauxval.c: Include errno.h.
54321         (__getauxval): Set errno to ENOENT if the requested type is not
54322         found.
54323         * misc/sys/auxv.h (getauxval): Document that it may set errno;
54324         don't declare with __attribute_const__.
54325         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
54326         * manual/startup.texi: Document that getauxval sets errno.
54328 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
54330         * math/auto-libm-test-in: Add tests of jn and yn.
54331         * math/auto-libm-test-out: Regenerated.
54332         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
54333         (yn_test_data): Likewise.
54334         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54335         mpfr_if_f.
54336         (func_calc_desc): Add mpfr_if_f union field.
54337         (FUNC_mpfr_if_f): New macro.
54338         (test_functions): Add jn and yn.
54339         (calc_generic_results): Assert type of second input for
54340         mpfr_ff_f.  Handle mpfr_if_f.
54341         (output_for_one_input_case): Disable all checking for arguments
54342         fitting floating-point types in case of an integer argument.
54343         * sysdeps/i386/fpu/libm-test-ulps: Update.
54344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54347         Don't expect fegetround reference in libm.so.
54349 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54351         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
54352         $(config-cflags-nofma).
54354 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
54356         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
54357         * math/auto-libm-test-out: Regenerated.
54359         [BZ #16338]
54360         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
54361         to determine exponent and adjust argument to have exponent of -1.
54362         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
54363         log2.
54364         * math/auto-libm-test-out: Regenerated.
54365         * sysdeps/i386/fpu/libm-test-ulps: Update.
54366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54368 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
54370         * manual/probes.texi: Remove cases when per-thread arenas are
54371         disabled.
54373 2013-12-18  Andreas Schwab  <schwab@suse.de>
54375         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
54376         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
54377         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
54378         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
54379         * sysdeps/i386/i686/multiarch/Makefile: Update.
54380         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
54382 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54384         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
54385         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
54387 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
54389         [BZ #15968]
54390         Support TZ transition times < 00:00:00.
54391         This is needed for version-3 tz-format files; it supports time
54392         stamps past 2037 for America/Godthab (the only entry in the tz
54393         database for which this change is relevant).
54394         * manual/time.texi (TZ Variable): Document transition times
54395         from -167:59:59 through -00:00:01.
54396         * time/tzset.c (tz_rule): Time of day is now signed.
54397         (__tzset_parse_tz): Parse negative time of day.
54399         Document TZ transition times >= 25:00:00.
54400         * manual/time.texi (TZ Variable): Document transition times from
54401         25:00:00 through 167:59:59.  These are already supported, and this
54402         support will help with version-3 tz-format files.
54404         * manual/time.texi (TZ Variable): Modernize North America example
54405         to reflect current (i.e., 2007-and-later) daylight saving rules.
54407         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
54409 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54411         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
54412         * sysdeps/unix/bsd/bits/stat.h: Likewise.
54413         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
54414         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54415         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
54416         * sysdeps/unix/bsd/bsdstat.h: Likewise.
54417         * sysdeps/unix/bsd/clock.c: Likewise.
54418         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
54419         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
54420         * sysdeps/unix/bsd/init-posix.c: Likewise.
54421         * sysdeps/unix/bsd/poll.c: Likewise.
54422         * sysdeps/unix/bsd/ptsname.c: Likewise.
54423         * sysdeps/unix/bsd/seekdir.c: Likewise.
54424         * sysdeps/unix/bsd/setegid.c: Likewise.
54425         * sysdeps/unix/bsd/seteuid.c: Likewise.
54426         * sysdeps/unix/bsd/setgid.c: Likewise.
54427         * sysdeps/unix/bsd/setrgid.c: Likewise.
54428         * sysdeps/unix/bsd/setruid.c: Likewise.
54429         * sysdeps/unix/bsd/setsid.c: Likewise.
54430         * sysdeps/unix/bsd/setuid.c: Likewise.
54431         * sysdeps/unix/bsd/sigaction.c: Likewise.
54432         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
54433         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
54434         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
54435         * sysdeps/unix/bsd/telldir.c: Likewise.
54436         * sysdeps/unix/bsd/times.c: Likewise.
54437         * sysdeps/unix/bsd/usleep.c: Likewise.
54439         * misc/Makefile (install-lib): Remove libbsd-compat.a.
54440         ($(objpfx)libbsd-compat.a): Remove rule.
54442         * include/features.h (__FAVOR_BSD): Do not define.
54443         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
54444         features conflicting with POSIX.
54445         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
54446         (_BSD_SOURCE): Remove description of not being a subset of other
54447         feature test macros.
54448         * manual/job.texi (getpgrp): Do not document BSD version.
54449         (getpgid): Do not document by reference to BSD getpgrp.
54450         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
54451         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
54452         * signal/signal.h [__FAVOR_BSD]: Likewise.
54453         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
54454         instead of making contents conditional on [__FAVOR_BSD].
54455         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
54457 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54461 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54463         [BZ #16314]
54464         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
54465         values below 2**-450, not 2**-500.
54466         * math/auto-libm-test-in: Don't allow spurious underflow from
54467         hypot.
54468         * math/auto-libm-test-out: Regenerated.
54470         [BZ #16316]
54471         [BZ #16330]
54472         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
54473         values of ha and hb and sort them after adjusting subnormal
54474         arguments.
54475         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
54476         Likewise.
54477         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
54478         values of ea and eb and sort them after adjusting subnormal
54479         arguments.
54480         * math/auto-libm-test-in: Do not expect some hypot tests of
54481         subnormals to fail.  Add more hypot tests.
54482         * math/auto-libm-test-out: Regenerated.
54484 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54486         [BZ #13304]
54487         * sysdeps/sh/s_fma.c: New file.
54488         * sysdeps/sh/s_fmaf.c: New file.
54489         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
54490         version.
54491         * sysdeps/sh/Implies: Add sh/soft-fp.
54493 2013-12-16  Roland McGrath  <roland@hack.frob.com>
54495         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
54496         level of indirection to members `objname', `errstring', `malloced'.
54497         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
54498         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
54499         it as the __longjmp argument (just pass 1 instead).
54500         (_dl_catch_error): Initialize C with argument pointers and address of
54501         volatile local ERRCODE rather than copying values out of C at return.
54503 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
54505         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
54506         * math/auto-libm-test-out: Regenerated.
54507         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
54508         (hypot_test_data): Likewise.
54509         (pow_test_data): Likewise.
54510         (pow_tonearest_test_data): Likewise.
54511         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54512         mpfr_ff_f.
54513         (func_calc_desc): Add mpfr_ff_f union field.
54514         (FUNC_mpfr_ff_f): New macro.
54515         (test_functions): Add atan2, hypot and pow.
54516         (special_fill_min): New function.
54517         (special_fill_minus_min): Likewise.
54518         (special_fill_min_subnorm): Likewise.
54519         (special_fill_minus_min_subnorm): Likewise.
54520         (special_real_inputs): Add min, -min, min_subnorm and
54521         -min_subnorm.
54522         (calc_generic_results): Handle mpfr_ff_f.
54523         * sysdeps/i386/fpu/libm-test-ulps: Update.
54524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54526 2013-12-16  Will Newton  <will.newton@linaro.org>
54528         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
54529         (Aligned Memory Blocks): Add documentation for aligned_alloc
54530         and suggest it as an alternative to posix_memalign.
54531         (Hooks for Malloc): Document __memalign_hook is also called
54532         for aligned_alloc.  (Summary of Malloc): Add summary for
54533         aligned alloc.  Document __memalign_hook is also called
54534         for aligned_alloc.
54536 2013-12-16  Will Newton  <will.newton@linaro.org>
54538         * manual/memory.texi (Malloc Examples): Clarify default
54539         alignment documentation.  Suggest posix_memalign rather
54540         than memalign or valloc.
54541         (Aligned Memory Blocks): Remove suggestion to use memalign
54542         or valloc.  Remove obsolete comment about BSD.
54543         Document memalign errno values and mark the function obsolete.
54544         Document posix_memalign returned error codes.  Mark valloc
54545         as obsolete.  (Hooks for Malloc): __memalign_hook is also
54546         called for posix_memalign and valloc.
54547         (Summary of Malloc): Add posix_memalign to function summary.
54548         __memalign_hook is also called for posix_memalign and valloc.
54550 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54552         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
54553         TAYLOR_SIN.
54554         (__sin): Adjust.
54555         (__cos): Likewise.
54556         (sloww): Use mynumber union.  Expand ternary operator into
54557         if-else statements.
54558         (cslow): use mynumber union.
54560 2013-12-16  Allan McRae  <allan@archlinux.org>
54562         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
54563         * configure: Regenerated.
54565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
54567         [BZ #14120]
54568         * configure.ac: Added --enable-maintainer-mode. Check for
54569         autoconf when enabled.
54570         * configure: Regenerated.
54572         * nscd/nscd.service: New file.
54573         * nscd/nscd.tmpfiles: New file.
54575 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
54577         [BZ #12100]
54578         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
54579         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
54580         * sysdeps/x86_64/multiarch/strstr.c: ... here.
54581         (strstr): Add __strstr_sse2_unaligned ifunc.
54582         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
54583         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
54584         (strcasestr): Remove __strcasestr_sse42 ifunc.
54585         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
54586         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54587         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
54589 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54591         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
54592         * sysdeps/sh/bits/fenv.h: ... here.
54593         * sysdeps/sh/sh4/fpu/bits: Remove directory.
54595 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54597         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
54599         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
54600         hypotf multiarch implementations.
54601         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
54602         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
54603         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
54604         multiarch hypot for PPC64.
54605         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
54606         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
54607         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
54608         multiarch hypotf for PPC64.
54610         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
54611         modff multiarch implementations.
54612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
54613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
54614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
54615         multiarch modf for PPC64.
54616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
54617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
54618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
54619         multiarch modff for PPC64.
54621         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
54622         and logl multiarch implementations.
54623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
54624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
54625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
54626         multiarch logb for PPC64.
54627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
54628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
54629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
54630         multiarch logb for PPC64.
54631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
54632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
54633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
54634         multiarch logb for PPC64.
54636         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
54637         isinff multiarch implementation.
54638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
54639         file.
54640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
54641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
54642         multiarch isinf for PPC64.
54643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
54644         file.
54645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
54646         multiarch isinff for PPC64.
54648         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
54649         finitef multiarch implementation.
54650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
54651         file.
54652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
54653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
54654         multiarch finite for PPC64.
54655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
54656         file.
54657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
54658         multiarch finitef for PPC64.
54660         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
54661         lrint multiarch implementation.
54662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
54663         file.
54664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
54665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
54666         multiarch llrint for PPC64.
54667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
54668         multiarch lrint for PPC64.
54670         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
54671         copysignf multiarch implementation.
54672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
54673         file.
54674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
54675         file.
54676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
54677         multiarch copysign for PPC64.
54678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
54679         multiarch copysignf for PPC64.
54681         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
54682         multiarch implementation.
54683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
54684         file.
54685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
54686         file.
54687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
54688         file.
54689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
54690         file.
54691         multiarch llround for PPC64.
54692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
54693         multiarch trunc for PPC64.
54694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
54695         multiarch truncf for PPC64.
54697         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
54698         multiarch implementation.
54699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
54700         file.
54701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
54702         file.
54703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
54704         file.
54705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
54706         file.
54707         multiarch llround for PPC64.
54708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
54709         multiarch round for PPC64.
54710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
54711         multiarch roundf for PPC64.
54713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
54714         multiarch implementation.
54715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
54716         file.
54717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
54718         file.
54719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
54720         file.
54721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
54722         file.
54723         multiarch llround for PPC64.
54724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
54725         multiarch floor for PPC64.
54726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
54727         multiarch floorf for PPC64.
54729         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
54730         multiarch implementation.
54731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
54732         file.
54733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
54734         file.
54735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
54736         file.
54737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
54738         file.
54739         multiarch llround for PPC64.
54740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
54741         multiarch ceil for PPC64.
54742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
54743         multiarch ceilf for PPC64.
54745         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
54746         multiarch implementation.
54747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
54748         file.
54749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
54750         file.
54751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
54752         file.
54753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
54754         multiarch llround for PPC64.
54755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
54756         multiarch lround for PPC64.
54758         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
54759         multiarch implementation.
54760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
54761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
54762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
54763         file.
54764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
54765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
54766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
54767         multiarch isnan for PPC64.
54768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
54769         multiarch isnanf for PPC64.
54771         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
54772         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
54773         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
54774         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
54775         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
54776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
54778         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
54779         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54780         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54781         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
54784         multiarch implementations.
54785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54786         (__libc_ifunc_impl_list): Likewise.
54787         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
54788         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
54789         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
54790         multiarch stpcpy for PPC64.
54792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
54793         multiarch implementations.
54794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54795         (__libc_ifunc_impl_list): Likewise.
54796         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
54797         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
54798         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
54799         multiarch strcpy for PPC64.
54801         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
54802         redefine function name.
54803         (_wordcopy_fwd_dest_aligned): Likewise.
54804         (_wordcopy_bwd_aligned): Likewise.
54805         (_wordcopy_bwd_dest_aligned): Likewise.
54806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
54807         multiarch implementations.
54808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54809         (__libc_ifunc_impl_list): Likewise.
54810         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
54811         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
54812         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
54813         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
54814         multiarch wcscpy for PPC64.
54816         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
54817         multiarch implementations.
54818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54819         (__libc_ifunc_impl_list): Likewise.
54820         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
54821         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
54822         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
54823         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
54824         multiarch wcscpy for PPC64.
54826         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
54827         multiarch implementations.
54828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54829         (__libc_ifunc_impl_list): Likewise.
54830         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
54831         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
54832         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
54833         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
54834         multiarch wcsrchr for PPC64.
54836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
54837         multiarch implementations.
54838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54839         (__libc_ifunc_impl_list): Likewise.
54840         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
54841         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
54842         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
54843         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
54844         multiarch wcschr for PPC64.
54846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
54847         multiarch implementations.
54848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54849         (__libc_ifunc_impl_list): Likewise.
54850         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
54851         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
54852         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
54853         multiarch strchrnul for PPC64.
54855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
54856         implementations.
54857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54858         (__libc_ifunc_impl_list): Likewise.
54859         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
54860         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
54861         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
54862         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
54863         strchr for PPC64.
54865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
54866         implementations.
54867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54868         (__libc_ifunc_impl_list): Likewise.
54869         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
54870         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
54871         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
54872         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
54873         strncmp for PPC64.
54875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
54876         multiarch implementations.
54877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54878         (__libc_ifunc_impl_list): Likewise.
54879         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
54880         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
54881         strncasecmp for PPC64.
54882         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
54883         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
54884         multiarch strncasecmp_l for PPC64.
54886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
54887         multiarch implementations.
54888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54889         (__libc_ifunc_impl_list): Likewise.
54890         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
54891         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
54892         multiarch strcasecmp for PPC64.
54893         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
54894         file.
54895         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
54896         multiarch strcasecmp_l for PPC64.
54898         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
54899         implementations.
54900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54901         (__libc_ifunc_impl_list): Likewise.
54902         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
54903         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
54904         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
54905         strnlen for PPC64.
54907         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
54908         implementations.
54909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54910         (__libc_ifunc_impl_list): Likewise.
54911         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
54912         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
54913         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
54914         strlen for PPC64.
54916         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
54917         implementations.
54918         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54919         (__libc_ifunc_impl_list): Likewise.
54920         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
54921         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
54922         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
54923         rawmemrchr for PPC64.
54925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
54926         implementation.
54927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54928         (__libc_ifunc_impl_list): Likewise.
54929         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
54930         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
54931         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
54932         memrchr for PPC64.
54934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
54935         implementation.
54936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54937         (__libc_ifunc_impl_list): Likewise.
54938         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
54939         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
54940         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
54941         memchr for PPC64.
54943         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
54944         implementation.
54945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54946         (__libc_ifunc_impl_list): Likewise.
54947         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
54948         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
54949         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
54950         mempcpy for PPC64.
54952         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
54953         avoid cretion of __bzero symbol.
54954         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
54955         Likewise.
54956         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
54957         Likewise.
54958         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
54959         Likewise.
54960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
54961         multiarch implementations.
54962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54963         (__libc_ifunc_impl_list): Likewise.
54964         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
54965         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
54966         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
54967         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
54968         bzero for PPC32.
54969         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
54970         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
54971         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
54972         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
54973         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
54974         memset for PPC64.
54975         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
54977         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
54978         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
54979         implementations.
54980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54981         (__libc_ifunc_impl_list): Likewise.
54982         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
54983         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
54984         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
54985         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
54986         memcmp for PPC64.
54988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
54989         multiarch for POWER/PPC64.
54990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
54991         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
54992         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
54993         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
54994         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
54995         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
54996         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
54997         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
54998         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
54999         memcpy for PPC64.
55001         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
55002         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
55003         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
55004         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
55005         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
55006         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
55007         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
55008         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
55009         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
55010         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
55011         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
55012         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
55013         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
55014         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
55015         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
55016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
55017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
55018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
55019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
55020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
55021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
55022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
55024 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55026         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
55028 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55030         * benchtests/Makefile (bench): Add exp2 and log2.
55031         (LDLIBS-bench-exp2): Add -lm.
55032         (LDLIBS-bench-log2): Likewise.
55033         * benchtests/exp2-inputs: New inputs file.
55034         * benchtests/log2-inputs: New inputs file.
55035         * benchtests/log-inputs: Add new inputs.
55036         * benchtests/tan-inputs: Likewise.
55038 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55040         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
55041         definition...
55042         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
55043         (csloww2): ... from here.
55045         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
55046         instead of structures.
55047         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
55048         (POLYNOMIAL): Likewise.
55049         (TAYLOR_SLOW): Likewise.
55050         (__sin): Likewise.
55051         (__cos): Likewise.
55052         (slow1): Likewise.
55053         (slow2): Likewise.
55054         (sloww): Likewise.
55055         (sloww1); Likewise.
55056         (sloww2): Likewise.
55057         (bsloww1): Likewise.
55058         (bsloww2): Likewise.
55059         (cslow2): Likewise.
55060         (csloww): Likewise.
55061         (csloww1): Likewise.
55062         (csloww2): Likewise.
55064 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
55066         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
55067         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
55068         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
55069         * malloc/hooks.c (realloc_check): Likewise.
55071         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
55072         * malloc/arena.c: Remove PER_THREAD conditional.
55073         [!PER_THREAD]: Remove code.
55074         (ptmalloc_unlock_all2): Likewise.
55075         (ptmalloc_init): Likewise.
55076         (_int_new_arena): Likewise.
55077         (arena_get2): Likewise.
55078         * malloc/hooks.c (__malloc_get_state): Likewise.
55079         (__malloc_set_state): Likewise.
55080         * malloc/malloc.c: Likewise.
55081         (struct malloc_state): Likewise.
55082         (struct malloc_par): Likewise.
55083         (__libc_realloc): Likewise.
55084         (__libc_mallopt): Likewise.
55086 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55088         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
55090 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
55092         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
55093         macro to a function.  Check for zero perturb_byte.
55094         (_int_malloc, _int_free): Remove zero perturb_byte checks.
55096         * malloc/malloc.c: (force_reg): Remove.
55097         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
55098         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
55099         force_reg by atomic_forced_read.
55100         * malloc/arena.c (ptmalloc_init): Likewise.
55101         * malloc/hooks.c (top_check): Likewise.
55103 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55107 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
55109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55111 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
55113         * math/auto-libm-test-in: Add tests of lgamma.
55114         * math/auto-libm-test-out: Regenerated.
55115         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
55116         (M_LOG_2_SQRT_PIl): Likewise.
55117         (lgamma_test_data): Use AUTO_TESTS_f_f1.
55118         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55119         mpfr_f_f1.
55120         (func_calc_desc): Add mpfr_f_f1 union field.
55121         (ARGS1): New macro.
55122         (ARGS2): Likewise.
55123         (ARGS3): Likewise.
55124         (ARGS4): Likewise.
55125         (RET1): Likewise.
55126         (RET2): Likewise.
55127         (CALC): Likewise.
55128         (FUNC): Likewise.
55129         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
55130         (test_functions): Add lgamma.
55131         (calc_generic_results): Handle mpfr_f_f1.
55132         * sysdeps/i386/fpu/libm-test-ulps: Update.
55133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55135 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55137         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
55138         __mpn_add_n for PowerPC64/POWER7.
55139         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
55140         __mpn_sub_n for PowerPC64/POWER7.
55142         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
55143         __mpn_addmul_1 for PowerPC64.
55144         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
55145         __mpn_submul_1 for PowerPC64.
55146         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
55147         for PowerPC64.
55148         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
55149         for PowerPC64.
55151 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
55153         [BZ #15089]
55154         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
55156 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55158         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
55160         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
55161         add multiarch folders.
55162         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
55163         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
55164         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
55165         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
55166         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
55167         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
55168         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
55169         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
55170         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
55171         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
55172         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
55173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
55174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
55175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
55176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
55177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
55178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
55180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
55181         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
55182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
55183         New file.
55184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
55185         New file.
55186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
55187         multiarch __ieee754_hypot for PowerPC32.
55188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
55189         New file.
55190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
55191         New file.
55192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
55193         multiarch __ieee754_hypotf for PowerPC32.
55195         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
55196         long_double_symbol only if __logbl is defined.
55197         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
55198         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
55199         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
55200         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
55201         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
55202         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
55203         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
55204         path for implementation.
55205         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
55206         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
55207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
55208         logb, and logbl multiarch implementations for PowerPC32.
55209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
55210         file.
55211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
55212         file.
55213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
55214         multiarch logb for PowerPC32.
55215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
55216         file.
55217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
55218         file.
55219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
55220         multiarch logbf for PowerPC32.
55221         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
55222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
55223         file.
55224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
55225         multiarch logbl implementation for PowerPC32.
55227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
55228         and modff multiarch implementations.
55229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
55230         New file.
55231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
55232         New file.
55233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
55234         multiarch modf for PowerPC32.
55235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
55236         New file.
55237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
55238         New file.
55239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
55240         multiarch modff for PowerPC32.
55242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
55243         and lrintf multiarch implementations.
55244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
55245         New file.
55246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
55247         New file.
55248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
55249         multiarch lrint for PowerPC32.
55250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
55251         file: multiarch lrintf for PowerPC32.
55253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
55254         and lroundf multiarch implementations.
55255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
55256         New file.
55257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
55258         New file.
55259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
55260         New file.
55261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
55262         multiarch lround for PowerPC32.
55263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
55264         file: multiarch lroundf for PowerPC32.
55266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
55267         copysign and copysignf multiarch implementations.
55268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
55269         New file.
55270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
55271         New file.
55272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
55273         file: multiarch copysign for PowerPC32.
55274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
55275         file: multiarch copysignf for PowerPC32.
55277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
55278         and truncf multiarch implementations.
55279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
55280         New file.
55281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
55282         file.
55283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
55284         multiarch trunc for PowerPC32.
55285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
55286         New file.
55287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
55288         New file.
55289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
55290         multiarch truncf for PowerPC32.
55292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
55293         and roundf multiarch implementations.
55294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
55295         New file.
55296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
55297         file.
55298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
55299         multiarch round for PowerPC32.
55300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
55301         New file.
55302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
55303         New file.
55304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
55305         multiarch roundf for PowerPC32.
55307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
55308         and floorf multiarch implementations.
55309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
55310         New file.
55311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
55312         file.
55313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
55314         multiarch floor for PowerPC32.
55315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
55316         New file.
55317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
55318         New file.
55319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
55320         multiarch floorf for PowerPC32.
55322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
55323         and ceilf multiarch implementations.
55324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
55325         New file.
55326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
55327         file.
55328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
55329         multiarch ceil for PowerPC32.
55330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
55331         New file.
55332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
55333         file.
55334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
55335         multiarch ceilf for PowerPC32.
55337         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
55338         is defined.
55339         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
55340         FINITEF is defined.
55341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
55342         and finitef multiarch implementations.
55343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
55344         New file.
55345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
55346         file.
55347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
55348         multiarch finite for PowerPC32.
55349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
55350         New file.
55351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
55352         file: multiarch finitef for PowerPC32.
55354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
55355         and isinff multiarch implementations.
55356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
55357         file.
55358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
55359         file.
55360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
55361         multiarch isinf for PowerPC32.
55362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
55363         New file.
55364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
55365         multiarch isinff for PowerPC32.
55367         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
55368         alias when __isnan is defined.
55369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
55370         and isnanf multiarch implementations.
55371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
55372         file.
55373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
55374         file.
55375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
55376         file.
55377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
55378         file.
55379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
55380         multiarch isnan for PowerPC32.
55381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
55382         New file.
55383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
55384         New file.
55385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
55386         multiarch isnanf for PowerPC32.
55388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
55389         and sqrtf multiarch implementations.
55390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
55391         file.
55392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
55393         file.
55394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
55395         multiarch sqrt for PowerPC32.
55396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
55397         file.
55398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
55399         file.
55400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
55401         multiarch sqrtf for PowerPC32.
55403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
55404         and llroundf multiarch implementations.
55405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
55406         New file.
55407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
55408         New file.
55409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
55410         New file.
55411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
55412         file: multiarch llround for PowerPC32.
55413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
55414         file: multiarch llroundf for PowerPC32.
55416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
55417         multiarch PowerPC32 fpu implementations.
55418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
55419         New file.
55420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
55421         New file.
55422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
55423         multiarch llrint for PowerPC32.
55424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
55425         New file.
55426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
55427         New file.
55428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
55429         file.
55431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
55433         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
55434         file.
55435         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
55436         file.
55437         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
55438         file.
55439         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
55440         multiarch wordcopy for PPC32.
55441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55442         wordcopy objects.
55443         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55444         (__libc_ifunc_impl_list): Likewise.
55445         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
55446         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
55447         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
55448         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
55449         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
55450         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
55452         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
55453         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
55454         file.
55455         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
55456         file.
55457         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
55458         file.
55459         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
55460         multiarch wcscpy for PPC32.
55461         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55462         multiarch objects.
55463         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55464         (__libc_ifunc_impl_list): Likewise.
55465         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
55466         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
55467         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
55468         sysdeps/powerpc/power6/wcscpy.c.
55470         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
55471         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
55472         file.
55473         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
55474         file.
55475         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
55476         file.
55477         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
55478         multiarch wcsrchr for PPC32.
55479         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
55480         multiarch objects.
55481         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55482         (__libc_ifunc_impl_list): Likewise.
55483         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
55484         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
55485         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
55486         sysdeps/powerpc/power6/wcsrchr.c.
55488         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
55489         file.
55490         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
55491         file.
55492         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
55493         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
55494         multiarch wcschr for PPc32.
55495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
55496         multiarch objects.
55497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55498         (__libc_ifunc_impl_list): Likewise.
55499         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
55500         * sysdeps/powerpc/power6/wcschr.c: ... to here.
55501         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
55502         sysdeps/powerpc/power6/wcschr.c.
55504         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
55505         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
55506         file.
55507         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
55508         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
55509         file: multiarch strchr for PPC32.
55510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
55511         multiarch objects.
55512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55513         (__libc_ifunc_impl_list): Likewise.
55515         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
55516         name.
55517         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
55518         file.
55519         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
55520         file.
55521         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
55522         multiarch strchrnul for PPC32.
55523         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
55524         multiarch objects.
55525         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55526         (__libc_ifunc_impl_list): Likewise.
55528         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
55529         file.
55530         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
55531         multiarch strncasecmp for PPC32.
55532         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
55533         file.
55534         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
55535         multiarch strncasecmp_l for PPC32.
55536         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
55537         strncasecmp multiarch objects.
55538         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55539         (__libc_ifunc_impl_list): Likewise.
55541         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
55542         file.
55543         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
55544         multiarch strncasecmp for PPC32.
55545         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
55546         New file.
55547         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
55548         multiarch strcasecmp_l for PPC32.
55549         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
55550         multiarch objects.
55551         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55552         (__libc_ifunc_impl_list): Likewise.
55554         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
55555         file.
55556         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
55557         file.
55558         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
55559         multiarch strncmp for PPC32.
55560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
55561         multiarch objects.
55562         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55563         (__libc_ifunc_impl_list): Likewise.
55565         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
55566         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
55567         file.
55568         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
55569         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
55570         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
55571         multiarch objects.
55572         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55573         (__libc_ifunc_impl_list): Likewise.
55575         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
55576         file.
55577         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
55578         file.
55579         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
55580         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
55581         multiarch objects.
55582         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55583         (__libc_ifunc_impl_list): Likewise.
55585         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
55586         file.
55587         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
55588         file.
55589         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
55590         multiarch rawmemchr for PPC32.
55591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
55592         multiarch objects.
55593         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55594         (__libc_ifunc_impl_list): Likewise.
55596         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
55597         file.
55598         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
55599         file.
55600         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
55601         file: memrchr multiarch for PPC32.
55602         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
55603         multiarch objects.
55604         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55605         (__libc_ifunc_impl_list): Likewise.
55607         * string/memchr.c (__memchr): Using macro to redefine symbol name.
55608         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
55609         file.
55610         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
55611         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
55612         multiarch memchr for PPC32.
55613         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
55614         multiarch objects.
55615         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55616         (__libc_ifunc_impl_list): Likewise.
55618         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
55619         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
55620         file.
55621         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
55622         file.
55623         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
55624         file: multiarch mempcpy for PPC32.
55625         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
55626         multiarch objects.
55627         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55628         (__libc_ifunc_impl_list): Likewise.
55630         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
55631         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
55632         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
55633         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
55634         multiarch bzero for PPC32.
55635         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
55636         file.
55637         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
55638         file.
55639         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
55640         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
55641         file: multiarch memset for PPC32.
55642         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
55643         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
55644         memset multiarch objects.
55645         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55646         (__libc_ifunc_impl_list): Likewise.
55648         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
55649         file.
55650         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
55651         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
55652         memcmp for PPC32.
55653         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
55654         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
55655         multiarch objects.
55656         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55657         (__libc_ifunc_impl_list): Likewise.
55659         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
55660         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
55661         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
55662         file.
55663         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
55664         file.
55665         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
55666         file.
55667         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
55668         multiarch memcpy for PPC32.
55669         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
55670         multiarch objects.
55671         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55672         (__libc_ifunc_impl_list): Likewise.
55674         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
55675         support multiarch for POWER/PPC32.
55676         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
55677         Likewise.
55678         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
55679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
55680         Implies file to make multiarch folder appers before the fpu and
55681         default folder for power4 configuration.
55683 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55685         * scripts/bench.pl: Append volatile keyword to type.
55687 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55689         * sysdeps/sh/sotruss-lib.c: New file.
55690         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
55692 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55696 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
55698         [BZ #6810]
55699         * math/w_tgamma.c: Include <errno.h>.
55700         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
55701         * math/w_tgammaf.c: Include <errno.h>.
55702         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
55703         * math/w_tgammal.c: Include <errno.h>.
55704         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
55705         * math/auto-libm-test-in: Do not allow missing errno on tgamma
55706         underflow.  Add more tgamma tests.
55707         * math/auto-libm-test-out: Regenerated.
55708         * sysdeps/i386/fpu/libm-test-ulps: Update.
55709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55711         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
55712         sin, sinh, tan, tanh, tgamma, y0 and y1.
55713         * math/auto-libm-test-out: Regenerated.
55714         * math/libm-test.inc (TEST_COND_x86_64): New macro.
55715         (TEST_COND_x86): Likewise.
55716         (M_E2l): Remove macro.
55717         (M_E3l): Likewise.
55718         (M_2_SQRT_PIl): Likewise.
55719         (M_SQRT_PIl): Likewise.
55720         (M_1_DIV_El): Likewise.
55721         (log_test_data): Use AUTO_TESTS_f_f.
55722         (log10_test_data): Likewise.
55723         (log1p_test_data): Likewise.
55724         (log2_test_data): Likewise.
55725         (sin_test_data): Likewise.
55726         (sin_tonearest_test_data): Likewise.
55727         (sin_towardzero_test_data): Likewise.
55728         (sin_downward_test_data): Likewise.
55729         (sin_upward_test_data): Likewise.
55730         (sinh_test_data): Likewise.
55731         (sinh_tonearest_test_data): Likewise.
55732         (sinh_towardzero_test_data): Likewise.
55733         (sinh_downward_test_data): Likewise.
55734         (sinh_upward_test_data): Likewise.
55735         (tan_test_data): Likewise.
55736         (tan_tonearest_test_data): Likewise.
55737         (tan_towardzero_test_data): Likewise.
55738         (tan_downward_test_data): Likewise.
55739         (tan_upward_test_data): Likewise.
55740         (tanh_test_data): Likewise.
55741         (tgamma_test_data): Likewise.
55742         (y0_test_data): Likewise.
55743         (y1_test_data): Likewise.
55744         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
55745         (special_real_inputs): Add pi/4.
55746         * sysdeps/i386/fpu/libm-test-ulps: Update.
55747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55749 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55751         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
55752         "longjmp_target" static probes.
55753         (__longjmp): Rename to __longjmp_symbol.
55754         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55755         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
55756         on which longjmp to generate.
55757         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
55758         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
55759         probe.
55760         (__sigsetjmp): Rename to __sigsetjmp_symbol.
55761         (__sigjmp_save): Rename to __sigjmp_save_symbol.
55762         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
55763         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
55764         and __sigjmp_save_symbol based on which sigsetjmp to generated.
55765         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
55767         __longjmp_symbol based on which __longjmp to generate.
55768         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
55769         probe.
55770         (setjmp): Rename to setjmp_symbol.
55771         (__sigsetjmp): Rename to __sigsetjmp_symbol.
55772         (_setjmp): Rename to _setjmp_symbol.
55773         (__sigsetjmp): Rename to __sigsetjmp_symbol.
55774         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
55775         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
55776         which setjmp to generate.
55777         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
55778         "longjmp_target" static probes.
55780 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55782         * benchtests/README: Add note about output arguments.
55783         * benchtests/bench-sincos.c: Remove file.
55784         * benchtests/sincos-inputs: New file.
55785         * scripts/bench.pl: Identify output arguments and define
55786         static variables for them.
55788         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
55790         [BZ #15941]
55791         * Makefile (INSTALL): Add install-plain.texi as the primary
55792         dependency.
55793         * manual/install-plain.texi: New file.
55794         * manual/install.texi: Include node directive only for
55795         non-plaintext output.
55797 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
55799         * stdlib/longlong.h: Update from GCC.
55801         [BZ #6807]
55802         [BZ #15901]
55803         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
55804         * math/w_j0f.c (y0f): Likewise.
55805         * math/w_j0l.c (__y0l): Likewise.
55806         * math/w_j1.c (y1): Likewise.
55807         * math/w_j1f.c (y1f): Likewise.
55808         * math/w_j1l.c (__y1l): Likewise.
55809         * math/w_jn.c (yn): Likewise.
55810         * math/w_jnf.c (ynf): Likewise.
55811         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
55812         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
55813         value for Bessel function domain errors outside _SVID_ mode.
55814         Adjust sign of return value for yn (negative integer, 0).
55815         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
55816         by zero in return for negative x and set sign appropriately for
55817         negative n.
55818         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
55819         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55820         * math/libm-test.inc (y0_test_data): Add more tests and adjust
55821         expectations in error cases.
55822         (y1_test_data): Likewise.
55823         (yn_test_data): Likewise.
55824         * sysdeps/i386/fpu/libm-test-ulps: Update.
55825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55827 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55829         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
55830         "64" to "64-v1".  Add "64-v2".
55831         (abi-64-options): Rename to ...
55832         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
55833         (abi-64-condition): Rename to ...
55834         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
55835         (abi-64-ld-soname): Rename to ...
55836         (abi-64-v1-ld-soname): ... this.
55837         (abi-64-v2-options): Define.
55838         (abi-64-v2-condition): Likewise.
55839         (abi-64-v2-ld-soname): Likewise.
55840         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
55841         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
55842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
55843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
55844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
55846 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55847             Alan Modra  <amodra@gmail.com>
55849         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
55850         New versions for use with the ELFv2 ABI.
55851         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
55852         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
55853         declaration.
55854         (struct La_ppc64v2_retval): Likewise.
55855         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
55856         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
55857         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
55858         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
55859         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
55860         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55861         Do not save or restore CR.
55862         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
55863         (_dl_profile_resolve): Do no save or restore CR.  Support extended
55864         return values for ELFv2 ABI.  Fix location of FPR return registers.
55865         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
55866         updated values for _CALL_ELF == 2.
55867         (La_regs, La_retval, int_retval): Likewise.
55869 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55871         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
55872         (FRAME_MIN_SIZE_PARM): Likewise.
55873         (FRAME_BACKCHAIN): Likewise.
55874         (FRAME_CR_SAVE): Likewise.
55875         (FRAME_LR_SAVE): Likewise.
55876         (FRAME_TOC_SAVE): Likewise.
55877         (FRAME_PARM_SAVE): Likewise.
55878         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
55879         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
55880         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
55881         (call_mcount_parm_offset): New macro.
55882         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
55883         (PROF): Use symbolic stack frame offsets.
55884         (TAIL_CALL_SYSCALL_ERROR): Likewise.
55885         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
55886         Redefine in terms of FRAME_MIN_SIZE.
55887         (_dl_runtime_resolve): Use symbolic stack frame offsets.
55888         (_dl_profile_resolve): Likewise.  Update comment.
55889         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
55890         symbols stack frame offsets.
55891         (__sigsetjmp): Likewise.
55892         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
55893         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
55894         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
55895         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
55897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
55898         (FRAME_BACKCHAIN): Remove.
55899         (FRAME_CR_SAVE): Likewise.
55900         (FRAME_LR_SAVE): Likewise.
55901         (FRAME_COMPILER_DW): Likewise.
55902         (FRAME_LINKER_DW): Likewise.
55903         (FRAME_TOC_SAVE): Likewise.
55904         (FRAME_PARM_SAVE): Likewise.
55905         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
55906         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
55907         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
55908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
55909         (CHECK_SP): Use symbolic stack frame offsets.
55910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
55911         zone" instead of caller's parameter save area for temp storage.
55912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55913         Likewise.  Also, use symbolic stack frame offsets.
55914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
55915         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
55916         our own stack frame instead of the caller's.
55917         (__socket): Use symbolic stack frame offsets.
55919 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55920             Alan Modra  <amodra@gmail.com>
55922         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
55923         Define.
55924         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
55925         (PPC64_LOCAL_ENTRY_OFFSET): Define.
55926         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
55927         New function.
55928         (elf_machine_fixup_plt): Call it.
55929         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
55930         reloc arguments.
55931         (elf_machine_rela): Update call to elf_machine_plt_conflict.
55932         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
55933         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
55934         r2 before calling target.
55936 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55937             Alan Modra  <amodra@gmail.com>
55939         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
55940         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
55941         versions of macros to support ELFv2 ABI.
55942         (LOCALENTRY): New macro.
55943         (ENTRY, EALIGN): Use it.
55944         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
55945         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
55946         fall through into ENTRY entry point.
55947         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
55948         Only define if _CALL_ELF != 2.
55950         (elf_machine_matches_host): Verify ABI version matches.
55951         (RTLD_START): Use LOCALENTRY.
55952         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
55953         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
55954         (PLT_ENTRY_WORDS): New macro.
55955         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
55956         (elf_machine_runtime_setup): Support ELFv2 ABI.
55957         (elf_machine_fixup_plt): Likewise.
55958         (elf_machine_plt_conflict): Likewise.
55959         (resolve_ifunc): Likewise.
55960         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
55961         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55962         Likewise.
55963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
55964         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
55965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55966         (makecontext): Support ELFv2 ABI.
55967         * elf/elf.h (EF_PPC64_ABI): Define.
55969 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55971         * sysdeps/powerpc/powerpc64/sysdep.h
55972         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
55973         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
55974         (ENTRY) [ASSEMBLER]: ... but instead here ...
55975         (EALIGN) [ASSEMBLER]: ... and here.
55976         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
55977         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
55978         (ENTRY_2) [!ASSEMBLER]: Use it.
55979         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
55980         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
55981         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
55982         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
55983         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
55984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
55985         Use PPC64_LOAD_FUNCPTR.
55987         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
55989 2013-12-04  Alan Modra  <amodra@gmail.com>
55991         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
55992         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
55993         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
55994         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
55996         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
55997         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
55998         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
55999         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
56000         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
56001         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
56003 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56006         (__makecontext): Fix incorrect CFI when backtracing out of
56007         context created via makecontext.
56008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
56009         (__setcontext): Fix incorrect CFI during switch to new context.
56010         (__novec_setcontext): Likewise.
56012 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
56014         [BZ #4772]
56015         * time/strptime_l.c (__strptime_internal): Allow modifiers
56016         in strptime.
56017         * time/tst-strptime.c (day_tests): Add testcase.
56019 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56021         * scripts/bench.pl: Skip over blank lines.
56023 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
56025         [BZ #926]
56026         * manual/time.texi (Calendar Time): Clarify what timezone functions
56027         use.
56029 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56033 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
56035         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
56036         implementation.
56037         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
56038         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
56039         * debug/memset_chk.c (__memset_chk): Likewise.
56040         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
56041         * debug/strncpy_chk.c: Likewise.
56043 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
56045         [BZ #15268]
56046         [BZ #15425]
56047         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
56048         (__ieee754_exp): For possibly underflowing results, check size of
56049         result and force underflow exception if required.
56050         * math/auto-libm-test-in: Add more tests of exp.
56051         * math/auto-libm-test-out: Regenerated.
56052         * sysdeps/i386/fpu/libm-test-ulps: Update.
56053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56055         [BZ #16283]
56056         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
56057         * math/w_exp2f.c (__exp2f): Likewise.
56058         * math/w_exp2l.c (__exp2l): Likewise.
56059         * math/auto-libm-test-in: Do not allow missing errno on exp2
56060         underflow.
56061         * math/auto-libm-test-out: Regenerated.
56063 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
56065         [BZ #16274]
56066         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
56067         handle filename validation.
56068         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
56069         (do_open): Delete.
56071 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
56073         [BZ #6786]
56074         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
56075         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
56076         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
56077         <float.h>.
56078         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
56079         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
56080         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56081         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
56082         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56083         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
56084         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56085         * math/auto-libm-test-in: Don't allow missing errno from erfc.
56086         Add more erfc tests.
56087         * math/auto-libm-test-out: Regenerated.
56088         * sysdeps/i386/fpu/libm-test-ulps: Update.
56089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56091         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
56092         exp2, expm1, j0 and j1.
56093         * math/auto-libm-test-out: Regenerated.
56094         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
56095         (erfc_test_data): Likewise.
56096         (exp_test_data): Likewise.
56097         (exp_tonearest_test_data): Likewise.
56098         (exp_towardzero_test_data): Likewise.
56099         (exp_downward_test_data): Likewise.
56100         (exp_upward_test_data): Likewise.
56101         (exp10_test_data): Likewise.
56102         (exp2_test_data): Likewise.
56103         (expm1_test_data): Likewise.
56104         (j0_test_data): Likewise.
56105         (j1_test_data): Likewise.
56106         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
56107         (input_flag_type): Add flag_xfail_rounding.
56108         (input_flags): Add xfail-rounding.
56109         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
56110         (output_for_one_input_case): Handle flag_xfail_rounding.
56111         * sysdeps/i386/fpu/libm-test-ulps: Update.
56112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56114 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
56116         [BZ #16289]
56117         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
56118         division by 0.
56120 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56122         [BZ #16195]
56123         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
56124         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
56125         (STAP_PROBE0): New macro.
56126         (STAP_PROBE1): Likewise.
56127         (STAP_PROBE2): Likewise.
56128         (STAP_PROBE3): Likewise.
56129         (STAP_PROBE4): Likewise.
56131 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
56133         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
56135 2013-12-02  Steve Ellcey  <sellcey@mips.com>
56137         * benchtests/Makefile (bench): Add sqrt.
56138         (LDLIBS-bench-sqrt): New.
56139         * benchtests/sqrt-input: New.
56141 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
56143         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
56144         (GAIH_EAI): Likewise.
56145         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
56146         (gaih_inet): Likewise.
56147         (getaddrinfo): Don't use GAIH_EAI.
56149         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
56150         (struct gaih): Remove definition.
56152 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56154         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
56155         Use HERRNOP directly.
56157 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56161 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
56163         * math/gen-auto-libm-tests.c (test_functions): Add more
56164         single-argument functions.
56165         (special_fill_pi_2): New function.
56166         (special_fill_minus_pi_2): Likewise.
56167         (special_fill_pi_6): Likewise.
56168         (special_fill_minus_pi_6): Likewise.
56169         (special_fill_pi_3): Likewise.
56170         (special_fill_2pi_3): Likewise.
56171         (special_fill_e): Likewise.
56172         (special_fill_1_e): Likewise.
56173         (special_fill_e_minus_1): Likewise.
56174         (special_real_inputs): Add more special inputs.
56175         (output_for_one_input_case): Do not require ERANGE on underflow to
56176         zero if round-to-nearest result does not underflow to zero, unless
56177         exact results required.
56178         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
56179         atan, atanh, cbrt, cos and cosh.
56180         * math/auto-libm-test-out: Regenerated.
56181         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
56182         (acos_tonearest_test_data): Likewise.
56183         (acos_towardzero_test_data): Likewise.
56184         (acos_downward_test_data): Likewise.
56185         (acos_upward_test_data): Likewise.
56186         (acosh_test_data): Likewise.
56187         (asin_test_data): Likewise.
56188         (asin_tonearest_test_data): Likewise.
56189         (asin_towardzero_test_data): Likewise.
56190         (asin_upward_test_data): Likewise.
56191         (asinh_test_data): Likewise.
56192         (atan_test_data): Likewise.
56193         (atanh_test_data): Likewise.
56194         (cbrt_test_data): Likewise.
56195         (cos_test_data): Likewise.
56196         (cos_tonearest_test_data): Likewise.
56197         (cos_towardzero_test_data): Likewise.
56198         (cos_downward_test_data): Likewise.
56199         (cos_upward_test_data): Likewise.
56200         (cosh_test_data): Likewise.
56201         (cosh_tonearest_test_data): Likewise.
56202         (cosh_towardzero_test_data): Likewise.
56203         (cosh_downward_test_data): Likewise.
56204         (cosh_upward_test_data): Likewise.
56205         * sysdeps/i386/fpu/libm-test-ulps: Update.
56206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56208 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
56210         [BZ #6787]
56211         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
56212         * math/w_exp10f.c (__exp10f): Likewise.
56213         * math/w_exp10l.c (__exp10l): Likewise.
56214         * math/libm-test.inc (exp10_test_data): Add more tests and expect
56215         errno settings in existing tests.
56217         [BZ #14032]
56218         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
56219         precision control set to double precision.
56220         * sysdeps/i386/fpu/w_sqrt.c: New file.
56221         * math/auto-libm-test-in: Add more tests.
56222         * math/auto-libm-test-out: Update.
56224         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
56225         (sqrt_test_tonearest): New function.
56226         (sqrt_towardzero_test_data): New variable.
56227         (sqrt_test_towardzero): New function.
56228         (sqrt_downward_test_data): New variable.
56229         (sqrt_test_downward): New function.
56230         (sqrt_upward_test_data): New variable.
56231         (sqrt_test_upward): New function.
56232         (main): Call the new functions.
56234         * math/gen-auto-libm-tests.c: New file.
56235         * math/auto-libm-test-in: Likewise.
56236         * math/auto-libm-test-out: New generated file.
56237         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
56238         variables.
56239         (%beautify): Add generated representations of zero.
56240         (top level): Set $auto_input and call parse_auto_input.
56241         (beautify): Remove trailing "f" from hex float constants.
56242         (parse_args): Handle XFAIL_TEST.
56243         (convert_condition): New function.
56244         (or_value): Likewise.
56245         (or_cond_value): Likewise.
56246         (generate_testfile): Handle AUTO_TESTS_* lines.
56247         (parse_auto_input): New function.
56248         * math/libm-test.inc (XFAIL_TEST): New macro.
56249         (ERRNO_UNCHANGED): Update value.
56250         (ERRNO_EDOM): Likewise.
56251         (ERRNO_ERANGE): Likewise.
56252         (IGNORE_RESULT): Likewise.
56253         (TEST_COND_flt_32): New macro.
56254         (TEST_COND_dbl_64): Likewise.
56255         (TEST_COND_ldbl_96_intel): Likewise.
56256         (TEST_COND_ldbl_96_m68k): Likewise.
56257         (TEST_COND_ldbl_128): Likewise.
56258         (TEST_COND_ldbl_128ibm): Likewise.
56259         (TEST_COND_long32): Likewise.
56260         (TEST_COND_long64): Likewise.
56261         (TEST_COND_before_rounding): Likewise.
56262         (TEST_COND_after_rounding): Likewise.
56263         (enable_test): Handle XFAIL_TEST flag.
56264         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
56265         with finite results.
56266         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
56267         auto-libm-test-out.
56269 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56270             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56272         [BZ #16214]
56273         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
56274         __tls_get_addr_internal instead of __tls_get_offset in order to
56275         avoid GOT pointer dependency.  Make rtld export
56276         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
56277         __tls_get_addr since we are a __tls_get_offset platform.
56278         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
56279         GOT pointer being set up before.
56280         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
56282 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
56284         * manual/math.texi (Errors in Math Functions): Document accuracy
56285         goals.
56287         [BZ #15004]
56288         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
56289         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
56290         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56291         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56292         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56293         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56294         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56295         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56296         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56297         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56298         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56299         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56300         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56301         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56302         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56303         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56305         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
56306         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
56307         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
56308         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
56309         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
56310         Likewise.
56311         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
56312         Likewise.
56313         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
56314         Likewise.
56315         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
56316         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
56317         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
56318         atomic-feupdateenv and flt-rounds.
56319         * sysdeps/powerpc/nofpu/Versions (libc): Add
56320         __atomic_feholdexcept, __atomic_feclearexcept,
56321         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
56322         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
56323         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
56324         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
56325         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
56326         here.
56327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
56328         Update.
56330         * manual/arith.texi (FP Exceptions): Document that exceptions may
56331         not be raised when matherr is used.
56332         (Math Error Reporting): Document overflow in directed rounding
56333         modes.  Document that errno may not be set when finite values are
56334         returned on overflow.  Document intent to set errno on underflow
56335         only for underflow to zero.
56337         [BZ #16271]
56338         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
56339         round-to-nearest then adjust result for other rounding modes.
56340         * include/fenv.h (fegetround): Use libm_hidden_proto.
56341         * math/fegetround.c (fegetround): Use libm_hidden_def.
56342         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
56343         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
56344         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
56345         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
56346         Likewise.
56347         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
56348         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56349         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
56350         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
56352 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56354         [BZ #16077]
56355         * nss/Versions (libnss_files): Add
56356         _nss_files_gethostbyname3_r.
56357         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
56358         New function.
56359         (HOST_DB_LOOKUP): Remove macro.
56360         (_nss_files_gethostbyname_r): Implement function without the
56361         HOST_DB_LOOKUP macro.
56362         (_nss_files_gethostbyname2_r): Likewise.
56364 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
56366         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
56368 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
56370         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
56371         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
56372         warning.
56374 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56376         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
56377         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
56378         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
56379         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
56380         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
56381         __fe_nomask_env_priv and attribute_hidden.
56382         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
56383         (libc_feupdateenv_test_ppc): Likewise.
56384         (libc_feresetround_ppc): Likewise.
56385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56386         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
56387         compat_symbol macro.
56388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56389         (__fe_nomask_env): Likewise.
56390         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
56392 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56394         * string/Makefile: Remove ifunc tests.
56395         * string/test-string.h: Define TEST_IFUNC.
56396         * string/test-bcopy-ifunc.c: Remove.
56397         * string/test-bzero-ifunc.c: Likewise.
56398         * string/test-memccpy-ifunc.c: Likewise.
56399         * string/test-memchr-ifunc.c: Likewise.
56400         * string/test-memcmp-ifunc.c: Likewise.
56401         * string/test-memcpy-ifunc.c: Likewise.
56402         * string/test-memmem-ifunc.c: Likewise.
56403         * string/test-memmove-ifunc.c: Likewise.
56404         * string/test-mempcpy-ifunc.c: Likewise.
56405         * string/test-memrchr-ifunc.c: Likewise.
56406         * string/test-memset-ifunc.c: Likewise.
56407         * string/test-rawmemchr-ifunc.c: Likewise.
56408         * string/test-stpcpy-ifunc.c: Likewise.
56409         * string/test-stpncpy-ifunc.c: Likewise.
56410         * string/test-strcasecmp-ifunc.c: Likewise.
56411         * string/test-strcasestr-ifunc.c: Likewise.
56412         * string/test-strcat-ifunc.c: Likewise.
56413         * string/test-strchr-ifunc.c: Likewise.
56414         * string/test-strchrnul-ifunc.c: Likewise.
56415         * string/test-strcmp-ifunc.c: Likewise.
56416         * string/test-strcpy-ifunc.c: Likewise.
56417         * string/test-strcspn-ifunc.c: Likewise.
56418         * string/test-strlen-ifunc.c: Likewise.
56419         * string/test-strncasecmp-ifunc.c: Likewise.
56420         * string/test-strncat-ifunc.c: Likewise.
56421         * string/test-strncmp-ifunc.c: Likewise.
56422         * string/test-strncpy-ifunc.c: Likewise.
56423         * string/test-strnlen-ifunc.c: Likewise.
56424         * string/test-strpbrk-ifunc.c: Likewise.
56425         * string/test-strrchr-ifunc.c: Likewise.
56426         * string/test-strspn-ifunc.c: Likewise.
56427         * string/test-strstr-ifunc.c: Likewise.
56429 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56431         * benchtests/Makefile: Remove ifunc tests.
56432         * benchtests/bench-string.h: Define TEST_IFUNC.
56433         * benchtests/bench-bcopy-ifunc.c: Remove.
56434         * benchtests/bench-bzero-ifunc.c: Likewise.
56435         * benchtests/bench-memccpy-ifunc.c: Likewise.
56436         * benchtests/bench-memchr-ifunc.c: Likewise.
56437         * benchtests/bench-memcmp-ifunc.c: Likewise.
56438         * benchtests/bench-memcpy-ifunc.c: Likewise.
56439         * benchtests/bench-memmem-ifunc.c: Likewise.
56440         * benchtests/bench-memmove-ifunc.c: Likewise.
56441         * benchtests/bench-mempcpy-ifunc.c: Likewise.
56442         * benchtests/bench-memrchr-ifunc.c: Likewise.
56443         * benchtests/bench-memset-ifunc.c: Likewise.
56444         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
56445         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
56446         * benchtests/bench-stpcpy-ifunc.c: Likewise.
56447         * benchtests/bench-stpncpy-ifunc.c: Likewise.
56448         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
56449         * benchtests/bench-strcasestr-ifunc.c: Likewise.
56450         * benchtests/bench-strcat-ifunc.c: Likewise.
56451         * benchtests/bench-strchr-ifunc.c: Likewise.
56452         * benchtests/bench-strchrnul-ifunc.c: Likewise.
56453         * benchtests/bench-strcmp-ifunc.c: Likewise.
56454         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
56455         * benchtests/bench-strcpy-ifunc.c: Likewise.
56456         * benchtests/bench-strcspn-ifunc.c: Likewise.
56457         * benchtests/bench-strlen-ifunc.c: Likewise.
56458         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
56459         * benchtests/bench-strncat-ifunc.c: Likewise.
56460         * benchtests/bench-strncmp-ifunc.c: Likewise.
56461         * benchtests/bench-strncpy-ifunc.c: Likewise.
56462         * benchtests/bench-strnlen-ifunc.c: Likewise.
56463         * benchtests/bench-strpbrk-ifunc.c: Likewise.
56464         * benchtests/bench-strrchr-ifunc.c: Likewise.
56465         * benchtests/bench-strsep-ifunc.c: Likewise.
56466         * benchtests/bench-strspn-ifunc.c: Likewise.
56467         * benchtests/bench-strstr-ifunc.c: Likewise.
56469 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56471         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
56473 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56475         * resolv/netdb.h: Use __glibc_reserved instead __unused.
56476         * rt/aio.h: Likewise.
56477         * sysdeps/gnu/bits/utmp.h: Likewise.
56478         * sysdeps/gnu/bits/utmpx.h: Likewise.
56479         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56480         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
56481         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
56482         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
56483         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
56484         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
56485         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
56486         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
56487         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
56488         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
56489         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
56490         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
56491         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
56492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
56493         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
56494         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
56495         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
56496         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
56497         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
56498         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
56499         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
56500         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
56501         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
56502         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56503         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
56504         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56505         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
56506         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
56507         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
56508         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
56509         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
56510         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
56511         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
56512         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
56513         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
56514         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
56515         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
56516         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
56517         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
56518         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
56519         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
56520         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56522 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
56524         [BZ #16245]
56525         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
56526         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
56528 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
56530         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
56531         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
56532         Likewise.
56534 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56536         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
56537         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
56538         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
56539         (__fesetround): Remove define.
56540         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
56541         rounding and exceptions handling.
56542         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
56543         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
56544         (__fe_nomask_env): Likewise.
56545         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
56546         __fegetround instead of fegetround.
56547         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56548         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
56550 2013-11-21  Roland McGrath  <roland@hack.frob.com>
56552         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
56553         it's there.
56555         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
56557 2013-11-21  Meador Inge  <meadori@codesourcery.com>
56559         [BZ #11157]
56560         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
56561         (encrypt_r): Likewise.
56562         * malloc/obstack.h (obstack_free): Likewise.
56563         * posix/unistd.h (encrypt): Likewise.
56565 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
56567         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
56568         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
56569         DL_CALL_DT_FINI() that call the functions directly.
56570         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
56571         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
56572         * elf/dl-fini.c: Likewise.
56574 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
56576         * malloc/hooks.c (memalign_check): Add alignment rounding.
56577         * malloc/malloc.c (_mid_memalign): New function.
56578         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
56579         Implement by calling _mid_memalign.
56580         * manual/probes.texi (Memory Allocation Probes): Remove
56581         memory_valloc_retry and memory_pvalloc_retry.
56583 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56585         * locale/programs/locarchive.c (open_archive): Add const
56586         qualifier to ARCHIVEFNAME and copy default fname to
56587         DEFAULT_FNAME.
56589         [BZ #15601]
56590         * libio/tst-widetext.input: Rename Oriya to Odia.
56591         * locale/iso-639.def: Likewise.
56593         * manual/probes.texi (Mathematical Function Probes): Add
56594         documentation for sin, cos, asin and acos probes.
56595         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
56596         (__sin32): Add slowasin probe.
56597         (__cos32): Add slowacos probe.
56598         (__mpsin): Add slowsin probe.
56599         (__mpcos): Add slowcos probe.
56601 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
56603         [BZ #15483]
56604         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
56605         thread-local __sim_exceptions_thread and global
56606         __sim_exceptions_global.
56607         (__sim_disabled_exceptions): Change to thread-local
56608         __sim_disabled_exceptions_thread and global
56609         __sim_disabled_exceptions_global.
56610         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
56611         and global __sim_round_mode_global.
56612         (__simulate_exceptions): Use thread-local floating-point state and
56613         set global state from it as needed.
56614         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
56615         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
56616         __sim_round_mode_thread.
56617         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
56618         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
56619         and global __sim_exceptions_global.
56620         (__sim_disabled_exceptions): Change to thread-local
56621         __sim_disabled_exceptions_thread and global
56622         __sim_disabled_exceptions_global.
56623         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
56624         and global __sim_round_mode_global.
56625         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
56626         (SIM_SET_GLOBAL): Likewise.
56627         * sysdeps/powerpc/soft-fp/sfp-machine.h
56628         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
56629         __sim_round_mode_thread.
56630         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
56631         __sim_disabled_exceptions_thread.
56632         (__sim_exceptions): Change to __sim_exceptions_thread.
56633         (__sim_disabled_exceptions): Change to
56634         __sim_disabled_exceptions_thread.
56635         (__sim_round_mode): Change to __sim_round_mode_thread.
56636         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
56637         thread-local floating-point state and set global state from it as
56638         needed.
56639         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
56640         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
56641         (__sim_disabled_exceptions): Remove extern declaration.
56642         (feenableexcept): Use thread-local floating-point state and set
56643         global state from it as needed.
56644         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
56645         extern declaration.
56646         (__sim_disabled_exceptions): Likewise.
56647         (__sim_round_mode): Likewise.
56648         (__fegetenv): Use thread-local floating-point state.
56649         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
56650         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
56651         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
56652         floating-point state and set global state from it as needed.
56653         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
56654         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
56655         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
56656         Likewise.
56657         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
56658         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
56659         Likewise.
56660         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
56661         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
56662         Use __sim_round_mode_thread.
56663         * math/test-fenv-tls.c: New file.
56664         * math/Makefile (tests): Add test-fenv-tls.
56665         ($(objpfx)test-fenv-tls): Depend on
56666         $(common-objpfx)nptl/libpthread.so.
56668 2013-11-19  Andreas Schwab  <schwab@suse.de>
56670         * locale/programs/locale.c (show_info): Decode wordarray elements.
56671         * locale/categories.def (LC_MONETARY): Add element for
56672         _NL_MONETARY_CRNCYSTR.
56673         * locale/C-monetary.c (conversion_rate): New variable.
56674         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
56675         element.
56677 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
56679         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
56680         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
56682 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
56684         * elf/Makefile (tst-auxv): New test.
56685         * elf/tst-auxv.c: New
56686         * elf/rtld.c (dl_main): Adjust AT_EXECFN
56688 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
56690         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
56691         (hidden_proto): Caller changed.
56692         (hidden_tls_proto): New macro.
56693         (libc_hidden_tls_proto): Likewise.
56694         (rtld_hidden_tls_proto): Likewise.
56695         (libm_hidden_tls_proto): Likewise.
56696         (libresolv_hidden_tls_proto): Likewise.
56697         (librt_hidden_tls_proto): Likewise.
56698         (libdl_hidden_tls_proto): Likewise.
56699         (libnss_files_hidden_tls_proto): Likewise.
56700         (libnsl_hidden_tls_proto): Likewise.
56701         (libnss_nisplus_hidden_tls_proto): Likewise.
56702         (libutil_hidden_tls_proto): Likewise.
56704 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
56706         [BZ #10253]
56707         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
56708         (decompose_rpath): Defer expansion to fillin_rpath.
56709         (_dl_init_paths): Pass linkmap to fillin_rpath.
56711 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56713         * benchtests/Makefile: Add strsep.
56714         * benchtests/bench-strsep.c: New file: strsep benchtest.
56715         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
56717 2013-11-18  Andreas Schwab  <schwab@suse.de>
56719         * locale/programs/locale.c (show_info) [case byte]: Check for
56720         '\377' instead of '\177'.
56721         * locale/C-monetary.c (not_available): Always use "\377".
56722         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
56723         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
56724         detect unavailable sign_posn locale elements.
56725         * locale/localeconv.c (__localeconv): For grouping and
56726         mon_grouping handle "\177" and "\377" like no grouping.
56727         (INT_ELEM): New macro.  Use it to set all numeric members.
56728         * locale/programs/ld-monetary.c (monetary_read)
56729         <tok_mon_grouping>: Normalize single -1 to the empty string.
56730         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
56731         Likewise.
56733 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
56735         [BZ #16055]
56736         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
56737         when we match (nil).
56738         * stdio-common/tst-sscanf.c (struct test): Add testcase.
56740 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
56742         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
56743         (NO_TEST_INLINE): Update value.
56744         (ERRNO_UNCHANGED): Likewise.
56745         (ERRNO_EDOM): Likewise.
56746         (ERRNO_ERANGE): Likewise.
56747         (IGNORE_RESULT): Likewise.
56748         (check_float_internal): Check signs of NaN results if
56749         TEST_NAN_SIGN used.
56750         (check_complex): Pass TEST_NAN_SIGN flag through to second
56751         check_float_internal call.
56752         (copysign_test_data): Add tests with quiet NaNs as second
56753         argument.  Use TEST_NAN_SIGN.
56754         (fabs_test_data): Add test of negative quiet NaN argument.  Use
56755         TEST_NAN_SIGN.
56756         (signbit_test_data): Add tests of quiet NaN argument.
56757         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
56759         * math/gen-libm-test.pl (show_exceptions): Take extra argument
56760         $ignore_result.
56761         (parse_args): Handle function results specified as IGNORE.
56762         * math/libm-test.inc (IGNORE_RESULT): New macro.
56763         (check_float_internal): Do not check numerical result if flag
56764         IGNORE_RESULT set.
56765         (check_complex): Pass through IGNORE_RESULT to second
56766         check_float_internal call.
56767         (check_int): Do not check numerical result if flag IGNORE_RESULT
56768         set.
56769         (check_long): Likewise.
56770         (check_bool): Likewise.
56771         (check_longlong): Likewise.
56772         (lrint_test_data): Add tests of infinite and NaN arguments.
56773         (lrint_tonearest_test_data): Likewise.
56774         (lrint_towardzero_test_data): Likewise.
56775         (lrint_downward_test_data): Likewise.
56776         (lrint_upward_test_data): Likewise.
56777         (llrint_test_data): Likewise.
56778         (llrint_tonearest_test_data): Likewise.
56779         (llrint_towardzero_test_data): Likewise.
56780         (llrint_downward_test_data): Likewise.
56781         (llrint_upward_test_data): Likewise.
56782         (lround_test_data): Likewise.
56783         (llround_test_data): Likewise.
56785         * math/libm-test.inc (NO_TEST_INLINE): New macro.
56786         (ERRNO_UNCHANGED): Update value.
56787         (ERRNO_EDOM): Likewise.
56788         (ERRNO_ERANGE): Likewise.
56789         (NO_TEST_INLINE_FLOAT): New macro.
56790         (NO_TEST_INLINE_DOUBLE): Likewise.
56791         (enable_test): New function.
56792         (RUN_TEST_f_f): Check enable_test before running test.
56793         (RUN_TEST_2_f): Likewise.
56794         (RUN_TEST_fff_f): Likewise.
56795         (RUN_TEST_c_f): Likewise.
56796         (RUN_TEST_f_f1): Likewise.
56797         (RUN_TEST_fF_f1): Likewise.
56798         (RUN_TEST_fI_f1): Likewise.
56799         (RUN_TEST_ffI_f1): Likewise.
56800         (RUN_TEST_c_c): Likewise.
56801         (RUN_TEST_cc_c): Likewise.
56802         (RUN_TEST_f_i): Likewise.
56803         (RUN_TEST_f_i_tg): Likewise.
56804         (RUN_TEST_ff_i_tg): Likewise.
56805         (RUN_TEST_f_b): Likewise.
56806         (RUN_TEST_f_b_tg): Likewise.
56807         (RUN_TEST_f_l): Likewise.
56808         (RUN_TEST_f_L): Likewise.
56809         (RUN_TEST_fFF_11): Likewise.
56810         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
56811         conditionals.
56812         (cosh_test_data): Likewise.
56813         (exp_test_data): Likewise.
56814         (expm1_test_data): Likewise.
56815         (hypot_test_data): Likewise.
56816         (pow_test_data): Likewise.
56817         (sinh_test_data): Likewise.
56818         (tanh_test_data): Likewise.
56819         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
56820         flags argument.
56822         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
56823         tests with quiet NaN input and output.
56824         (acosh_test_data): Likewise.
56825         (asin_test_data): Likewise.
56826         (asinh_test_data): Likewise.
56827         (atan_test_data): Likewise.
56828         (atanh_test_data): Likewise.
56829         (atan2_test_data): Likewise.
56830         (cbrt_test_data): Likewise.
56831         (cos_test_data): Likewise.
56832         (cosh_test_data): Likewise.
56833         (erf_test_data): Likewise.
56834         (erfc_test_data): Likewise.
56835         (exp_test_data): Likewise.
56836         (exp10_test_data): Likewise.
56837         (exp2_test_data): Likewise.
56838         (expm1_test_data): Likewise.
56839         (hypot_test_data): Likewise.
56840         (j0_test_data): Likewise.
56841         (j1_test_data): Likewise.
56842         (jn_test_data): Likewise.
56843         (lgamma_test_data): Likewise.
56844         (log_test_data): Likewise.
56845         (log10_test_data): Likewise.
56846         (log1p_test_data): Likewise.
56847         (log2_test_data): Likewise.
56848         (pow_test_data): Likewise.
56849         (scalb_test_data): Likewise.
56850         (sin_test_data): Likewise.
56851         (sincos_test_data): Likewise.
56852         (sinh_test_data): Likewise.
56853         (tan_test_data): Likewise.
56854         (tanh_test_data): Likewise.
56855         (tgamma_test_data): Likewise.
56856         (y0_test_data): Likewise.
56857         (y1_test_data): Likewise.
56858         (yn_test_data): Likewise.
56860         [BZ #16167]
56861         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
56862         argument being NaN and avoid computations with second argument in
56863         that case.
56864         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
56865         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
56866         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
56868 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
56870         * locale/iso-639.def: Add Chitwani Tharu (the).
56872 2013-11-14  Andreas Schwab  <schwab@suse.de>
56874         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
56875         word instead of empty string.
56877 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56880         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
56881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56882         (__fe_nomask_env): Likewise.
56884 2013-11-13  Steve Ellcey  <sellcey@mips.com>
56886         * benchtests/bench-timing.h: Include time.h.
56888 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
56890         [BZ #15997]
56891         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
56892         to 3.4.0 for x32.
56893         * sysdeps/unix/sysv/linux/configure: Regenerated.
56895 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
56897         [BZ #16151]
56898         * stdlib/strtod_l.c (round_and_return): Do not consider
56899         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
56900         exponent one less than half the least subnormal exponent.
56901         * stdlib/test-strtod-round-data: Add more tests.
56902         * stdlib/tst-strtod-round.c (tests): Regenerated.
56904 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56906         [BZ #14143]
56907         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
56908         (__fe_mask_env): Likewise.
56909         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
56910         libm_hidden_proto and add function prototype.
56911         (__fe_mask_env): Add function prototype.
56912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56913         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
56914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56915         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
56916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56917         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
56919 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56921         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
56922         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
56924 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56926         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
56927         of htab_find_slot().
56929 2013-11-11  David S. Miller  <davem@davemloft.net>
56931         [BZ #16150]
56932         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
56933         symbol in the non-vis3 case in static builds.
56934         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
56935         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
56936         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
56937         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
56939 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
56941         [BZ #387]
56942         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
56943         it is empty.
56945 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56947         * benchtests/Makefile: Add bench-strtod.
56948         * benchtests/bench-strtod.c: New file: strtod benchtest
56950 2013-11-11  Andreas Schwab  <schwab@suse.de>
56952         [BZ #16153]
56953         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
56954         terminating NUL in key length.
56956 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56958         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56959         Add artificial ODP entry for vDSO symbol for PPC64.
56960         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
56961         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
56963 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
56965         [BZ #15374]
56966         * nss/getent.c (services_keys): Recognize services starting with digit.
56968 2013-11-06  David S. Miller  <davem@davemloft.net>
56970         [BZ #15985]
56971         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
56972         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
56974 2013-11-06  Will Newton  <will.newton@linaro.org>
56976         * manual/memory.texi (Malloc Examples): Remove register
56977         keyword from examples.
56979 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
56981         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
56983 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
56985         [BZ #6981]
56986         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
56987         depending on [__GCC_IEC_559 > 0].
56988         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
56989         depending on [__GCC_IEC_559_COMPLEX > 0].
56991 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
56993         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
56994         to iso-639.def.
56996 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
56998         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
57000 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
57002         [BZ #16112]
57003         * malloc/malloc (malloc_info): Do not handle first bin as
57004         special case.
57006 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
57008         * locale/iso-639.def: Add Central Nahuatl (nhn).
57010 2013-11-01  Bruno Haible  <bruno@clisp.org>
57012         [BZ #7003]
57013         * manual/math.texi (BSD Random): Specify range upper bound as
57014         in POSIX.
57016 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
57018         * locale/iso-639.def: Add Meadow Mari (mhr).
57020 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
57022         [BZ #14752], [BZ #15763]
57023         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
57024         Validate name.
57025         * rt/tst_shm.c: Add test for escaping directory.
57027 2013-10-31  Andreas Schwab  <schwab@suse.de>
57029         [BZ #15917]
57030         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
57031         followed by 'x' as part of digit sequence.
57032         * stdio-common/tst-sscanf.c (double_tests2): New tests.
57034 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
57036         [BZ #16037]
57037         * configure.ac: allow GNU Make 4.0 and greater.
57038         * configure: Regenerated.
57040 2013-10-30  Will Newton  <will.newton@linaro.org>
57042         [BZ #16038]
57043         * malloc/hooks.c (memalign_check): Limit alignment to the
57044         maximum representable power of two.
57045         * malloc/malloc.c (__libc_memalign): Likewise.
57046         * malloc/tst-memalign.c (do_test): Add test for very
57047         large alignment values.
57048         * malloc/tst-posix_memalign.c (do_test): Likewise.
57050 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
57052         [BZ #11087]
57053         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
57054         (munmap_chunk): Likewise.
57055         (mremap_chunk): Likewise.
57057 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
57059         [BZ #15799]
57060         * stdlib/div.c (div): Remove obsolete code.
57061         * stdlib/ldiv.c (ldiv): Likewise.
57062         * stdlib/lldiv.c (lldiv): Likewise.
57064 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57066         [BZ #16071]
57067         * nss/nss_files/files-XXX.c (get_contents_ret): New
57068         enumerator.
57069         (get_contents): New function.
57070         (internal_getent): Use it.  Expand size of LINEBUFLEN.
57072 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
57074         * configure.in: Moved to ...
57075         * configure.ac: ... here. Change reference to configure.in
57076         to configure.ac.
57077         * sysdeps/arm/preconfigure.ac: ... here.
57078         configure.in to configure.ac.
57079         * sysdeps/gnu/configure.in: Moved to ...
57080         * sysdeps/gnu/configure.ac: ... here.
57081         * sysdeps/i386/configure.in: Moved to ...
57082         * sysdeps/i386/configure.ac: ... here.
57083         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
57084         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
57085         * sysdeps/mach/configure.in: Moved to ...
57086         * sysdeps/mach/configure.ac: ... here.
57087         * sysdeps/mach/hurd/configure.in: Moved to ...
57088         * sysdeps/mach/hurd/configure.ac: ... here.
57089         * sysdeps/powerpc/configure.in: Moved to ...
57090         * sysdeps/powerpc/configure.ac: ... here.
57091         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
57092         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
57093         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
57094         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
57095         * sysdeps/s390/s390-32/configure.in: Moved to ...
57096         * sysdeps/s390/s390-32/configure.ac: ... here.
57097         * sysdeps/s390/s390-64/configure.in: Moved to ...
57098         * sysdeps/s390/s390-64/configure.ac: ... here.
57099         * sysdeps/sh/configure.in: Moved to ...
57100         * sysdeps/sh/configure.ac: ... here.
57101         * sysdeps/sparc/configure.in: Moved to ...
57102         * sysdeps/sparc/configure.ac: ... here.
57103         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
57104         * sysdeps/unix/sysv/linux/configure.ac: ... here.
57105         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
57106         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
57107         * sysdeps/x86_64/configure.in: Moved to ...
57108         * sysdeps/x86_64/configure.ac: ... here.
57109         * sysdeps/x86_64/preconfigure.in: Moved to ...
57110         * sysdeps/x86_64/preconfigure.ac: ... here.
57111         * aclocal.m4: Change reference to configure.in to configure.ac.
57112         * config.h.in: Likewise.
57113         * manual/install.texi: Likewise.
57114         * manual/maint.texi: Likewise.
57115         * Makefile: Likewise.
57116         * malloc/Makefile: Likewise.
57117         * nscd/Makefile: Likewise.
57118         * Makeconfig: Change reference to configure.in and
57119         preconfigure.in to configure.ac and preconfigure.ac
57120         respectively.
57121         * INSTALL: Regenerated.
57122         * configure: Likewise.
57123         * sysdeps/gnu/configure: Likewise.
57124         * sysdeps/i386/configure: Likewise.
57125         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
57126         * sysdeps/mach/configure: Likewise.
57127         * sysdeps/mach/hurd/configure: Likewise.
57128         * sysdeps/powerpc/configure: Likewise.
57129         * sysdeps/powerpc/powerpc32/configure: Likewise.
57130         * sysdeps/powerpc/powerpc64/configure: Likewise.
57131         * sysdeps/s390/s390-32/configure: Likewise.
57132         * sysdeps/s390/s390-64/configure: Likewise.
57133         * sysdeps/sh/configure: Likewise.
57134         * sysdeps/sparc/configure: Likewise.
57135         * sysdeps/unix/sysv/linux/configure: Likewise.
57136         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
57137         * sysdeps/x86_64/configure: Likewise.
57138         * sysdeps/x86_64/preconfigure: Likewise.
57140 2013-10-29  Andreas Schwab  <schwab@suse.de>
57142         * stdio-common/Makefile (tst-swscanf-ENV): Define.
57144 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57146         * benchtests/pow-inputs: Add new inputs.
57148         * benchtests/exp-inputs: Add new inputs.
57150         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
57151         conditional check for return value.
57152         (__cos32): Likewise.
57154 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57156         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
57157         to provide a boost for large inputs with word alignment.
57158         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
57159         implementation based on optimized PPC64 strcpy.
57160         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
57161         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
57162         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
57163         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
57165 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57167         [BZ #2801]
57168         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
57170 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57172         [BZ #14876]
57173         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
57174         * time/tst-strptime.c (day_tests): Add testcase.
57176 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57178         [BZ #14029]
57179         * manual/pattern.texi: Acknowledge that fnmatch can fail.
57181 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
57183         [BZ #16074]
57184         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
57185         MAP_FAILED on error.
57187 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57189         [BZ #16072]
57190         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
57191         heap for large requests.
57193 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
57195         [BZ #9954]
57196         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
57197         result if the result has no associated interface.
57198         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
57199         interface for all 127.X.Y.Z addresses.
57201 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
57203         * locale/iso-639.def: Add Ligurian (lij)
57205 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
57207         [BZ #15825]
57208         * sunrpc/rpc_main.c: Document rpcgen -5.
57210 2013-10-19  Michael Stahl  <mstahl@redhat.com>
57212         * elf/rtld.c (do_preload): Print the reason why preloading failed.
57214 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
57216         [BZ #10278]
57217         * posix/glob.c: Match only directories when trailing slash is present.
57218         * posix/tst-gnuglob.c (my_opendir): Do not open files.
57219         (main): Add testcase.
57221 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
57223         [BZ #15670]
57224         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
57226 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
57228         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
57229         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
57230         AUTH_DES and cindex for FIPS 140-2.
57231         (DES Encryption): Add cindex FIPS 46-3.
57233         * locale/locarchive.h (struct locarhandle): Add fname.
57234         * locale/programs/localedef.c (main): Pass ARGV[remaining]
57235         if an optional argument was specified to --list-archive,
57236         otherwise NULL.
57237         * locale/programs/locarchive.c (show_archive_content): Take new
57238         argument fname and pass it via ah.fname to open_archive.
57239         * locale/programs/localedef.h: Update decl.
57240         (open_archive): If AH->fname is non-null, open that file
57241         rather than the default file name, and don't ignore ENOENT.
57242         (create_archive): Set AH.fname to NULL.
57243         (delete_locales_from_archive): Likewise.
57244         (add_locales_to_archive): Likewise.
57245         * locale/programs/locfile.c (write_all_categories): Likewise.
57247 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
57248             Aldy Hernandez  <aldyh@redhat.com>
57250         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
57251         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
57252         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
57253         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
57254         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
57255         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
57256         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
57257         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
57258         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
57259         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
57260         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
57261         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
57262         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
57263         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
57264         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
57265         Likewise.
57266         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
57267         Likewise.
57268         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
57269         Likewise.
57270         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
57271         Likewise.
57272         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
57273         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
57274         Likewise.
57275         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
57276         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
57277         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
57278         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
57279         Likewise.
57280         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
57281         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
57282         * sysdeps/powerpc/preconfigure: Likewise.
57283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
57284         Likewise.
57285         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
57286         Replace contents of file by #include of <fenv_libc.h>.
57287         * sysdeps/powerpc/soft-fp/sfp-machine.h
57288         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
57289         and <sys/prctl.h>.
57290         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
57291         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
57292         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
57293         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
57294         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
57295         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
57296         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
57297         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
57298         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
57299         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
57300         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
57301         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
57302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57303         Allow copysignl PLT reference to be missing.
57305 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
57306             Joseph Myers  <joseph@codesourcery.com
57308         [BZ #15948]
57309         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
57310         single character.
57311         (add_to_tablewc): Assert sequence of wide characters is nonempty.
57313 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57315         * elf/tst-tls-dlinfo.c: Don't include tls.h.
57316         * elf/tst-tls1.c: Likewise.
57317         * elf/tst-tls10.h: Likewise.
57318         * elf/tst-tls14.c: Likewise.
57319         * elf/tst-tls2.c: Likewise.
57320         * elf/tst-tls3.c: Likewise.
57321         * elf/tst-tls4.c: Likewise.
57322         * elf/tst-tls5.c: Likewise.
57323         * elf/tst-tls6.c: Likewise.
57324         * elf/tst-tls7.c: Likewise.
57325         * elf/tst-tls8.c: Likewise.
57326         * elf/tst-tls9.c: Likewise.
57327         * elf/tst-tlsmod1.c: Likewise.
57328         * elf/tst-tlsmod13.c: Likewise.
57329         * elf/tst-tlsmod13a.c: Likewise.
57330         * elf/tst-tlsmod14a.c: Likewise.
57331         * elf/tst-tlsmod16a.c: Likewise.
57332         * elf/tst-tlsmod16b.c: Likewise.
57333         * elf/tst-tlsmod2.c: Likewise.
57334         * elf/tst-tlsmod3.c: Likewise.
57335         * elf/tst-tlsmod4.c: Likewise.
57336         * elf/tst-tlsmod5.c: Likewise.
57337         * elf/tst-tlsmod6.c: Likewise.
57339 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
57341         [BZ #12486]
57342         * malloc/malloc.c: remove checks for statistics.
57344 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
57346         [BZ #15277]
57347         * inet/inet_net.c (inet_network): Detect additional invalid strings.
57348         * inet/tst-network.c: Add testcase.
57350 2013-10-17  Andreas Schwab  <schwab@suse.de>
57352         [BZ #15218]
57353         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
57354         to determine canonical name.
57356 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
57358         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
57359         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
57360         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57361         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57362         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57363         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57364         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57365         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57366         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57367         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57368         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57369         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57370         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57371         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57372         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57373         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57374         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57375         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57376         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
57377         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57378         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57379         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57380         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57381         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
57382         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
57383         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57384         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57385         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
57386         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57387         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
57388         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57389         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57390         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
57391         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57392         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57393         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57394         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57395         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57396         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57397         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57398         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57399         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
57400         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
57401         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57402         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
57403         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57404         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57405         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
57406         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
57407         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57408         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
57409         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57410         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
57411         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
57412         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57413         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
57414         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57415         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57417 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
57419         [BZ #16041]
57420         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
57421         make result into a quiet NaN.
57423 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
57425         * soft-fp/adddf3.c: Fix horizontal whitespace.
57426         * soft-fp/addsf3.c: Likewise.
57427         * soft-fp/addtf3.c: Likewise.
57428         * soft-fp/divdf3.c: Likewise.
57429         * soft-fp/divsf3.c: Likewise.
57430         * soft-fp/divtf3.c: Likewise.
57431         * soft-fp/double.h: Likewise.
57432         * soft-fp/eqdf2.c: Likewise.
57433         * soft-fp/eqsf2.c: Likewise.
57434         * soft-fp/eqtf2.c: Likewise.
57435         * soft-fp/extenddftf2.c: Likewise.
57436         * soft-fp/extended.h: Likewise.
57437         * soft-fp/extendsfdf2.c: Likewise.
57438         * soft-fp/extendsftf2.c: Likewise.
57439         * soft-fp/extendxftf2.c: Likewise.
57440         * soft-fp/fixdfdi.c: Likewise.
57441         * soft-fp/fixdfsi.c: Likewise.
57442         * soft-fp/fixdfti.c: Likewise.
57443         * soft-fp/fixsfdi.c: Likewise.
57444         * soft-fp/fixsfsi.c: Likewise.
57445         * soft-fp/fixsfti.c: Likewise.
57446         * soft-fp/fixtfdi.c: Likewise.
57447         * soft-fp/fixtfsi.c: Likewise.
57448         * soft-fp/fixtfti.c: Likewise.
57449         * soft-fp/fixunsdfdi.c: Likewise.
57450         * soft-fp/fixunsdfsi.c: Likewise.
57451         * soft-fp/fixunsdfti.c: Likewise.
57452         * soft-fp/fixunssfdi.c: Likewise.
57453         * soft-fp/fixunssfsi.c: Likewise.
57454         * soft-fp/fixunssfti.c: Likewise.
57455         * soft-fp/fixunstfdi.c: Likewise.
57456         * soft-fp/fixunstfsi.c: Likewise.
57457         * soft-fp/fixunstfti.c: Likewise.
57458         * soft-fp/floatdidf.c: Likewise.
57459         * soft-fp/floatdisf.c: Likewise.
57460         * soft-fp/floatditf.c: Likewise.
57461         * soft-fp/floatsidf.c: Likewise.
57462         * soft-fp/floatsisf.c: Likewise.
57463         * soft-fp/floatsitf.c: Likewise.
57464         * soft-fp/floattidf.c: Likewise.
57465         * soft-fp/floattisf.c: Likewise.
57466         * soft-fp/floattitf.c: Likewise.
57467         * soft-fp/floatundidf.c: Likewise.
57468         * soft-fp/floatundisf.c: Likewise.
57469         * soft-fp/floatunditf.c: Likewise.
57470         * soft-fp/floatunsidf.c: Likewise.
57471         * soft-fp/floatunsisf.c: Likewise.
57472         * soft-fp/floatunsitf.c: Likewise.
57473         * soft-fp/floatuntidf.c: Likewise.
57474         * soft-fp/floatuntisf.c: Likewise.
57475         * soft-fp/floatuntitf.c: Likewise.
57476         * soft-fp/fmadf4.c: Likewise.
57477         * soft-fp/fmasf4.c: Likewise.
57478         * soft-fp/fmatf4.c: Likewise.
57479         * soft-fp/gedf2.c: Likewise.
57480         * soft-fp/gesf2.c: Likewise.
57481         * soft-fp/getf2.c: Likewise.
57482         * soft-fp/ledf2.c: Likewise.
57483         * soft-fp/lesf2.c: Likewise.
57484         * soft-fp/letf2.c: Likewise.
57485         * soft-fp/muldf3.c: Likewise.
57486         * soft-fp/mulsf3.c: Likewise.
57487         * soft-fp/multf3.c: Likewise.
57488         * soft-fp/negdf2.c: Likewise.
57489         * soft-fp/negsf2.c: Likewise.
57490         * soft-fp/negtf2.c: Likewise.
57491         * soft-fp/op-1.h: Likewise.
57492         * soft-fp/op-2.h: Likewise.
57493         * soft-fp/op-4.h: Likewise.
57494         * soft-fp/op-8.h: Likewise.
57495         * soft-fp/op-common.h: Likewise.
57496         * soft-fp/quad.h: Likewise.
57497         * soft-fp/single.h: Likewise.
57498         * soft-fp/soft-fp.h: Likewise.
57499         * soft-fp/sqrtdf2.c: Likewise.
57500         * soft-fp/sqrtsf2.c: Likewise.
57501         * soft-fp/sqrttf2.c: Likewise.
57502         * soft-fp/subdf3.c: Likewise.
57503         * soft-fp/subsf3.c: Likewise.
57504         * soft-fp/subtf3.c: Likewise.
57505         * soft-fp/truncdfsf2.c: Likewise.
57506         * soft-fp/trunctfdf2.c: Likewise.
57507         * soft-fp/trunctfsf2.c: Likewise.
57508         * soft-fp/trunctfxf2.c: Likewise.
57509         * soft-fp/unorddf2.c: Likewise.
57510         * soft-fp/unordsf2.c: Likewise.
57511         * soft-fp/unordtf2.c: Likewise.
57513 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
57515         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
57516         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
57518 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
57520         * elf/dl-libc.c: Clear initfini list after freeing.
57522 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
57524         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
57525         * soft-fp/addsf3.c: Likewise.
57526         * soft-fp/addtf3.c: Likewise.
57527         * soft-fp/divdf3.c: Likewise.
57528         * soft-fp/divsf3.c: Likewise.
57529         * soft-fp/divtf3.c: Likewise.
57530         * soft-fp/double.h: Likewise.
57531         * soft-fp/eqdf2.c: Likewise.
57532         * soft-fp/eqsf2.c: Likewise.
57533         * soft-fp/eqtf2.c: Likewise.
57534         * soft-fp/extenddftf2.c: Likewise.
57535         * soft-fp/extended.h: Likewise.
57536         * soft-fp/extendsfdf2.c: Likewise.
57537         * soft-fp/extendsftf2.c: Likewise.
57538         * soft-fp/extendxftf2.c: Likewise.
57539         * soft-fp/fixdfdi.c: Likewise.
57540         * soft-fp/fixdfsi.c: Likewise.
57541         * soft-fp/fixdfti.c: Likewise.
57542         * soft-fp/fixsfdi.c: Likewise.
57543         * soft-fp/fixsfsi.c: Likewise.
57544         * soft-fp/fixsfti.c: Likewise.
57545         * soft-fp/fixtfdi.c: Likewise.
57546         * soft-fp/fixtfsi.c: Likewise.
57547         * soft-fp/fixtfti.c: Likewise.
57548         * soft-fp/fixunsdfdi.c: Likewise.
57549         * soft-fp/fixunsdfsi.c: Likewise.
57550         * soft-fp/fixunsdfti.c: Likewise.
57551         * soft-fp/fixunssfdi.c: Likewise.
57552         * soft-fp/fixunssfsi.c: Likewise.
57553         * soft-fp/fixunssfti.c: Likewise.
57554         * soft-fp/fixunstfdi.c: Likewise.
57555         * soft-fp/fixunstfsi.c: Likewise.
57556         * soft-fp/fixunstfti.c: Likewise.
57557         * soft-fp/floatdidf.c: Likewise.
57558         * soft-fp/floatdisf.c: Likewise.
57559         * soft-fp/floatditf.c: Likewise.
57560         * soft-fp/floatsidf.c: Likewise.
57561         * soft-fp/floatsisf.c: Likewise.
57562         * soft-fp/floatsitf.c: Likewise.
57563         * soft-fp/floattidf.c: Likewise.
57564         * soft-fp/floattisf.c: Likewise.
57565         * soft-fp/floattitf.c: Likewise.
57566         * soft-fp/floatundidf.c: Likewise.
57567         * soft-fp/floatundisf.c: Likewise.
57568         * soft-fp/floatunsidf.c: Likewise.
57569         * soft-fp/floatunsisf.c: Likewise.
57570         * soft-fp/floatuntidf.c: Likewise.
57571         * soft-fp/floatuntisf.c: Likewise.
57572         * soft-fp/floatuntitf.c: Likewise.
57573         * soft-fp/fmadf4.c: Likewise.
57574         * soft-fp/fmasf4.c: Likewise.
57575         * soft-fp/fmatf4.c: Likewise.
57576         * soft-fp/gedf2.c: Likewise.
57577         * soft-fp/gesf2.c: Likewise.
57578         * soft-fp/getf2.c: Likewise.
57579         * soft-fp/ledf2.c: Likewise.
57580         * soft-fp/lesf2.c: Likewise.
57581         * soft-fp/letf2.c: Likewise.
57582         * soft-fp/muldf3.c: Likewise.
57583         * soft-fp/mulsf3.c: Likewise.
57584         * soft-fp/multf3.c: Likewise.
57585         * soft-fp/negdf2.c: Likewise.
57586         * soft-fp/negsf2.c: Likewise.
57587         * soft-fp/negtf2.c: Likewise.
57588         * soft-fp/op-1.h: Likewise.
57589         * soft-fp/op-2.h: Likewise.
57590         * soft-fp/op-4.h: Likewise.
57591         * soft-fp/op-8.h: Likewise.
57592         * soft-fp/op-common.h: Likewise.
57593         * soft-fp/quad.h: Likewise.
57594         * soft-fp/single.h: Likewise.
57595         * soft-fp/soft-fp.h: Likewise.
57596         * soft-fp/sqrtdf2.c: Likewise.
57597         * soft-fp/sqrtsf2.c: Likewise.
57598         * soft-fp/sqrttf2.c: Likewise.
57599         * soft-fp/subdf3.c: Likewise.
57600         * soft-fp/subsf3.c: Likewise.
57601         * soft-fp/subtf3.c: Likewise.
57602         * soft-fp/truncdfsf2.c: Likewise.
57603         * soft-fp/trunctfdf2.c: Likewise.
57604         * soft-fp/trunctfsf2.c: Likewise.
57605         * soft-fp/trunctfxf2.c: Likewise.
57606         * soft-fp/unorddf2.c: Likewise.
57607         * soft-fp/unordsf2.c: Likewise.
57608         * soft-fp/unordtf2.c: Likewise.
57610 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
57612         [BZ #15672]
57613         * misc/error.c (error_tail): Fix possible buffer overflow.
57615 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
57617         [BZ #13028]
57618         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
57619         address.
57621 2013-10-14  P. J. McDermott  <pj@pehjota.net>
57623         [BZ #832]
57624         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
57625         testing pipefail option.
57627 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
57629         * soft-fp/double.h: Indent preprocessor directives inside #if.
57630         * soft-fp/extended.h: Likewise.
57631         * soft-fp/op-2.h: Likewise.
57632         * soft-fp/op-4.h: Likewise.
57633         * soft-fp/op-common.h: Likewise.
57634         * soft-fp/quad.h: Likewise.
57635         * soft-fp/single.h: Likewise.
57636         * soft-fp/soft-fp.h: Likewise.
57638 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
57640         * iconv/iconv_prog.c: Fix typos.
57641         * stdio-common/psiginfo-data.h: Likewise.
57643 2013-10-12   Reuben Thomas <rrt@sc3d.org>
57645         [BZ #15764]
57646         * locale/setlocale.c: Fix typo.
57648 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
57650         [BZ #16036]
57651         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
57652         signaling NaN arguments.
57653         * soft-fp/unordsf2.c (__unordsf2): Likewise.
57654         * soft-fp/unordtf2.c (__unordtf2): Likewise.
57656         [BZ #14910]
57657         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
57658         unordered operands.
57659         * soft-fp/gesf2.c (__gesf2): Likewise.
57660         * soft-fp/getf2.c (__getf2): Likewise.
57661         * soft-fp/ledf2.c (__ledf2): Likewise.
57662         * soft-fp/lesf2.c (__lesf2): Likewise.
57663         * soft-fp/letf2.c (__letf2): Likewise.
57665         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
57666         * soft-fp/eqsf2.c (__eqsf2): Likewise.
57667         * soft-fp/eqtf2.c (__eqtf2): Likewise.
57668         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
57669         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
57670         * soft-fp/fixdfti.c (__fixdfti): Likewise.
57671         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
57672         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
57673         * soft-fp/fixsfti.c (__fixsfti): Likewise.
57674         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
57675         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
57676         * soft-fp/fixtfti.c (__fixtfti): Likewise.
57677         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
57678         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
57679         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
57680         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
57681         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
57682         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
57683         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
57684         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
57685         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
57686         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
57687         * soft-fp/floatdisf.c (__floatdisf): Likewise.
57688         * soft-fp/floatsisf.c (__floatsisf): Likewise.
57689         * soft-fp/floattidf.c (__floattidf): Likewise.
57690         * soft-fp/floattisf.c (__floattisf): Likewise.
57691         * soft-fp/floattitf.c (__floattitf): Likewise.
57692         * soft-fp/floatundidf.c (__floatundidf): Likewise.
57693         * soft-fp/floatundisf.c (__floatundisf): Likewise.
57694         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
57695         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
57696         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
57697         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
57698         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
57699         * soft-fp/gesf2.c (__gesf2): Likewise.
57700         * soft-fp/getf2.c (__getf2): Likewise.
57701         * soft-fp/ledf2.c (__ledf2): Likewise.
57702         * soft-fp/lesf2.c (__lesf2): Likewise.
57703         * soft-fp/letf2.c (__letf2): Likewise.
57705         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
57706         Undefine and redefine.
57707         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
57708         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
57709         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
57710         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
57711         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57712         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
57713         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57714         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
57715         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57716         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
57717         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57718         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
57719         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57720         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
57721         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57723         [BZ #16032]
57724         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
57725         without decrementing exponent if mantissa >= that for the
57726         denominator, not >.
57727         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
57728         denominator, not >.  Decrement exponent in < case instead of
57729         incrementing in >= case.
57730         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
57731         without decrementing exponent if mantissa >= that for the
57732         denominator, not >.
57734         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
57735         computing saturated result for unsigned overflow.
57737 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57738             Jeff Law  <law@redhat.com>
57740         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
57741         (atan2Mp): Add systemtap probe marker.
57742         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
57743         (__ieee754_log): Add systemtap probe marker.
57744         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
57745         (atanMp): Add systemtap probe marker.
57746         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
57747         (tanMp): Add systemtap probe marker.
57748         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
57749         (__slowexp): Add systemtap probe marker.
57750         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
57751         (__slowpow): Add systemtap probe marker.
57752         * manual/probes.texi: Document probes.
57754 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
57756         [BZ #15362]
57757         * libio/fileops.c (_IO_new_file_write): Return count of bytes
57758         written.
57759         (_IO_new_file_xsputn): Don't return EOF if nothing has been
57760         written.
57761         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
57762         written to buffer but not flushed.
57763         * libio/iofwrite_u.c:  Likewise.
57764         * libio/iopadn.c:  Return bytes returned even if EOF was
57765         encountered.
57766         * libio/iowpadn.c:  Likewise.
57767         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
57768         if _IO_padn does not write the whole buffer.
57769         [!COMPILE_WPRINTF] (PAD): Likewise.
57771 2013-10-10  David S. Miller  <davem@davemloft.net>
57773         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
57774         directory block.
57776 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
57778         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
57779         instead of FSF address.
57780         * soft-fp/fixdfti.c: Likewise.
57781         * soft-fp/fixsfti.c: Likewise.
57782         * soft-fp/fixtfti.c: Likewise.
57783         * soft-fp/fixunsdfti.c: Likewise.
57784         * soft-fp/fixunssfti.c: Likewise.
57785         * soft-fp/fixunstfti.c: Likewise.
57786         * soft-fp/floattidf.c: Likewise.
57787         * soft-fp/floattisf.c: Likewise.
57788         * soft-fp/floattitf.c: Likewise.
57789         * soft-fp/floatuntidf.c: Likewise.
57790         * soft-fp/floatuntisf.c: Likewise.
57791         * soft-fp/floatuntitf.c: Likewise.
57792         * soft-fp/trunctfxf2.c: Likewise.
57794         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
57795         * soft-fp/fixdfti.c: Likewise.
57796         * soft-fp/fixsfti.c: Likewise.
57797         * soft-fp/fixtfti.c: Likewise.
57798         * soft-fp/fixunsdfti.c: Likewise.
57799         * soft-fp/fixunssfti.c: Likewise.
57800         * soft-fp/fixunstfti.c: Likewise.
57801         * soft-fp/floattidf.c: Likewise.
57802         * soft-fp/floattisf.c: Likewise.
57803         * soft-fp/floattitf.c: Likewise.
57804         * soft-fp/floatuntidf.c: Likewise.
57805         * soft-fp/floatuntisf.c: Likewise.
57806         * soft-fp/floatuntitf.c: Likewise.
57807         * soft-fp/trunctfxf2.c: Likewise.
57809 2013-10-10  David S. Miller  <davem@davemloft.net>
57811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57813 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
57815         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
57816         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
57817         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
57818         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
57819         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
57820         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
57821         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
57823         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
57824         for NaNs before doing comparisons on argument.
57825         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
57826         Likewise.
57828 2013-10-10  Will Newton  <will.newton@linaro.org>
57830         * malloc/hooks.c (memalign_check): Ensure the value of bytes
57831         passed to _int_memalign does not overflow.
57833 2013-10-10  Torvald Riegel  <triegel@redhat.com>
57835         * scripts/bench.pl: Add include-sources directive.
57836         * benchtests/README: Update documentation.
57838 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
57840         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
57841         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
57842         instead of FP_INIT_ROUNDMODE.
57843         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
57844         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
57846         [BZ #16034]
57847         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
57848         copy class of input value.
57849         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
57850         not handle exceptions.
57851         * soft-fp/negsf2.c (__negsf2): Likewise.
57852         * soft-fp/negtf2.c (__negtf2): Likewise.
57853         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
57855 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
57857         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
57858         semicolon.  From Linux kernel.
57860 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
57862         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
57864 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
57866         [BZ #156]
57867         * manual/socket.texi: Added statement about buffer
57868         for gethostbyname2_r.
57870 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
57872         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
57873         Use .p2align directive instead, throughout.
57874         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57875         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
57876         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
57877         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57878         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57879         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
57880         * sysdeps/x86_64/strchr.S: Likewise.
57881         * sysdeps/x86_64/strrchr.S: Likewise.
57883 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57885         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
57887         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
57889         * sysdeps/generic/math_private.h (__mpsin1): Remove
57890         declaration.
57891         (__mpcos1): Likewise.
57892         (__mpsin): New argument __range_reduce.
57893         (__mpcos): Likewise.
57894         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57895         (slow): Use __mpsin and __mpcos.
57896         (slow1): Likewise.
57897         (slow2): Likewise.
57898         (sloww): Likewise.
57899         (sloww1): Likewise.
57900         (sloww2): Likewise.
57901         (bsloww): Likewise.
57902         (bsloww1): Likewise.
57903         (bsloww2): Likewise.
57904         (cslow2): Likewise.
57905         (csloww): Likewise.
57906         (csloww1): Likewise.
57907         (csloww2): Likewise.
57908         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
57909         range_reduce.  Merge in __mpsin1.
57910         (__mpcos): Likewise.
57911         (__mpsin1): Remove.
57912         (__mpcos1): Likewise.
57914 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
57916         * locale/loadlocale.c (_nl_intern_locale_data): Use
57917         LOCFILE_ALIGNED_P.
57918         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
57919         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
57920         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
57921         obstack data is appropriately aligned.
57922         (obstack_int32_grow_fast): Likewise.
57923         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
57924         * locale/programs/locfile.c (add_locale_uint32): Likewise.
57925         (add_locale_uint32_array): Likewise.
57927 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57929         * benchtests/Makefile: Remove ARGLIST and RET variables.
57930         ($(objpfx)bench-%.c): Pass only function name to the script.
57931         * benchtests/README: Update documentation.
57932         * benchtests/acos-inputs: Add new directives.
57933         * benchtests/acosh-inputs: Likewise.
57934         * benchtests/asin-inputs: Likewise.
57935         * benchtests/asinh-inputs: Likewise.
57936         * benchtests/atan-inputs: Likewise.
57937         * benchtests/atanh-inputs: Likewise.
57938         * benchtests/cos-inputs: Likewise.
57939         * benchtests/cosh-inputs: Likewise.
57940         * benchtests/exp-inputs: Likewise.
57941         * benchtests/log-inputs: Likewise.
57942         * benchtests/pow-inputs: Likewise.
57943         * benchtests/rint-inputs: Likewise.
57944         * benchtests/sin-inputs: Likewise.
57945         * benchtests/sinh-inputs: Likewise.
57946         * benchtests/tan-inputs: Likewise.
57947         * benchtests/tanh-inputs: Likewise.
57948         * scripts/bench.pl: Add support for new directives.
57950 2013-10-07  Alan Modra  <amodra@gmail.com>
57952         * README: Fix careless merge.
57954 2013-10-05  Alan Modra  <amodra@gmail.com>
57956         * NEWS: Mention powerpc64le support and bugs fixed.
57957         * README: Both big-endian and little-endian powerpc64 supported.
57959 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57961         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
57962         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
57963         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
57964         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
57966 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
57968         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
57969         match prototype.
57971 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
57973         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
57974         Move -mhard-float appending from
57975         ports/sysdeps/powerpc/powerpc32/Makefile.
57976         [$(with-fp) = yes] (ASFLAGS): Likewise.
57977         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
57978         * sysdeps/powerpc/nofpu: Move directory from
57979         ports/sysdeps/powerpc/nofpu.
57980         * sysdeps/powerpc/soft-fp: Move directory from
57981         ports/sysdeps/powerpc/soft-fp.
57982         * sysdeps/powerpc/powerpc32/405: Move directory from
57983         ports/sysdeps/powerpc/powerpc32/405.
57984         * sysdeps/powerpc/powerpc32/440: Move directory from
57985         ports/sysdeps/powerpc/powerpc32/440.
57986         * sysdeps/powerpc/powerpc32/464: Move directory from
57987         ports/sysdeps/powerpc/powerpc32/464.
57988         * sysdeps/powerpc/powerpc32/476: Move directory from
57989         ports/sysdeps/powerpc/powerpc32/476.
57990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
57991         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
57992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
57993         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
57994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
57995         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
57996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
57997         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
57998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
57999         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
58000         * README: Update for powerpc-*-linux-gnu software floating point
58001         support in libc.
58003         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
58004         case to powerpc/powerpc32*.
58005         * sysdeps/unix/sysv/linux/configure: Regenerated.
58007         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
58008         (_FPU_MASK_OM): Define as 0x04.
58009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
58010         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
58011         0x00c10080.
58012         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
58013         0x0000003c.
58014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
58016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
58017         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58018         getcontext_e500.
58019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
58020         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58021         setcontext_e500.
58022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
58023         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
58024         and setcontext_e500.
58026 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
58028         * locale/iso-3166.def: Update iso-1366.def and related occurrences
58030 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58032         * manual/threads.texi (Default Thread Attributes): Fix typo.
58034 2013-10-04  Will Newton  <will.newton@linaro.org>
58036         * malloc/Makefile: Add tst-memalign.
58037         * malloc/tst-memalign.c: New file.
58039         * malloc/tst-posix_memalign.c: Add comments.
58040         (do_test): Add comments and call free on all potentially
58041         allocated pointers. Add space after cast.
58043         * malloc/tst-pvalloc.c: Add comments.
58044         (do_test): Add comments and call free on all potentially
58045         allocated pointers. Remove duplicate check for NULL pointer.
58046         Add space after cast.
58048         * malloc/tst-valloc.c: Add comments.
58049         (do_test): Add comments and call free on all potentially
58050         allocated pointers. Remove duplicate check for NULL pointer.
58051         Add space after cast.
58053 2013-10-04  Alan Modra  <amodra@gmail.com>
58055         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
58056         Use stdint types in rather than __attribute__((mode())).
58057         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
58059 2013-10-04  Alan Modra  <amodra@gmail.com>
58061         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
58062         Correct handling of unaligned relocs for little-endian.
58063         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
58065 2013-10-04  Alan Modra  <amodra@gmail.com>
58067         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
58068         * configure: Regenerate.
58069         * nptl/shlib-versions: Powerpc*le starts at 2.18.
58070         * shlib-versions: Likewise.
58072 2013-10-04  Alan Modra  <amodra@gmail.com>
58074         * string/tester.c (test_memrchr): Increment reported test cycle.
58076 2013-10-04  Alan Modra  <amodra@gmail.com>
58078         * string/test-memcpy.c (do_one_test): When reporting errors, print
58079         string address and don't overrun end of string.
58081 2013-10-04  Alan Modra  <amodra@gmail.com>
58083         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
58084         insrdi.  Make better use of reg selection to speed exit slightly.
58085         Schedule entry path a little better.  Remove useless "are we done"
58086         checks on entry to main loop.  Handle wrapping around zero address.
58087         Correct main loop count.  Handle single left-over word from main
58088         loop inline rather than by using loop_small.  Remove extra word
58089         case in loop_small caused by wrong loop count.  Add little-endian
58090         support.
58091         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58092         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
58093         cache hint.
58094         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58095         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
58096         support.  Avoid rlwimi.
58097         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
58099 2013-10-04  Alan Modra  <amodra@gmail.com>
58101         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
58102         insrdi.  Formatting.
58103         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
58104         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
58105         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
58106         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58107         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
58108         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
58110 2013-10-04  Alan Modra  <amodra@gmail.com>
58112         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
58113         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58114         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
58115         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
58116         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58117         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58118         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58119         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58120         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
58121         use of regs.  Use power7 mtocrf.  Tidy function tails.
58123 2013-10-04  Alan Modra  <amodra@gmail.com>
58125         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
58126         Formatting.  Consistently use rXXX register defines or rN defines.
58127         Use early exit labels that avoid restoring unused non-volatile regs.
58128         Make cr field use more consistent with rWORDn compares.  Rename
58129         regs used as shift registers for unaligned loop, using rN defines
58130         for short lifetime/multiple use regs.
58131         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58132         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
58133         addi 1,1,64 to pop stack frame.  Simplify return value code.
58134         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58136 2013-10-04  Alan Modra  <amodra@gmail.com>
58138         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
58139         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
58140         rather than rlwimi.
58141         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
58142         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
58143         little-endian support.  Correct typos.
58144         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
58145         rather than rlwimi.
58146         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
58147         in loop and entry code to keep "and." results.
58148         (strchr): Add little-endian support.  Comment.  Move cntlzd
58149         earlier in tail.
58150         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
58152 2013-10-04  Alan Modra  <amodra@gmail.com>
58154         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
58155         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
58156         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
58157         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
58159 2013-10-04  Alan Modra  <amodra@gmail.com>
58161         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
58162         (rTMP): Define as r11.
58163         (strcmp): Add little-endian support.  Optimise tail.
58164         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
58165         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58166         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58167         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58168         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58169         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58170         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58172 2013-10-04  Alan Modra  <amodra@gmail.com>
58174         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
58175         little-endian support.  Remove unnecessary "are we done" tests.
58176         Handle "s" wrapping around zero and extremely large "size".
58177         Correct main loop count.  Handle single left-over word from main
58178         loop inline rather than by using small_loop.  Correct comments.
58179         Delete "zero" tail, use "end_max" instead.
58180         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
58182 2013-10-04  Alan Modra  <amodra@gmail.com>
58184         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
58185         support.  Don't branch over align.
58186         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
58187         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
58188         support.  Rearrange tmp reg use to suit.  Comment.
58189         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
58191 2013-10-04  Alan Modra  <amodra@gmail.com>
58193         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
58195 2013-10-04  Alan Modra  <amodra@gmail.com>
58197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
58198         conditional form of branch and link when obtaining pc.
58199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
58201 2013-10-04  Alan Modra  <amodra@gmail.com>
58203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
58204         HIWORD/LOWORD.
58205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
58206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
58208 2013-10-04  Alan Modra  <amodra@gmail.com>
58210         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
58211         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
58212         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
58213         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
58214         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58215         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58216         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
58217         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58218         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
58219         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
58221 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58222             Alistair Popple <alistair@ozlabs.au.ibm.com>
58223             Alan Modra <amodra@gmail.com>
58225         [BZ #15723]
58226         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
58227         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
58228         _dl_hwcap access for little-endian.
58229         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
58230         destroy vmx regs when saving unaligned.
58231         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
58232         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
58233         destroy vmx regs when saving unaligned.
58235 2013-10-04  Alan Modra  <amodra@gmail.com>
58237         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
58238         Don't use a union to pack hi/low value.
58240 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58242         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
58243         for little-endian.
58244         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58245         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
58246         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58247         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58248         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58250 2013-10-04  Alan Modra  <amodra@gmail.com>
58252         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
58253         constants to usual value for .cst8 section, and remove redundant
58254         high address load.
58255         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
58256         constant for 0x1p52.  Load little-endian words of double from
58257         correct stack offsets.
58259 2013-10-04  Alan Modra  <amodra@gmail.com>
58261         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
58262         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
58263         words of double from correct stack offsets.
58264         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
58265         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
58266         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58267         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58268         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58269         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58270         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58271         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
58272         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
58273         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58274         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58275         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58276         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58277         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58278         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58279         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
58280         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
58282 2013-10-04  Alan Modra  <amodra@gmail.com>
58284         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
58285         64-bit int/double union.
58286         (_FPU_SETCW): Likewise.
58287         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
58288         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
58290 2013-10-04  Alan Modra  <amodra@gmail.com>
58292         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
58293         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
58295 2013-10-04  Alan Modra  <amodra@gmail.com>
58297         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
58298         use vector int constants.
58299         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
58301 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58303         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
58304         array with long long.
58305         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
58306         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
58307         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
58308         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
58309         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
58310         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
58311         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
58312         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
58313         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
58314         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
58315         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
58316         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
58317         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
58319 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58321         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
58322         (__signbit): Likewise.  Correct for little-endian.
58323         (__signbitl): Call __signbit.
58324         (lrint): Correct for little-endian.
58325         (lrintf): Call lrint.
58327 2013-10-04  Alan Modra  <amodra@gmail.com>
58329         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
58330         union 32-bit int array member with 64-bit int array.
58331         (t515, tm256): Double rather than long double.
58332         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
58334 2013-10-04  Alan Modra  <amodra@gmail.com>
58336         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
58337         Delete.
58338         (IEEE854_LONG_DOUBLE_BIAS): Delete.
58339         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
58340         version of math_ldbl.h.
58342 2013-10-04  Alan Modra  <amodra@gmail.com>
58344         [BZ #15734], [BZ #15735]
58345         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
58346         all uses of ieee875 long double macros and unions.  Simplify test
58347         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
58348         ldbl_extract_mantissa value for ix,iy exponents.  Properly
58349         normalize after ldbl_extract_mantissa, and don't add hidden bit
58350         already handled.  Don't treat low word of ieee854 mantissa like
58351         low word of IBM long double and mask off bit when testing for
58352         zero.
58353         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
58354         all uses of ieee875 long double macros and unions.  Simplify tests
58355         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
58356         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
58357         two1022, instead use their values.  Recognise that tests for large
58358         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
58359         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
58360         Rewrite all uses of ieee875 long double macros and unions.  Simplify
58361         test for 0.0L and nan.  Correct negation.
58362         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
58363         ieee875 long double macros and unions.  Correct output for large
58364         magnitude x.  Correct absolute value calculation.
58365         (__erfcl): Likewise.
58366         * math/libm-test.inc: Add tests for errors discovered in IBM long
58367         double versions of fmodl, remainderl, erfl and erfcl.
58369 2013-10-04  Alan Modra  <amodra@gmail.com>
58371         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
58372         all uses of ieee854 long double macros and unions.  Simplify tests
58373         for long doubles that are fully specified by the high double.
58374         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
58375         Likewise.
58376         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
58377         Remove dead code too.
58378         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
58379         (__ieee754_ynl): Likewise.
58380         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
58381         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
58382         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
58383         Remove dead code too.
58384         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
58385         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
58386         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
58387         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
58388         Simplify.
58389         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
58390         Simplify.
58391         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
58392         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
58393         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
58394         Comment on variable precision.
58395         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
58396         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58397         Likewise.
58398         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
58399         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
58400         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
58401         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
58402         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
58404 2013-10-04  Alan Modra  <amodra@gmail.com>
58406         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
58407         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
58408         all uses of ieee854 long double macros and unions.
58409         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
58410         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58411         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
58412         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
58413         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
58414         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58415         Likewise.
58416         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
58417         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
58418         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
58419         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
58420         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
58421         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
58422         Simplify sign and nan test too.
58423         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
58424         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
58425         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
58426         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
58427         Likewise.
58428         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58429         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
58430         Likewise.
58431         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58432         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
58433         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
58434         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
58435         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
58436         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
58438 2013-10-04  Alan Modra  <amodra@gmail.com>
58440         * stdio-common/printf_size.c (__printf_size): Don't use
58441         union ieee854_long_double in fpnum union.
58442         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
58443         signbit macro to retrieve sign from long double.
58444         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
58445         retrieve sign from long double.
58446         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
58447         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
58448         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
58449         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
58450         * math/test-misc.c (main): Don't use union ieee854_long_double.
58452 2013-10-04  Alan Modra  <amodra@gmail.com>
58454         [BZ #15680]
58455         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
58456         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
58457         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
58458         calculation.  Remove unnecessary test for denormal exponent.
58459         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
58460         Correct handling of denormals.  Avoid undefined shift behaviour.
58461         Correct normalisation of low mantissa when low double is denormal.
58462         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
58463         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
58464         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
58465         Correct normalisation of low mantissa.  Test for overflow of high
58466         mantissa and normalise.
58467         (ldbl_nearbyint): Use more readable constant for two52.
58468         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
58469         (__mpn_construct_long_double): Fix test for overflow of high
58470         mantissa and correct normalisation.  Avoid undefined shift.
58472 2013-10-04  Alan Modra  <amodra@gmail.com>
58474         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58475         (union ibm_extended_long_double): Define as an array of ieee754_double.
58476         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
58477         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
58478         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
58479         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58480         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58481         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
58482         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58483         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58484         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58485         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
58486         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58488 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
58490         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
58491         page size instead of calling getpagesize.
58493         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
58494         (LOCFILE_ALIGN_MASK): Likewise.
58495         (LOCFILE_ALIGN_UP): Likewise.
58496         (LOCFILE_ALIGNED_P): Likewise.
58497         * locale/programs/ld-collate.c (collate_output): Use the new
58498         macros instead of __alignof__ (int32_t).
58499         * locale/weight.h (findidx): Likewise.
58501 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
58503         [BZ #431]
58504         * manual/string.texi: Fix strncat and wcsncat.
58506 2013-10-03  Brooks Moses  <bmoses@google.com>
58508         [BZ #15915]
58509         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
58510         * Makerules: ...here, and adjust associated comments.
58512 2013-10-02  Will Newton  <will.newton@linaro.org>
58514         * malloc/Makefile: Add tst-pvalloc.
58515         * malloc/tst-pvalloc.c: New file.
58517 2013-10-02  Will Newton  <will.newton@linaro.org>
58519         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
58520         improve test coverage.
58522 2013-10-02  Will Newton  <will.newton@linaro.org>
58524         * malloc/Makefile: Add tst-posix_memalign.
58525         * malloc/tst-posix_memalign.c: New file.
58527 2013-10-01  Eric Blake  <eblake@redhat.com>
58529         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
58530         Use __THROWNL rather than __THROW on static functions.
58532 2013-09-30  Petr Machata  <pmachata@redhat.com>
58534         * elf/elf.h (R_AARCH64_ABS16): New macro.
58535         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
58536         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
58537         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
58538         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
58539         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
58540         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
58541         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
58542         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
58543         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
58544         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
58545         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
58546         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
58547         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
58548         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
58549         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
58550         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
58551         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
58552         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
58553         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
58554         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
58555         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
58556         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
58557         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
58558         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
58559         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
58560         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
58561         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
58562         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
58563         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
58564         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
58565         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
58566         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
58567         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
58568         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
58569         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
58570         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
58571         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
58572         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
58573         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
58574         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
58575         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
58576         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
58577         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
58578         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
58579         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
58580         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
58581         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
58582         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
58583         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
58584         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
58585         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
58586         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
58587         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
58588         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
58589         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
58590         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
58591         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
58592         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
58593         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
58594         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
58595         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
58596         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
58597         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
58598         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
58599         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
58600         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
58601         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
58602         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
58603         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
58604         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
58605         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
58606         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
58607         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
58608         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
58609         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
58610         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
58611         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
58612         (R_AARCH64_TLSDESC_LDR): Likewise.
58613         (R_AARCH64_TLSDESC_ADD): Likewise.
58614         (R_AARCH64_TLSDESC_CALL): Likewise.
58616 2013-09-30  Andreas Schwab  <schwab@suse.de>
58618         [BZ #15048]
58619         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
58620         the nss database lookup.
58621         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58622         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58624 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
58626         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
58628 2013-09-28  P. J. McDermott  <pj@pehjota.net>
58630         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
58631         ${Bash-specific parameter/pattern/string} parameter expansion.
58632         * sysdeps/unix/make-syscalls.sh: Likewise.
58634 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58636         * sysdeps/sh/stackguard-macros.h: New file.
58638 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
58640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58641         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
58642         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
58643         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
58644         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58645         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
58647 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58649         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
58650         Fix thread ID register.
58652 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
58654         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
58655         [POSIX || UNIX98]: Require rather than permitting all symbols from
58656         <time.h>.
58657         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
58658         element of struct sched_param.
58659         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
58660         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
58661         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
58662         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
58663         constant.
58665 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
58667         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
58668         argument calculation.
58670 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
58672         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
58673         Expect macro.
58674         [POSIX] (pthread_attr_t): Do not require type.
58675         [POSIX] (pthread_cond_t): Likewise.
58676         [POSIX] (pthread_condattr_t): Likewise.
58677         [POSIX] (pthread_key_t): Likewise.
58678         [POSIX] (pthread_mutex_t): Likewise.
58679         [POSIX] (pthread_mutexattr_t): Likewise.
58680         [POSIX] (pthread_once_t): Likewise.
58681         [POSIX] (pthread_t): Likewise.
58682         [POSIX-based standards] (pthread_atfork): Expect function.
58684 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
58685             Richard Sandiford  <richard@codesourcery.com>
58687         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
58688         (swap_endianness_p): New extern variable.
58689         (set_big_endian): New inline function.
58690         (maybe_swap_uint32): Likewise.
58691         (maybe_swap_uint32_array): Likewise.
58692         (maybe_swap_uint32_obstack): Likewise.
58693         * locale/programs/locfile.c: Include <stdbool.h>.
58694         (swap_endianness_p): New variable.
58695         (add_locale_uint32): Call maybe_swap_uint32.
58696         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
58697         (write_locale_data): Call maybe_swap_uint32_array.
58698         * locale/programs/ld-collate.c (obstack_int32_grow): Call
58699         maybe_swap_uint32.
58700         (obstack_int32_grow_fast): Likewise.
58701         (output_weightwc): Call maybe_swap_uint32_obstack.
58702         (collate_output): Likewise.
58703         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
58704         (OPT_LITTLE_ENDIAN): Likewise.
58705         (options): Add --little-endian and --big-endian options.
58706         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
58707         * locale/programs/locarchive.c: Include "locfile.h".
58708         (GET): New macro.
58709         (SET): Likewise.
58710         (INC): Likewise.
58711         (create_archive): Use the new macros to access fields of
58712         structures directly mapped from or written to locale archives.
58713         (oldlocrecentcmp): Likewise.
58714         (enlarge_archive): Likewise.
58715         (insert_name): Likewise.
58716         (add_alias): Likewise.
58717         (add_locale): Likewise.
58718         (delete_locales_from_archive): Likewise.
58719         (show_archive_content): Likewise.
58720         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
58721         locale data.
58723 2013-09-24  Roland McGrath  <roland@hack.frob.com>
58725         * manual/freemanuals.texi: Updated from (newly) canonical copy at
58726         http://www.gnu.org/doc/freemanuals.texi.
58727         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
58729 2013-09-24  Will Newton  <will.newton@linaro.org>
58731         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
58732         macro.
58734 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
58736         * locale/hashval.h (compute_hashval): Interpret bytes of key as
58737         unsigned char.
58739 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
58741         * manual/threads.texi (POSIX Threads): Fix a typo.
58743 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
58745         [BZ #14547]
58746         * string/tst-strcoll-overflow.c: New test case.
58747         * string/Makefile (xtests): Add tst-strcoll-overflow.
58748         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
58749         cache if string sizes may cause integer overflow.
58751         [BZ #14547]
58752         * string/strcoll_l.c (coll_seq): New members rule, idx,
58753         save_idx and back_us.
58754         (get_next_seq_nocache): New function.
58755         (do_compare_nocache): New function.
58756         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
58757         when malloc fails.
58759 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
58761         [BZ #15754]
58762         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
58763         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
58764         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
58766         [BZ #15754]
58767         * elf/Makefile (tests): Add tst-ptrguard1.
58768         (tests-static): Add tst-ptrguard1-static.
58769         (tst-ptrguard1-ARGS): Define.
58770         (tst-ptrguard1-static-ARGS): Define.
58771         * elf/tst-ptrguard1.c: New file.
58772         * elf/tst-ptrguard1-static.c: New file.
58773         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
58774         * sysdeps/i386/stackguard-macros.h: Likewise.
58775         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58776         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58777         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58778         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58779         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58780         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58782 2013-09-23  Hector Marco  <hecmargi@upv.es>
58783             Ismael Ripoll  <iripoll@disca.upv.es>
58784             Carlos O'Donell  <carlos@redhat.com>
58786         [BZ #15754]
58787         * sysdeps/generic/stackguard-macros.h: Define
58788         __pointer_chk_guard_local and POINTER_CHK_GUARD.
58789         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
58790         Define __pointer_chk_guard_local.
58791         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
58792         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
58794 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
58796         [BZ #15859]
58797         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
58799 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
58801         * include/string.h (__ffs): Declare as hidden.
58802         * string/ffs.c (__ffs): Define as hidden.
58803         * sysdeps/i386/ffs.c (__ffs): Likewise.
58804         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
58805         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
58806         * sysdeps/s390/ffs.c (__ffs): Likewise.
58807         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
58809 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
58811         * NEWS: Mention malloc probes.
58813         * malloc/arena.c (new_heap): New memory_heap_new probe.
58814         (grow_heap): New memory_heap_more probe.
58815         (shrink_heap): New memory_heap_less probe.
58816         (heap_trim): New memory_heap_free probe.
58817         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
58818         (systrim): New memory_sbrk_less probe.
58819         * manual/probes.texi: Document them.
58821         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
58822         * manual/probes.texi: Document it.
58824         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
58825         (__libc_realloc): Add memory_realloc_retry probe.
58826         (__libc_memalign): Add memory_memalign_retry probe.
58827         (__libc_valloc): Add memory_valloc_retry probe.
58828         (__libc_pvalloc): Add memory_pvalloc_retry probe.
58829         (__libc_calloc): Add memory_calloc_retry probe.
58830         * manual/probes.texi: Document them.
58832         * malloc/arena.c (get_free_list): Add probe
58833         memory_arena_reuse_free_list.
58834         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
58835         and memory_arena_reuse.
58836         (arena_get2) [!PER_THREAD]: Likewise.
58837         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
58838         memory_arena_reuse_realloc.
58839         * manual/probes.texi: Document them.
58841         * malloc/malloc.c (__libc_free): Add
58842         memory_mallopt_free_dyn_thresholds probe.
58843         (__libc_mallopt): Add multiple memory_mallopt probes.
58844         * manual/probes.texi: Document them.
58846         * malloc/malloc.c: Include stap-probe.h.
58847         (__libc_mallopt): Add memory_mallopt probe.
58848         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
58849         * manual/probes.texi: New.
58850         * manual/Makefile (chapters): Add probes.
58851         * manual/threads.texi: Set next node.
58853 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
58855         [BZ #15963, #13985]
58856         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
58857         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
58858         Add `Chinese' to `nan' entry name.
58860 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58862         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
58863         (POLYNOMIAL): Likewise.
58864         (TAYLOR_SINCOS): Likewise.
58865         (TAYLOR_SLOW): Likewise.
58866         (__sin): Use TAYLOR_SINCOS.
58867         (__cos): Likewise.
58868         (slow): Use TAYLOR_SLOW.
58869         (sloww): Likewise.
58870         (bsloww): Likewise.
58871         (csloww): Likewise.
58873 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58875         * stdlib/strtod_l.c: Fix buffer overrun.
58877 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58879         * benchtests/Makefile (bench): Add sincos.
58880         * benchtests/bench-sincos.c: New file.
58882         * math/libm-test.inc (cos_test_data): New test inputs.
58883         (sin_test_data): Likewise.
58885         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
58886         macro.
58887         (__sin): Use it.
58888         (__cos): Likewise.
58889         (slow1): Likewise.
58890         (slow2): Likewise.
58891         (sloww1): Likewise.
58892         (sloww2): Likewise.
58893         (bsloww1): Likewise.
58894         (bsloww2): Likewise.
58895         (cslow2): Likewise.
58896         (csloww1): Likewise.
58897         (csloww2): Likewise.
58899         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
58900         function.
58901         (__sin): Use it.
58902         (__cos): Likewise.
58904         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
58905         gotos.
58906         (__cos): Likewise.
58908 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
58910         * config.h.in (HAVE_MIPS_NAN2008): New macro.
58911         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
58912         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
58913         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
58914         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
58915         * elf/cache.c (print_entry): Handle the new cache flags.
58917 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
58918             Aldy Hernandez  <aldyh@redhat.com>
58920         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
58921         Change condition to [_SOFT_FLOAT].
58922         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
58923         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
58924         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
58925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
58926         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
58927         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
58928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
58929         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
58930         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
58931         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
58932         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
58933         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
58934         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
58935         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
58936         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
58937         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
58938         declaration.
58940 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
58942         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
58943         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
58944         (__longjmp): Use LOAD_GP to load saved GPRs.
58945         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
58946         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
58947         (__sigsetjmp): Use SAVE_GP to save GPRs.
58949         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
58950         Do not append -msoft-float.
58951         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
58953 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58955         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
58957 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
58959         [BZ #15966]
58960         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
58961         (_FPU_GETCW): Use initial "__" on variable and field names but not
58962         on macro parameter name.
58963         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
58964         parentheses around reference to macro parameter.
58966 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
58968         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
58969         prototype.
58970         (ctype_startup): Use uint32_t in cast and sizeof for
58971         ctype->charnames.
58973 2013-09-11  Jia Liu  <proljc@gmail.com>
58975         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
58976         __daddr_t_defined.
58977         [__FreeBSD__]: Likewise.
58979 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
58981         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
58982         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
58983         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
58984         (strchr): Remove __strchr_sse42 ifunc selection.
58985         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
58986         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
58988 2013-09-11  Will Newton  <will.newton@linaro.org>
58990         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
58991         parameter to RES. Remove hardcoded 1000 value.
58992         * benchtests/bench-skeleton.c (main): Pass RES parameter
58993         to TIMING_INIT and multiply result by 1000.
58995 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58999 2013-09-11  Andreas Schwab  <schwab@suse.de>
59001         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
59002         if not defined.
59003         (O_TMPFILE) [__USE_GNU]: Define.
59004         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
59005         Define.
59007 2013-09-11  Will Newton  <will.newton@linaro.org>
59009         [BZ #15857]
59010         * malloc/malloc.c (__libc_memalign): Check the value of bytes
59011         does not overflow.
59013 2013-09-11  Will Newton  <will.newton@linaro.org>
59015         [BZ #15856]
59016         * malloc/malloc.c (__libc_valloc): Check the value of bytes
59017         does not overflow.
59019 2013-09-11  Will Newton  <will.newton@linaro.org>
59021         [BZ #15855]
59022         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
59023         does not overflow.
59025 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
59027         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
59028         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59029         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59030         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59031         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59033 2013-09-10  Allan McRae  <allan@archlinux.org>
59035         [BZ #15748]
59036         * manual/arith.texi (Parsing of Floats): Clarify
59037         cross-reference.
59039         [BZ #15849]
59040         * manual/install.texi (Running make install): Mention
59041         --enable-pt-chown.
59042         * INSTALL: Regenerated.
59044 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
59046         * csu/init-first.c (_init): Remove the !SHARED condition around
59047         FPU control word initialization.
59048         * elf/dl-support.c (_dl_fpu_control): New variable.
59049         (_dl_aux_init) <AT_FPUCW>: Initialize it.
59050         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
59051         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
59052         * math/test-fpucw-static.c: New file.
59053         * math/test-fpucw-ieee.c: New file.
59054         * math/test-fpucw-ieee-static.c: New file.
59055         * math/Makefile (tests): Add `test-fpucw-ieee' and
59056         `$(tests-static)'.
59057         (tests-static): New variable.
59058         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
59059         dependency to...
59060         [($(build-shared),yes)]
59061         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
59062         ... this.
59063         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
59064         New dependency.
59066 2013-09-09  Allan McRae  <allan@archlinux.org>
59068         [BZ #15939]
59069         * manual/string.texi (Collation Functions): Fix typo in
59070         strcoll example.
59071         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
59073         [BZ #15893]
59074         * stdlib/isomac.c (get_null_defines): Fix memory leak.
59076         [BZ #15892]
59077         * libio/memstream.c (open_memstream): Fix memory leak.
59078         * libio/wmemstream.c (open_wmemstream): Likewise.
59080         [BZ #15895]
59081         * nscd/netgroupcache.c: Fix nesting of ifdefs.
59083 2013-09-09  Will Newton  <will.newton@linaro.org>
59085         * malloc/Makefile: Add tst-realloc to tests.
59086         * malloc/tst-realloc.c: New file.
59088 2013-09-09  Allan McRae  <allan@archlinux.org>
59090         [BZ #15844]
59091         * COPYING: Update from GNU website to fix FSF address.
59092         * COPYING.LIB: Likewise.
59094 2013-09-06  David S. Miller  <davem@davemloft.net>
59096         * po/zh_TW.po: Update Chinese (traditional) translation from
59097         translation project.
59099 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
59100             Joseph Myers  <joseph@codesourcery.com>
59102         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
59103         "localeinfo.h".
59104         (obstack_chunk_alloc): New macro.
59105         (obstack_chunk_free): Likewise.
59106         (record_offset): New function.
59107         (init_locale_data): Likewise.
59108         (align_locale_data): Likewise.
59109         (add_locale_empty): Likewise.
59110         (add_locale_raw_data): Likewise.
59111         (add_locale_raw_obstack): Likewise.
59112         (add_locale_string): Likewise.
59113         (add_locale_wstring): Likewise.
59114         (add_locale_uint32): Likewise.
59115         (add_locale_uint32_array): Likewise.
59116         (add_locale_char): Likewise.
59117         (start_locale_structure): Likewise.
59118         (end_locale_structure): Likewise.
59119         (start_locale_prelude): Likewise.
59120         (end_locale_prelude): Likewise.
59121         (write_locale_data): Take locale_file structure rather than an
59122         iovec.
59123         * locale/programs/locfile.h: Include "obstack.h".
59124         (struct locale_file): Change to store locale file contents instead
59125         of header.
59126         (init_locale_data): New prototype.
59127         (align_locale_data): Likewise.
59128         (add_locale_empty): Likewise.
59129         (add_locale_raw_data): Likewise.
59130         (add_locale_raw_obstack): Likewise.
59131         (add_locale_string): Likewise.
59132         (add_locale_wstring): Likewise.
59133         (add_locale_uint32): Likewise.
59134         (add_locale_uint32_array): Likewise.
59135         (add_locale_char): Likewise.
59136         (start_locale_structure): Likewise.
59137         (end_locale_structure): Likewise.
59138         (start_locale_prelude): Likewise.
59139         (end_locale_prelude): Likewise.
59140         (write_locale_data): Update prototype.
59141         * locale/programs/3level.h (struct TABLE): Remove result field.
59142         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
59143         Use new locale_file interface.
59144         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
59145         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
59146         * locale/programs/ld-address.c (address_output): Use new
59147         locale_file interface.
59148         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
59149         NO_ADD_LOCALE.
59150         (collate_finish): Don't call collseq_table_finalize.
59151         (collate_output): Use new locale_file interface.
59152         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
59153         in file.
59154         (NO_FINALIZE): Change to NO_ADD_LOCALE.
59155         (TABLE): Move defines earlier in file.
59156         (ELEMENT): Likewise.
59157         (DEFAULT): Likewise.
59158         (wctrans_table_add): Move macro and inline function earlier in
59159         file.
59160         (struct wctype_table): Move type earlier in file.
59161         (add_locale_wctype_table): New static prototype.
59162         (struct locale_ctype_t): Use logical types instead of struct iovec
59163         pointers for members.
59164         (ctype_output): Use new locale_file interface.
59165         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
59166         new locale_file interface.
59167         (allocate_arrays): Update for use of new locale_file interface.
59168         * locale/programs/ld-identification.c (identification_output): Use
59169         new locale_file interface.
59170         * locale/programs/ld-measurement.c (measurement_output): Likewise.
59171         * locale/programs/ld-messages.c (messages_output): Likewise.
59172         * locale/programs/ld-monetary.c (monetary_output): Likewise.
59173         * locale/programs/ld-name.c (name_output): Likewise.
59174         * locale/programs/ld-numeric.c (numeric_output): Likewise.
59175         * locale/programs/ld-paper.c (paper_output): Likewise.
59176         * locale/programs/ld-telephone.c (telephone_output): Likewise.
59177         * locale/programs/ld-time.c (time_output): Likewise.
59179 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59181         * benchtests/Makefile: Add memrchr benchmark.
59182         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
59183         benchmark as memrchr.
59184         * benchtests/bench-memrchr-ifunc.c: New file.
59185         * benchtests/bench-memrchr.c: New file.
59187 2013-09-06   Will Newton  <will.newton@linaro.org>
59189         * benchtests/Makefile (string-bench): Add memcpy.
59191 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
59192             Cong Wang  <amwang@redhat.com>
59194         [BZ #15850]
59195         * sysdeps/unix/sysv/linux/bits/in.h
59196         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
59197         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
59198         before __USE_KERNEL_IPV6_DEFS uses.
59199         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
59200         IPPROTO_BEETPH.
59201         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
59202         sockaddr_in6, or ipv6_mreq.
59204 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59206         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
59207         memory access for final bytes in some large inputs.
59208         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
59210 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59212         * string/test-memrchr.c: New file.
59213         * string/test-memrchr-ifunc.c: New file.
59214         * string/Makefile: Add new memrchr testcase.
59216 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
59218         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
59219         fanotify_init returns EPERM.
59221 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
59223         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
59224         errors.
59225         (top level): Treat second token from macro or constant entries for
59226         allowed headers as allowed.
59227         * include/complex.h: Condition internal declarations on
59228         [!_ISOMAC].
59229         * include/fenv.h: Condition include of <stdbool.h> and internal
59230         declarations on [!_ISOMAC].
59232 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
59234         [BZ #15923]
59235         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
59237 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
59239         * configure.in (--enable-versioning): Remove configure option.
59240         (libc_cv_asm_symver_directive): Remove configure test.
59241         (libc_cv_ld_version_script_option): Likewise.
59242         (VERSIONING): Remove variable and AC_SUBST.
59243         (DO_VERSIONING): Remove AC_DEFINE.
59244         * configure: Regenerated.
59245         * config.h.in (DO_VERSIONING): Remove macro.
59246         * Makerules [$(versioning) = yes]: Change conditionals to
59247         [$(build-shared) = yes].
59248         * config.make.in (versioning): Remove variable.
59249         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
59250         [$(build-shared) = yes].
59251         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
59252         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
59253         * elf/Makefile [$(versioning) = yes]: Change conditionals to
59254         [$(build-shared) = yes].
59255         * extra-lib.mk [$(versioning) = yes]: Likewise.
59256         * hurd/Makefile [$(versioning) = yes]: Likewise.
59257         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
59258         [SHARED].
59259         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
59260         [SHARED].
59261         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
59262         [SHARED && !NO_HIDDEN].
59263         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
59264         [SHARED].
59265         [SHARED && DO_VERSIONING]: Likewise..
59266         * libio/Makefile [$(versioning) = yes]: Change conditionals to
59267         [$(build-shared) = yes].
59268         * manual/install.texi (--disable-versioning): Remove
59269         documentation.
59270         * INSTALL: Regenerated.
59271         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
59272         to [SHARED].
59273         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
59274         [$(build-shared) = yes].
59275         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
59276         * sysdeps/i386/i686/multiarch/strstr-c.c
59277         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
59278         [SHARED && !NO_HIDDEN].
59279         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
59280         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
59281         * sysdeps/powerpc/powerpc32/dl-machine.c
59282         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
59283         * sysdeps/powerpc/powerpc32/sysdep.h
59284         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
59285         to [SHARED && PIC && !NO_HIDDEN].
59286         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
59287         conditional to [SHARED].
59289 2013-09-04   Will Newton  <will.newton@linaro.org>
59291         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
59292         * benchtests/bench-string.h: Include bench-timing.h instead
59293         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
59294         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
59295         call to HP_TIMING_DIFF_INIT.
59296         * benchtests/bench-memccpy.c: Use bench-timing.h macros
59297         instead of hp-timing.h macros.
59298         * benchtests/bench-memchr.c: Likewise.
59299         * benchtests/bench-memcmp.c: Likewise.
59300         * benchtests/bench-memcpy.c: Likewise.
59301         * benchtests/bench-memmem.c: Likewise.
59302         * benchtests/bench-memmove.c: Likewise.
59303         * benchtests/bench-memset.c: Likewise.
59304         * benchtests/bench-rawmemchr.c: Likewise.
59305         * benchtests/bench-strcasecmp.c: Likewise.
59306         * benchtests/bench-strcasestr.c: Likewise.
59307         * benchtests/bench-strcat.c: Likewise.
59308         * benchtests/bench-strchr.c: Likewise.
59309         * benchtests/bench-strcmp.c: Likewise.
59310         * benchtests/bench-strcpy.c: Likewise.
59311         * benchtests/bench-strcpy_chk.c: Likewise.
59312         * benchtests/bench-strlen.c: Likewise.
59313         * benchtests/bench-strncasecmp.c: Likewise.
59314         * benchtests/bench-strncat.c: Likewise.
59315         * benchtests/bench-strncmp.c: Likewise.
59316         * benchtests/bench-strncpy.c: Likewise.
59317         * benchtests/bench-strnlen.c: Likewise.
59318         * benchtests/bench-strpbrk.c: Likewise.
59319         * benchtests/bench-strrchr.c: Likewise.
59320         * benchtests/bench-strspn.c: Likewise.
59321         * benchtests/bench-strstr.c: Likewise.
59323 2013-09-04  Will Newton  <will.newton@linaro.org>
59325         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
59327 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
59329         [BZ #15427]
59330         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
59331         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
59332         * math/libm-test.inc (lgamma_test_data): Add more tests.
59333         * sysdeps/i386/fpu/libm-test-ulps: Update.
59334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59336 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
59338         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
59339         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59340         Add ifunc.
59341         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59342         Add strcmp-sse2-unaligned
59343         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
59345 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
59347         * Versions.def (libc): Add GLIBC_2.19.
59349 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
59351         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
59352         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
59354 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
59356         [BZ #14155]
59357         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
59358         intermediate calculations in recurrence.
59359         (__ieee754_ynf): Likewise.
59360         * math/libm-test.inc (jn_test_data): Do not allow spurious
59361         underflow exception.  Add more tests.
59362         (yn_test_data): Add more tests.
59363         * sysdeps/i386/fpu/libm-test-ulps: Update.
59364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59366 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
59368         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
59370 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
59372         * csu/init-first.c: Fix then/than typos.
59373         * locale/programs/ld-collate.c: Likewise.
59374         * locale/programs/linereader.h: Likewise.
59375         * manual/charset.texi: Likewise.
59376         * manual/filesys.texi: Likewise.
59377         * manual/stdio.texi: Likewise.
59378         * manual/string.texi: Likewise.
59379         * stdlib/fmtmsg.c: Likewise.
59380         * sysdeps/i386/stpncpy.S: Likewise.
59381         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59382         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59383         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59384         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59386 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
59388         * elf/dl-open.c: Fix typos.
59389         * iconvdata/gbbig5.c: Likewise.
59390         * iconvdata/iso-2022-jp.c: Likewise.
59391         * iconv/gconv_int.h: Likewise.
59392         * iconv/loop.c: Likewise.
59393         * nis/rpcsvc/nis.h: Likewise.
59394         * resolv/ns_name.c: Likewise.
59395         * stdio-common/vfscanf.c: Likewise.
59396         * streams/stropts.h: Likewise.
59397         * sunrpc/rpc_thread.c: Likewise.
59398         * sysdeps/i386/strpbrk.S: Likewise.
59399         * sysdeps/ieee754/k_standard.c: Likewise.
59400         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59401         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59402         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
59403         * sysdeps/mach/hurd/profil.c: Likewise.
59404         * sysdeps/s390/dl-procinfo.h: Likewise.
59405         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
59406         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
59407         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
59408         * sysdeps/x86_64/dl-trampoline.S: Likewise.
59409         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59411 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
59413         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
59414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
59416 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
59418         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
59419         aix specific files.
59420         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
59421         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
59422         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
59423         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
59424         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
59425         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
59426         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
59427         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
59429 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
59430             Roland McGrath  <roland@hack.frob.com>
59432         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
59433         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
59435 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59437         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
59438         __executable_start symbol instead of _start.
59440 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
59442         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
59443         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
59444         Move macros to...
59445         * sysdeps/gnu/ldsodefs.h: ... this new file.
59447         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
59448         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
59449         instead of ELFOSABI_LINUX.
59451         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
59452         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
59453         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
59454         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
59455         Likewise.
59456         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
59457         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
59458         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
59459         Likewise.
59460         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
59461         (ibm_extended_long_double): Add ieee_nan member.
59462         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
59463         (do_test): New function.
59465         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
59466         TEST_TRUNC.
59467         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
59468         functions, renamed from truncdfsf_test, trunctfsf_test,
59469         trunctfdf_test.
59470         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
59471         functions.
59472         (do_test): Run all these.
59474 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
59476         * argp/argp-help.c: Fix typos.
59477         * argp/argp-parse.c: Likewise.
59478         * debug/backtracesyms.c: Likewise.
59479         * elf/elf.h: Likewise.
59480         * malloc/malloc.c: Likewise.
59481         * nis/nis_print.c: Likewise.
59482         * resolv/res_comp.c: Likewise.
59483         * stdlib/stdlib.h: Likewise.
59484         * sunrpc/clnt_tcp.c: Likewise.
59485         * sunrpc/clnt_udp.c: Likewise.
59486         * sunrpc/clnt_unix.c: Likewise.
59487         * sysdeps/unix/bsd/ptsname.c: Likewise.
59488         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
59489         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
59490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
59491         Likewise.
59492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
59493         Likewise.
59494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
59495         Likewise.
59496         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59498 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59500         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
59501         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59503 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
59505         [BZ #15897]
59506         * dlfcn/Makefile (tests): Add bug-dl-leaf.
59507         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
59508         ($(objpfx)bug-dl-leaf): New rule.
59509         ($(objpfx)bug-dl-leaf.so): Likewise.
59510         ($(objpfx)bug-dl-leaf.out): Likewise.
59511         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
59512         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
59513         * dlfcn/bug-dl-leaf.c: New test.
59514         * dlfcn/bug-dl-leaf-lib.c: Likewise.
59515         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
59516         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
59517         (dlclose): Likewise.
59518         (dlmopen): Likewise.
59520 2013-08-27  Roland McGrath  <roland@hack.frob.com>
59522         * include/netdb.h [!_ISOMAC]:
59523         Don't include <tls.h>.
59524         (h_errno, __libc_h_errno): Move declaration and macros out of
59525         [_LIBC_REENTRANT].
59527         * include/resolv.h [_RESOLV_H_]:
59528         Don't include <tls.h>.
59529         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
59530         * resolv/res_libc.c: Don't include <tls.h>.
59531         (_res): Use __attribute__ ((nocommon)) in place of
59532         __attribute__ ((section (".bss"))).
59534         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
59535         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
59537         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
59539         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
59540         only under [SIOCGIFCONF && SIOCGIFNETMASK].
59542         * resolv/res_mkquery.c: Include <sys/time.h>.
59544         * inet/ifreq.c: Moved to ...
59545         * sysdeps/unix/ifreq.c: ... here.
59546         * inet/ifreq.c: New file, true stub version.
59548         * socket/sa_len.c: New file.
59549         * socket/Makefile (aux): Add it.
59550         * sysdeps/unix/sysv/linux/Makefile
59551         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
59552         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
59553         and #include <socket/sa_len.c>.
59554         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
59555         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
59557         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
59558         * bits/socket.h: ... here.
59560         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
59561         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
59562         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
59564 2013-08-27  Andreas Schwab  <schwab@suse.de>
59566         [BZ #15736]
59567         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
59568         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
59569         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
59570         * string/test-strcasecmp.c (test_main): Run tests in several
59571         locales.
59572         * string/test-strncasecmp.c (test_main): Likewise.
59574         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
59575         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
59576         to __strcasecmp_nonascii and __strncasecmp_nonascii.
59577         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
59578         (__strncasecmp_ssse3) [PIC]: Likewise.
59580 2013-08-26  Roland McGrath  <roland@hack.frob.com>
59582         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
59584         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
59585         instead of explicitly declaring xdecrypt.
59586         * nis/nss_nis/nis-publickey.c: Likewise.
59588 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59590         [BZ #15890]
59591         * nscd/aicache.c: Include res_hconf.h.
59592         (addhstaiX): Initialize res_hconf.
59594 2013-08-26  Andreas Schwab  <schwab@suse.de>
59596         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
59597         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
59599 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59601         * nscd/aicache.c (addhstaiX): Fix indentation.
59603 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
59605         * configure.ac: Quote $build_pt_chown test.
59606         * configure: Regenerated.
59608 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
59610         [BZ #15532]
59611         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
59612         * math/s_cexpf.c (__cexpf): Likewise.
59613         * math/s_cexpl.c (__cexpl): Likewise.
59614         * math/libm-test.inc (cexp_test_data): Correct expected return
59615         value for NaN + i0.  Add another test.
59617 2013-08-22  David S. Miller  <davem@davemloft.net>
59619         * po/ca.po: Update Catalan translation from translation project.
59620         * po/uk.po: Add Ukrainian translations from translation project.
59622 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
59624         [BZ #15797]
59625         * math/s_fdim.c (__fdim): Check for infinite arguments if result
59626         is infinite, not alongside NaN test.
59627         * math/s_fdimf.c (__fdimf): Likewise.
59628         * math/s_fdiml.c (__fdiml): Likewise.
59629         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
59630         errno is unchanged.
59632 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
59634         * argp/argp-help.c: Fix typos.
59635         * crypt/speeds.c: Likewise.
59636         * csu/check_fds.c: Likewise.
59637         * elf/dl-load.c: Likewise.
59638         * elf/dl-open.c: Likewise.
59639         * elf/reldep3.c: Likewise.
59640         * elf/reldep.c: Likewise.
59641         * elf/sprof.c: Likewise.
59642         * iconv/iconv_charmap.c: Likewise.
59643         * iconv/skeleton.c: Likewise.
59644         * iconv/strtab.c: Likewise.
59645         * io/lockf64.c: Likewise.
59646         * libio/libioP.h: Likewise.
59647         * resolv/gai_notify.c: Likewise.
59648         * resolv/ns_name.c: Likewise.
59649         * resolv/ns_samedomain.c: Likewise.
59650         * resolv/res_send.c: Likewise.
59651         * stdlib/random.c: Likewise.
59652         * sunrpc/rpc/xdr.h: Likewise.
59653         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
59654         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
59655         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
59656         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
59657         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
59658         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
59659         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
59660         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
59661         * sysdeps/mach/hurd/check_fds.c: Likewise.
59662         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59663         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59664         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59665         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59666         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59667         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59668         * sysdeps/pthread/aio_notify.c: Likewise.
59669         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
59670         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
59671         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
59672         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59673         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
59675 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59677         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
59678         version if bit_Slow_SSE4_2 is set.
59679         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59680         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59682 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59684         [BZ #15867]
59685         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
59686         trampoline stack frame information.
59687         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
59688         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
59689         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
59690         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
59691         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
59692         * sysdeps/unix/sysv/linux/powerpc/init-first.c
59693         (_libc_vdso_platform_setup): Initialize the signal trampolines.
59694         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
59695         sa_flags value.
59696         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
59697         interrupting a syscall and set with option SA_SIGINFO.
59699 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
59701         [BZ #15531]
59702         * math/s_cproj.c (__cproj): Only return an infinity if one part of
59703         argument is infinite.
59704         * math/s_cprojf.c (__cprojf): Likewise.
59705         * math/s_cprojl.c (__cprojl): Likewise.
59706         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
59707         * math/libm-test.inc (cproj_test_data): Add more tests.
59709         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
59711         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
59712         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
59713         size.  Use __ffs to determine corresponding shift.
59715 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
59716             Roland McGrath  <roland@hack.frob.com>
59718         * Makefile (INSTALL): Remove trailing blank lines from output of
59719         makeinfo.
59721 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59723         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
59724         Align 32 bit compat elf_greg to 8 bytes.
59726 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
59728         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
59730 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59732         * string/strcoll_l.c (coll_seq): New structure.
59733         (get_next_seq_cached): New function.
59734         (get_next_seq): New function.
59735         (do_compare): New function.
59736         (STRCOLL): Use GNU style definition.  Simplify implementation
59737         by using get_next_seq, get_next_seq_cached and do_compare.
59739 2013-08-16  Florian Weimer  <fweimer@redhat.com>
59741         [BZ #14699]
59742         CVE-2013-4237
59743         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
59744         member.
59745         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
59746         member.
59747         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
59748         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
59749         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
59750         conditional.
59751         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
59752         GETDENTS_64BIT_ALIGNED.
59753         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59754         * manual/filesys.texi (Reading/Closing Directory): Document
59755         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
59756         strongly.
59757         * manual/conf.texi (Limits for Files): Add portability note to
59758         NAME_MAX, PATH_MAX.
59759         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
59761 2013-08-13  Andreas Schwab  <schwab@suse.de>
59763         [BZ #15749]
59764         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
59765         of fabs.
59766         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
59767         LDBL_MAX_EXP >= 16384]: Add tests for it.
59769 2013-08-12  David S. Miller  <davem@davemloft.net>
59771         * version.h (RELEASE): Set to "development".
59772         (VERSION): Set to "2.18.90".
59773         * NEWS: Add 2.19 section.
59775 2013-08-03  David S. Miller  <davem@davemloft.net>
59777         * po/ko.po: Update Korean translation from translation project.
59779 2013-08-01  David S. Miller  <davem@davemloft.net>
59781         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
59782         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
59783         Bilka.
59785 2013-07-30  David S. Miller  <davem@davemloft.net>
59787         * po/fr.po: Update French translation from translation project.
59789 2013-07-28  David S. Miller  <davem@davemloft.net>
59791         * po/cs.po: Update Czech translation from translation project.
59793         * po/sv.po: Update Swedish translation from translation project.
59795 2013-07-27  David S. Miller  <davem@davemloft.net>
59797         * po/eo.po: Update Esperanto translation from translation project.
59799         * po/vi.po: Update Vietnamese translation from translation project.
59801         * po/de.po: Update German translation from translation project.
59803 2013-07-26  David S. Miller  <davem@davemloft.net>
59805         * po/bg.po: Update Bulgarian translation from translation project.
59807         * po/nl.po: Update Dutch translation from translation project.
59808         * po/pl.po: Update Polish translation from translation project.
59809         * po/ru.po: Update Russian translation from translation project.
59811 2013-07-24  David S. Miller  <davem@davemloft.net>
59813         * po/libc.pot: Update.
59815 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59817         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
59818         variable page size.
59819         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
59820         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
59821         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
59823 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59825         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
59827 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59828             Andreas Schwab  <schwab@suse.de>
59829             Roland McGrath  <roland@hack.frob.com>
59830             Joseph Myers  <joseph@codesourcery.com>
59831             Carlos O'Donell  <carlos@redhat.com>
59833         [BZ #15755]
59834         * config.h.in: Define HAVE_PT_CHOWN.
59835         * config.make.in (build-pt-chown): New variable.
59836         * configure.in (--enable-pt_chown): New configure option.
59837         * configure: Regenerate.
59838         * login/Makefile: Include Makeconfig.  Build pt_chown only if
59839         build-pt-chown is enabled.
59840         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
59841         pt_chown to fix pty ownership.
59842         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
59843         CLOSE_ALL_FDS.
59844         * manual/install.texi (Configuring and compiling): Mention
59845         --enable-pt_chown. Add @findex for grantpt.
59846         * INSTALL: Regenerate.
59848 2013-07-20  David S. Miller  <davem@davemloft.net>
59850         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
59851         difference between 32-bit and 64-bit.
59853 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
59855         [BZ #15711]
59856         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
59857         Avoid system header dependency with -ffreestanding.
59858         ($(objpfx)bits/syscall%d): Likewise.
59860 2013-07-13  David S. Miller  <davem@davemloft.net>
59862         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
59863         underflows from atanl/atan2l due to bug 15319.
59864         (casinh_test_data): Likewise.
59866 2013-07-07  David S. Miller  <davem@davemloft.net>
59868         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
59870 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
59872         * sysdeps/i386/fpu/libm-test-ulps: Update.
59873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59875 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59877         * configure.in (--enable-lock-elision): Fix message text.
59878         * INSTALL: Regenerate.
59879         * configure: Regenerate.
59881 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59885 2013-07-03  Andreas Jaeger  <aj@suse.de>
59887         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
59888         define.
59889         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
59890         (ptrace_peeksiginfo_args): Add.
59891         (__ptrace_peeksiginfo_flags): Add.
59892         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59893         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59894         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59896 2013-07-03  Allan McRae  <allan@archlinux.org>
59898         * sysdeps/i386/fpu/libm-test-ulps: Update.
59900 2013-07-02  David S. Miller  <davem@davemloft.net>
59902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59904 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
59906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59908 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
59910         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
59911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59913 2013-07-02  Andi Kleen <ak@linux.intel.com>
59915         * config.h.in (ENABLE_LOCK_ELISION): Add.
59916         * configure.in (--enable-lock-elision): Add option.
59917         * manual/install.texi: Document --enable lock elision.
59918         * configure: Regenerate
59919         * INSTALL: Regenerate.
59921 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
59923         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
59924         SSE4.2 strcasecmp for libc.a.
59925         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
59927 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
59929         [BZ #13304]
59930         * soft-fp/op-common.h (_FP_FMA): New macro.
59931         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
59932         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
59933         (_FP_MUL_MEAT_1_imm): ... here.
59934         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
59935         (_FP_MUL_MEAT_1_wide): ... here.
59936         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
59937         (_FP_MUL_MEAT_1_hard): ... here.
59938         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
59939         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
59940         (_FP_MUL_MEAT_2_wide): ... here.
59941         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
59942         (_FP_MUL_MEAT_2_wide_3mul): ... here.
59943         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
59944         (_FP_MUL_MEAT_2_gmp): ... here.
59945         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
59946         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
59947         (_FP_MUL_MEAT_4_wide): ... here.
59948         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
59949         (_FP_MUL_MEAT_4_gmp): ... here.
59950         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
59951         (_FP_WFRACBITS_DW_S): Likewise.
59952         (_FP_WFRACXBITS_DW_S): Likewise.
59953         (_FP_HIGHBIT_DW_S): Likewise.
59954         (FP_FMA_S): Likewise.
59955         (_FP_FRAC_HIGH_DW_S): Likewise.
59956         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
59957         (_FP_WFRACBITS_DW_D): Likewise.
59958         (_FP_WFRACXBITS_DW_D): Likewise.
59959         (_FP_HIGHBIT_DW_D): Likewise.
59960         (FP_FMA_D): Likewise.
59961         (_FP_FRAC_HIGH_DW_D): Likewise.
59962         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
59963         (_FP_WFRACBITS_DW_E): Likewise.
59964         (_FP_WFRACXBITS_DW_E): Likewise.
59965         (_FP_HIGHBIT_DW_E): Likewise.
59966         (FP_FMA_E): Likewise.
59967         (_FP_FRAC_HIGH_DW_E): Likewise.
59968         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
59969         (_FP_WFRACBITS_DW_Q): Likewise.
59970         (_FP_WFRACXBITS_DW_Q): Likewise.
59971         (_FP_HIGHBIT_DW_Q): Likewise.
59972         (FP_FMA_Q): Likewise.
59973         (_FP_FRAC_HIGH_DW_Q): Likewise.
59974         * soft-fp/fmasf4.c: New file.
59975         * soft-fp/fmadf4.c: Likewise.
59976         * soft-fp/fmatf4.c: Likewise.
59978 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59981         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
59982         Silvermont.
59983         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
59984         macro.
59985         (index_Slow_SSE4_2): Likewise.
59986         (index_Prefer_PMINUB_for_stringop): Likewise.
59987         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
59988         bit_Slow_SSE4_2 is set.
59989         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59990         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59992 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59994         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
59995         rtld_global._dl_hwcap2.
59996         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
59997         POWER8.
59998         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
59999         POWER8 feature descriptions defined in _dl_hwcap2.
60000         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
60001         string handling for POWER8 feature bits.
60002         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
60003         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
60004         _dl_powerpc_cap_flags.
60005         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
60006         * sysdeps/powerpc/rtld-global-offsets.sym
60007         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
60008         _dl_hwcap2 in the rtld_global_ro structure.
60010 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60012         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
60013         hardware capabilities in support of AT_HWCAP2.
60014         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
60015         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
60016         GLRO(dl_hwcap2).
60017         (_dl_show_auxv): Add support for calling _dl_procinfo to display
60018         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
60019         explicitly the unknown a_type display mechanism is used.
60020         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
60021         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
60022         struct member.
60023         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
60024         to macro prototype for AT_HWCAP2 support.
60025         * sysdeps/i386/dl-procinfo.h: Likewise.
60026         * sysdeps/s390/dl-procinfo.h: Likewise.
60027         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
60028         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
60029         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
60030         return -1 for unknown a_type display fallback.
60031         * sysdeps/sparc/dl-procinfo.h: Likewise.
60032         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
60033         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
60035 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
60037         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
60038         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
60040 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
60042         [BZ #12492]
60043         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
60044         mprotect making __stack_prot writable.
60046 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
60047             Joseph Myers  <joseph@codesourcery.com>
60049         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
60050         as being properly aligned.
60052 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
60054         * dlfcn/modstatic5.c: New file.
60055         * dlfcn/tststatic5.c: New file.
60056         * dlfcn/Makefile (tests): Add tststatic5.
60057         (tests-static): Likewise.
60058         (modules-names): Add modstatic5.
60059         (tststatic5-ENV): New variable.
60060         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
60062         [BZ #15022]
60063         * elf/dl-support.c (_dl_main_map): New variable.
60064         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
60065         (_dl_nns, _dl_load_adds): Set to 1.
60066         (_dl_initial_searchlist): Refer to _dl_main_map.
60067         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
60068         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
60069         call to _dl_get_origin.
60070         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
60071         around call_map.
60072         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
60073         * dlfcn/modstatic3.c: New file.
60074         * dlfcn/tststatic3.c: New file.
60075         * dlfcn/tststatic4.c: New file.
60076         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
60077         (tests-static): Likewise.
60078         (modules-names): Add modstatic3.
60079         (tststatic3-ENV, tststatic4-ENV): New variables.
60080         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
60081         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
60083 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
60085         * configure.in (CC): Require GCC version 4.4 or later.
60086         * configure: Regenerated.
60087         * manual/install.texi (Tools for Compilation): Update GCC version
60088         requirement.
60089         * INSTALL: Regenerated.
60091 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60093         [BZ #15674]
60094         * string/test-memcmp.c (check2): New.
60095         (main): Call check2.
60097         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
60099 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
60101         [BZ #15022]
60102         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
60103         over to...
60104         (dl_open_worker) [!SHARED]: ... here.
60106 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60108         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
60110 2013-06-25  Richard Henderson  <rth@redhat.com>
60112         * locale/programs/locarchive.c: Include <libc-internal.h>
60114 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
60116         * manual/texinfo.tex: Update to version 2013-06-21.17, with
60117         trailing whitespace removed.
60119 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
60121         [BZ #10283]
60122         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
60123         * locale/programs/locarchive.c: Include libc-mmap.h.
60124         (prepare_address_space): Take two new outputs (the mmap base and len).
60125         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
60126         values.
60127         (create_archive): Declare new mmap base and len values for
60128         prepare_address_space, and store the result in ah.
60129         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
60130         (enlarge_archive): If ah->mmap_base is not NULL, use that and
60131         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
60132         Declare new mmap base and len values for
60133         prepare_address_space, and store the result in new_ah.
60134         (open_archive): Declare new mmap base and len values for
60135         prepare_address_space, and store the result in ah.
60136         (close_archive): If ah->mmap_base is not NULL, use that and
60137         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
60138         * sysdeps/generic/libc-mmap.h: New file.
60140 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
60142         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
60143         (ALIGN_UP): Likewise.
60144         (PTR_ALIGN_DOWN): Likewise.
60145         (PTR_ALIGN_UP): Likewise.
60147 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60149         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
60150         entry mapped to PPC_PLATFORM_POWER8.
60151         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
60152         POWER8.
60153         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
60154         (_dl_string_platform): Add case for exporting platform position for
60155         POWER8.
60156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
60157         search path to sysdeps/powerpc/powerpc32/power8 directory.
60158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
60159         search path to sysdeps/powerpc/powerpc64/power8 directory.
60160         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
60161         power7 directories.
60162         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
60163         power7 directories.
60165 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
60167         * INSTALL: Regenerate.
60169         * nscd/connections.c (nscd_init): Fix comment.
60171 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
60173         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
60175         [BZ #15667]
60176         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
60177         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
60179 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
60181         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
60182         DL_DST_REQ_STATIC.
60183         (DL_DST_REQ_STATIC): Remove macro.
60185 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
60187         [BZ #7006]
60188         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
60189         with a shift of 0 bits.
60191 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
60193         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
60194         $(tststatic-ENV).
60196 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60198         [BZ #15655]
60199         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
60201 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60203         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
60204         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
60205         accepts -fno-tree-loop-distribute-patterns.
60206         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
60207         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
60208         recursive call.
60209         * string/memset.c (memset): Likewise.
60210         * string/test-memmove.c (simple_memmove): Disable loop transformation
60211         to library calls.
60212         * string/test-memset.c (simple_memset): Likewise.
60213         * benchtests/bench-memmove.c (simple_memmove): Likewise.
60214         * benchtests/bench-memset.c (simple_memset): Likewise.
60215         * configure: Regenerated.
60217 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
60219         * math/test-misc.c (main): Ignore fesetround failure when failures
60220         of subsequent rounding tests would be ignored.
60222         [BZ #15654]
60223         * math/fedisblxcpt.c (fedisableexcept): Return 0.
60224         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
60225         * math/fegetenv.c (__fegetenv): Return 0.
60226         * math/fegetexcept.c (fegetexcept): Return 0.
60227         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
60228         FE_TONEAREST.
60229         * math/feholdexcpt.c (feholdexcept): Return 0.
60230         * math/fesetenv.c (__fesetenv): Return 0.
60231         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
60232         argument FE_TONEAREST.
60233         * math/feupdateenv.c (__feupdateenv): Return 0.
60234         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
60236 2013-06-18  Roland McGrath  <roland@hack.frob.com>
60238         * elf/rtld-Rules (rtld-compile-command.S): New variable.
60239         (rtld-compile-command.s, rtld-compile-command.c): New variables.
60240         ($(objpfx)rtld-%.os rules): Use them.
60242 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60244         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
60245         fields.
60247 2013-06-17  Roland McGrath  <roland@hack.frob.com>
60249         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
60250         length of target pattern, then descending length of dependency pattern.
60251         * configure.in (AWK): Require gawk 3.1.2 or newer.
60252         * manual/install.texi (Tools for Compilation): Say that we do.
60253         * configure: Regenerated.
60255         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
60256         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
60257         * scripts/sysd-rules.awk: ... this new script.
60258         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
60259         than a glob-style pattern.
60261 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
60263         * math/test-misc.c (main): Do not treat incorrectly rounded
60264         conversions as failure unless ROUNDING_TESTS passes.
60266 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
60268         [BZ #15631]
60269         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
60270         restore exception state around main square root computation, then
60271         check for inexactness explicitly.
60273         * math/libm-test.inc (fma_test_data): Add another test.
60275 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60277         * manual/threads.texi (Non-POSIX Extensions): New document
60278         node.  Document pthread_getattr_default_np and
60279         pthread_setattr_default_np.
60281         * Versions.def (libpthread): Add GLIBC_2.18.
60282         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
60283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60284         Likewise.
60285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60286         Likewise.
60287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60288         Likewise.
60289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60290         Likewise.
60291         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
60292         Likewise.
60293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60294         Likewise.
60295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60296         Likewise.
60297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60298         Likewise.
60299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60300         Likewise.
60302 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60304         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60305         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
60307 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60308             H.J. Lu  <hjl.tools@gmail.com>
60310         [BZ #15627]
60311         * sysdeps/x86_64/rtld-memset.c: Remove file.
60312         * sysdeps/x86_64/rtld-memset.S: New file.
60314 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
60316         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
60317         (test_in_one_mode): Take arguments for whether the rounding mode
60318         is supported for each floating-point type.
60319         (do_test): Pass new arguments to test_in_one_mode using
60320         ROUNDING_TESTS.
60322 2013-06-13  Roland McGrath  <roland@hack.frob.com>
60324         * posix/tst-waitid.c (do_test): Distinguish different instances of
60325         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
60326         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
60327         before entering the kernel for waitpid.
60329 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60331         * NEWS: Fix note on clock function precision.  Text by Roland
60332         McGrath.
60334 2013-06-13  Roland McGrath  <roland@hack.frob.com>
60336         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
60337         it into place only when and if the sanity check passes.
60339 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
60341         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
60342         output for whether conversion result is exact.  Take argument
60343         indicating whether type is IBM long double.
60344         (round_for_all): Change need_exact field to ibm_ld.
60345         * stdlib/tst-strtod-round.c (struct exactness): New type.
60346         (struct test): Change bool ld_ok field to struct exactness exact.
60347         (TEST): Update all definitions for change to field.
60348         (tests): Regenerate array contents.
60349         (test_in_one_mode): Take pointer to new field instead of old ld_ok
60350         field value.  Check for IBM long double here.
60351         (do_test): Update calls to test_in_one_mode.
60353 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60355         [BZ #12515]
60356         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
60357         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
60359 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60361         [BZ #15605]
60362         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
60363         generated by the compiler on loop optimizations.
60364         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
60365         general definitions.
60367 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
60369         * math/bug-nextafter.c: Include <math-tests.h>.
60370         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60371         the relevant type.
60372         * math/bug-nexttoward.c: Include <math-tests.h>.
60373         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60374         the relevant type.
60375         * math/test-misc.c: Include <math-tests.h>.
60376         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60377         the relevant type.
60379 2013-06-12  Andreas Jaeger  <aj@suse.de>
60381         * po/ia.po: Update Interlingua translation from translation
60382         project.
60384 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60386         * include/fenv.h: Include stdbool.h.
60387         (struct rm_ctx): New structure.
60388         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
60389         Define macro.
60390         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
60391         (SET_RESTORE_ROUNDF): Likewise.
60392         (SET_RESTORE_ROUNDL): Likewise.
60393         (SET_RESTORE_ROUND_NOEX): Likewise.
60394         (SET_RESTORE_ROUND_NOEXF): Likewise.
60395         (SET_RESTORE_ROUND_NOEXL): Likewise.
60396         (SET_RESTORE_ROUND_53BIT): Likewise.
60397         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
60398         (libc_feresetround_noexf_ctx): Likewise.
60399         (libc_feresetround_noexl_ctx): Likewise.
60400         (libc_feholdsetround_53bit_ctx): Likewise.
60401         (libc_feresetround_53bit_ctx): Likewise.
60402         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
60403         (libc_feholdexcept_setround_sse_ctx): New function.
60404         (libc_fesetenv_sse_ctx): Likewise.
60405         (libc_feupdateenv_sse_ctx): Likewise.
60406         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
60407         (libc_feholdexcept_setround_387_ctx): Likewise.
60408         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
60409         (libc_feholdsetround_387_prec_ctx): Likewise.
60410         (libc_feholdsetround_387_ctx): Likewise.
60411         (libc_feholdsetround_387_53bit_ctx): Likewise.
60412         (libc_feholdsetround_sse_ctx): Likewise.
60413         (libc_feresetround_sse_ctx): Likewise.
60414         (libc_feresetround_387_ctx): Likewise.
60415         (libc_feupdateenv_387_ctx): Likewise.
60416         (libc_feholdexcept_setroundf_ctx): Define macro.
60417         (libc_fesetenvf_ctx): Likewise.
60418         (libc_feupdateenvf_ctx): Likewise.
60419         (libc_feholdsetroundf_ctx): Likewise.
60420         (libc_feresetroundf_ctx): Likewise.
60421         (libc_feholdexcept_setround_ctx): Likewise.
60422         (libc_fesetenv_ctx): Likewise.
60423         (libc_feupdateenv_ctx): Likewise.
60424         (libc_feholdsetround_ctx): Likewise.
60425         (libc_feresetround_ctx): Likewise.
60426         (libc_feholdexcept_setroundl_ctx): Likewise.
60427         (libc_feupdateenvl_ctx): Likewise.
60428         (libc_feholdsetroundl_ctx): Likewise.
60429         (libc_feresetroundl_ctx): Likewise.
60430         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
60431         (libc_feresetround_53bit_ctx): Likewise.
60433 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60435         * locale/iso-639.def: Convert to UTF-8.
60437 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
60439         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
60440         (EXCEPTION_TESTS_double): Likewise.
60441         (EXCEPTION_TESTS_long_double): Likewise.
60442         (EXCEPTION_TESTS): Likewise.
60443         * math/libm-test.inc (test_exceptions): Only test exceptions if
60444         EXCEPTION_TESTS (FLOAT).
60446 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60448         * benchtests/Makefile (string-bench): Add strcpy_chk and
60449         stpcpy_chk.
60450         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
60451         * benchtests/bench-stpcpy_chk.c: New file.
60452         * benchtests/bench-strcpy_chk-ifunc.c: New file.
60453         * benchtests/bench-strcpy_chk.c: New file.
60454         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
60455         code.
60456         (do_test): Likewise.
60458 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60460         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
60461         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
60462         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
60463         with tabs where appropriate.
60464         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
60465         dl-procinfo.h.
60466         [PPC_PLATFORM_PPC440]: Likewise.
60467         [PPC_PLATFORM_PPC464]: Likewise.
60468         [PPC_PLATFORM_PPC476]: Likewise.
60469         (_dl_string_platform): Add support for detecting ppc405, ppc440,
60470         ppc464, and ppc476 platform strings merging from ports/
60471         dl-procinfo.h.
60473 2013-06-11  Andreas Schwab  <schwab@suse.de>
60475         [BZ #14991]
60476         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
60477         (from_ucs4_idx): Regenerate.
60478         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
60479         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
60480         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
60481         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
60482         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
60483         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
60484         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
60485         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
60486         from FROM_LOOP and TO_LOOP specific macros.
60487         (BODY): Handle combining characters.
60488         * iconvdata/BIG5HKSCS.irreversible: Update.
60489         * iconvdata/BIG5HKSCS.precomposed: New file.
60490         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
60491         characters.
60492         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
60494 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60496         * include/sys/time.h: Fix indentation and add copyright header.
60498         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
60499         (do_test): Likewise.
60500         * string/test-memchr.c (do_one_test): Likewise.
60501         (do_test): Likewise.
60502         * string/test-memcmp.c (do_one_test): Likewise.
60503         (do_test): Likewise.
60504         * string/test-memcpy.c (do_one_test): Likewise.
60505         (do_test): Likewise.
60506         * string/test-memmem.c (do_one_test): Likewise.
60507         (do_test): Likewise.
60508         (do_random_tests): Likewise.
60509         * string/test-memmove.c (do_one_test): Likewise.
60510         (do_test): Likewise.
60511         * string/test-memset.c (do_one_test): Likewise.
60512         (do_test): Likewise.
60513         * string/test-rawmemchr.c (do_one_test): Likewise.
60514         (do_test): Likewise.
60515         * string/test-strcasecmp.c (do_one_test): Likewise.
60516         (do_test): Likewise.
60517         * string/test-strcasestr.c (do_one_test): Likewise.
60518         (do_test): Likewise.
60519         * string/test-strcat.c (do_one_test): Likewise.
60520         (do_test): Likewise.
60521         * string/test-strchr.c (do_one_test): Likewise.
60522         (do_test): Likewise.
60523         * string/test-strcmp.c (do_one_test): Likewise.
60524         (do_test): Likewise.
60525         * string/test-strcpy.c (do_one_test): Likewise.
60526         (do_test): Likewise.
60527         * string/test-string.h: Likewise.
60528         (test_init): Likewise.
60529         * string/test-strlen.c (do_one_test): Likewise.
60530         (do_test): Likewise.
60531         * string/test-strncasecmp.c (do_one_test): Likewise.
60532         (do_test): Likewise.
60533         * string/test-strncat.c (do_one_test): Likewise.
60534         (do_test): Likewise.
60535         * string/test-strncmp.c (do_one_test): Likewise.
60536         (do_test_limit): Likewise.
60537         (do_test): Likewise.
60538         * string/test-strncpy.c (do_one_test): Likewise.
60539         (do_test): Likewise.
60540         * string/test-strnlen.c (do_one_test): Likewise.
60541         (do_test): Likewise.
60542         * string/test-strpbrk.c (do_one_test): Likewise.
60543         (do_test): Likewise.
60544         * string/test-strrchr.c (do_one_test): Likewise.
60545         (do_test): Likewise.
60546         * string/test-strspn.c (do_one_test): Likewise.
60547         (do_test): Likewise.
60548         * string/test-strstr.c (do_one_test): Likewise.
60549         (do_test): Likewise.
60551         * benchtests/Makefile (string-bench): Add string benchmarks.
60552         * benchtests/bench-bcopy-ifunc.c: New file.
60553         * benchtests/bench-bcopy.c: New file.
60554         * benchtests/bench-bzero-ifunc.c: New file.
60555         * benchtests/bench-bzero.c: New file.
60556         * benchtests/bench-memccpy-ifunc.c: New file.
60557         * benchtests/bench-memccpy.c: New file.
60558         * benchtests/bench-memchr-ifunc.c: New file.
60559         * benchtests/bench-memchr.c: New file.
60560         * benchtests/bench-memcmp-ifunc.c: New file.
60561         * benchtests/bench-memcmp.c: New file.
60562         * benchtests/bench-memmem-ifunc.c: New file.
60563         * benchtests/bench-memmem.c: New file.
60564         * benchtests/bench-memmove-ifunc.c: New file.
60565         * benchtests/bench-memmove.c: New file.
60566         * benchtests/bench-mempcpy-ifunc.c: New file.
60567         * benchtests/bench-mempcpy.c: New file.
60568         * benchtests/bench-memset-ifunc.c: New file.
60569         * benchtests/bench-memset.c: New file.
60570         * benchtests/bench-rawmemchr-ifunc.c: New file.
60571         * benchtests/bench-rawmemchr.c: New file.
60572         * benchtests/bench-stpcpy-ifunc.c: New file.
60573         * benchtests/bench-stpcpy.c: New file.
60574         * benchtests/bench-stpncpy-ifunc.c: New file.
60575         * benchtests/bench-stpncpy.c: New file.
60576         * benchtests/bench-strcasecmp-ifunc.c: New file.
60577         * benchtests/bench-strcasecmp.c: New file.
60578         * benchtests/bench-strcasestr-ifunc.c: New file.
60579         * benchtests/bench-strcasestr.c: New file.
60580         * benchtests/bench-strcat-ifunc.c: New file.
60581         * benchtests/bench-strcat.c: New file.
60582         * benchtests/bench-strchr-ifunc.c: New file.
60583         * benchtests/bench-strchr.c: New file.
60584         * benchtests/bench-strchrnul-ifunc.c: New file.
60585         * benchtests/bench-strchrnul.c: New file.
60586         * benchtests/bench-strcmp-ifunc.c: New file.
60587         * benchtests/bench-strcmp.c: New file.
60588         * benchtests/bench-strcpy-ifunc.c: New file.
60589         * benchtests/bench-strcpy.c: New file.
60590         * benchtests/bench-strcspn-ifunc.c: New file.
60591         * benchtests/bench-strcspn.c: New file.
60592         * benchtests/bench-strlen-ifunc.c: New file.
60593         * benchtests/bench-strlen.c: New file.
60594         * benchtests/bench-strncasecmp-ifunc.c: New file.
60595         * benchtests/bench-strncasecmp.c: New file.
60596         * benchtests/bench-strncat-ifunc.c: New file.
60597         * benchtests/bench-strncat.c: New file.
60598         * benchtests/bench-strncmp-ifunc.c: New file.
60599         * benchtests/bench-strncmp.c: New file.
60600         * benchtests/bench-strncpy-ifunc.c: New file.
60601         * benchtests/bench-strncpy.c: New file.
60602         * benchtests/bench-strnlen-ifunc.c: New file.
60603         * benchtests/bench-strnlen.c: New file.
60604         * benchtests/bench-strpbrk-ifunc.c: New file.
60605         * benchtests/bench-strpbrk.c: New file.
60606         * benchtests/bench-strrchr-ifunc.c: New file.
60607         * benchtests/bench-strrchr.c: New file.
60608         * benchtests/bench-strspn-ifunc.c: New file.
60609         * benchtests/bench-strspn.c: New file.
60610         * benchtests/bench-strstr-ifunc.c: New file.
60611         * benchtests/bench-strstr.c: New file.
60613         * benchtests/Makefile: Disable parallel execution of targets.
60614         (string-bench): Add memcpy.
60615         (benchset): New variable to store a list of benchmark sets.
60616         (bench-func): Renamed from bench.
60617         (bench-set): New target.
60618         (bench): Depend on bench-func and bench-set.
60619         * benchtests/README: Add section on benchmark sets.
60620         * benchtests/bench-memcpy-ifunc.c: New file.
60621         * benchtests/bench-memcpy.c: New file.
60622         * benchtests/bench-string.h: New file.
60624 2013-06-11  Andreas Schwab  <schwab@suse.de>
60626         [BZ #15577]
60627         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
60628         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
60629         values in the triple.
60630         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
60631         terminator in the group key.
60633 2013-06-11  Andreas Jaeger  <aj@suse.de>
60635         * po/zh_TW.po: Update Chinese (traditional) translation from
60636         translation project.
60638 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60640         * include/time.h (__clock_gettime): Add libc_hidden_proto.
60641         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
60642         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
60643         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60644         (clock_getcpuclockid): Likewise.
60645         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
60646         Add weak_alias and libc_hidden_def.
60647         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
60648         * rt/clock_gettime.c (clock_gettime): Rename to
60649         __clock_gettime.  Add weak_alias and libc_hidden_def.
60650         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
60651         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
60652         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
60653         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
60654         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
60655         Likewise.
60656         * rt/clock_settime.c (clock_settime): Rename to
60657         __clock_settime.  Add weak_alias and libc_hidden_def.
60658         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
60660 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
60662         * mach/err_boot.sub: Remove trailing whitespace.
60663         * mach/err_ipc.sub: Likewise.
60664         * mach/err_mach.sub: Likewise.
60666         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
60667         (ROUNDING_TESTS_double): Likewise.
60668         (ROUNDING_TESTS_long_double): Likewise.
60669         (ROUNDING_TESTS): Likewise.
60670         * math/libm-test.inc: Include <math-tests.h>.
60671         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
60672         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60673         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60674         (IF_ROUND_INIT_FE_UPWARD): Likewise.
60676 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60678         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
60679         of assigning.
60681 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
60683         * sysdeps/gnu/errlist.awk: Do not generate space at end of
60684         otherwise empty TRANS lines.
60685         * sysdeps/gnu/errlist.c: Regenerated.
60687         * catgets/gencat.c (error_print): Use (void) in function
60688         definition.
60689         * crypt/crypt_util.c (__init_des): Likewise.
60690         * crypt/speeds.c (Stop): Likewise.
60691         (main): Likewise.
60692         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
60693         * inet/ruserpass.c (token): Likewise.
60694         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
60695         * intl/localealias.c (extend_alias_table): Likewise.
60696         * intl/plural-exp.c (init_germanic_plural): Likewise.
60697         * libio/fcloseall.c (__fcloseall): Likewise.
60698         * libio/genops.c (_IO_flush_all): Likewise.
60699         (_IO_flush_all_linebuffered): Likewise.
60700         (_IO_cleanup): Likewise.
60701         (_IO_iter_begin): Likewise.
60702         (_IO_iter_end): Likewise.
60703         (_IO_list_lock): Likewise.
60704         (_IO_list_unlock): Likewise.
60705         (_IO_list_resetlock): Likewise.
60706         * libio/getchar.c (getchar): Likewise.
60707         * libio/getchar_u.c (getchar_unlocked): Likewise.
60708         * libio/getwchar.c (getwchar): Likewise.
60709         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
60710         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
60711         * login/getpt.c (__getpt): Likewise.
60712         * login/tst-utmp.c (main): Likewise.
60713         * malloc/hooks.c (__malloc_check_init): Likewise.
60714         * malloc/malloc.c (__malloc_stats): Likewise.
60715         * malloc/mtrace.c (tr_break): Likewise.
60716         (mtrace): Likewise.
60717         (muntrace): Likewise.
60718         * misc/fstab.c (endfsent): Likewise.
60719         * misc/getclktck.c (__getclktck): Likewise.
60720         * misc/getdtsz.c (__getdtablesize): Likewise.
60721         * misc/gethostid.c (gethostid): Likewise.
60722         * misc/getpagesize.c (__getpagesize): Likewise.
60723         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
60724         (__get_nprocs): Likewise.
60725         (__get_phys_pages): Likewise.
60726         (__get_avphys_pages): Likewise.
60727         * misc/getttyent.c (getttyent): Likewise.
60728         (setttyent): Likewise.
60729         (endttyent): Likewise.
60730         * misc/getusershell.c (getusershell): Likewise.
60731         (endusershell): Likewise.
60732         (setusershell): Likewise.
60733         (initshells): Likewise.
60734         * misc/hsearch.c (__hdestroy): Likewise.
60735         * misc/sync.c (sync): Likewise.
60736         * misc/syslog.c (closelog_internal): Likewise.
60737         (closelog): Likewise.
60738         * misc/ttyslot.c (ttyslot): Likewise.
60739         * misc/vhangup.c (vhangup): Likewise.
60740         * posix/fork.c (__fork): Likewise.
60741         * posix/getegid.c (__getegid): Likewise.
60742         * posix/geteuid.c (__geteuid): Likewise.
60743         * posix/getgid.c (__getgid): Likewise.
60744         * posix/getpid.c (__getpid): Likewise.
60745         * posix/getppid.c (__getppid): Likewise.
60746         * posix/getuid.c (__getuid): Likewise.
60747         * posix/pause.c (pause): Likewise.
60748         * posix/setpgrp.c (setpgrp): Likewise.
60749         * posix/setsid.c (__setsid): Likewise.
60750         * posix/test-vfork.c (noop): Likewise.
60751         * resolv/gethnamaddr.c (_endhtent): Likewise.
60752         (_gethtent): Likewise.
60753         (ht_endhostent): Likewise.
60754         (gethostent): Likewise.
60755         (dns_service): Likewise.
60756         * stdlib/drand48.c (drand48): Likewise.
60757         * stdlib/lrand48.c (lrand48): Likewise.
60758         * stdlib/mrand48.c (mrand48): Likewise.
60759         * stdlib/rand.c (rand): Likewise.
60760         * stdlib/random.c (__random): Likewise.
60761         * stdlib/setenv.c (clearenv): Likewise.
60762         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
60763         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
60764         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
60765         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
60766         (__get_nprocs): Likewise.
60767         (__get_phys_pages): Likewise.
60768         (__get_avphys_pages): Likewise.
60769         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
60770         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
60771         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
60772         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
60773         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
60774         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
60775         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
60776         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
60777         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
60778         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
60779         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
60780         * sysdeps/mach/hurd/sync.c (sync): Likewise.
60781         * sysdeps/posix/clock.c (clock): Likewise.
60782         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
60783         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
60784         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
60785         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
60786         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
60787         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
60788         (__get_nprocs_conf): Likewise.
60789         (__get_phys_pages): Likewise.
60790         (__get_avphys_pages): Likewise.
60791         * time/clock.c (clock): Likewise.
60792         * time/tzset.c (__tzname_max): Likewise.
60794 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
60796         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
60797         (__bswap_32): Do not use "register".
60798         * crypt/crypt.c (_ufc_doit_r): Likewise.
60799         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
60800         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
60801         * gmon/gmon.c (__monstartup): Likewise.
60802         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
60803         * hurd/hurdmalloc.c (more_memory): Likewise.
60804         (malloc): Likewise.
60805         (free): Likewise.
60806         (realloc): Likewise.
60807         (malloc_fork_prepare): Likewise.
60808         (malloc_fork_parent): Likewise.
60809         (malloc_fork_child): Likewise.
60810         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
60811         (_svcauth_des): Likewise.
60812         * inet/inet_lnaof.c (inet_lnaof): Likewise.
60813         * inet/inet_net.c (inet_network): Likewise.
60814         * inet/inet_netof.c (inet_netof): Likewise.
60815         * inet/rcmd.c (__validuser2_sa): Likewise.
60816         * io/fts.c (fts_open): Likewise.
60817         (fts_load): Likewise.
60818         (fts_close): Likewise.
60819         (fts_read): Likewise.
60820         (fts_children): Likewise.
60821         (fts_build): Likewise.
60822         (fts_stat): Likewise.
60823         (fts_sort): Likewise.
60824         (fts_alloc): Likewise.
60825         (fts_lfree): Likewise.
60826         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
60827         (_IO_file_xsgetn): Likewise.
60828         (_IO_file_xsgetn_mmap): Likewise.
60829         * libio/iofopncook.c (_IO_cookie_read): Likewise.
60830         (_IO_cookie_write): Likewise.
60831         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
60832         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
60833         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
60834         * malloc/obstack.c (_obstack_begin): Likewise.
60835         (_obstack_begin_1): Likewise.
60836         (_obstack_newchunk): Likewise.
60837         (_obstack_allocated_p): Likewise.
60838         (obstack_free): Likewise.
60839         (_obstack_memory_used): Likewise.
60840         * misc/getttyent.c (getttynam): Likewise.
60841         (getttyent): Likewise.
60842         (skip): Likewise.
60843         (value): Likewise.
60844         * misc/getusershell.c (initshells): Likewise.
60845         * misc/syslog.c (__vsyslog_chk): Likewise.
60846         * misc/ttyslot.c (ttyslot): Likewise.
60847         * nis/nis_hash.c (__nis_hash): Likewise.
60848         * posix/fnmatch_loop.c (FCT): Likewise.
60849         * posix/getconf.c (print_all): Likewise.
60850         (main): Likewise.
60851         * posix/getopt.c (exchange): Likewise.
60852         * posix/glob.c (globfree): Likewise.
60853         (prefix_array): Likewise.
60854         (__glob_pattern_type): Likewise.
60855         * resolv/arpa/nameser.h (NS_GET16): Likewise.
60856         (NS_GET32): Likewise.
60857         (NS_PUT16): Likewise.
60858         (NS_PUT32): Likewise.
60859         * resolv/gethnamaddr.c (getanswer): Likewise.
60860         (gethostbyname2): Likewise.
60861         (gethostbyaddr): Likewise.
60862         (_gethtent): Likewise.
60863         (_gethtbyname2): Likewise.
60864         (_gethtbyaddr): Likewise.
60865         * resolv/ns_print.c (dst_s_get_int16): Likewise.
60866         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
60867         * resolv/res_init.c (__res_vinit): Likewise.
60868         (net_mask): Likewise.
60869         * resolv/res_mkquery.c (outchar): Likewise.
60870         (PRINT): Likewise.
60871         * stdio-common/printf_fp.c (outchar): Likewise.
60872         (PRINT): Likewise.
60873         * stdio-common/printf_fphex.c (outchar): Likewise.
60874         (PRINT): Likewise.
60875         * stdio-common/printf_size.c (outchar): Likewise.
60876         (PRINT): Likewise.
60877         * stdio-common/test_rdwr.c (main): Likewise.
60878         * stdio-common/tfformat.c (matches): Likewise.
60879         * stdio-common/vfprintf.c (outchar): Likewise.
60880         (printf_unknown): Likewise.
60881         (buffered_vfprintf): Likewise.
60882         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
60883         * stdio-common/xbug.c (AppendToBuffer): Likewise.
60884         (ReadFile): Likewise.
60885         * stdlib/qsort.c (SWAP): Likewise.
60886         (_quicksort): Likewise.
60887         * stdlib/setenv.c (__add_to_environ): Likewise.
60888         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
60889         * stdlib/strtol_l.c (__strtol_l): Likewise.
60890         * stdlib/tst-strtod.c (main): Likewise.
60891         * stdlib/tst-strtol.c (main): Likewise.
60892         * stdlib/tst-strtoll.c (main): Likewise.
60893         * string/bits/string2.h (__strcmp_cc): Likewise.
60894         (__strcmp_cg): Likewise.
60895         (__strcspn_c1): Likewise.
60896         (__strcspn_c2): Likewise.
60897         (__strcspn_c3): Likewise.
60898         (__strspn_c1): Likewise.
60899         (__strspn_c2): Likewise.
60900         (__strspn_c3): Likewise.
60901         (__strsep_1c): Likewise.
60902         (__strsep_2c): Likewise.
60903         (__strsep_3c): Likewise.
60904         * string/memccpy.c (__memccpy): Likewise.
60905         * string/stpcpy.c (__stpcpy): Likewise.
60906         * string/strcmp.c (strcmp): Likewise.
60907         * string/strrchr.c (strrchr): Likewise.
60908         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
60909         Likewise.
60910         * sysdeps/mach/hurd/getcwd.c
60911         (_hurd_canonicalize_directory_name_internal): Likewise.
60912         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
60913         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
60914         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
60915         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
60916         Likewise, in both definitions.
60917         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
60918         definitions.
60919         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
60920         64] (__bswap_64): Likewise.
60921         * time/test_time.c (main): Likewise.
60922         * time/tzfile.c (__tzfile_read): Likewise.
60923         (__tzfile_compute): Likewise.
60924         * time/tzset.c (__tzset_parse_tz): Likewise.
60925         (tzset_internal): Likewise.
60926         (compute_change): Likewise.
60927         * wcsmbs/wcscat.c (__wcscat): Likewise.
60928         * wcsmbs/wcschr.c (wcschr): Likewise.
60929         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
60930         * wcsmbs/wcscspn.c (wcscspn): Likewise.
60931         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
60932         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
60933         * wcsmbs/wcsspn.c (wcsspn): Likewise.
60934         * wcsmbs/wcsstr.c (wcsstr): Likewise.
60935         * wcsmbs/wmemchr.c (wmemchr): Likewise.
60936         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60937         * wcsmbs/wmemset.c (wmemset): Likewise.
60939 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
60941         * scripts/config.guess: Update to version 2013-05-16.
60942         * scripts/config.sub: Update to version 2013-04-24.
60943         * scripts/install-sh: Update to version 2011-11-20.07.
60944         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
60945         * scripts/move-if-change: Update to version 2012-01-06 07:23.
60947 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
60949         * debug/fgetws_u_chk.c: Fix leading whitespaces.
60950         * elf/sln.c: Likewise.
60951         * hurd/hurd/ioctl.h: Likewise.
60952         * hurd/hurdmalloc.c: Likewise.
60953         * hurd/xattr.c: Likewise.
60954         * include/shlib-compat.h: Likewise.
60955         * inet/ruserpass.c: Likewise.
60956         * libio/iofgets_u.c: Likewise.
60957         * libio/iofgetws_u.c: Likewise.
60958         * locale/programs/ld-identification.c: Likewise.
60959         * locale/programs/ld-time.c: Likewise.
60960         * mach/msg-destroy.c: Likewise.
60961         * nss/nss_files/files-netgrp.c: Likewise.
60962         * resolv/res_data.c: Likewise.
60963         * soft-fp/op-1.h: Likewise.
60964         * soft-fp/op-2.h: Likewise.
60965         * soft-fp/op-4.h: Likewise.
60966         * soft-fp/op-common.h: Likewise.
60967         * stdio-common/printf_fphex.c: Likewise.
60968         * stdlib/strtod_l.c: Likewise.
60969         * sunrpc/rpc/clnt.h: Likewise.
60970         * sysdeps/generic/framestate.c: Likewise.
60971         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60972         * sysdeps/i386/bsd-setjmp.S: Likewise.
60973         * sysdeps/i386/__longjmp.S: Likewise.
60974         * sysdeps/i386/setjmp.S: Likewise.
60975         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60976         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60977         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60978         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60979         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60980         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
60981         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
60982         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
60983         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
60984         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60985         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
60986         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
60987         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
60988         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
60989         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
60990         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60991         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
60992         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
60993         * sysdeps/ieee754/support.c: Likewise.
60994         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60995         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
60996         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
60997         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
60998         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
60999         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
61000         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
61001         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
61002         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
61003         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
61004         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
61005         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
61006         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
61007         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
61008         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
61009         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
61010         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
61013 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
61015         * posix/transbug.c: Remove executable mode.
61017 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
61019         * crypt/speeds.c: Remove trailing whitespace.
61020         * dlfcn/default.c: Likewise.
61021         * elf/ifuncdep2.c: Likewise.
61022         * elf/ifuncmain1.c: Likewise.
61023         * elf/ifuncmain1vis.c: Likewise.
61024         * elf/testobj.h: Likewise.
61025         * elf/tst-stackguard1.c: Likewise.
61026         * gmon/sys/gmon.h: Likewise.
61027         * hurd/hurdmsg.c: Likewise.
61028         * hurd/new-fd.c: Likewise.
61029         * hurd/ports-get.c: Likewise.
61030         * iconvdata/ibm1008_420.c: Likewise.
61031         * inet/tst-getni1.c: Likewise.
61032         * inet/tst-getni2.c: Likewise.
61033         * libio/ioungetc.c: Likewise.
61034         * libio/wfiledoalloc.c: Likewise.
61035         * manual/libm-err-tab.pl: Likewise.
61036         * math/w_dremf.c: Likewise.
61037         * misc/ftruncate.c: Likewise.
61038         * posix/bug-glob2.c: Likewise.
61039         * posix/tst-pcre.c: Likewise.
61040         * posix/wait4.c: Likewise.
61041         * resolv/README: Likewise.
61042         * resolv/res_debug.h: Likewise.
61043         * resolv/tst-inet_ntop.c: Likewise.
61044         * setjmp/bug269-setjmp.c: Likewise.
61045         * soft-fp/extended.h: Likewise.
61046         * soft-fp/op-1.h: Likewise.
61047         * soft-fp/op-2.h: Likewise.
61048         * soft-fp/op-4.h: Likewise.
61049         * soft-fp/op-8.h: Likewise.
61050         * soft-fp/testit.c: Likewise.
61051         * stdio-common/bug16.c: Likewise.
61052         * stdlib/random.c: Likewise.
61053         * sunrpc/rpcsvc/rquota.x: Likewise.
61054         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
61055         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61056         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61057         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61058         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61059         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61060         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61061         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61062         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61063         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61064         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61065         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61066         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61067         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61068         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61069         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61070         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61071         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61072         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61073         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61074         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61075         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61076         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
61077         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61078         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61079         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61080         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61081         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61082         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61083         * sysdeps/ieee754/s_lib_version.c: Likewise.
61084         * sysdeps/mach/hurd/check_fds.c: Likewise.
61085         * sysdeps/mach/hurd/getsockname.c: Likewise.
61086         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
61087         * sysdeps/mach/hurd/recvfrom.c: Likewise.
61088         * sysdeps/powerpc/bits/link.h: Likewise.
61089         * sysdeps/powerpc/dl-procinfo.c: Likewise.
61090         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
61091         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
61092         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
61093         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61094         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61095         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
61096         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61097         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
61098         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
61099         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
61100         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61101         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
61102         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
61103         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
61104         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
61105         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61106         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61107         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
61108         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61109         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61110         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
61111         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61112         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
61113         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
61114         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61115         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61116         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61117         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61118         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61119         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61120         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61121         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61122         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61123         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
61124         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61125         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
61126         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61127         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
61128         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
61129         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
61130         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
61131         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
61132         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
61133         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61134         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
61135         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
61136         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61137         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
61138         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
61139         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61140         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61141         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61142         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61143         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
61144         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
61145         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
61146         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61147         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
61148         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
61149         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
61150         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
61151         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
61152         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61153         * sysdeps/powerpc/sysdep.h: Likewise.
61154         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61155         * sysdeps/s390/s390-64/sub_n.S: Likewise.
61156         * sysdeps/sh/dl-trampoline.S: Likewise.
61157         * sysdeps/sh/memset.S: Likewise.
61158         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
61159         * sysdeps/sh/strlen.S: Likewise.
61160         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
61161         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
61162         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
61163         * sysdeps/sparc/sparc32/rem.S: Likewise.
61164         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
61165         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
61166         * sysdeps/sparc/sparc32/strchr.S: Likewise.
61167         * sysdeps/sparc/sparc32/udiv.S: Likewise.
61168         * sysdeps/sparc/sparc32/urem.S: Likewise.
61169         * sysdeps/sparc/sparc64/add_n.S: Likewise.
61170         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61171         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
61172         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
61173         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
61174         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
61175         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
61176         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
61177         * sysdeps/unix/bsd/times.c: Likewise.
61178         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
61179         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
61180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
61181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
61182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
61183         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
61184         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61185         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
61186         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
61187         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
61188         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
61189         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
61190         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
61191         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61192         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
61193         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
61194         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
61195         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
61196         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
61197         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
61198         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
61199         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
61200         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61201         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
61202         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
61203         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
61204         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
61205         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61206         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
61207         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
61208         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
61209         * sysdeps/x86_64/strcspn.S: Likewise.
61211 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61213         * locale/C-translit.h: Revert #include <stdint.h> because this is a
61214         generated file.  Regenerate properly from gen-translit.pl.
61215         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
61216         locale/C-translit.h.
61218 2013-06-05  Andreas Schwab  <schwab@suse.de>
61220         [BZ #15100]
61221         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
61222         week as 6 instead of -1.
61223         * time/tst-strptime.c (day_tests): Add test case.
61225 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61227         * sysdeps/generic/math_private.h
61228         (libc_feholdexcept_setround_53bit): Replace with
61229         libc_feholdsetround_53bit.
61230         (libc_feupdateenv_53bit): Replace with
61231         libc_feresetround_53bit.
61232         (SET_RESTORE_ROUND_53BIT): Adjust.
61234 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61236         * string/test-strchrnul.c: Add copyright header.
61238         * posix/tst-getaddrinfo4.c: Increase test timeout.
61240 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
61242         [BZ #15536]
61243         * math/libm-test.inc (MAX_EXP): Remove
61244         (MIN_EXP): Define.
61245         (ulp): Use MIN_EXP - MANT_DIG.
61246         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
61248 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
61250         * po/be.po: Revert last change.
61251         * po/zh_CN.po: Likewise.
61252         * po/header.pot: Likewise.
61254 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
61256         * Makefile ($(common-objpfx)linkobj/libc.so): Define
61257         link-libc-deps to empty as target-specific variable.
61258         * Makerules (link-libc-args): New variable.
61259         (libc-for-link): Likewise.
61260         (link-libc-deps): Likewise.
61261         (lib%.so): Depend on $(link-libc-deps).  Link with
61262         $(link-libc-args).
61263         (build-module): Link with $(link-libc-args).
61264         (build-module-asneeded): Likewise.
61265         (build-module-helper-objlist): Filter out $(link-libc-deps) from
61266         list of objects.
61267         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
61268         target-specific variable.
61269         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
61270         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
61271         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
61272         libc.
61273         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
61274         libc and ld.so.
61275         ($(objpfx)libpcprofile.so): Likewise.
61276         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
61277         libc_nonshared.a.
61278         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
61279         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
61280         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
61281         $(link-libc-deps).
61282         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
61283         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
61284         * login/Makefile ($(objpfx)libutil.so): Likewise.
61285         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
61286         * math/Makefile ($(objpfx)libm.so): Likewise.
61287         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
61288         $(objpfx)libnsl.so): Define libc-for-link as target-specific
61289         variable instead of depending directly on libc.
61290         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
61291         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
61292         $(link-libc-deps).
61293         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
61294         libc.
61295         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
61296         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
61297         ($(objpfx)libanl.so): Likewise.
61298         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
61299         ld.so.
61300         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
61301         $(link-libc-deps).
61302         * sysdeps/i386/fpu/Makefile: Remove file.
61303         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
61304         ($(objpfx)libm.so): Remove dependency on ld.so.
61306 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
61308         [BZ # 15553]
61309         * nis/yp_xdr.c (XDRMAXNAME): Define.
61310         (XDRMAXRECORD): Define.
61311         (xdr_domainname): Use XDRMAXNAME.
61312         (xdr_mapname): Likewise.
61313         (xdr_peername): Likewise.
61314         (xdr_keydat): Use XDRMAXRECORD.
61315         (xdr_valdat): Likewise.
61317 2013-05-30  Jeff Law  <law@redhat.com>
61319         [BZ #14256]
61320         * manual/errno.texi (ESTALE): Update to account for more than
61321         just NFS file systems.
61322         * sysdeps/gnu/errlist.c: Regenerated.
61324 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61326         [BZ #15465]
61327         * elf/Makefile (tests): Add tst-null-argv.
61328         (modules-names):  Add tst-null-argv-lib.
61329         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
61330         (tst-null-argv-ENV): Set environment for tst-null-argv.
61331         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
61332         (RTLD_PROGNAME): New macro.
61333         * elf/tst-null-argv.c: New test case.
61334         * elf/tst-null-argv-lib.c: Library for test case.
61335         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
61336         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
61337         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
61338         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
61339         * elf/dl-init.c (call_init): Likewise.
61340         (_dl_init): Likewise.
61341         * elf/dl-load.c (print_search_path): Likewise.
61342         (_dl_map_object): Likewise.
61343         * elf/dl-lookup.c (do_lookup_x): Likewise.
61344         (add_dependency): Likewise.
61345         (_dl_lookup_symbol_x): Likewise.
61346         (_dl_debug_bindings): Likewise.
61347         * elf/dl-open.c (_dl_show_scope): Likewise.
61348         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
61349         * elf/dl-version.c (match_symbol): Likewise.
61350         (_dl_check_map_versions): Likewise.
61351         * elf/rtld.c (dl_main): Likewise.
61352         (print_unresolved): Use RTLD_PROGNAME.
61353         (print_missing_version): Likewise.
61354         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
61355         (elf_machine_rela): Likewise.
61356         * sysdeps/powerpc/powerpc32/dl-machine.c
61357         (__process_machine_rela): Likewise.
61358         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61359         Likewise.
61360         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61361         Likewise.
61362         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
61363         Likewise.
61364         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61365         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
61366         Likewise.
61367         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
61368         Likewise.
61369         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61371 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
61373         * po/be.po: Add descriptive title.
61374         * po/zh_CN.po: Likewise.
61375         * po/header.pot: Likewise.
61377 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
61379         * locale/programs/locarchive.c (create_archive): Inlucde fname in
61380         error message.
61381         (enlarge_archive): Likewise.
61383 2013-05-28  Ben North  <ben@redfrontdoor.org>
61385         * manual/arith.texi (frexp): It is the magnitude of the return
61386         value which lies in [0.5, 1), not the return value itself.
61388 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61392 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
61394         * stdio-common/bug26.c (main): Correct fscanf template.
61396         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
61397         declare _dl_skip_args.
61399         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
61400         Don't declare.
61402         * manual/platform.texi: Add missing @end deftypefun.
61404 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
61406         [BZ #15529]
61407         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
61408         bit of mantissa of 2^16382.
61409         * math/libm-test.inc (hypot_test_data): Add more tests.
61411         * math/libm-test.inc: Add drem and pow10 to list of tested
61412         functions.
61413         (pow10_test): New function.
61414         (drem_test): Likewise.
61415         (drem_test_tonearest): Likewise.
61416         (drem_test_towardzero): Likewise.
61417         (drem_test_downward): Likewise.
61418         (drem_test_upward): Likewise.
61419         (main): Call the new functions.
61421         * math/libm-test.inc (finite_test_data): Remove.
61422         (finite_test): Run tests from isfinite_test_data.
61423         (gamma_test_data): Remove.
61424         (gamma_test): Run tests from lgamma_test_data.
61425         * sysdeps/i386/fpu/libm-test-ulps: Update.
61426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61428 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61430         * manual/platform.texi: Add PowerPC PPR function set documentation.
61431         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
61432         implementation.
61434 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
61436         * math/libm-test.inc (MAX_EXP): Define.
61437         (ULPDIFF): Define.
61438         (ulp): New function.
61439         (check_float_internal): Use ULPDIFF.
61440         (cpow_test): Disable failing test.
61441         (check_ulp): Test ulp() implementation.
61442         (main): Call check_ulp before starting tests.
61444 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
61446         * math/gen-libm-test.pl (generate_testfile): Do not handle
61447         START_DATA and END_DATA.
61448         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
61449         END_DATA.
61450         (acos_tonearest_test_data): Likewise.
61451         (acos_towardzero_test_data): Likewise.
61452         (acos_downward_test_data): Likewise.
61453         (acos_upward_test_data): Likewise.
61454         (acosh_test_data): Likewise.
61455         (asin_test_data): Likewise.
61456         (asin_tonearest_test_data): Likewise.
61457         (asin_towardzero_test_data): Likewise.
61458         (asin_downward_test_data): Likewise.
61459         (asin_upward_test_data): Likewise.
61460         (asinh_test_data): Likewise.
61461         (atan_test_data): Likewise.
61462         (atanh_test_data): Likewise.
61463         (atan2_test_data): Likewise.
61464         (cabs_test_data): Likewise.
61465         (cacos_test_data): Likewise.
61466         (cacosh_test_data): Likewise.
61467         (carg_test_data): Likewise.
61468         (casin_test_data): Likewise.
61469         (casinh_test_data): Likewise.
61470         (catan_test_data): Likewise.
61471         (catanh_test_data): Likewise.
61472         (cbrt_test_data): Likewise.
61473         (ccos_test_data): Likewise.
61474         (ccosh_test_data): Likewise.
61475         (ceil_test_data): Likewise.
61476         (cexp_test_data): Likewise.
61477         (cimag_test_data): Likewise.
61478         (clog_test_data): Likewise.
61479         (clog10_test_data): Likewise.
61480         (conj_test_data): Likewise.
61481         (copysign_test_data): Likewise.
61482         (cos_test_data): Likewise.
61483         (cos_tonearest_test_data): Likewise.
61484         (cos_towardzero_test_data): Likewise.
61485         (cos_downward_test_data): Likewise.
61486         (cos_upward_test_data): Likewise.
61487         (cosh_test_data): Likewise.
61488         (cosh_tonearest_test_data): Likewise.
61489         (cosh_towardzero_test_data): Likewise.
61490         (cosh_downward_test_data): Likewise.
61491         (cosh_upward_test_data): Likewise.
61492         (cpow_test_data): Likewise.
61493         (cproj_test_data): Likewise.
61494         (creal_test_data): Likewise.
61495         (csin_test_data): Likewise.
61496         (csinh_test_data): Likewise.
61497         (csqrt_test_data): Likewise.
61498         (ctan_test_data): Likewise.
61499         (ctan_tonearest_test_data): Likewise.
61500         (ctan_towardzero_test_data): Likewise.
61501         (ctan_downward_test_data): Likewise.
61502         (ctan_upward_test_data): Likewise.
61503         (ctanh_test_data): Likewise.
61504         (ctanh_tonearest_test_data): Likewise.
61505         (ctanh_towardzero_test_data): Likewise.
61506         (ctanh_downward_test_data): Likewise.
61507         (ctanh_upward_test_data): Likewise.
61508         (erf_test_data): Likewise.
61509         (erfc_test_data): Likewise.
61510         (exp_test_data): Likewise.
61511         (exp_tonearest_test_data): Likewise.
61512         (exp_towardzero_test_data): Likewise.
61513         (exp_downward_test_data): Likewise.
61514         (exp_upward_test_data): Likewise.
61515         (exp10_test_data): Likewise.
61516         (exp2_test_data): Likewise.
61517         (expm1_test_data): Likewise.
61518         (fabs_test_data): Likewise.
61519         (fdim_test_data): Likewise.
61520         (finite_test_data): Likewise.
61521         (floor_test_data): Likewise.
61522         (fma_test_data): Likewise.
61523         (fma_towardzero_test_data): Likewise.
61524         (fma_downward_test_data): Likewise.
61525         (fma_upward_test_data): Likewise.
61526         (fmax_test_data): Likewise.
61527         (fmin_test_data): Likewise.
61528         (fmod_test_data): Likewise.
61529         (fpclassify_test_data): Likewise.
61530         (frexp_test_data): Likewise.
61531         (gamma_test_data): Likewise.
61532         (hypot_test_data): Likewise.
61533         (ilogb_test_data): Likewise.
61534         (isfinite_test_data): Likewise.
61535         (isgreater_test_data): Likewise.
61536         (isgreaterequal_test_data): Likewise.
61537         (isinf_test_data): Likewise.
61538         (isless_test_data): Likewise.
61539         (islessequal_test_data): Likewise.
61540         (islessgreater_test_data): Likewise.
61541         (isnan_test_data): Likewise.
61542         (isnormal_test_data): Likewise.
61543         (issignaling_test_data): Likewise.
61544         (isunordered_test_data): Likewise.
61545         (j0_test_data): Likewise.
61546         (j1_test_data): Likewise.
61547         (jn_test_data): Likewise.
61548         (ldexp_test_data): Likewise.
61549         (lgamma_test_data): Likewise.
61550         (lrint_test_data): Likewise.
61551         (lrint_tonearest_test_data): Likewise.
61552         (lrint_towardzero_test_data): Likewise.
61553         (lrint_downward_test_data): Likewise.
61554         (lrint_upward_test_data): Likewise.
61555         (llrint_test_data): Likewise.
61556         (llrint_tonearest_test_data): Likewise.
61557         (llrint_towardzero_test_data): Likewise.
61558         (llrint_downward_test_data): Likewise.
61559         (llrint_upward_test_data): Likewise.
61560         (log_test_data): Likewise.
61561         (log10_test_data): Likewise.
61562         (log1p_test_data): Likewise.
61563         (log2_test_data): Likewise.
61564         (logb_test_data): Likewise.
61565         (logb_downward_test_data): Likewise.
61566         (lround_test_data): Likewise.
61567         (llround_test_data): Likewise.
61568         (modf_test_data): Likewise.
61569         (nearbyint_test_data): Likewise.
61570         (nextafter_test_data): Likewise.
61571         (nexttoward_test_data): Likewise.
61572         (pow_test_data): Likewise.
61573         (pow_tonearest_test_data): Likewise.
61574         (pow_towardzero_test_data): Likewise.
61575         (pow_downward_test_data): Likewise.
61576         (pow_upward_test_data): Likewise.
61577         (remainder_test_data): Likewise.
61578         (remainder_tonearest_test_data): Likewise.
61579         (remainder_towardzero_test_data): Likewise.
61580         (remainder_downward_test_data): Likewise.
61581         (remainder_upward_test_data): Likewise.
61582         (remquo_test_data): Likewise.
61583         (rint_test_data): Likewise.
61584         (rint_tonearest_test_data): Likewise.
61585         (rint_towardzero_test_data): Likewise.
61586         (rint_downward_test_data): Likewise.
61587         (rint_upward_test_data): Likewise.
61588         (round_test_data): Likewise.
61589         (scalb_test_data): Likewise.
61590         (scalbn_test_data): Likewise.
61591         (scalbln_test_data): Likewise.
61592         (signbit_test_data): Likewise.
61593         (sin_test_data): Likewise.
61594         (sin_tonearest_test_data): Likewise.
61595         (sin_towardzero_test_data): Likewise.
61596         (sin_downward_test_data): Likewise.
61597         (sin_upward_test_data): Likewise.
61598         (sincos_test_data): Likewise.
61599         (sinh_test_data): Likewise.
61600         (sinh_tonearest_test_data): Likewise.
61601         (sinh_towardzero_test_data): Likewise.
61602         (sinh_downward_test_data): Likewise.
61603         (sinh_upward_test_data): Likewise.
61604         (sqrt_test_data): Likewise.
61605         (tan_test_data): Likewise.
61606         (tan_tonearest_test_data): Likewise.
61607         (tan_towardzero_test_data): Likewise.
61608         (tan_downward_test_data): Likewise.
61609         (tan_upward_test_data): Likewise.
61610         (tanh_test_data): Likewise.
61611         (tgamma_test_data): Likewise.
61612         (trunc_test_data): Likewise.
61613         (y0_test_data): Likewise.
61614         (y1_test_data): Likewise.
61615         (yn_test_data): Likewise.
61616         (significand_test_data): Likewise.
61618         * math/gen-libm-test.pl (@functions): Remove variable.
61619         (generate_testfile): Don't handle START and END lines.
61620         * math/libm-test.inc (START): New macro.
61621         (END): Likewise.
61622         (END_COMPLEX): Likewise.
61623         (acos_test): Use END macro without arguments.
61624         (acos_test_tonearest): Likewise.
61625         (acos_test_towardzero): Likewise.
61626         (acos_test_downward): Likewise.
61627         (acos_test_upward): Likewise.
61628         (acosh_test): Likewise.
61629         (asin_test): Likewise.
61630         (asin_test_tonearest): Likewise.
61631         (asin_test_towardzero): Likewise.
61632         (asin_test_downward): Likewise.
61633         (asin_test_upward): Likewise.
61634         (asinh_test): Likewise.
61635         (atan_test): Likewise.
61636         (atanh_test): Likewise.
61637         (atan2_test): Likewise.
61638         (cabs_test): Likewise.
61639         (cacos_test): Use END_COMPLEX macro without arguments.
61640         (cacosh_test): Likewise.
61641         (carg_test): Use END macro without arguments.
61642         (casin_test): Use END_COMPLEX macro without arguments.
61643         (casinh_test): Likewise.
61644         (catan_test): Likewise.
61645         (catanh_test): Likewise.
61646         (cbrt_test): Use END macro without arguments.
61647         (ccos_test): Use END_COMPLEX macro without arguments.
61648         (ccosh_test): Likewise.
61649         (ceil_test): Use END macro without arguments.
61650         (cexp_test): Use END_COMPLEX macro without arguments.
61651         (cimag_test): Use END macro without arguments.
61652         (clog_test): Use END_COMPLEX macro without arguments.
61653         (clog10_test): Likewise.
61654         (conj_test): Likewise.
61655         (copysign_test): Use END macro without arguments.
61656         (cos_test): Likewise.
61657         (cos_test_tonearest): Likewise.
61658         (cos_test_towardzero): Likewise.
61659         (cos_test_downward): Likewise.
61660         (cos_test_upward): Likewise.
61661         (cosh_test): Likewise.
61662         (cosh_test_tonearest): Likewise.
61663         (cosh_test_towardzero): Likewise.
61664         (cosh_test_downward): Likewise.
61665         (cosh_test_upward): Likewise.
61666         (cpow_test): Use END_COMPLEX macro without arguments.
61667         (cproj_test): Likewise.
61668         (creal_test): Use END macro without arguments.
61669         (csin_test): Use END_COMPLEX macro without arguments.
61670         (csinh_test): Likewise.
61671         (csqrt_test): Likewise.
61672         (ctan_test): Likewise.
61673         (ctan_test_tonearest): Likewise.
61674         (ctan_test_towardzero): Likewise.
61675         (ctan_test_downward): Likewise.
61676         (ctan_test_upward): Likewise.
61677         (ctanh_test): Likewise.
61678         (ctanh_test_tonearest): Likewise.
61679         (ctanh_test_towardzero): Likewise.
61680         (ctanh_test_downward): Likewise.
61681         (ctanh_test_upward): Likewise.
61682         (erf_test): Use END macro without arguments.
61683         (erfc_test): Likewise.
61684         (exp_test): Likewise.
61685         (exp_test_tonearest): Likewise.
61686         (exp_test_towardzero): Likewise.
61687         (exp_test_downward): Likewise.
61688         (exp_test_upward): Likewise.
61689         (exp10_test): Likewise.
61690         (exp2_test): Likewise.
61691         (expm1_test): Likewise.
61692         (fabs_test): Likewise.
61693         (fdim_test): Likewise.
61694         (finite_test): Likewise.
61695         (floor_test): Likewise.
61696         (fma_test): Likewise.
61697         (fma_test_towardzero): Likewise.
61698         (fma_test_downward): Likewise.
61699         (fma_test_upward): Likewise.
61700         (fmax_test): Likewise.
61701         (fmin_test): Likewise.
61702         (fmod_test): Likewise.
61703         (fpclassify_test): Likewise.
61704         (frexp_test): Likewise.
61705         (gamma_test): Likewise.
61706         (hypot_test): Likewise.
61707         (ilogb_test): Likewise.
61708         (isfinite_test): Likewise.
61709         (isgreater_test): Likewise.
61710         (isgreaterequal_test): Likewise.
61711         (isinf_test): Likewise.
61712         (isless_test): Likewise.
61713         (islessequal_test): Likewise.
61714         (islessgreater_test): Likewise.
61715         (isnan_test): Likewise.
61716         (isnormal_test): Likewise.
61717         (issignaling_test): Likewise.
61718         (isunordered_test): Likewise.
61719         (j0_test): Likewise.
61720         (j1_test): Likewise.
61721         (jn_test): Likewise.
61722         (ldexp_test): Likewise.
61723         (lgamma_test): Likewise.
61724         (lrint_test): Likewise.
61725         (lrint_test_tonearest): Likewise.
61726         (lrint_test_towardzero): Likewise.
61727         (lrint_test_downward): Likewise.
61728         (lrint_test_upward): Likewise.
61729         (llrint_test): Likewise.
61730         (llrint_test_tonearest): Likewise.
61731         (llrint_test_towardzero): Likewise.
61732         (llrint_test_downward): Likewise.
61733         (llrint_test_upward): Likewise.
61734         (log_test): Likewise.
61735         (log10_test): Likewise.
61736         (log1p_test): Likewise.
61737         (log2_test): Likewise.
61738         (logb_test): Likewise.
61739         (logb_test_downward): Likewise.
61740         (lround_test): Likewise.
61741         (llround_test): Likewise.
61742         (modf_test): Likewise.
61743         (nearbyint_test): Likewise.
61744         (nextafter_test): Likewise.
61745         (nexttoward_test): Likewise.
61746         (pow_test): Likewise.
61747         (pow_test_tonearest): Likewise.
61748         (pow_test_towardzero): Likewise.
61749         (pow_test_downward): Likewise.
61750         (pow_test_upward): Likewise.
61751         (remainder_test): Likewise.
61752         (remainder_test_tonearest): Likewise.
61753         (remainder_test_towardzero): Likewise.
61754         (remainder_test_downward): Likewise.
61755         (remainder_test_upward): Likewise.
61756         (remquo_test): Likewise.
61757         (rint_test): Likewise.
61758         (rint_test_tonearest): Likewise.
61759         (rint_test_towardzero): Likewise.
61760         (rint_test_downward): Likewise.
61761         (rint_test_upward): Likewise.
61762         (round_test): Likewise.
61763         (scalb_test): Likewise.
61764         (scalbn_test): Likewise.
61765         (scalbln_test): Likewise.
61766         (signbit_test): Likewise.
61767         (sin_test): Likewise.
61768         (sin_test_tonearest): Likewise.
61769         (sin_test_towardzero): Likewise.
61770         (sin_test_downward): Likewise.
61771         (sin_test_upward): Likewise.
61772         (sincos_test): Likewise.
61773         (sinh_test): Likewise.
61774         (sinh_test_tonearest): Likewise.
61775         (sinh_test_towardzero): Likewise.
61776         (sinh_test_downward): Likewise.
61777         (sinh_test_upward): Likewise.
61778         (sqrt_test): Likewise.
61779         (tan_test): Likewise.
61780         (tan_test_tonearest): Likewise.
61781         (tan_test_towardzero): Likewise.
61782         (tan_test_downward): Likewise.
61783         (tan_test_upward): Likewise.
61784         (tanh_test): Likewise.
61785         (tgamma_test): Likewise.
61786         (trunc_test): Likewise.
61787         (y0_test): Likewise.
61788         (y1_test): Likewise.
61789         (yn_test): Likewise.
61790         (significand_test): Likewise.
61792 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
61794         [BZ #15381]
61795         * libio/genops.c (_IO_no_init): Initialize wide struct info.
61797 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61799         [BZ #14894]
61800         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
61801         __ppc_mdoio and __ppc_mdoom.
61802         * manual/platform.texi: Document new functions __ppc_yield,
61803         __ppc_mdoio and __ppc_mdoom.
61805 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
61807         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
61808         (main): Mention "tls" pseudo-hwcap is legacy.
61809         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
61811 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
61813         * math/gen-libm-test.pl (parse_args): Output only string of
61814         arguments as text for test name, not full call or descriptions of
61815         tests for extra outputs.
61816         (generate_testfile): Do not pass function name to parse_args.
61817         Generate this_func variable from START.
61818         * math/libm-test.inc (struct test_f_f_data): Rename test_name
61819         field to arg_str.
61820         (struct test_ff_f_data): Likewise.
61821         (test_ff_f_data_nexttoward): Likewise.
61822         (struct test_fi_f_data): Likewise.
61823         (struct test_fl_f_data): Likewise.
61824         (struct test_if_f_data): Likewise.
61825         (struct test_fff_f_data): Likewise.
61826         (struct test_c_f_data): Likewise.
61827         (struct test_f_f1_data): Likewise.  Remove field extra_name.
61828         (struct test_fF_f1_data): Likewise.
61829         (struct test_ffI_f1_data): Likewise.
61830         (struct test_c_c_data): Rename test_name field to arg_str.
61831         (struct test_cc_c_data): Likewise.
61832         (struct test_f_i_data): Likewise.
61833         (struct test_ff_i_data): Likewise.
61834         (struct test_f_l_data): Likewise.
61835         (struct test_f_L_data): Likewise.
61836         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
61837         and extra2_name.
61838         (COMMON_TEST_SETUP): New macro.
61839         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
61840         (COMMON_TEST_CLEANUP): Likewise.
61841         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
61842         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
61843         macros.
61844         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
61845         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
61846         macros.
61847         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
61848         (RUN_TEST_fff_f): Take argument string.  Call new setup and
61849         cleanup macros.
61850         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
61851         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
61852         macros.
61853         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
61854         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
61855         macros.
61856         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
61857         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
61858         cleanup macros.
61859         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
61860         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
61861         cleanup macros.
61862         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
61863         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
61864         cleanup macros.
61865         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
61866         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
61867         macros.
61868         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
61869         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
61870         macros.
61871         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
61872         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
61873         macros.
61874         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
61875         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
61876         cleanup macros.
61877         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
61878         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
61879         cleanup macros.
61880         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
61881         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
61882         macros.
61883         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
61884         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
61885         cleanup macros.
61886         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
61887         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
61888         macros.
61889         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
61890         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
61891         macros.
61892         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
61893         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
61894         cleanup macros.
61895         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
61897 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
61899         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
61900         to _sifields.sigfault.
61901         (si_addr_lsb): Define new macro.
61902         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61903         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61904         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
61906 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
61908         [BZ #15441]
61909         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
61910         returns -1.
61911         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
61912         null return -1.
61913         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
61914         loading the domain.
61916 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
61918         * math/gen-libm-test.pl (parse_args): Do not include expected
61919         result in test name.
61920         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
61921         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61922         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61923         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61924         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61927 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61929         * benchtests/Makefile: Sort function entries.
61931         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
61932         tanh, asinh, acosh, atanh.
61933         * benchtests/acos-inputs: New file.
61934         * benchtests/acosh-inputs: New file.
61935         * benchtests/asin-inputs: New file.
61936         * benchtests/asinh-inputs: New file.
61937         * benchtests/atanh-inputs: New file.
61938         * benchtests/cosh-inputs: New file.
61939         * benchtests/log-inputs: New file.
61940         * benchtests/sinh-inputs: New file.
61941         * benchtests/tanh-inputs: New file.
61943 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
61945         [BZ #15339]
61946         * posix/tst-getaddrinfo4.c: New test.
61947         * posix/Makefile (tests): Add it.
61949 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61951         [BZ #15339]
61952         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
61953         when no services were used.
61954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
61955         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
61957 2013-05-21  Andreas Schwab  <schwab@suse.de>
61959         [BZ #15014]
61960         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
61961         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
61962         successful.
61963         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
61964         redundant variable declarations and reallocation of buffer when
61965         parsing as IPv6 address.  Always set NSS status when called from
61966         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
61967         buffer too small.  Correct computation of needed size.
61968         * nss/Makefile (tests): Add test-digits-dots.
61969         * nss/test-digits-dots.c: New test.
61971 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61973         * benchtests/Makefile: Remove instructions for adding
61974         benchmark tests.
61975         * benchtests/README: New file to explain how to execute and
61976         enhance the benchmark tests.
61978 2013-05-21  Andreas Schwab  <schwab@suse.de>
61980         [BZ #15493]
61981         * setjmp/Makefile (tests): Add tst-sigsetjmp.
61982         * setjmp/tst-sigsetjmp.c: New test.
61984 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
61986         * sysdeps/x86_64/memset.S (memset): New implementation.
61987         (__bzero): Likewise.
61988         (__memset_tail): New function.
61990 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
61992         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
61993         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
61994         __memcpy_sse2_unaligned ifunc selection.
61995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61996         Add memcpy-sse2-unaligned.S.
61997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61998         Add: __memcpy_sse2_unaligned.
62000 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
62002         [BZ #15490]
62003         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62004         math_force_eval before restoring floating-point envrionment.
62005         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
62006         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
62007         Likewise.
62008         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
62009         <math_private.h>.
62010         (__nearbyintl): Use math_force_eval before restoring
62011         floating-point environment.
62012         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
62014         * math/gen-libm-test.pl (special_functions): Remove.
62015         (parse_args): Don't handle TEST_extra.  Handle functions with no
62016         return value.
62017         * math/libm-test.inc (struct test_sincos_data): Replace with
62018         struct test_fFF_11_data.
62019         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
62020         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
62021         (sincos_test_data): Change element type to struct
62022         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
62023         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
62024         RUN_TEST_LOOP_sincos.
62025         * math/README.libm-test: Don't mention special handling of
62026         individual functions.
62027         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
62028         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62029         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62030         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62031         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62034         * math/gen-libm-test.pl (get_variable): Remove function.
62035         (parse_args): Don't show pointer parameters to call in test
62036         names.  Use "extra output N" in test names for extra outputs
62037         rather than naming variables.
62039 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
62041         [BZ #15488]
62042         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
62043         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
62044         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
62045         double tests.
62046         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
62047         disable.
62048         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
62049         check_long_double.
62051         * math/gen-libm-test.pl (@tests): Remove variable.
62052         ($count): Likewise.
62053         (new_test): Remove function.
62054         (show_exceptions): New function.
62055         (special_functions): Use show_exceptions instead of new_test.
62056         (parse_args): Likewise.
62057         (generate_testfile): Pass only function name in generated call to
62058         print_max_error or print_complex_max_error.
62059         (get_ulps): Do not handle complex tests specially.
62060         (output_test): Rename to ...
62061         (get_all_ulps_for_test): ... this.  Return a string rather than
62062         printing to a file.  Require ulps to be present.
62063         (output_ulps): Generate arrays rather than #defines.
62064         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
62065         (struct ulp_data): New type.
62066         (BUILD_COMPLEX_ULP): Remove macro.
62067         (compare_ulp_data): New function.
62068         (find_ulps): Likewise.
62069         (find_test_ulps): Likewise.
62070         (find_function_ulps): Likewise.
62071         (find_complex_function_ulps): Likewise.
62072         (print_max_error): Determine allowed ulps using
62073         find_function_ulps.
62074         (print_complex_max_error): Determine allowed ulps using
62075         find_complex_function_ulps.
62076         (check_float_internal): Determine max ulps using find_test_ulps.
62077         (check_float): Do not take max_ulp parameter.  Update call to
62078         check_float_internal.
62079         (check_complex): Likewise.
62080         (check_int): Do not take max_ulp parameter.
62081         (check_long): Likewise.
62082         (check_bool): Likewise.
62083         (check_longlong): Likewise.
62084         (struct test_f_f_data): Remove max_ulp field.
62085         (struct test_ff_f_data): Likewise.
62086         (struct test_ff_f_data_nexttoward): Likewise.
62087         (struct test_fi_f_data): Likewise.
62088         (struct test_fl_f_data): Likewise.
62089         (struct test_if_f_data): Likewise.
62090         (struct test_fff_f_data): Likewise.
62091         (struct test_c_f_data): Likewise.
62092         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
62093         (struct test_fF_f1_data): Likewise.
62094         (struct test_ffI_f1_data): Likewise.
62095         (struct test_c_c_data): Remove max_ulp field.
62096         (struct test_cc_c_data): Likewise.
62097         (struct test_f_i_data): Likewise.
62098         (struct test_ff_i_data): Likewise.
62099         (struct test_f_l_data): Likewise.
62100         (struct test_f_L_data): Likewise.
62101         (struct test_sincos_data): Likewise.
62102         (RUN_TEST_f_f): Do not handle ulps.
62103         (RUN_TEST_LOOP_f_f): Likewise.
62104         (RUN_TEST_2_f): Likewise.
62105         (RUN_TEST_LOOP_2_f): Likewise.
62106         (RUN_TEST_fff_f): Likewise.
62107         (RUN_TEST_LOOP_fff_f): Likewise.
62108         (RUN_TEST_c_f): Likewise.
62109         (RUN_TEST_LOOP_c_f): Likewise.
62110         (RUN_TEST_f_f1): Likewise.
62111         (RUN_TEST_LOOP_f_f1): Likewise.
62112         (RUN_TEST_fF_f1): Likewise.
62113         (RUN_TEST_LOOP_fF_f1): Likewise.
62114         (RUN_TEST_fI_f1): Likewise.
62115         (RUN_TEST_LOOP_fI_f1): Likewise.
62116         (RUN_TEST_ffI_f1): Likewise.
62117         (RUN_TEST_LOOP_ffI_f1): Likewise.
62118         (RUN_TEST_c_c): Likewise.
62119         (RUN_TEST_LOOP_c_c): Likewise.
62120         (RUN_TEST_cc_c): Likewise.
62121         (RUN_TEST_LOOP_cc_c): Likewise.
62122         (RUN_TEST_f_i): Likewise.
62123         (RUN_TEST_LOOP_f_i): Likewise.
62124         (RUN_TEST_f_i_tg): Likewise.
62125         (RUN_TEST_LOOP_f_i_tg): Likewise.
62126         (RUN_TEST_ff_i_tg): Likewise.
62127         (RUN_TEST_LOOP_ff_i_tg): Likewise.
62128         (RUN_TEST_f_b): Likewise.
62129         (RUN_TEST_LOOP_f_b): Likewise.
62130         (RUN_TEST_f_b_tg): Likewise.
62131         (RUN_TEST_LOOP_f_b_tg): Likewise.
62132         (RUN_TEST_f_l): Likewise.
62133         (RUN_TEST_LOOP_f_l): Likewise.
62134         (RUN_TEST_f_L): Likewise.
62135         (RUN_TEST_LOOP_f_L): Likewise.
62136         (RUN_TEST_sincos): Likewise.
62137         (RUN_TEST_LOOP_sincos): Likewise.
62139 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
62141         [BZ #15480]
62142         [BZ #15485]
62143         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
62144         main case of finite arguments, set rounding mode to FE_TONEAREST
62145         and discard exceptions.
62146         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
62147         exceptions.
62148         (remainder_tonearest_test_data): New variable.
62149         (remainder_test_tonearest): New function.
62150         (remainder_towardzero_test_data): New variable.
62151         (remainder_test_towardzero): New function.
62152         (remainder_downward_test_data): New variable.
62153         (remainder_test_downward): New function.
62154         (remainder_upward_test_data): New variable.
62155         (remainder_test_upward): New function.
62156         (main): Call the new test functions.
62158         * math/libm-test.inc (struct test_f_f1_data): Remove field
62159         extra_init.
62160         (struct test_fF_f1_data): Likewise.
62161         (struct test_ffI_f1_data): Likewise.
62162         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
62163         based on value of EXTRA_EXPECTED.
62164         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62165         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
62166         EXTRA_VAR based on value of EXTRA_EXPECTED.
62167         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62168         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
62169         EXTRA_VAR based on value of EXTRA_EXPECTED.
62170         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62171         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
62172         EXTRA_VAR based on value of EXTRA_EXPECTED.
62173         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62174         * math/gen-libm-test.pl (parse_args): Don't output initializers
62175         for extra output values.
62177         * math/libm-test.inc (check_int): Expect result to be exactly
62178         equal to expected value and do not handle ulps.
62179         (check_long): Likewise.
62180         (check_longlong): Likewise.
62182         * math/libm-test.inc (ceil_test_data): Test for "inexact"
62183         exceptions.
62184         (cimag_test_data): Likewise.
62185         (conj_test_data): Likewise.
62186         (copysign_test_data): Likewise.
62187         (cproj_test_data): Likewise.
62188         (creal_test_data): Likewise.
62189         (fabs_test_data): Likewise.
62190         (fdim_test_data): Likewise.
62191         (finite_test_data): Likewise.
62192         (floor_test_data): Likewise.
62193         (fmax_test_data): Likewise.
62194         (fmin_test_data): Likewise.
62195         (fmod_test_data): Likewise.
62196         (fpclassify_test_data): Likewise.
62197         (frexp_test_data): Likewise.
62198         (ilogb_test_data): Likewise.
62199         (isfinite_test_data): Likewise.
62200         (isgreater_test_data): Likewise.
62201         (isgreaterequal_test_data): Likewise.
62202         (isinf_test_data): Likewise.
62203         (isless_test_data): Likewise.
62204         (islessequal_test_data): Likewise.
62205         (islessgreater_test_data): Likewise.
62206         (isnan_test_data): Likewise.
62207         (isnormal_test_data): Likewise.
62208         (issignaling_test_data): Likewise.
62209         (isunordered_test_data): Likewise.
62210         (ldexp_test_data): Likewise.
62211         (lrint_test_data): Likewise.
62212         (lrint_test_data) [TEST_FLOAT]: Disable one test.
62213         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
62214         (lrint_tonearest_test_data): Test for "inexact" exceptions.
62215         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
62216         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
62217         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
62218         test input.
62219         (lrint_towardzero_test_data): Test for "inexact" exceptions.
62220         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
62221         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
62222         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
62223         that test input.
62224         (lrint_downward_test_data): Test for "inexact" exceptions.
62225         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
62226         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
62227         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
62228         test input.
62229         (lrint_upward_test_data): Test for "inexact" exceptions.
62230         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
62231         test input.
62232         (llrint_test_data): Test for "inexact" exceptions.
62233         (llrint_test_data) [TEST_FLOAT]: Disable one test.
62234         (llrint_tonearest_test_data): Test for "inexact" exceptions.
62235         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
62236         (llrint_towardzero_test_data): Test for "inexact" exceptions.
62237         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
62238         (llrint_downward_test_data): Test for "inexact" exceptions.
62239         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
62240         (llrint_upward_test_data): Test for "inexact" exceptions.
62241         (logb_test_data): Likewise.
62242         (logb_downward_test_data): Likewise.
62243         (nextafter_test_data): Likewise.
62244         (nexttoward_test_data): Likewise.
62245         (remainder_test_data): Likewise.
62246         (remquo_test_data): Likewise.
62247         (scalbn_test_data): Likewise.
62248         (scalbln_test_data): Likewise.
62249         (signbit_test_data): Likewise.
62250         (sqrt_test_data): Likewise.
62251         (significand_test_data): Likewise.
62253 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62255         [BZ #15424]
62256         * benchtests/bench-modf.c (struct args): Mark arg0 as
62257         volatile.
62258         * scripts/bench.pl: Mark members of struct args as volatile.
62260 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62262         [BZ # 15497]
62263         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
62264         negative infinity on POWER6 or lower.
62265         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
62267 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
62269         [BZ #15442]
62270         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
62271         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
62272         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
62273         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
62274         (_FP_SETQNAN): New macro.
62275         (_FP_SETQNAN_SEMIRAW): Likewise.
62276         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
62277         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
62278         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
62279         (FP_EXTEND): Use _FP_FRAC_SNANP.
62280         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
62281         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
62282         into account.
62283         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
62284         New macro.
62285         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
62286         Likewise.
62288 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62290         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
62291         with DIVIDE_BY_ZERO_EXCEPTION.
62292         (gamma_test_data): Likewise.
62293         (lgamma_test_data): Likewise.
62294         (log_test_data): Likewise.
62295         (log10_test_data): Likewise.
62296         (log2_test_data): Likewise.
62297         (tgamma_test_data): Likewise.
62299         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
62300         (acos_test_tonearest): Likewise.
62301         (acos_test_towardzero): Likewise.
62302         (acos_test_downward): Likewise.
62303         (acos_test_upward): Likewise.
62304         (acosh_test): Likewise.
62305         (asin_test): Likewise.
62306         (asin_test_tonearest): Likewise.
62307         (asin_test_towardzero): Likewise.
62308         (asin_test_downward): Likewise.
62309         (asin_test_upward): Likewise.
62310         (asinh_test): Likewise.
62311         (atan_test): Likewise.
62312         (atanh_test): Likewise.
62313         (atan2_test): Likewise.
62314         (cabs_test): Likewise.
62315         (cacos_test): Likewise.
62316         (cacosh_test): Likewise.
62317         (casin_test): Likewise.
62318         (casinh_test): Likewise.
62319         (catan_test): Likewise.
62320         (catanh_test): Likewise.
62321         (cbrt_test): Likewise.
62322         (ccos_test): Likewise.
62323         (ccosh_test): Likewise.
62324         (cexp_test): Likewise.
62325         (clog_test): Likewise.
62326         (clog10_test): Likewise.
62327         (cos_test): Likewise.
62328         (cos_test_tonearest): Likewise.
62329         (cos_test_towardzero): Likewise.
62330         (cos_test_downward): Likewise.
62331         (cos_test_upward): Likewise.
62332         (cosh_test): Likewise.
62333         (cosh_test_tonearest): Likewise.
62334         (cosh_test_towardzero): Likewise.
62335         (cosh_test_downward): Likewise.
62336         (cosh_test_upward): Likewise.
62337         (cpow_test): Likewise.
62338         (csin_test): Likewise.
62339         (csinh_test): Likewise.
62340         (csqrt_test): Likewise.
62341         (ctan_test): Likewise.
62342         (ctan_test_tonearest): Likewise.
62343         (ctan_test_towardzero): Likewise.
62344         (ctan_test_downward): Likewise.
62345         (ctan_test_upward): Likewise.
62346         (ctanh_test): Likewise.
62347         (ctanh_test_tonearest): Likewise.
62348         (ctanh_test_towardzero): Likewise.
62349         (ctanh_test_downward): Likewise.
62350         (ctanh_test_upward): Likewise.
62351         (erf_test): Likewise.
62352         (erfc_test): Likewise.
62353         (exp_test): Likewise.
62354         (exp_test_tonearest): Likewise.
62355         (exp_test_towardzero): Likewise.
62356         (exp_test_downward): Likewise.
62357         (exp_test_upward): Likewise.
62358         (exp10_test): Likewise.
62359         (exp2_test): Likewise.
62360         (expm1_test): Likewise.
62361         (fmod_test): Likewise.
62362         (gamma_test): Likewise.
62363         (hypot_test): Likewise.
62364         (j0_test): Likewise.
62365         (j1_test): Likewise.
62366         (jn_test): Likewise.
62367         (lgamma_test): Likewise.
62368         (log_test): Likewise.
62369         (log10_test): Likewise.
62370         (log1p_test): Likewise.
62371         (log2_test): Likewise.
62372         (logb_test_downward): Likewise.
62373         (pow_test): Likewise.
62374         (pow_test_tonearest): Likewise.
62375         (pow_test_towardzero): Likewise.
62376         (pow_test_downward): Likewise.
62377         (pow_test_upward): Likewise.
62378         (remainder_test): Likewise.
62379         (remquo_test): Likewise.
62380         (sin_test): Likewise.
62381         (sin_test_tonearest): Likewise.
62382         (sin_test_towardzero): Likewise.
62383         (sin_test_downward): Likewise.
62384         (sin_test_upward): Likewise.
62385         (sincos_test): Likewise.
62386         (sinh_test): Likewise.
62387         (sinh_test_tonearest): Likewise.
62388         (sinh_test_towardzero): Likewise.
62389         (sinh_test_downward): Likewise.
62390         (sinh_test_upward): Likewise.
62391         (sqrt_test): Likewise.
62392         (tan_test): Likewise.
62393         (tan_test_tonearest): Likewise.
62394         (tan_test_towardzero): Likewise.
62395         (tan_test_downward): Likewise.
62396         (tan_test_upward): Likewise.
62397         (tanh_test): Likewise.
62398         (tgamma_test): Likewise.
62399         (y0_test): Likewise.
62400         (y1_test): Likewise.
62401         (yn_test): Likewise.
62403         * math/gen-libm-test.pl (adjust_arg): Remove function.
62404         (special_function): Remove argument $in_func.  Only handle
62405         generating output for tables of tests, not inside functions.
62406         (parse_args): Likewise.
62407         (generate_testfile): Remove variable $in_func.  Update call to
62408         parse_args.
62409         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
62410         (MINUS_ZERO_INIT): Rename macro to minus_zero.
62411         (PLUS_INFTY_INIT): Rename macro to plus_infty.
62412         (MINUS_INFTY_INIT): Rename macro to minus_infty.
62413         (QNAN_VALUE_INIT): Rename macro to qnan_value.
62414         (MAX_VALUE_INIT): Rename macro to max_value.
62415         (MIN_VALUE_INIT): Rename macro to min_value.
62416         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
62417         (plus_zero): Remove variable.
62418         (minus_zero): Likewise.
62419         (plus_infty): Likewise.
62420         (minus_infty): Likewise.
62421         (qnan_value): Likewise.
62422         (max_value): Likewise.
62423         (min_value): Likewise.
62424         (min_subnorm_value): Likewise.
62426 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62428         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
62429         uint64_t or uint32_t usage.
62430         * crypt/sha256-block.c: Likewise.
62431         * crypt/sha256-crypt.c: Likewise.
62432         * crypt/sha256.c: Likewise.
62433         * crypt/sha512-block.c: Likewise.
62434         * crypt/sha512-crypt.c: Likewise.
62435         * crypt/sha512.c: Likewise.
62436         * debug/backtrace-tst.c: Likewise.
62437         * debug/pcprofiledump.c: Likewise.
62438         * elf/cache.c: Likewise.
62439         * elf/dl-cache.c: Likewise.
62440         * elf/dl-misc.c: Likewise.
62441         * elf/dl-profile.c: Likewise.
62442         * elf/dl-support.c: Likewise.
62443         * elf/ldconfig.c: Likewise.
62444         * elf/sprof.c: Likewise.
62445         * iconv/dummy-repertoire.c: Likewise.
62446         * iconv/iconv_charmap.c: Likewise.
62447         * iconv/skeleton.c: Likewise.
62448         * iconvdata/8bit-generic.c: Likewise.
62449         * iconvdata/cp737.h: Likewise.
62450         * iconvdata/cp775.h: Likewise.
62451         * iconvdata/ibm1008.h: Likewise.
62452         * iconvdata/ibm1025.h: Likewise.
62453         * iconvdata/ibm1046.h: Likewise.
62454         * iconvdata/ibm1097.h: Likewise.
62455         * iconvdata/ibm1112.h: Likewise.
62456         * iconvdata/ibm1122.h: Likewise.
62457         * iconvdata/ibm1123.h: Likewise.
62458         * iconvdata/ibm1124.h: Likewise.
62459         * iconvdata/ibm1129.h: Likewise.
62460         * iconvdata/ibm1130.h: Likewise.
62461         * iconvdata/ibm1132.h: Likewise.
62462         * iconvdata/ibm1133.h: Likewise.
62463         * iconvdata/ibm1137.h: Likewise.
62464         * iconvdata/ibm1140.h: Likewise.
62465         * iconvdata/ibm1141.h: Likewise.
62466         * iconvdata/ibm1142.h: Likewise.
62467         * iconvdata/ibm1143.h: Likewise.
62468         * iconvdata/ibm1144.h: Likewise.
62469         * iconvdata/ibm1145.h: Likewise.
62470         * iconvdata/ibm1146.h: Likewise.
62471         * iconvdata/ibm1147.h: Likewise.
62472         * iconvdata/ibm1148.h: Likewise.
62473         * iconvdata/ibm1149.h: Likewise.
62474         * iconvdata/ibm1153.h: Likewise.
62475         * iconvdata/ibm1154.h: Likewise.
62476         * iconvdata/ibm1155.h: Likewise.
62477         * iconvdata/ibm1156.h: Likewise.
62478         * iconvdata/ibm1157.h: Likewise.
62479         * iconvdata/ibm1158.h: Likewise.
62480         * iconvdata/ibm1160.h: Likewise.
62481         * iconvdata/ibm1161.h: Likewise.
62482         * iconvdata/ibm1162.h: Likewise.
62483         * iconvdata/ibm1163.h: Likewise.
62484         * iconvdata/ibm1164.h: Likewise.
62485         * iconvdata/ibm1166.h: Likewise.
62486         * iconvdata/ibm1167.h: Likewise.
62487         * iconvdata/ibm12712.h: Likewise.
62488         * iconvdata/ibm1390.h: Likewise.
62489         * iconvdata/ibm1399.h: Likewise.
62490         * iconvdata/ibm16804.h: Likewise.
62491         * iconvdata/ibm4517.h: Likewise.
62492         * iconvdata/ibm4899.h: Likewise.
62493         * iconvdata/ibm4909.h: Likewise.
62494         * iconvdata/ibm4971.h: Likewise.
62495         * iconvdata/ibm5347.h: Likewise.
62496         * iconvdata/ibm803.h: Likewise.
62497         * iconvdata/ibm856.h: Likewise.
62498         * iconvdata/ibm901.h: Likewise.
62499         * iconvdata/ibm902.h: Likewise.
62500         * iconvdata/ibm9030.h: Likewise.
62501         * iconvdata/ibm9066.h: Likewise.
62502         * iconvdata/ibm921.h: Likewise.
62503         * iconvdata/ibm922.h: Likewise.
62504         * iconvdata/ibm9448.h: Likewise.
62505         * iconvdata/isiri-3342.h: Likewise.
62506         * iconvdata/jis0201.h: Likewise.
62507         * include/link.h: Likewise.
62508         * include/netdb.h: Likewise.
62509         * inet/check_native.c: Likewise.
62510         * inet/check_pf.c: Likewise.
62511         * inet/getipv4sourcefilter.c: Likewise.
62512         * inet/getnameinfo.c: Likewise.
62513         * inet/getsourcefilter.c: Likewise.
62514         * inet/htonl.c: Likewise.
62515         * inet/setipv4sourcefilter.c: Likewise.
62516         * inet/setsourcefilter.c: Likewise.
62517         * inet/test-inet6_opt.c: Likewise.
62518         * inet/tst-network.c: Likewise.
62519         * locale/C-collate.c: Likewise.
62520         * locale/C-ctype.c: Likewise.
62521         * locale/C-time.c: Likewise.
62522         * locale/C-translit.h: Likewise.
62523         * locale/loadarchive.c: Likewise.
62524         * locale/programs/3level.h: Likewise.
62525         * locale/programs/charmap.c: Likewise.
62526         * locale/programs/charmap.h: Likewise.
62527         * locale/programs/ld-address.c: Likewise.
62528         * locale/programs/ld-collate.c: Likewise.
62529         * locale/programs/ld-ctype.c: Likewise.
62530         * locale/programs/ld-identification.c: Likewise.
62531         * locale/programs/ld-measurement.c: Likewise.
62532         * locale/programs/ld-messages.c: Likewise.
62533         * locale/programs/ld-monetary.c: Likewise.
62534         * locale/programs/ld-name.c: Likewise.
62535         * locale/programs/ld-numeric.c: Likewise.
62536         * locale/programs/ld-paper.c: Likewise.
62537         * locale/programs/ld-telephone.c: Likewise.
62538         * locale/programs/ld-time.c: Likewise.
62539         * locale/programs/linereader.c: Likewise.
62540         * locale/programs/locale.c: Likewise.
62541         * locale/programs/locarchive.c: Likewise.
62542         * locale/programs/locfile.h: Likewise.
62543         * locale/programs/repertoire.c: Likewise.
62544         * locale/programs/simple-hash.c: Likewise.
62545         * locale/programs/simple-hash.h: Likewise.
62546         * malloc/memusage.c: Likewise.
62547         * malloc/memusagestat.c: Likewise.
62548         * nis/nis_defaults.c: Likewise.
62549         * nis/nis_hash.c: Likewise.
62550         * nis/nis_print.c: Likewise.
62551         * nis/nis_xdr.c: Likewise.
62552         * nscd/connections.c: Likewise.
62553         * nscd/hstcache.c: Likewise.
62554         * nscd/nscd_gethst_r.c: Likewise.
62555         * nscd/nscd_getserv_r.c: Likewise.
62556         * nscd/nscd_helper.c: Likewise.
62557         * nscd/servicescache.c: Likewise.
62558         * nss/makedb.c: Likewise.
62559         * nss/nss_db/db-XXX.c: Likewise.
62560         * nss/nss_db/db-initgroups.c: Likewise.
62561         * nss/nss_db/db-netgrp.c: Likewise.
62562         * nss/nss_files/files-network.c: Likewise.
62563         * nss/nss_files/files-parse.c: Likewise.
62564         * posix/bug-regex5.c: Likewise.
62565         * posix/fnmatch_loop.c: Likewise.
62566         * posix/regcomp.c: Likewise.
62567         * posix/regexec.c: Likewise.
62568         * posix/tst-rfc3484-2.c: Likewise.
62569         * posix/tst-rfc3484-3.c: Likewise.
62570         * posix/tst-rfc3484.c: Likewise.
62571         * resolv/nss_dns/dns-canon.c: Likewise.
62572         * resolv/nss_dns/dns-network.c: Likewise.
62573         * resolv/res_init.c: Likewise.
62574         * resolv/res_mkquery.c: Likewise.
62575         * resolv/tst-aton.c: Likewise.
62576         * stdlib/cxa_atexit.c: Likewise.
62577         * stdlib/cxa_finalize.c: Likewise.
62578         * stdlib/gen-fpioconst.c: Likewise.
62579         * stdlib/strtol_l.c: Likewise.
62580         * string/tst-endian.c: Likewise.
62581         * sunrpc/auth_des.c: Likewise.
62582         * sunrpc/clnt_udp.c: Likewise.
62583         * sunrpc/rtime.c: Likewise.
62584         * sunrpc/svcauth_des.c: Likewise.
62585         * sunrpc/xdr.c: Likewise.
62586         * sunrpc/xdr_intXX_t.c: Likewise.
62587         * sunrpc/xdr_rec.c: Likewise.
62588         * sysdeps/generic/ldconfig.h: Likewise.
62589         * sysdeps/generic/ldsodefs.h: Likewise.
62590         * sysdeps/generic/memusage.h: Likewise.
62591         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62592         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
62593         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
62594         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62595         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62596         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62597         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62598         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62599         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62600         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62601         * sysdeps/posix/getaddrinfo.c: Likewise.
62602         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62603         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62604         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
62605         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62606         * sysdeps/powerpc/test-gettimebase.c: Likewise.
62607         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
62608         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
62609         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
62610         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
62611         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
62612         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
62613         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
62614         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
62615         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
62616         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
62617         * sysdeps/x86_64/dl-tls.h: Likewise.
62618         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
62619         * time/alt_digit.c: Likewise.
62620         * time/era.c: Likewise.
62621         * wcsmbs/tst-c16c32-1.c: Likewise.
62623 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62625         * math/libm-test.inc (struct test_sincos_data): New type.
62626         (RUN_TEST_LOOP_sincos): New macro.
62627         (sincos_test_data): New variable.
62628         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
62630 2013-05-16  Richard Henderson  <rth@redhat.com>
62632         * math/atest-exp2.c (LIMB64): New macro.
62633         (CONSTSZ): New macro.
62634         (mp_exp1, mp_exp_m1, mp_log2): New variables.
62635         (hexdig): Move ...
62636         (print_mpn_fp): ... to function scope.
62637         (read_mpn_hex): Remove.
62638         (get_log2): Remove.
62639         (exp2_mpn): Use mp_log2.
62640         (main): Use mp_exp1.
62642 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62644         * math/libm-test.inc: Remove comment about not testing "inexact"
62645         exceptions.
62646         (INEXACT_EXCEPTION): New macro.
62647         (NO_INEXACT_EXCEPTION): Likewise.
62648         (INVALID_EXCEPTION_OK): Update value.
62649         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62650         (OVERFLOW_EXCEPTION_OK): Likewise.
62651         (UNDERFLOW_EXCEPTION_OK): Likewise.
62652         (IGNORE_ZERO_INF_SIGN): Likewise.
62653         (ERRNO_UNCHANGED): Likewise.
62654         (ERRNO_EDOM): Likewise.
62655         (ERRNO_ERANGE): Likewise.
62656         (test_exceptions): Handle testing "inexact" exceptions.
62657         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
62658         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
62659         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
62660         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
62661         INEXACT_EXCEPTION.
62662         (rint_towardzero_test_data): Likewise.
62663         (rint_downward_test_data): Likewise.
62664         (rint_upward_test_data): Likewise.
62666         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
62667         with OVERFLOW_EXCEPTION.
62668         (exp10_test_data): Likewise.
62669         (exp2_test_data): Likewise.
62670         (expm1_test_data): Likewise.
62671         (lgamma_test_data): Likewise.
62672         (pow_test_data): Likewise.
62673         (tgamma_test_data): Likewise.
62674         (yn_test_data): Remove duplicate test of overflow.
62676         * math/libm-test.inc (struct test_cc_c_data): New type.
62677         (RUN_TEST_LOOP_cc_c): New macro.
62678         (cpow_test_data): New variable.
62679         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
62681         * math/libm-test.inc (struct test_f_L_data): New type.
62682         (RUN_TEST_LOOP_f_L): New macro.
62683         (llrint_test_data): New variable.
62684         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
62685         (llrint_tonearest_test_data): New variable.
62686         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
62687         (llrint_towardzero_test_data): New variable.
62688         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
62689         (llrint_downward_test_data): New variable.
62690         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
62691         (llrint_upward_test_data): New variable.
62692         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
62693         (llround_test_data): New variable.
62694         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
62696 2013-05-13  Peter Collingbourne  <pcc@google.com>
62698         * math/atest-exp2.c (get_log2): Remove const attribute.
62700 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
62702         * math/libm-test.inc (struct test_f_l_data): New type.
62703         (RUN_TEST_LOOP_f_l): New macro.
62704         (lrint_test_data): New variable.
62705         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
62706         (lrint_tonearest_test_data): New variable.
62707         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
62708         (lrint_towardzero_test_data): New variable.
62709         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
62710         (lrint_downward_test_data): New variable.
62711         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
62712         (lrint_upward_test_data): New variable.
62713         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
62714         (lround_test_data): New variable.
62715         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
62717 2013-05-15  Peter Collingbourne  <pcc@google.com>
62719         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
62720         (EXTRACT_WORDS64) Use where appropriate.
62721         (INSERT_WORDS64) Likewise.
62723         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
62724         constraints with x constraints.
62725         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
62727         * malloc/obstack.c (_obstack_compat): Add initializer.
62729 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
62731         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
62732         si_trapno and add si_addr_lsb to _sifields.sigfault.
62733         (si_trapno): Remove macro.
62734         (si_addr_lsb): Define new macro.
62735         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
62737 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
62739         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
62740         instead of TEST_f_l.
62741         (llrint_test_tonearest): Likewise.
62742         (llrint_test_towardzero): Likewise.
62743         (llrint_test_downward): Likewise.
62744         (llrint_test_upward): Likewise.
62745         (llround_test): Likewise.
62747         * math/libm-test.inc (struct test_f_i_data): Add comment.
62748         (RUN_TEST_LOOP_f_b): New macro.
62749         (RUN_TEST_LOOP_f_b_tg): Likewise.
62750         (finite_test_data): New variable.
62751         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
62752         (isfinite_test_data): New variable.
62753         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62754         (isinf_test_data): New variable.
62755         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62756         (isnan_test_data): New variable.
62757         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62758         (isnormal_test_data): New variable.
62759         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62760         (issignaling_test_data): New variable.
62761         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62762         (signbit_test_data): New variable.
62763         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62765         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
62766         with INVALID_EXCEPTION.
62767         (acosh_test_data): Likewise.
62768         (asin_test_data): Likewise.
62769         (atanh_test_data): Likewise.
62770         (fmod_test_data): Likewise.
62771         (log_test_data): Likewise.
62772         (log10_test_data): Likewise.
62773         (log2_test_data): Likewise.
62774         (pow_test_data): Likewise.
62775         (sqrt_test_data): Likewise.
62776         (y0_test_data): Likewise.
62777         (y1_test_data): Likewise.
62778         (yn_test_data): Likewise.
62780         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
62781         function contents.
62783         * math/libm-test.inc (struct test_ff_i_data): New type.
62784         (RUN_TEST_LOOP_ff_i_tg): New macro.
62785         (isgreater_test_data): New variable.
62786         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62787         (isgreaterequal_test_data): New variable.
62788         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62789         (isless_test_data): New variable.
62790         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62791         (islessequal_test_data): New variable.
62792         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62793         (islessgreater_test_data): New variable.
62794         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62795         (isunordered_test_data): New variable.
62796         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62798 2013-05-14  David S. Miller  <davem@davemloft.net>
62800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62802 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
62804         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
62806         * math/libm-test.inc (struct test_fF_f1_data): Change type of
62807         extra_test to int.
62808         (struct test_f_i_data): Change type of max_ulp to int.
62810         * math/libm-test.inc (test_ffI_f1_data): New type.
62811         (RUN_TEST_LOOP_ffI_f1): New macro.
62812         (remquo_test_data): New variable.
62813         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
62815         * setjmp/tst-setjmp-fp.c: New file.
62816         * setjmp/Makefile (tests): Add tst-setjmp-fp.
62817         (link-libm): New variable.
62818         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
62820         * math/libm-test.inc (struct test_f_i_data): New type.
62821         (RUN_TEST_LOOP_f_i): New macro.
62822         (RUN_TEST_LOOP_f_i_tg): Likewise.
62823         (fpclassify_test_data): New variable.
62824         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
62825         (ilogb_test_data): New variable.
62826         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
62828         * math/libm-test.inc (scalbln_test): Correct function name in END
62829         call.
62831         * math/libm-test.inc (struct test_f_f1_data): Add comment.
62832         (RUN_TEST_LOOP_fI_f1): New macro.
62833         (frexp_test_data): New variable.
62834         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
62836         * math/libm-test.inc (struct test_fF_f1_data): New type.
62837         (RUN_TEST_LOOP_fF_f1): New macro.
62838         (modf_test_data): New variable.
62839         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
62841         * math/libm-test.inc (struct test_f_f1_data): New type.
62842         (RUN_TEST_LOOP_f_f1): New macro.
62843         (gamma_test_data): New variable.
62844         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
62845         (lgamma_test_data): New variable.
62846         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
62848 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
62850         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
62851         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
62852         (main): Comment "tls" pseudo-hwcap.
62854 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
62856         * math/libm-test.inc (struct test_fl_f_data): New type.
62857         (RUN_TEST_LOOP_fl_f): New variable.
62858         (scalbln_test_data): New variable.
62859         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
62861         * math/libm-test.inc (struct test_fi_f_data): New type.
62862         (RUN_TEST_LOOP_fi_f): New macro.
62863         (ldexp_test_data): New variable.
62864         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
62865         (scalbn_test_data): New variable.
62866         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
62868         * math/libm-test.inc (struct test_c_f_data): New type.
62869         (RUN_TEST_LOOP_c_f): New macro.
62870         (cabs_test_data): New variable.
62871         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
62872         (carg_test_data): New variable.
62873         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
62874         (cimag_test_data): New variable.
62875         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
62876         (creal_test_data): New variable.
62877         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
62879         * math/libm-test.inc (struct test_if_f_data): New type.
62880         (RUN_TEST_LOOP_if_f): New macro.
62881         (jn_test_data): New variable.
62882         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
62883         (yn_test_data): New variable.
62884         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
62886         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
62888 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62890         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
62891         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
62893 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62895         * benchtests/Makefile (CPPFLAGS-nonlib): Add
62896         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
62897         (bench-deps): Add bench-timing.h.
62898         * benchtests-bench-skeleton.c: Include bench-timing.h.
62899         (main): Use TIMING_* macros instead of clock_gettime.
62900         * benchtests/bench-timing.h: New file.
62902         [BZ #14582]
62903         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
62904         Renamed from _LIB_VERSION.
62905         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
62907 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
62909         * math/libm-test.inc (struct test_fff_f_data): New type.
62910         (RUN_TEST_LOOP_fff_f): New macro.
62911         (fma_test_data): New variable.
62912         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
62913         (fma_towardzero_test_data): New variable.
62914         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
62915         (fma_downward_test_data): New variable.
62916         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
62917         (fma_upward_test_data): New variable.
62918         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
62920         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
62921         (struct test_c_c_data): New type.
62922         (RUN_TEST_LOOP_c_c): New macro.
62923         (cacos_test_data): New variable.
62924         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
62925         (cacosh_test_data): New variable.
62926         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
62927         (casin_test_data): New variable.
62928         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
62929         (casinh_test_data): New variable.
62930         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
62931         (catan_test_data): New variable.
62932         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
62933         (catanh_test_data): New variable.
62934         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
62935         (ccos_test_data): New variable.
62936         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
62937         (ccosh_test_data): New variable.
62938         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
62939         (cexp_test_data): New variable.
62940         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
62941         (clog_test_data): New variable.
62942         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
62943         (clog10_test_data): New variable.
62944         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
62945         (conj_test_data): New variable.
62946         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
62947         (cproj_test_data): New variable.
62948         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
62949         (csin_test_data): New variable.
62950         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
62951         (csinh_test_data): New variable.
62952         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
62953         (csqrt_test_data): New variable.
62954         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
62955         (ctan_test_data): New variable.
62956         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
62957         (ctan_tonearest_test_data): New variable.
62958         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
62959         (ctan_towardzero_test_data): New variable.
62960         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
62961         (ctan_downward_test_data): New variable.
62962         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
62963         (ctan_upward_test_data): New variable.
62964         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
62965         (ctanh_test_data): New variable.
62966         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
62967         (ctanh_tonearest_test_data): New variable.
62968         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
62969         (ctanh_towardzero_test_data): New variable.
62970         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
62971         (ctanh_downward_test_data): New variable.
62972         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
62973         (ctanh_upward_test_data): New variable.
62974         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
62975         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
62976         of BUILD_COMPLEX.
62978         * math/libm-test.inc (struct test_ff_f_data): New type.
62979         (struct test_ff_f_data_nexttoward): Likewise.
62980         (RUN_TEST_LOOP_2_f): New macro.
62981         (RUN_TEST_LOOP_ff_f): Likewise.
62982         (atan2_test_data): New variable.
62983         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
62984         (copysign_test_data): New variable.
62985         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
62986         (fdim_test_data): New variable.
62987         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
62988         (fmax_test_data): New variable.
62989         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
62990         (fmin_test_data): New variable.
62991         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
62992         (fmod_test_data): New variable.
62993         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
62994         (hypot_test_data): New variable.
62995         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
62996         (nextafter_test_data): New variable.
62997         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
62998         (nexttoward_test_data): New variable.
62999         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
63000         (pow_test_data): New variable.
63001         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
63002         (pow_tonearest_test_data): New variable.
63003         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
63004         (pow_towardzero_test_data): New variable.
63005         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
63006         (pow_downward_test_data): New variable.
63007         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
63008         (pow_upward_test_data): New variable.
63009         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
63010         (remainder_test_data): New variable.
63011         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
63012         (scalb_test_data): New variable.
63013         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
63014         * sysdeps/i386/fpu/libm-test-ulps: Update.
63016 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
63018         * math/libm-test.inc (fma_test): Use max_value instead of local
63019         variable fltmax.
63020         (nextafter_test): Likewise.
63022         * math/libm-test.inc (acos_towardzero_test_data): New variable.
63023         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63024         (acos_downward_test_data): New variable.
63025         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63026         (acos_upward_test_data): New variable.
63027         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63028         (acosh_test_data): New variable.
63029         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
63030         (asin_test_data): New variable.
63031         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
63032         (asin_tonearest_test_data): New variable.
63033         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63034         (asin_towardzero_test_data): New variable.
63035         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63036         (asin_downward_test_data): New variable.
63037         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63038         (asin_upward_test_data): New variable.
63039         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63040         (asinh_test_data): New variable.
63041         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
63042         (atan_test_data): New variable.
63043         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
63044         (atanh_test_data): New variable.
63045         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
63046         (cbrt_test_data): New variable.
63047         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
63048         (ceil_test_data): New variable.
63049         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
63050         (cos_test_data): New variable.
63051         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
63052         (cos_tonearest_test_data): New variable.
63053         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63054         (cos_towardzero_test_data): New variable.
63055         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63056         (cos_downward_test_data): New variable.
63057         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63058         (cos_upward_test_data): New variable.
63059         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63060         (cosh_test_data): New variable.
63061         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
63062         (cosh_tonearest_test_data): New variable.
63063         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63064         (cosh_towardzero_test_data): New variable.
63065         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63066         (cosh_downward_test_data): New variable.
63067         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63068         (cosh_upward_test_data): New variable.
63069         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63070         (erf_test_data): New variable.
63071         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
63072         (erfc_test_data): New variable.
63073         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
63074         (exp_test_data): New variable.
63075         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
63076         (exp_tonearest_test_data): New variable.
63077         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63078         (exp_towardzero_test_data): New variable.
63079         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63080         (exp_downward_test_data): New variable.
63081         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63082         (exp_upward_test_data): New variable.
63083         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63084         (exp10_test_data): New variable.
63085         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
63086         (exp2_test_data): New variable.
63087         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
63088         (expm1_test_data): New variable.
63089         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
63090         (fabs_test_data): New variable.
63091         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
63092         (floor_test_data): New variable.
63093         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
63094         (j0_test_data): New variable.
63095         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
63096         (j1_test_data): New variable.
63097         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
63098         (log_test_data): New variable.
63099         (log_test): Run tests with RUN_TEST_LOOP_f_f.
63100         (log10_test_data): New variable.
63101         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
63102         (log1p_test_data): New variable.
63103         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
63104         (log2_test_data): New variable.
63105         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
63106         (logb_test_data): New variable.
63107         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
63108         (logb_downward_test_data): New variable.
63109         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63110         (nearbyint_test_data): New variable.
63111         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
63112         (rint_test_data): New variable.
63113         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
63114         (rint_tonearest_test_data): New variable.
63115         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63116         (rint_towardzero_test_data): New variable.
63117         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63118         (rint_downward_test_data): New variable.
63119         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63120         (rint_upward_test_data): New variable.
63121         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63122         (round_test_data): New variable.
63123         (round_test): Run tests with RUN_TEST_LOOP_f_f.
63124         (sin_test_data): New variable.
63125         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
63126         (sin_tonearest_test_data): New variable.
63127         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63128         (sin_towardzero_test_data): New variable.
63129         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63130         (sin_downward_test_data): New variable.
63131         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63132         (sin_upward_test_data): New variable.
63133         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63134         (sinh_test_data): New variable.
63135         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
63136         (sinh_tonearest_test_data): New variable.
63137         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63138         (sinh_towardzero_test_data): New variable.
63139         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63140         (sinh_downward_test_data): New variable.
63141         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63142         (sinh_upward_test_data): New variable.
63143         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63144         (sqrt_test_data): New variable.
63145         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
63146         (tan_test_data): New variable.
63147         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
63148         (tan_tonearest_test_data): New variable.
63149         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63150         (tan_towardzero_test_data): New variable.
63151         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63152         (tan_downward_test_data): New variable.
63153         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63154         (tan_upward_test_data): New variable.
63155         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63156         (tanh_test_data): New variable.
63157         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
63158         (tgamma_test_data): New variable.
63159         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
63160         (trunc_test_data): New variable.
63161         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
63162         (y0_test_data): New variable.
63163         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
63164         (y1_test_data): New variable.
63165         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
63166         (significand_test_data): New variable.
63167         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
63169 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
63171         [BZ #12387]
63172         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
63174 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63176         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
63178 2013-05-10  Andreas Jaeger  <aj@suse.de>
63180         [BZ #15448]
63181         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
63182         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
63184 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
63186         * math/gen-libm-test.pl (adjust_arg): New function.
63187         (special_functions): Handle generating output in both functions
63188         and arrays.
63189         (parse_args): Likewise.
63190         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
63191         $in_func argument to parse_args.
63192         * math/libm-test.inc (struct test_f_f_data): New type.
63193         (IF_ROUND_INIT_): New macro.
63194         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
63195         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63196         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63197         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63198         (ROUND_RESTORE_): Likewise.
63199         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
63200         (ROUND_RESTORE_FE_TONEAREST): Likewise.
63201         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
63202         (ROUND_RESTORE_FE_UPWARD): Likewise.
63203         (RUN_TEST_LOOP_f_f): New macro.
63204         (acos_test_data): New variable.
63205         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
63206         (acos_tonearest_test_data): New variable.
63207         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63209 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63211         * benchtests/bench-skeleton.c (startup): Fix coding style.
63213 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
63215         [BZ #6809]
63216         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
63217         negative infinity argument.
63218         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
63219         negative infinity argument.
63220         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
63221         negative infinity argument.
63222         * math/libm-test.inc (tgamma_test): Expect errno to be set for
63223         domain errors.
63225 2013-05-10  Florian Weimer  <fweimer@redhat.com>
63227         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
63228         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
63229         * iconv/iconv_prog.c (main): Likewise.
63230         * locale/programs/charmap-dir.c (charmap_readdir)
63231         (fopen_uncompressed): Likewise.
63232         * locale/programs/locfile.c (siblings_uncached)
63233         (write_locale_data): Use lstat64 instead of lstat.
63234         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
63235         stat.
63237 2013-05-10  Andreas Jaeger  <aj@suse.de>
63239         [BZ #15395]
63240         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
63241         localization.
63242         Include <locale.h>.
63244 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
63246         * elf/dl-close.c (_dl_close_worker): Add comments.
63248 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
63250         [BZ #15359]
63251         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
63252         high part of pi/2.
63253         (__ieee754_rem_pio2l): Update comments.
63255         [BZ #15429]
63256         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
63257         high part of pi/2.
63258         (__ieee754_rem_pio2l): Update comments.
63260         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
63261         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
63263         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
63264         M_PI_4l.
63266         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
63267         (M_PI_34_LOG10El): Likewise.
63268         (M_PI2_LOG10El): Likewise.
63269         (M_PI4_LOG10El): Likewise.
63270         (M_PI_LOG10El): Likewise.
63272 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63276 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
63278         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
63279         (MINUS_ZERO_INIT): Likewise.
63280         (PLUS_INFTY_INIT): Likewise.
63281         (MINUS_INFTY_INIT): Likewise.
63282         (QNAN_VALUE_INIT): Likewise.
63283         (MAX_VALUE_INIT): Likewise.
63284         (MIN_VALUE_INIT): Likewise.
63285         (MIN_SUBNORM_VALUE_INIT): Likewise.
63286         (plus_zero): Initialize with PLUS_ZERO_INIT.
63287         (minus_zero): Initialize with MINUS_ZERO_INIT.
63288         (plus_infty): Initialize with PLUS_INFTY_INIT.
63289         (minus_infty): Initialize with MINUS_INFTY_INIT.
63290         (qnan_value): Initialize with QNAN_VALUE_INIT.
63291         (max_value): Initialize with MAX_VALUE_INIT.
63292         (min_value): Initialize with MIN_VALUE_INIT.
63293         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
63295         * math/libm-test.inc (RUN_TEST_if_f): New macro.
63296         (jn_test): Use TEST_if_f instead of TEST_ff_f.
63297         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
63298         (yn_test): Use TEST_if_f instead of TEST_ff_f.
63300         * math/libm-test.inc (RUN_TEST_f_f): New macro.
63301         (RUN_TEST_2_f): Likewise.
63302         (RUN_TEST_ff_f): Likewise.
63303         (RUN_TEST_fi_f): Likewise.
63304         (RUN_TEST_fl_f): Likewise.
63305         (RUN_TEST_fff_f): Likewise.
63306         (RUN_TEST_c_f): Likewise.
63307         (RUN_TEST_f_f1): Likewise.
63308         (RUN_TEST_fF_f1): Likewise.
63309         (RUN_TEST_fI_f1): Likewise.
63310         (RUN_TEST_ffI_f1): Likewise.
63311         (RUN_TEST_c_c): Likewise.
63312         (RUN_TEST_cc_c): Likewise.
63313         (RUN_TEST_f_i): Likewise.
63314         (RUN_TEST_f_i_tg): Likewise.
63315         (RUN_TEST_ff_i_tg): Likewise.
63316         (RUN_TEST_f_b): Likewise.
63317         (RUN_TEST_f_b_tg): Likewise.
63318         (RUN_TEST_f_l): Likewise.
63319         (RUN_TEST_f_L): Likewise.
63320         (RUN_TEST_sincos): Likewise.
63321         * math/gen-libm-test.pl (new_test): Take new argument to indicate
63322         whether to show exceptions.  Do not include ");\n" in return
63323         value.
63324         (special_functions): Output call to RUN_TEST_sincos instead of
63325         check_float calls.  Update calls to new_test.
63326         (parse_args): Output call to single RUN_TEST_* macro instead of
63327         check_* calls and other assignments.  Update calls to new_test.
63329         [BZ #2546]
63330         [BZ #2560]
63331         [BZ #5159]
63332         [BZ #15426]
63333         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
63334         input to result for tgamma overflow.
63335         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
63336         (gamma_coeff): New variable.
63337         (NCOEFF): New macro.
63338         (gamma_positive): New function.
63339         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
63340         underflow here.  Use gamma_positive instead of exp (lgamma) for
63341         other arguments.
63342         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
63343         (gamma_coeff): New variable.
63344         (NCOEFF): New macro.
63345         (gammaf_positive): New function.
63346         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
63347         underflow here.  Use gamma_positive instead of exp (lgamma) for
63348         other arguments.
63349         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
63350         (gamma_coeff): New variable.
63351         (NCOEFF): New macro.
63352         (gammal_positive): New function.
63353         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
63354         underflow here.  Use gamma_positive instead of exp (lgamma) for
63355         other arguments.
63356         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
63357         (gamma_coeff): New variable.
63358         (NCOEFF): New macro.
63359         (gammal_positive): New function.
63360         (__ieee754_gammal_r): Handle positive infinity, overflow and
63361         underflow here.  Handle NaN the same as positive infinity.  Remove
63362         check x < 0xffffffff for negative integers.  Use gamma_positive
63363         instead of exp (lgamma) for other arguments.
63364         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
63365         (gamma_coeff): New variable.
63366         (NCOEFF): New macro.
63367         (gammal_positive): New function.
63368         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
63369         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
63370         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
63371         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
63372         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
63373         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
63374         * sysdeps/generic/math_private.h (__gamma_productf): New
63375         prototype.
63376         (__gamma_product): Likewise.
63377         (__gamma_productl): Likewise.
63378         * math/Makefile (libm-calls): Add gamma_product.
63379         * math/libm-test.inc (tgamma_test): Add more tests.
63380         * sysdeps/i386/fpu/libm-test-ulps: Update.
63381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63383 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
63385         * benchtests/bench-skeleton.c (main): Preheat CPU.
63387 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
63389         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
63391 2013-05-07  Roland McGrath  <roland@hack.frob.com>
63393         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
63394         and _dl_skip_args_internal.
63396 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
63398         * manual/message.texi (Message Translation): Talk about users.
63399         Message to key mapping impacts design.
63401 2013-05-06  Roland McGrath  <roland@hack.frob.com>
63403         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
63405         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
63407         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
63408         * sysdeps/wordsize-64/glob64.c: ... here.
63410         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
63411         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
63412         New macros.
63414         * debug/getlogin_r_chk.c: Moved to ...
63415         * login/getlogin_r_chk.c: ... here.
63416         * debug/Makefile (routines): Move getlogin_r_chk to ...
63417         * login/Makefile (routines): ... here.
63418         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
63419         * login/Versions (libc: GLIBC_2.4): ... here.
63421         * io/poll.c (__poll): Renamed from poll.
63422         Add libc_hidden_def.
63423         (poll): Define as weak alias.
63425         * debug/ptsname_r_chk.c: Moved to ...
63426         * login/ptsname_r_chk.c: ... here.
63427         * debug/Makefile (routines): Move ptsname_r_chk to ...
63428         * login/Makefile (routines): ... here.
63429         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
63430         * login/Versions (libc: GLIBC_2.4): ... here.
63432         * posix/getlogin.c: Moved to ...
63433         * login/getlogin.c: ... here.
63434         * posix/getlogin_r.c: Moved to ...
63435         * login/getlogin_r.c: ... here.
63436         * posix/getlogin_r.c: Moved to ...
63437         * login/getlogin_r.c: ... here.
63438         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
63439         * login/Makefile (routines): ... here.
63440         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
63441         * login/Versions (libc: GLIBC_2.0): ... here.
63443         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
63444         (setrlimit): Define as weak alias.
63446         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
63447         Call __ names for open, ftruncate, and close.
63448         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
63449         (truncate): Define as weak alias.
63451 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
63453         * math/gen-libm-test.pl (parse_args): Initialize x before each
63454         test of frexp, modf and remquo.
63456         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
63457         test signgam value.
63459 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63461         [BZ #15418]
63462         [BZ #15419]
63463         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
63464         internal tests.
63465         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63467 2013-05-06  Roland McGrath  <roland@hack.frob.com>
63469         * elf/dl-writev.h: New file.
63470         * elf/dl-misc.c: Include it.
63471         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
63472         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
63474 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
63476         * math/libm-test.inc (noXFails): Remove variable.
63477         (noXPasses): Likewise.
63478         (BUILD_COMPLEX_INT): Remove macro.
63479         (print_screen): Remove xfail argument.
63480         (print_screen_max_error): Likewise.
63481         (update_stats): Likewise.
63482         (print_max_error): Likewise.  Update calls to other affected
63483         functions.
63484         (print_complex_max_error): Likewise.
63485         (test_single_exception): Update calls to print_screen.
63486         (test_single_errno): Likewise.
63487         (check_float_internal): Remove xfail argument.  Update calls to
63488         other affected functions.
63489         (check_float): Likewise.
63490         (check_complex): Likewise.
63491         (check_int): Likewise.
63492         (check_long): Likewise.
63493         (check_bool): Likewise.
63494         (check_longlong): Likewise.
63495         (main): Don't print noXFails and noXPasses.
63496         * math/gen-libm-test.pl (top level): Don't mention expected
63497         failure handling in comment.
63498         (new_test): Don't handle expected failures.
63499         (parse_args): Don't mention expected failure handling in comment.
63500         (generate_testfile): Don't handle expected failures.
63501         (parse_ulps): Likewise.
63502         (print_ulps_file): Likewise.
63503         (get_failure): Remove function.
63504         (output_test): Don't handle expected failures.
63505         * make/README.libm-test: Don't mention expected failure handling.
63507         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
63508         (minus_zero): Likewise.
63509         (plus_infty): Likewise.
63510         (minus_infty): Likewise.
63511         (qnan_value): Likewise.
63512         (max_value): Likewise.
63513         (min_value): Likewise.
63514         (min_subnorm_value): Likewise.
63515         (initialize): Do not initialize those variables dynamically.
63517 2013-05-03  Roland McGrath  <roland@hack.frob.com>
63519         * io/open.c (__open_2): Moved to ...
63520         * io/open_2.c: ... this new file.
63521         * io/open64.c (__open64_2): Moved to ...
63522         * io/open64_2.c: ... this new file.
63523         * io/openat.c (__openat_2): Moved to ...
63524         * io/openat_2.c: ... this new file.
63525         * io/openat64.c (__openat64_2): Moved to ...
63526         * io/openat64_2.c: ... this new file.
63527         * io/Makefile (routines): Add them.
63528         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
63529         * sysdeps/unix/sysv/linux/open_2.c: File removed.
63530         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
63531         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
63532         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
63533         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
63534         (__openat64): Add hidden_ver.
63535         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
63536         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
63538         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
63539         Separately conditionalize setting of GLRO(dl_sysinfo) so
63540         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
63541         as well, but the actual setting is only under [NEED_DL_SYSINFO].
63543 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63545         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
63546         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
63547         definition.
63548         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
63549         * sysdeps/unix/sysv/linux/powerpc/init-first.c
63550         (_libc_vdso_platform_setup): Add __vdso_time initialization.
63551         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
63552         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
63554 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
63556         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
63557         test signgam value.
63559         * math/libm-test.inc (hypot_test): Do not use
63560         IGNORE_ZERO_INF_SIGN.
63562 2013-05-03  Andreas Jaeger  <aj@suse.de>
63564         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
63565         Linux 3.9.
63566         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
63567         (PF_MAX): Adjust for VSOCK change.
63569 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63573 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
63575         [BZ #15264]
63576         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
63577         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
63578         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
63580 2013-05-02  David S. Miller  <davem@davemloft.net>
63582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63584 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
63586         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
63588 2013-05-01  Roland McGrath  <roland@hack.frob.com>
63590         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
63592 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
63594         [BZ #14952]
63595         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
63596         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
63597         Use __attribute__ ((__gnu_inline__)).
63598         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
63599         Don't use __attribute__ ((__gnu_inline__)).
63601 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
63603         [BZ #15423]
63604         * math/s_catan.c (__catan): Handle small real or imaginary part of
63605         input specially to avoid spurious underflow.
63606         * math/s_catanf.c (__catanf): Likewise.
63607         * math/s_catanh.c (__catanh): Likewise.
63608         * math/s_catanhf.c (__catanhf): Likewise.
63609         * math/s_catanhl.c (__catanhl): Likewise.
63610         * math/s_catanl.c (__catanl): Likewise.
63611         * math/libm-test.inc (catan_test): Add more tests.
63612         (catanh_test): Likewise.
63613         * sysdeps/i386/fpu/libm-test-ulps: Update.
63614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63616 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63620 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
63622         [BZ #15416]
63623         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
63624         accurately for denominator in atan2.
63625         * math/s_catanf.c (__catanf): Likewise.
63626         * math/s_catanh.c (__catanh): Likewise.
63627         * math/s_catanhf.c (__catanhf): Likewise.
63628         * math/s_catanhl.c (__catanhl): Likewise.
63629         * math/s_catanl.c (__catanl): Likewise.
63630         * math/libm-test.inc (catan_test): Add more tests.
63631         (catanh_test): Likewise.
63632         * sysdeps/i386/fpu/libm-test-ulps: Update.
63633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63635 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63637         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
63639         * benchtests/Makefile (bench): Remove slow benchmarks.
63640         * benchtests/atan-inputs: Add slow benchmark inputs.
63641         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
63642         (BENCH_FUNC): Accept variant offset.
63643         (VARIANT): Define.
63644         * benchtests/bench-skeleton.c (main): Run benchmark for each
63645         variant.
63646         * benchtests/cos-inputs: Add slow benchmark inputs.
63647         * benchtests/exp-inputs: Likewise.
63648         * benchtests/pow-inputs: Likewise.
63649         * benchtests/sin-inputs: Likewise.
63650         * benchtests/slowatan-inputs: Remove.
63651         * benchtests/slowatan.c: Remove.
63652         * benchtests/slowcos-inputs: Remove.
63653         * benchtests/slowcos.c: Remove.
63654         * benchtests/slowexp-inputs: Remove.
63655         * benchtests/slowexp.c: Remove.
63656         * benchtests/slowpow-inputs: Remove.
63657         * benchtests/slowpow.c: Remove.
63658         * benchtests/slowsin-inputs: Remove.
63659         * benchtests/slowsin.c: Remove.
63660         * benchtests/slowtan-inputs: Remove.
63661         * benchtests/slowtan.c: Remove.
63662         * benchtests/tan-inputs: Add slow benchmark inputs.
63663         * scripts/bench.pl: Parse comments and directives.
63665         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
63666         in CPPFLAGS.
63667         ($(objpfx)bench-%.c): Remove *-ITER.
63668         * benchtests/bench-modf.c: Remove definition of ITER.
63669         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
63670         (main): Loop for DURATION seconds instead of fixed number of
63671         iterations.
63672         * scripts/bench.pl: Don't expect iterations in parameters.
63674 2013-04-29  Roland McGrath  <roland@hack.frob.com>
63676         * io/fchdir.c (__fchdir): Renamed from fchdir.
63677         (fchdir): Define as weak alias.
63679 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
63681         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
63682         (ERRNO_EDOM): Likewise.
63683         (ERRNO_ERANGE): Likewise.
63684         (noErrnoTests): New variable.
63685         (init_max_error): Set errno to 0.
63686         (test_single_errno): New function.
63687         (test_errno): Likewise.
63688         (check_float_internal): Call test_errno.  Set errno to 0.
63689         (check_complex): Refer to errno tests in comment.
63690         (check_int): Call test_errno.  Set errno to 0.
63691         (check_long): Likewise.
63692         (check_bool): Likewise.
63693         (check_longlong): Likewise.
63694         (cos_test): Use ERRNO_* flags for errno tests instead of
63695         check_int.
63696         (expm1_test): Likewise.
63697         (fmod_test): Likewise.
63698         (ilogb_test): Likewise.
63699         (lgamma_test): Likewise.
63700         (pow_test): Likewise.
63701         (remainder_test): Likewise.
63702         (sin_test): Likewise.
63703         (tan_test): Likewise.
63704         (yn_test): Likewise.
63705         (initialize): Set errno to 0.
63706         (main): Print number of errno tests.
63707         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
63709 2013-04-29  Andreas Jaeger  <aj@suse.de>
63711         [BZ #15084]
63712         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
63713         and RES_USEVC.
63715         [BZ #15085]
63716         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
63717         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
63718         unimplemented.
63720         [BZ #15380]
63721         * stdlib/random.c (__initstate): Return NULL if
63722         __initstate fails.
63724         [BZ #15086]
63725         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
63726         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
63727         RES_SNGLKUPREOP.
63729 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63733 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
63735         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
63736         of individual tests.
63737         (casin_test): Likewise.
63738         (casinh_test): Likewise.
63740 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
63742         [BZ #15409]
63743         * math/s_catan.c (__catan): Handle arguments with large real or
63744         imaginary part separately without squaring.
63745         * math/s_catanf.c (__catanf): Likewise.
63746         * math/s_catanh.c (__catanh): Likewise.
63747         * math/s_catanhf.c (__catanhf): Likewise.
63748         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
63749         and redefine.
63750         (__catanhl): Handle arguments with large real or imaginary part
63751         separately without squaring.
63752         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
63753         and redefine.
63754         (__catanl): Handle arguments with large real or imaginary part
63755         separately without squaring.
63756         * math/libm-test.inc (catan_test): Add more tests.
63757         (catanh_test): Likewise.
63758         * sysdeps/i386/fpu/libm-test-ulps: Update.
63759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63761 2013-04-27  Andreas Jaeger  <aj@suse.de>
63763         [BZ #15007]
63764         * stdlib/stdlib.h: Update guards for qecvt.
63765         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
63766         <stdlib.h>.
63768 2013-04-27  Allan McRae  <allan@archlinux.org>
63770         * sysdeps/i386/fpu/libm-test-ulps: Update.
63772 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
63774         [BZ #15406]
63775         * math/s_catan.c: Include <float.h>.
63776         (__catan): Ensure underflow exception occurs for underflowed
63777         result.
63778         * math/s_catanf.c: Include <float.h>.
63779         (__catanf): Ensure underflow exception occurs for underflowed
63780         result.
63781         * math/s_catanh.c: Include <float.h>.
63782         (__catanh): Ensure underflow exception occurs for underflowed
63783         result.
63784         * math/s_catanhf.c: Include <float.h>.
63785         (__catanhf): Ensure underflow exception occurs for underflowed
63786         result.
63787         * math/s_catanhl.c: Include <float.h>.
63788         (__catanhl): Ensure underflow exception occurs for underflowed
63789         result.
63790         * math/s_catanl.c: Include <float.h>.
63791         (__catanl): Ensure underflow exception occurs for underflowed
63792         result.
63793         * math/libm-test.inc (catan_test): Add more tests.
63794         (catanh_test): Likewise.
63796         [BZ #15405]
63797         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
63798         underflowed result.
63799         * math/s_ccoshf.c (__ccoshf): Likewise.
63800         * math/s_ccoshl.c (__ccoshl): Likewise.
63801         * math/s_csin.c (__csin): Likewise.
63802         * math/s_csinf.c (__csinf): Likewise.
63803         * math/s_csinh.c (__csinh): Likewise.
63804         * math/s_csinhf.c (__csinhf): Likewise.
63805         * math/s_csinhl.c (__csinhl): Likewise.
63806         * math/s_csinl.c (__csinl): Likewise.
63807         * math/libm-test.inc (ccos_test): Add more tests.
63808         (ccosh_test): Likewise.
63809         (csin_test): Likewise.
63810         (csinh_test): Likewise.
63812 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63814         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
63815         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
63816         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
63817         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
63818         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
63819         powerpc/power5+/fpu folders.
63820         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
63823 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63827 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
63829         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
63830         additions to variable.
63831         [$(config-machine) = x86_64] (modules-names): Likewise.
63832         ($(objpfx)tst-audit3): Remove dependency.
63833         ($(objpfx)tst-audit3.out): Likewise.
63834         ($(objpfx)tst-audit4): Likewise.
63835         ($(objpfx)tst-audit4.out): Likewise.
63836         ($(objpfx)tst-audit5): Likewise.
63837         ($(objpfx)tst-audit5.out): Likewise.
63838         ($(objpfx)tst-audit6): Likewise.
63839         ($(objpfx)tst-audit6.out): Likewise.
63840         ($(objpfx)tst-audit7): Likewise.
63841         ($(objpfx)tst-audit7.out): Likewise.
63842         (tst-audit3-ENV): Remove variable.
63843         (tst-audit4-ENV): Likewise.
63844         (tst-audit5-ENV): Likewise.
63845         (tst-audit6-ENV): Likewise.
63846         (tst-audit7-ENV): Likewise.
63847         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
63848         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
63849         addition to variable.
63850         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
63851         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
63852         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
63853         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
63854         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
63855         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
63856         tst-audit3, tst-audit4 and tst-audit5.
63857         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
63858         tst-audit6 and tst-audit7.
63859         [$(subdir) = elf] (modules-names): Add audit modules for those
63860         tests.
63861         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
63862         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
63863         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
63864         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
63865         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
63866         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
63867         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
63868         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
63869         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
63870         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
63871         [$(subdir) = elf] (tst-audit3-ENV): New variable.
63872         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
63873         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
63874         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
63875         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
63876         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
63877         Likewise.
63878         [$(subdir) = elf && $(config-cflags-avx) = yes]
63879         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
63880         [$(subdir) = elf && $(config-cflags-avx) = yes]
63881         (CFLAGS-tst-auditmod4a.c): Likewise.
63882         [$(subdir) = elf && $(config-cflags-avx) = yes]
63883         (CFLAGS-tst-auditmod4b.c): Likewise.
63884         [$(subdir) = elf && $(config-cflags-avx) = yes]
63885         (CFLAGS-tst-auditmod6b.c): Likewise.
63886         [$(subdir) = elf && $(config-cflags-avx) = yes]
63887         (CFLAGS-tst-auditmod6c.c): Likewise.
63888         [$(subdir) = elf && $(config-cflags-avx) = yes]
63889         (CFLAGS-tst-auditmod7b.c): Likewise.
63890         * elf/tst-audit3.c: Move to ...
63891         * sysdeps/x86_64/tst-audit3.c: ... here.
63892         * elf/tst-audit4.c: Move to ...
63893         * sysdeps/x86_64/tst-audit4.c: ... here.
63894         * elf/tst-audit5.c: Move to ...
63895         * sysdeps/x86_64/tst-audit5.c: ... here.
63896         * elf/tst-audit6.c: Move to ...
63897         * sysdeps/x86_64/tst-audit6.c: ... here.
63898         * elf/tst-audit7.c: Move to ...
63899         * sysdeps/x86_64/tst-audit7.c: ... here.
63900         * elf/tst-auditmod3a.c: Move to ...
63901         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
63902         * elf/tst-auditmod3b.c: Move to ...
63903         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
63904         * elf/tst-auditmod4a.c: Move to ...
63905         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
63906         * elf/tst-auditmod4b.c: Move to ...
63907         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
63908         * elf/tst-auditmod5a.c: Move to ...
63909         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
63910         * elf/tst-auditmod5b.c: Move to ...
63911         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
63912         * elf/tst-auditmod6a.c: Move to ...
63913         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
63914         * elf/tst-auditmod6b.c: Move to ...
63915         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
63916         * elf/tst-auditmod6c.c: Move to ...
63917         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
63918         * elf/tst-auditmod7a.c: Move to ...
63919         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
63920         * elf/tst-auditmod7b.c: Move to ...
63921         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
63923 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
63925         [BZ #15366]
63926         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
63927         define unconditionally.
63928         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
63929         define unconditionally.
63930         (INT8_C, INT16_C, etc.): Likewise.
63932 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
63934         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
63935         __ehdr_start with hidden visibility.
63937         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
63939 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
63941         * math/libm-test.inc (cos_test): Use accurate hex constants.
63942         (sincost_test): Likewise.
63944 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
63946         * math/libm-test.inc (catan_test): Add more tests.
63947         (catanh_test): Likewise.
63949         * math/s_catanf.c (__catanf): Use suffixed floating-point
63950         constants.
63951         * math/s_catanhf.c (__catanhf): Likewise.
63952         * math/s_catanhl.c (__catanhl): Likewise.
63953         * math/s_catanl.c (__catanl): Likewise.
63955         [BZ #15394]
63956         * math/s_catan.c (__catan): Calculate imaginary part of result
63957         with log1p not log unless computing log of number close to 0.
63958         * math/s_catanf.c (__catanf): Likewise.
63959         * math/s_catanl.c (__catanl): Likewise.
63960         * math/s_catanh.c (__catanh): Calculate real part of result with
63961         log1p not log unless computing log of number close to 0.
63962         * math/s_catanhf.c (__catanhf): Likewise.
63963         * math/s_catanhl.c (__catanhl): Likewise.
63964         * math/libm-test.inc (catan_test): Add more tests.
63965         (catanh_test): Likewise.
63966         * sysdeps/i386/fpu/libm-test-ulps: Update.
63967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63969 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63971         * benchtests/Makefile: Mention files in which fast and slow
63972         paths of math functions are implemented.
63974 2013-04-23  Roland McGrath  <roland@hack.frob.com>
63976         * sysdeps/posix/timespec_get.c: New file.
63978 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63980         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
63981         POWER.
63982         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
63983         for POWER.
63984         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
63985         powerpc/power5/fpu folders.
63986         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
63987         * benchtests/Makefile: Add modf testcase.
63988         * benchtests/bench-modf.c: New file: Benchmark test for mo
63990 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63992         [BZ #14888]
63993         * time/Makefile (tests): Add tst-strptime-whitespace.
63994         * time/strptime_l.c (get_number): Use ISSPACE.
63995         (__strptime_internal): Likewise.
63996         * time/tst-strptime-whitespace.c: New test case.
63998 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
64000         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
64001         member.
64002         (_nss_files_init): Set it here.
64004 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
64006         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
64007         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
64008         unsigned.
64010 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
64012         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
64014 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64016         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
64017         size just once.
64019 2013-04-21  David S. Miller  <davem@davemloft.net>
64021         * po/ru.po: Update Russion translation from translation project.
64023 2013-04-17  Adam Conrad  <adconrad@0c3.net>
64025         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
64026         and setfsgid.
64028 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
64030         * configure.in: Remove i386 configure warning. Remove i386 case.
64031         * configure: Regenerate.
64032         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
64033         Add example to error message.
64034         * sysdeps/i386/configure: Regenerate.
64036 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64038         * benchtests/Makefile (bench): Add cos, tan, slowcos and
64039         slowtan.
64040         * benchtests/cos-inputs: New file.
64041         * benchtests/slowcos-inputs: New file.
64042         * benchtests/slowcos.c: New file.
64043         * benchtests/slowtan-inputs: New file.
64044         * benchtests/slowtan.c: New file.
64045         * benchtests/tan-inputs: New file.
64047 2013-04-16  Roland McGrath  <roland@hack.frob.com>
64049         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
64050         considered kosher.
64052 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64054         * benchtests/Makefile: Include cppflags-iterator.mk to add
64055         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
64057         * Makefile.in (bench-clean): New target.
64058         * benchtests/Makefile (bench-clean): Likewise.
64060 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
64062         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
64064 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
64066         * stdio-common/tstdiomisc.c: Fix coding-style violation.
64068 2013-04-15  Andreas Schwab  <schwab@suse.de>
64070         * nscd/grpcache.c (cache_addgr): Properly check for short write.
64071         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64072         * nscd/pwdcache.c (cache_addpw): Likewise.
64073         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
64074         more than recsize.
64076 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64078         * benchtests/Makefile (bench): Write all output to
64079         bench-out.tmp together.
64081 2013-04-15  Andreas Schwab  <schwab@suse.de>
64083         * nscd/nscd.c (main): Don't fork again after closing files.
64085 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64087         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
64089         * benchtests/Rules (bench-deps): Collect dependencies into a
64090         single variable.  Add Makefile to dependencies.
64091         ($(objpfx)bench-%.c): Depend on bench-deps.
64093 2013-04-12  Roland McGrath  <roland@hack.frob.com>
64094             Xavier Roche  <roche+kml2@exalead.com>
64096         [BZ #15361]
64097         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
64098         just that it's a file descriptor.
64099         * manual/llio.texi (Synchronizing AIO Operations): Update description
64100         for EBADF error from aio_fsync.
64102 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
64104         * Rules (bench): Move target definition...
64105         * benchtests/Makefile: ... here.
64107 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
64109         * math/libm-test.inc (cos_test): Fix PI/2 test.
64110         (sincos_test): Likewise.
64111         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
64112         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
64114 2013-04-11  Andreas Schwab  <schwab@suse.de>
64116         [BZ #13988]
64117         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
64118         accept exponent character only when digits were seen.
64119         * stdio-common/Makefile (tests): Add bug26.
64120         * stdio-common/bug26.c: New file.
64122         [BZ #14293]
64123         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
64124         non-freeable.
64126 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64128         * Makeconfig (rtld-prefix): Define built linker prefix.
64129         * Rules (run-bench): Use it.
64130         * math/Makefile (run-regen-ulps): Likewise.
64132         * Rules (bench): Remove eval.
64134 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64135             Roland McGrath  <roland@hack.frob.com>
64136             Ondrej Bilka  <neleai@seznam.cz>
64138         [BZ #15346]
64139         * time/getdate.c: Include ctype.h and alloca.h.
64140         (__getdate_r): Trim leading and trailing spaces of input.
64141         * time/tst-getdate.c (tests): Add tests with leading and
64142         trailing spaces.
64144 2013-04-08  Roland McGrath  <roland@hack.frob.com>
64146         [BZ #14280]
64147         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
64148         when computing value.
64150 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64152         * math/README.libm-test (How can I generate "libm-test-ulps"?):
64153         Use testrun.sh to run libm tests.
64155         [BZ #15309]
64156         * elf/dl-open.c (dl_open_worker): memset all of seen array.
64158 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
64160         [BZ #15264]
64161         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
64163 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64165         * Makefile.in (regen-ulps): New target.
64166         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
64167         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
64168         [ifneq (no,$(PERL)] (regen-ulps): New target.
64169         [ifeq (no,$(PERL)] (regen-ulps): New target.
64170         * math/libm-test.inc (ulps_file_name): Define.
64171         (output_dir): New variable.
64172         (options): Add "output-dir" option.
64173         (parse_opt): Handle 'o' case.
64174         (main): If output_dir is non-NULL use it as a prefix
64175         otherwise use "".
64176         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
64178 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64180         [BZ #10060, #10062]
64181         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
64182         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
64183         fail configure if __sync_val_compare_and_swap is not inlined.
64184         * sysdeps/i386/configure: Regenerate.
64185         * configure.in: Build for i686 when configured for i386.
64186         * configure: Regenerate.
64187         * README: Remove i386 reference.
64189 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64191         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
64192         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64194 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64196         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
64197         (lmsnanval): New variables.
64198         (F): Add conversion tests.
64199         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
64200         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
64202         * stdio-common/tstdiomisc.c (F): Properly collect individual
64203         tests' results.
64205         [BZ #14686, #15336]
64206         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
64207         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
64208         Instead, use input NaN values or generate a qNaN by arithmetic
64209         operation.  Also fix bugs to comply with the standard.
64210         * math/libm-test.inc (remainder_test): Add more tests.
64212         [BZ #15335, #15342]
64213         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
64214         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
64215         input NaN values or generate a qNaN by arithmetic operation.
64217         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
64218         unreachable code.
64220         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
64221         definitions.
64223 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
64225         [BZ #14478]
64226         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
64227         underflowed result.
64228         * math/s_cexpf.c (__cexpf): Likewise.
64229         * math/s_cexpl.c (__cexpl): Likewise.
64230         * math/libm-test.inc (cexp_test): Add more tests.
64232 2013-04-03  Andreas Schwab  <schwab@suse.de>
64234         [BZ #15330]
64235         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
64236         order arrays from heap if bigger than alloca cutoff.
64238 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
64240         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
64241         (SNAN_TESTS_double): Refer to GCC PR56831.
64242         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
64243         GCC PR56828.
64245 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64247         * Rules (bench): Move bench.out after the run is complete.
64249         * Rules (bench): Echo currently running benchmark.
64251         * benchtests/Makefile (bench): Add atan and slowatan.
64252         * benchtests/atan-inputs: New file.
64253         * benchtests/slowatan-inputs: New file.
64254         * benchtests/slowatan.c: New file.
64256         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
64257         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
64258         its value.
64260         [BZ #15305]
64261         * sysdeps/unix/sysv/linux/kernel-features.h
64262         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
64263         __ASSUME_XFS_RESTRICTED_CHOWN.
64264         * sysdeps/unix/sysv/linux/pathconf.c
64265         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
64266         Save and restore errno.
64268 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
64270         [BZ #15327]
64271         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
64272         arguments using __kernel_casinh.
64273         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
64274         arguments using __kernel_casinhf.
64275         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
64276         arguments using __kernel_casinhl.
64277         * math/libm-test.inc (cacosh_test): Add more tests.
64278         * sysdeps/i386/fpu/libm-test-ulps: Update.
64279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64281 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64283         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
64284         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
64286         * bench/Makefile (bench): Add sin and slowsin.
64287         * benchtests/sin-inputs: New file.
64288         * benchtests/slowsin-inputs: New file.
64289         * benchtests/slowsin.c: New file.
64291         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
64292         (bench): Add slowexp and slowpow.
64293         (exp-ITER): Increase iterations.
64294         (pow-ITER): Likewise.
64295         * benchtests/exp-inputs: Change input.
64296         * benchtests/pow-inputs: Likewise.
64297         * benchtests/slowexp-inputs: New file.
64298         * benchtests/slowexp.c: New file.
64299         * benchtests/slowpow-inputs: New file.
64300         * benchtests/slowpow.c: New file.
64302 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64304         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
64305         instructions.
64306         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64307         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
64308         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
64309         * benchtests/Makefile: Add rint benchtest.
64310         * benchtests/rint-inputs: Input for rint benchtest.
64312 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64314         * Versions.def (libm): Add GLIBC_2.18.
64315         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
64316         hidden libm prototypes.
64317         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
64318         * math/Makefile (libm-calls): Add s_issignaling.
64319         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
64320         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
64321         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
64322         declaration.
64323         * math/math.h [__USE_GNU] (issignaling): New macro.
64324         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
64325         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
64326         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
64327         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
64328         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
64329         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
64330         * manual/arith.texi (issignaling): New section.
64331         * manual/libm-err-tab.pl (@all_functions): Update comment.
64332         * math/gen-libm-test.pl (parse_args): Apply special handling for
64333         issignaling.
64334         * math/libm-test.inc (print_float, issignaling_test): New
64335         functions.
64336         (check_float_internal): Add issignaling checks.
64337         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
64338         default definition.
64339         * sysdeps/powerpc/math-tests.h: New file.
64340         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
64341         tests.
64342         * math/test-snan.c (TEST_FUNC): Likewise.
64344 2013-03-30  David S. Miller  <davem@davemloft.net>
64346         * po/de.po: Update from translation team.
64348 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
64350         [BZ #10357]
64351         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64352         imaginary part less than 1.0 and real part less than 0.5
64353         specially.
64354         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64355         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64356         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
64357         (cacos_test): Add more tests.
64358         (casin_test): Likewise.
64359         (casinh_test): Likewise.
64360         * sysdeps/i386/fpu/libm-test-ulps: Update.
64361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64363 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64365         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
64366         ONE with its value.
64368         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
64369         (__pow_mp): Replace ONE and MONE with their values.
64370         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64371         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
64372         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64373         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
64374         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64375         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64377         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
64379         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
64380         (__pow_mp): Replace ZERO and MZERO with their values.
64381         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
64382         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64383         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64384         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64385         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64386         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
64387         (__sqr): Likewise.
64389         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
64391         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
64393 2013-03-28  Roland McGrath  <roland@hack.frob.com>
64395         * include/stdlib.h [!SHARED] (__call_tls_dtors):
64396         Declare with __attribute__ ((weak)).
64397         * stdlib/exit.c (__libc_atexit) [!SHARED]:
64398         Call __call_tls_dtors only if it's not NULL.
64400 2013-03-28  Roland McGrath  <roland@hack.frob.com>
64402         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
64403         didn't do it already, then set _dl_phdr and _dl_phnum based on the
64404         magic __ehdr_start linker symbol if it's defined.
64405         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
64406         them up here if it was already done.
64408         * elf/dl-support.c (_dl_phdr): Make pointer to const.
64409         (_dl_aux_init): Use const in cast when setting it.
64410         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
64411         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
64412         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
64414         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
64415         Declare them here.
64416         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
64417         * csu/libc-tls.c: Nor here.
64418         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
64420         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
64421         (__libc_message): Never call vsyslog.
64423 2013-03-28  Alan Modra  <amodra@gmail.com>
64425         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
64426         Define as empty.
64427         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
64428         Likewise.
64430 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64432         [BZ #15214]
64433         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
64434         underflow.
64435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64437 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64439         [BZ #15304]
64440         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
64441         Don't add gid passed as argument.
64443         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
64445 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
64447         [BZ #15307]
64448         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64449         imaginary part between 1.0 and 1.5 and real part less than 0.5
64450         specially.
64451         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64452         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64453         * math/libm-test.inc (cacos_test): Add more tests.
64454         (casin_test): Likewise.
64455         (casinh_test): Likewise.
64456         * sysdeps/i386/fpu/libm-test-ulps: Update.
64457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64459 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64461         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
64462         constants.
64463         (norm): Likewise.
64464         (denorm): Likewise.
64465         (__dbl_mp): Likewise.
64466         (add_magnitudes): Likewise.
64467         (sub_magnitudes): Likewise.
64468         (__add): Likewise.
64469         (__sub): Likewise.
64470         (__mul): Likewise.
64471         (__sqr): Likewise.
64472         (__inv): Likewise.
64473         (__dvd): Likewise.
64475         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
64476         commented code.
64477         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
64478         (__dubcos): Likewise.
64479         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
64480         (__ieee754_acos): Likewise.
64481         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
64482         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
64483         (__exp1): Likewise.
64484         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64485         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64486         (log1): Likewise.
64487         (my_log2): Likewise.
64488         (checkint): Likewise.
64489         * sysdeps/ieee754/dbl-64/e_remainder.c
64490         (__ieee754_remainder): Likewise.
64491         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64492         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
64493         (bsloww): Likewise.
64494         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64496         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
64497         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
64498         MANTISSA_STORE_T to store computations on mantissa.  Use
64499         macros for rounding and division.
64500         (denorm): Likewise.
64501         (__dbl_mp): Likewise.
64502         (add_magnitudes): Likewise.
64503         (sub_magnitudes): Likewise.
64504         (__mul): Likewise.
64505         (__sqr): Likewise.
64506         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
64507         powers of two in terms of TWOPOW macro.
64508         (mp_no): Make type of mantissa as MANTISSA_T.
64509         [!RADIXI]: Define RADIXI.
64510         [!TWO52]: Define TWO52.
64511         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
64513 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64515         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
64516         llroundl symbol when building for PPC32.
64518 2013-03-24  Mark H Weaver  <mhw@netris.org>
64520         * manual/arith.texi (Normalization Functions): Fix prototypes for
64521         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
64523 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64525         [BZ #13889]
64526         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
64527         high value to check if expl overflow.
64528         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
64529         to check for underflow and overflow.
64530         * math/libm-test.inc: Add exp test.
64532 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
64534         [BZ #11120]
64535         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
64536         with NOT_IN_libc.
64538 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64540         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
64541         symbol.
64543 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64545         * math/gen-libm-test.pl (parse_args, special_functions): Properly
64546         wrap blocks consisting of several statements.
64548         * sysdeps/generic/math-tests.h: New file.
64549         * sysdeps/i386/fpu/math-tests.h: Likewise.
64550         * math/test-snan.c: Include it.
64551         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
64553 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
64555         [BZ #15285]
64556         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
64557         (__ieee754_j0l): Do not improve calculations using cos of twice
64558         input for inputs above LDBL_MAX / 2.0L.
64559         (__ieee754_y0l): Likewise.
64560         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
64561         (__ieee754_j1l): Do not improve calculations using cos of twice
64562         input for inputs above LDBL_MAX / 2.0L.
64563         (__ieee754_y1l): Likewise.
64564         * math/libm-test.inc (j0_test): Add another test.
64565         (j1_test): Likewise.
64566         (y0_test): Likewise.
64567         (y1_test): Likewise.
64568         * sysdeps/i386/fpu/libm-test-ulps: Update.
64570 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64572         * Rules ($(objpfx)bench-%.c): Include code from a C source
64573         file.
64575 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
64577         [BZ #15287]
64578         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64579         imaginary part 1.0 and real part less than 0.5 specially.
64580         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64581         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64582         * math/libm-test.inc (cacos_test): Add more tests.
64583         (casin_test): Likewise.
64584         (casinh_test): Likewise.
64585         * sysdeps/i386/fpu/libm-test-ulps: Update.
64586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64588 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64590         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
64591         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
64593 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
64595         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
64596         * config.make.in (config-cflags-sse4): Remove variable.
64597         (config-cflags-avx): Likewise.
64598         (config-cflags-sse2avx): Likewise.
64599         (config-cflags-novzeroupper): Likewise.
64600         (config-asflags-i686): Likewise.
64601         (have-mfma4): Likewise.
64602         (have-as-vis3): Likewise.
64603         (MIG): Likewise.
64604         * configure.in (MIG): Do not AC_SUBST.
64605         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
64606         (libc_cv_cc_sse4): Do not AC_SUBST.
64607         (libc_cv_cc_avx): Likewise.
64608         (libc_cv_cc_sse2avx): Likewise.
64609         (libc_cv_cc_novzeroupper): Likewise.
64610         (libc_cv_cc_fma4): Likewise.
64611         (libc_cv_as_i686): Likewise.
64612         (libc_cv_sparc_as_vis3): Likewise.
64613         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
64614         LIBC_CONFIG_VAR.
64615         (config-asflags-i686): Likewise.
64616         (config-cflags-avx): Likewise.
64617         (config-cflags-sse2avx): Likewise.
64618         (have-mfma4): Likewise.
64619         (config-cflags-novzeroupper): Likewise.
64620         * sysdeps/mach/configure.in (MIG): Likewise.
64621         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
64622         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
64623         LIBC_CONFIG_VAR.
64624         (config-cflags-avx): Likewise.
64625         (config-cflags-sse2avx): Likewise.
64626         (have-mfma4): Likewise.
64627         (config-cflags-novzeroupper): Likewise.
64628         * configure: Regenerated.
64629         * sysdeps/i386/configure: Likewise.
64630         * sysdeps/mach/configure: Likewise.
64631         * sysdeps/sparc/configure: Likewise.
64632         * sysdeps/x86_64/configure: Likewise.
64634 2013-03-20  Roland McGrath  <roland@hack.frob.com>
64636         [BZ #14812]
64637         * locale/programs/localedef.c (options): Put N_ translation marker
64638         on argument names, not just descriptions.
64640 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64642         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
64644 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
64646         [BZ #14176]
64647         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
64649 2013-03-19  Roland McGrath  <roland@hack.frob.com>
64651         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
64652         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
64653         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
64654         [!BEFORE_ABORT] (before_abort): New function.
64655         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
64656         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
64657         (writev_for_fatal): New function.
64658         (WRITEV_FOR_FATAL): New macro; call that.
64659         (backtrace_and_maps): New function.
64660         (BEFORE_ABORT): New macro; call that.
64661         (struct str_list): Type removed.
64662         (__libc_message, __libc_fatal): Functions removed.
64663         Include <sysdeps/posix/libc_fatal.c> instead.
64665 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
64667         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
64668         constants.
64669         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
64670         double constants.
64672 2013-03-19  Andreas Schwab  <schwab@suse.de>
64674         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
64675         * sysdeps/gnu/configure: Regenerate.
64677         * configure.in: Substitute libc_cv_rtlddir.
64678         * configure: Regenerate.
64679         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
64680         * Makeconfig (rtlddir, inst_rtlddir): New variables.
64681         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
64682         * elf/Makefile (install-others, CFLAGS-interp.c)
64683         (ldso_install, common-ldd-rewrite): Likewise.
64684         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
64685         $(inst_slibdir)/$(rtld-installed-name).
64686         * scripts/rellns-sh: Add -p option.
64687         * Makerules (make-shlib-link): Use rellns-sh to get relative name
64688         for source.
64690 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64692         * manual/nptl.texi: Renamed to ...
64693         * manual/threads.texi: ... this.
64694         * manual/Makefile (chapters): Update.
64696 2013-03-18  Roland McGrath  <roland@hack.frob.com>
64698         [BZ #14812]
64699         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
64700         on argument names, not just descriptions.
64701         * malloc/memusagestat.c (options): Likewise.
64702         * nss/getent.c (options): Likewise.
64704 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
64706         [BZ #14812]
64707         * iconv/iconv_prog.c (options): Put N_ translation marker
64708         on argument names, not just descriptions.
64709         * iconv/iconvconfig.c (options): Likewise.
64711 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
64713         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
64714         implementation which is faster on all x86_64 architectures.
64715         Tested on AMD, Intel Nehalem, SNB, IVB.
64716         * sysdeps/x86_64/strnlen.S: Likewise.
64718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64719         Remove all multiarch strlen and strnlen versions.
64720         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
64721         Remove strlen and strnlen related parts.
64723         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
64724         Inline strlen part.
64725         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
64727         * sysdeps/x86_64/multiarch/strlen.S: Remove.
64728         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
64729         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
64730         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
64731         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
64732         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
64734 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
64736         * manual/memory.texi (Malloc Tunable Parameters):
64737         Sort parameters alphabetically. Add comments for missing entries.
64739 2013-03-17  David S. Miller  <davem@davemloft.net>
64741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64743 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
64745         [BZ #15283]
64746         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
64747         for arguments at most half maximum finite value.
64748         * math/libm-test.inc (j0_test): Add more tests.
64749         (j1_test): Likewise.
64750         (y0_test): Likewise.
64751         (y1_test): Likewise.
64752         * sysdeps/i386/fpu/libm-test-ulps: Update.
64753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64755         [BZ #14155]
64756         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
64757         1 / x and functions P and Q for arguments above 0x1p256L.
64758         (__ieee754_y0l): Likewise.
64759         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
64760         (__ieee754_y1l): Likewise.
64761         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
64762         (j1_test): Likewise.
64763         (y0_test): Likewise.
64764         (y1_test): Likewise.
64766 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
64768         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
64769         variable.
64771 2013-03-15  Roland McGrath  <roland@hack.frob.com>
64773         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
64774         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
64775         zero since it's initialized to EXEC_PAGESIZE.
64777         * sysdeps/unix/sysv/linux/ldsodefs.h
64778         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
64779         * sysdeps/generic/ldsodefs.h: ... here.
64781 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
64783         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
64785         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
64786         math/test-snan.c.
64787         * math/test-snan.c: Renamed from
64788         sysdeps/powerpc/fpu/test-powerpc-snan.c.
64789         * math/Makefile (tests): Add test-snan.
64790         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
64791         test-powerpc-snan.
64793         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
64794         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
64795         functions.
64796         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
64797         __builtin_nan family of functions.
64798         * math/libm-test.inc (initialize): Initialize qnan_value with
64799         __builtin_nan family of functions.
64800         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
64801         Remove variables.
64802         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
64803         Remove functions.
64804         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
64805         storage class.  Initialize qNaN_var and sNaN_var with
64806         __builtin_nan and __builtin_nans families of functions,
64807         respectively.
64809         * math/libm-test.inc (acosh_test): Also test with qNaN input.
64810         (sqrt_test): Remove duplicate test with qNaN input.
64811         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
64812         (round_test, signbit_test, significand_test): Note missing +/-Inf
64813         as well as qNaN tests.
64815         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
64816         qNaN_var.  Fix a few strings, too.
64817         * math/libm-test.inc (nan_value): Rename to qnan_value.
64818         * math/gen-libm-test.pl (%beautify): Adjust to that.
64819         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
64820         * math/test-misc.c (main): Likewise.
64821         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
64822         to __qnan_bytes, and __qnan_union, respectively.
64823         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
64824         Likewise.
64825         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
64826         and lqnanval, respectively.
64827         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
64828         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
64829         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
64830         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
64832         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
64833         * math/test-misc.c (main) [__x86_64__]: Enable test for long
64834         doubles.
64836         * math/test-misc.c (main): Fix copy'n'pastos.
64837         * misc/tst-efgcvt.c (special): Likewise.
64839         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
64840         Remove declarations.
64842 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64844         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
64845         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
64846         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
64847         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
64849 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64851         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
64852         macro to return vdso values correctly in IFUNC implementations.
64853         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
64854         Optimization by using IFUNC.
64856 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64857             Richard Henderson  <rth@redhat.com>
64858             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64860         * Makefile.in (bench): New target.
64861         * NEWS: Mention the benchmark framework.
64862         * Rules (bench): Likewise.
64863         (binaries-bench): Generate binaries for functions to
64864         benchmark.
64865         * benchtests/Makefile: New makefile for benchmark tests.
64866         * benchtests/bench-skeleton.c: New skeleton file for benchmark
64867         programs.
64868         * benchtests/exp-inputs: New input file for EXP function.
64869         * benchtests/pow-inputs: New input file for POW function.
64870         * scripts/bench.pl: New script to generate source files for
64871         benchmark programs.
64873 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64875         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
64876         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
64877         computations on mantissa.  Use macros for rounding and
64878         division.
64879         (denorm): Likewise.
64880         (__dbl_mp): Likewise.
64881         (add_magnitudes): Likewise.
64882         (sub_magnitudes): Likewise.
64883         (__mul): Likewise.
64884         (__sqr): Likewise.
64885         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
64886         powers of two in terms of TWOPOW macro.
64887         (mp_no): Make type of mantissa as MANTISSA_T.
64888         [!RADIXI]: Define RADIXI.
64889         [!TWO52]: Define TWO52.
64890         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
64892         * manual/nptl.texi (cindex): Modify threads to pthreads.
64894 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
64896         * sysdeps/x86_64/preconfigure: Regenerated.
64898 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
64900         [BZ #14155]
64901         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
64902         0x1p28 and above.
64903         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
64904         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
64905         0x1p28 and above.
64906         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
64907         * math/libm-test.inc (j0_test): Do not allow one spurious
64908         underflow exception.
64909         (y1_test): Likewise.
64911 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64913         * manual/Makefile (chapters): Add nptl.
64914         * manual/debug.texi (Debugging Support): Add link to Threads
64915         chapter.
64916         * manual/nptl.texi: New file.
64918         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
64920 2013-03-14  Petr Baudis  <pasky@ucw.cz>
64922         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
64923         for non-NULL pointer before the memory validity test. Pointed
64924         out by Holger Brunck <holger.brunck@keymile.com>.
64926 2013-03-13  Andreas Schwab  <schwab@suse.de>
64928         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
64929         instead of .os.
64931 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
64933         * timezone/zic.c: Update from tzcode 2013b.
64935 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
64937         * manual/install.texi (Configuring and compiling):
64938         Mention i686 and i586.
64939         * INSTALL: Regenerate.
64941 2013-03-12  Roland McGrath  <roland@hack.frob.com>
64943         * sysdeps/init_array/elf-init.c: New file.
64944         * csu/elf-init.c
64945         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
64946         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
64948         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
64949         __gmon_start__ as global, but as static with a .preinit_array pointer.
64950         * sysdeps/init_array/gmon-start.c: New file.  Use that.
64951         * sysdeps/init_array/crti.S: New file, empty except for comments.
64952         * sysdeps/init_array/crtn.S: Likewise.
64954 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
64956         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
64957         definining bcopy.
64958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64959         Remove Prefer_SSE_for_memop.
64960         * sysdeps/x86_64/multiarch/init-arch.h: Remove
64961         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
64962         HAS_PREFER_SSE_FOR_MEMOP.
64963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
64964         memset-x86-64.
64965         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64966         Remove bzero, memset ifunc support.
64967         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
64968         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
64969         * sysdeps/x86_64/multiarch/memset.S: Likewise.
64970         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
64972 2013-03-11  Andreas Schwab  <schwab@suse.de>
64974         [BZ #15234]
64975         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
64976         by SHLIB_COMPAT.
64977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
64978         (GLIBC_2.16): Remove pthread_atfork.
64980 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
64982         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
64983         (ptestcases.h): Likewise.
64985 2013-03-08  Roland McGrath  <roland@hack.frob.com>
64987         * Makeconfig ($(common-objpfx)config.status): Depend on
64988         sysdeps/*/preconfigure{,.in} too.
64990 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
64992         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
64993         (__free_hook): Use void * instead of __malloc_ptr_t.
64994         (__malloc_hook): Likewise.
64995         (__realloc_hook): Likewise.
64996         (__memalign_hook): Likewise.
64997         (__after_morecore_hook): Likewise.
64998         * malloc/arena.c (save_malloc_hook): Likewise.
64999         (save_free_hook): Likewise.
65000         * malloc/hooks.c (malloc_hook_ini): Likewise.
65001         (realloc_hook_ini): Likewise.
65002         (memalign_hook_ini): Likewise.
65003         * malloc/malloc.c (malloc_hook_ini): Likewise.
65004         (realloc_hook_ini): Likewise.
65005         (memalign_hook_ini): Likewise.
65006         (__free_hook): Likewise.
65007         (__malloc_hook): Likewise.
65008         (__realloc_hook): Likewise.
65009         (__memalign_hook): Likewise.
65010         (__libc_malloc): Likewise.
65011         (__libc_free): Likewise.
65012         (__libc_realloc): Likewise.
65013         (__libc_memalign): Likewise.
65014         (__libc_valloc): Likewise.
65015         (__libc_pvalloc): Likewise.
65016         (__libc_calloc): Likewise.
65017         (__posix_memalign): Likewise.
65018         * malloc/morecore.c (__sbrk): Likewise.
65019         (__default_morecore): Likewise.
65021         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
65023         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
65024         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
65025         __malloc_ptrdiff_t.
65027         * malloc/malloc.h (__malloc_size_t): Remove macro.
65028         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
65029         __malloc_size_t.
65030         (old_memalign_hook): Likewise.
65031         (old_realloc_hook): Likewise.
65032         (struct hdr): Likewise.
65033         (flood): Likewise.
65034         (mallochook): Likewise.
65035         (memalignhook): Likewise.
65036         (reallochook): Likewise.
65037         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
65038         (tr_old_realloc_hook): Likewise.
65039         (tr_old_memalign_hook): Likewise.
65040         (tr_mallochook): Likewise.
65041         (tr_reallochook): Likewise.
65042         (tr_memalignhook): Likewise.
65044 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65046         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
65047         default_ldbl_pack and using as default implementation.
65048         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
65049         implementation.
65050         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
65051         redundant definition.
65052         (ldbl_insert_mantissa): Likewise.
65053         (ldbl_canonicalize): Likewise.
65054         (ldbl_nearbyint): Likewise.
65055         (ldbl_pack): Rename to ldbl_pack_ppc.
65056         (ldbl_unpack): Rename to ldbl_unpack_ppc.
65057         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
65058         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
65060 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65062         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
65063         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
65064         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
65065         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
65066         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
65067         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
65068         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
65069         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
65071 2013-03-07  Andreas Jaeger  <aj@suse.de>
65073         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65074         bits/mman-linux.h.
65076 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
65078         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
65079         Include mpa.h and declare __MPEXP.
65080         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
65081         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
65082         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65083         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
65084         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
65085         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65086         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
65088         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
65089         (__slowpow): Use long double EXPL and LOGL functions to
65090         compute POW.
65091         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
65092         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
65093         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
65094         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
65095         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
65096         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
65098         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
65099         intermediate variable to calculate exponent.
65100         (__sqr): Likewise.
65101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65102         Likewise.
65103         (__sqr): Likewise.
65105         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
65106         [!NO__SQR]: Define __sqr.
65107         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
65108         and NO__SQR.  Remove all code except __mul and __sqr.  Include
65109         sysdeps/ieee754/dbl-64/mpa.c.
65110         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65112         [BZ #12723]
65113         * posix/Makefile (tests): Add tst-pathconf.
65114         * posix/tst-pathconf.c: New test case.
65115         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
65116         _PC_PIPE_BUF.
65117         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
65119 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
65121         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
65123 2013-03-06  Andreas Jaeger  <aj@suse.de>
65125         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
65126         definition via __MAP_ANONYMOUS.
65128         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
65129         it's not part of Linux headers.
65131         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
65132         (MAP_HUGE_MASK): Define.
65134         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65135         Define.
65136         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65137         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65138         Define.
65139         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65140         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65141         Define.
65142         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65143         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
65144         Define.
65145         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65147         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
65148         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
65149         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
65150         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
65151         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
65152         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
65154         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65155         Handle f2fs.
65157         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65158         Handle f2fs and efivarfs.
65160         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
65161         f2fs.
65163         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
65164         (EFIVARFS_MAGIC): Add.
65165         (F2FS_LINK_MAX): Add.
65167 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65169         * stdio-common/vfprintf.c: Replace __builtin_expect with
65170         __glibc_unlikely.
65172 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
65174         [BZ #13550]
65175         * sysdeps/generic/bp-sym.h: Remove file.
65176         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
65177         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
65178         <bp-sym.h> and <bp-asm.h>.
65179         (__longjmp): Don't use BP_SYM.
65180         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
65181         and <bp-asm.h>.
65182         (memcpy): Don't use BP_SYM.
65183         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
65184         <bp-sym.h> and <bp-asm.h>.
65185         (memcpy): Don't use BP_SYM.
65186         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
65187         <bp-asm.h>.
65188         (memcpy): Don't use BP_SYM.
65189         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
65190         <bp-asm.h>.
65191         (memset): Don't use BP_SYM.
65192         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65193         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65194         (__bzero): Don't use BP_SYM.
65195         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65196         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65197         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
65198         <bp-sym.h> and <bp-asm.h>.
65199         (memcmp): Don't use BP_SYM.  Remove comment about bounded
65200         pointers.
65201         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
65202         <bp-sym.h> and <bp-asm.h>.
65203         (memcpy): Don't use BP_SYM.
65204         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
65205         <bp-sym.h> and <bp-asm.h>.
65206         (memset): Don't use BP_SYM.
65207         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65208         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65209         (__bzero): Don't use BP_SYM.
65210         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65211         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65212         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
65213         <bp-sym.h> and <bp-asm.h>.
65214         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65215         pointers.
65216         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
65217         <bp-sym.h> and <bp-asm.h>.
65218         (memcpy): Don't use BP_SYM.
65219         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
65220         <bp-sym.h> and <bp-asm.h>.
65221         (memset): Don't use BP_SYM.
65222         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65223         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65224         (__bzero): Don't use BP_SYM.
65225         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65226         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65227         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
65228         <bp-sym.h> and <bp-asm.h>.
65229         (__memchr): Don't use BP_SYM.
65230         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
65231         <bp-sym.h> and <bp-asm.h>.
65232         (memcmp): Don't use BP_SYM.  Remove comment about bounded
65233         pointers.
65234         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
65235         <bp-sym.h> and <bp-asm.h>.
65236         (memcpy): Don't use BP_SYM.
65237         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
65238         <bp-sym.h> and <bp-asm.h>.
65239         (__mempcpy): Don't use BP_SYM.
65240         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
65241         <bp-sym.h> and <bp-asm.h>.
65242         (__memrchr): Don't use BP_SYM.
65243         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
65244         <bp-sym.h> and <bp-asm.h>.
65245         (memset): Don't use BP_SYM.
65246         (__bzero): Likewise.
65247         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
65248         <bp-sym.h> and <bp-asm.h>.
65249         (__rawmemchr): Don't use BP_SYM.
65250         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
65251         <bp-sym.h> and <bp-asm.h>.
65252         (__STRCMP): Don't use BP_SYM.
65253         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
65254         <bp-sym.h> and <bp-asm.h>.
65255         (strchr): Don't use BP_SYM.
65256         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
65257         <bp-sym.h> and <bp-asm.h>.
65258         (__strchrnul): Don't use BP_SYM.
65259         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
65260         <bp-sym.h> and <bp-asm.h>.
65261         (strlen): Don't use BP_SYM.
65262         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
65263         <bp-sym.h> and <bp-asm.h>.
65264         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65265         pointers.
65266         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
65267         <bp-sym.h> and <bp-asm.h>.
65268         (__strnlen): Don't use BP_SYM.
65269         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
65270         <bp-sym.h> and <bp-asm.h>.
65271         (__GI__setjmp): Don't use BP_SYM.
65272         (_setjmp): Likewise.
65273         (__sigsetjmp): Likewise.
65274         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
65275         (L(start_addresses)): Don't use BP_SYM.
65276         (_start): Likewise.
65277         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
65278         <bp-asm.h>.
65279         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
65280         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
65281         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65282         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65283         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
65284         <bp-asm.h>.
65285         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
65286         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
65287         about bounded pointers.
65288         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65289         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65290         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
65291         <bp-asm.h>.
65292         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
65293         about bounded pointers.  Remove GKM FIXME comments.
65294         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65295         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
65296         <bp-asm.h>.
65297         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
65298         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
65299         Remove GKM FIXME comments.
65300         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65301         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65302         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
65303         <bp-asm.h>.
65304         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
65305         about bounded pointers.  Remove GKM FIXME comment.
65306         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
65307         and <bp-asm.h>.
65308         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65309         pointers.
65310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
65311         <bp-sym.h> and <bp-asm.h>.
65312         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
65313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
65314         <bp-sym.h> and <bp-asm.h>.
65315         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
65316         comment.
65318 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65320         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
65321         call free(NULL).
65323 2013-03-05  David S. Miller  <davem@davemloft.net>
65325         * po/es.po: Update from translation team.
65327 2013-03-05  Andreas Jaeger  <aj@suse.de>
65329         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
65330         <bits/mman-linux.h>.
65331         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65332         is fine.
65333         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
65334         <bits/mman-linux.h> to end of file.
65335         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65336         is fine.
65337         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
65338         <bits/mman-linux.h> to end of file.
65339         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65340         is fine.
65341         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
65342         <bits/mman-linux.h> to end of file.
65344         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
65345         (MCL_CURRENT, MCL_FUTURE): Define here.
65347 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65349         [BZ #15232]
65350         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
65351         attribute_hidden.
65352         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
65354 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65356         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
65357         fourth parameter needed for rt_sigprocmask syscall.
65358         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
65359         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65360         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
65361         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65362         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65363         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
65365 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
65367         [BZ #13550]
65368         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
65369         comment about bounded pointers.
65370         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
65371         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
65373 2013-03-04  Andreas Jaeger  <aj@suse.de>
65375         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
65376         common definitions.
65378         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
65379         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
65380         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
65381         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65382         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65383         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65385 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65387         [BZ #15055]
65388         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
65389         __ieee754_sqrl instead of __sqrl.
65391 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
65393         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
65394         * sysdeps/powerpc/fpu_control.h: ... here.
65395         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
65396         * sysdeps/powerpc/bits/fenvinline.h: ... here.
65397         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
65398         * sysdeps/powerpc/bits/mathinline.h: ... here.
65400 2013-03-01  Roland McGrath  <roland@hack.frob.com>
65402         * elf/dl-hwcaps.c (_dl_important_hwcaps):
65403         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
65404         to just [NEED_DL_SYSINFO_DSO].
65405         * elf/dl-support.c: Likewise.
65406         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
65407         * elf/rtld.c (dl_main): Likewise.
65408         * elf/setup-vdso.h (setup_vdso): Likewise.
65409         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
65410         * sysdeps/unix/sysv/linux/dl-sysdep.c
65411         (_dl_discover_osversion): Likewise.
65413 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
65415         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
65416         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
65418 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
65420         * NEWS: Mention libm performance improvements and non-x86 PI
65421         futex support.
65423         * csu/libc-start.c (__pthread_initialize_minimal): Change
65424         function arguments.
65425         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
65427 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
65429         [BZ #13550]
65430         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
65431         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
65432         <bp-sym.h> and <bp-asm.h>.
65433         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65434         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
65435         and <bp-asm.h>.
65436         (memcpy): Don't use BP_SYM.
65437         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
65438         <bp-asm.h>.
65439         (__mpn_add_n): Don't use BP_SYM.
65440         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
65441         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
65442         and <bp-asm.h>.
65443         (__mpn_addmul_1): Don't use BP_SYM.
65444         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65445         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
65446         <bp-sym.h>.
65447         (_setjmp): Don't use BP_SYM.
65448         (__novmx_setjmp): Likewise.
65449         (__GI__setjmp): Likewise.
65450         (__vmx_setjmp): Likewise.
65451         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
65452         <bp-sym.h>.
65453         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
65454         (__bzero): Don't use BP_SYM.
65455         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65456         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65457         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
65458         <bp-sym.h> and <bp-asm.h>.
65459         (memcpy): Don't use BP_SYM.
65460         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
65461         <bp-sym.h> and <bp-asm.h>.
65462         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65463         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
65464         <bp-sym.h> and <bp-asm.h>.
65465         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65466         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
65467         <bp-asm.h>.
65468         (__mpn_lshift): Don't use BP_SYM.
65469         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65470         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
65471         <bp-asm.h>.
65472         (memset): Don't use BP_SYM.
65473         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65474         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65475         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
65476         <bp-asm.h>.
65477         (__mpn_mul_1): Don't use BP_SYM.
65478         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65479         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
65480         <bp-sym.h> and <bp-asm.h>.
65481         (memcmp): Don't use BP_SYM.
65482         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
65483         <bp-sym.h> and <bp-asm.h>.
65484         (memcpy): Don't use BP_SYM.
65485         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
65486         <bp-sym.h> and <bp-asm.h>.
65487         (memset): Don't use BP_SYM.
65488         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
65489         <bp-sym.h> and <bp-asm.h>.
65490         (strncmp): Don't use BP_SYM.
65491         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
65492         <bp-sym.h> and <bp-asm.h>.
65493         (memcpy): Don't use BP_SYM.
65494         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
65495         <bp-sym.h> and <bp-asm.h>.
65496         (memset): Don't use BP_SYM.
65497         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
65498         <bp-sym.h> and <bp-asm.h>.
65499         (__memchr): Don't use BP_SYM.
65500         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
65501         <bp-sym.h> and <bp-asm.h>.
65502         (memcmp): Don't use BP_SYM.
65503         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
65504         <bp-sym.h> and <bp-asm.h>.
65505         (memcpy): Don't use BP_SYM.
65506         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
65507         <bp-sym.h> and <bp-asm.h>.
65508         (__mempcpy): Don't use BP_SYM.
65509         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
65510         <bp-sym.h> and <bp-asm.h>.
65511         (__memrchr): Don't use BP_SYM.
65512         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
65513         <bp-sym.h> and <bp-asm.h>.
65514         (memset): Don't use BP_SYM.
65515         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
65516         <bp-sym.h> and <bp-asm.h>.
65517         (__rawmemchr): Don't use BP_SYM.
65518         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
65519         <bp-sym.h> and <bp-asm.h>.
65520         (__STRCMP): Don't use BP_SYM.
65521         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
65522         <bp-sym.h> and <bp-asm.h>.
65523         (strchr): Don't use BP_SYM.
65524         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
65525         <bp-sym.h> and <bp-asm.h>.
65526         (__strchrnul): Don't use BP_SYM.
65527         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
65528         <bp-sym.h> and <bp-asm.h>.
65529         (strlen): Don't use BP_SYM.
65530         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
65531         <bp-sym.h> and <bp-asm.h>.
65532         (strncmp): Don't use BP_SYM.
65533         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
65534         <bp-sym.h> and <bp-asm.h>.
65535         (__strnlen): Don't use BP_SYM.
65536         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
65537         <bp-asm.h>.
65538         (__mpn_rshift): Don't use BP_SYM.
65539         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65540         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
65541         <bp-sym.h> and <bp-asm.h>.
65542         (__sigsetjmp): Don't use BP_SYM.
65543         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
65544         (L(start_addresses)): Don't use BP_SYM.
65545         (_start): Likewise.
65546         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
65547         <bp-asm.h>.
65548         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
65549         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65550         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65551         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
65552         <bp-asm.h>.
65553         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
65554         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65555         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65556         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
65557         <bp-asm.h>.
65558         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
65559         comments.
65560         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65561         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
65562         <bp-asm.h>.
65563         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
65564         FIXME comments.
65565         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65566         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65567         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
65568         <bp-asm.h>.
65569         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
65570         comment.
65571         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
65572         and <bp-asm.h>.
65573         (strncmp): Don't use BP_SYM,
65574         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
65575         <bp-asm.h>.
65576         (__mpn_sub_n): Don't use BP_SYM.
65577         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65578         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
65579         and <bp-asm.h>.
65580         (__mpn_submul_1): Don't use BP_SYM.
65581         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
65583         <bp-sym.h> and <bp-asm.h>.
65584         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
65585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
65586         <bp-sym.h> and <bp-asm.h>.
65587         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
65588         comment.
65590 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
65593         Use ZK to minimize writes to Z.
65594         (sub_magnitudes): Simplify code a bit.
65595         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
65596         Use ZK to minimize writes to Z.
65597         (sub_magnitudes): Simplify code a bit.
65599 2013-02-27  Roland McGrath  <roland@hack.frob.com>
65601         * csu/gmon-start.c: Add special exception to license text.
65603 2013-02-27  Richard Henderson  <rth@redhat.com>
65605         * scripts/config.guess: Update from config.git.
65606         * scripts/config.sub: Likewise.
65608 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65610         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
65612         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
65614         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
65616         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
65618         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
65620 2013-02-26  Roland McGrath  <roland@hack.frob.com>
65622         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
65623         [$(build-shared = yes].
65625 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65627         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
65628         (__mul): Reduce iterations for calculating mantissa.
65630         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
65631         MPTWO.
65632         (__mpranred): Likewise.
65634         [BZ #15160]
65635         * malloc/memusagestat.c (main): Draw graphs for heap and stack
65636         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
65638 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
65640         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
65641         Define __attribute__.
65643 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65645         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
65646         unused.
65647         * posix/regex_internal.h (__attribute): Remove.
65648         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
65649         (re_string_context_at): Likewise.
65650         (bitset_not): Use __attribute__ and mark function as possibly
65651         unused.
65652         (bitset_merge): Likewise.
65653         (bitset_mask): Likewise.
65654         (re_string_char_size_at): Likewise.
65655         (re_string_wchar_at): Likewise.
65656         (re_string_elem_size_at): Likewise.
65658 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65660         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
65661         code.
65662         (cc32): Likewise.
65664         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
65665         (__acr): Likewise.
65666         (__cpy): Likewise.
65667         (norm): Likewise.
65668         (denorm): Likewise.
65669         (__dbl_mp): Likewise.
65670         (add_magnitudes): Likewise.
65671         (sub_magnitudes): Likewise.
65672         (__mul): Likewise.
65673         (__inv): Likewise.
65675         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
65676         style.
65678         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
65679         style.
65681         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
65682         code.
65684         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
65685         up changes with default code.
65686         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
65687         Likewise.
65689 2013-02-24  Allan McRae  <allan@archlinux.org>
65691         * manual/socket.texi (The Internet Namespace): Order menu items
65692         to match that in the file.
65694         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
65695         node listing of the info page menu.
65697 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
65699         [BZ #13550]
65700         * sysdeps/i386/bp-asm.h: Remove file.
65701         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
65702         (PARMS): Do not use macros from bp-asm.h.
65703         (S1): Likewise.
65704         (S2): Likewise.
65705         (SIZE): Likewise.
65706         (__mpn_add_n): Do not use BP_SYM
65707         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
65708         "bp-asm.h".
65709         (PARMS): Do not use macros from bp-asm.h.
65710         (S1): Likewise.
65711         (SIZE): Likewise.
65712         (__mpn_addmul_1): Do not use BP_SYM
65713         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
65714         "bp-asm.h".
65715         (PARMS): Do not use macros from bp-asm.h.
65716         (SIGMSK): Likewise.
65717         (_setjmp): Likewise.  Do not use BP_SYM.
65718         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
65719         "bp-asm.h".
65720         (PARMS): Do not use macros from bp-asm.h.
65721         (SIGMSK): Likewise.
65722         (setjmp): Likewise.  Do not use BP_SYM.
65723         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
65724         "bp-asm.h".
65725         (PARMS): Do not use macros from bp-asm.h.
65726         (__frexp): Do not use BP_SYM.
65727         (frexp): Likewise.
65728         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
65729         "bp-asm.h".
65730         (PARMS): Do not use macros from bp-asm.h.
65731         (__frexpf): Do not use BP_SYM.
65732         (frexpf): Likewise.
65733         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
65734         "bp-asm.h".
65735         (PARMS): Do not use macros from bp-asm.h.
65736         (__frexpl): Do not use BP_SYM.
65737         (frexpl): Likewise.
65738         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
65739         "bp-asm.h".
65740         (PARMS): Do not use macros from bp-asm.h.
65741         (__remquo): Do not use BP_SYM.
65742         (remquo): Likewise.
65743         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
65744         "bp-asm.h".
65745         (PARMS): Do not use macros from bp-asm.h.
65746         (__remquof): Do not use BP_SYM.
65747         (remquof): Likewise.
65748         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
65749         "bp-asm.h".
65750         (PARMS): Do not use macros from bp-asm.h.
65751         (__remquol): Do not use BP_SYM.
65752         (remquol): Likewise.
65753         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
65754         "bp-asm.h".
65755         (PARMS): Do not use macros from bp-asm.h.
65756         (DEST): Likewise.
65757         (SRC): Likewise.
65758         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
65759         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
65760         "bp-asm.h".
65761         (PARMS): Do not use macros from bp-asm.h.
65762         (strlen): Do not use BP_SYM.
65763         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
65764         "bp-asm.h".
65765         (PARMS): Do not use macros from bp-asm.h.
65766         (S1): Likewise.
65767         (S2): Likewise.
65768         (SIZE): Likewise.
65769         (__mpn_add_n): Do not use BP_SYM.
65770         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
65771         "bp-asm.h".
65772         (PARMS): Do not use macros from bp-asm.h.
65773         (S1): Likewise.
65774         (SIZE): Likewise.
65775         (__mpn_addmul_1): Do not use BP_SYM.
65776         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
65777         weak_alias.
65778         (bzero): Likewise.
65779         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
65780         "bp-asm.h".
65781         (PARMS): Do not use macros from bp-asm.h.
65782         (S): Likewise.
65783         (SIZE): Likewise.
65784         (__mpn_lshift): Do not use BP_SYM.
65785         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
65786         "bp-asm.h".
65787         (PARMS): Do not use macros from bp-asm.h.
65788         (DEST): Likewise.
65789         (SRC): Likewise.
65790         (LEN): Likewise.
65791         (memcpy): Likewise.  Do not use BP_SYM.
65792         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
65793         libc_hidden_def and weak_alias.
65794         (mempcpy): Do not use BP_SYM in weak_alias.
65795         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
65796         "bp-asm.h".
65797         (PARMS): Do not use macros from bp-asm.h.
65798         (DEST): Likewise.
65799         (LEN): Likewise.
65800         [!BZERO_P] (CHR): Likewise.
65801         (memset): Likewise.  Do not use BP_SYM.
65802         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
65803         "bp-asm.h".
65804         (PARMS): Do not use macros from bp-asm.h.
65805         (S1): Likewise.
65806         (SIZE): Likewise.
65807         (__mpn_mul_1): Do not use BP_SYM.
65808         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
65809         "bp-asm.h".
65810         (PARMS): Do not use macros from bp-asm.h.
65811         (S): Likewise.
65812         (SIZE): Likewise.
65813         (__mpn_rshift): Do not use BP_SYM.
65814         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
65815         "bp-asm.h".
65816         (PARMS): Do not use macros from bp-asm.h.
65817         (STR): Likewise.
65818         (CHR): Likewise.
65819         (strchr): Likewise.  Do not use BP_SYM.
65820         (index): Do not use BP_SYM in weak_alias.
65821         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
65822         "bp-asm.h".
65823         (PARMS): Do not use macros from bp-asm.h.
65824         (DEST): Likewise.
65825         (SRC): Likewise.
65826         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
65827         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
65828         "bp-asm.h".
65829         (PARMS): Do not use macros from bp-asm.h.
65830         (strlen): Do not use BP_SYM.
65831         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
65832         "bp-asm.h".
65833         (PARMS): Do not use macros from bp-asm.h.
65834         (S1): Likewise.
65835         (S2): Likewise.
65836         (SIZE): Likewise.
65837         (__mpn_sub_n): Do not use BP_SYM.
65838         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
65839         "bp-asm.h".
65840         (PARMS): Do not use macros from bp-asm.h.
65841         (S1): Likewise.
65842         (SIZE): Likewise.
65843         (__mpn_submul_1): Do not use BP_SYM.
65844         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
65845         "bp-asm.h".
65846         (PARMS): Do not use macros from bp-asm.h.
65847         (S1): Likewise.
65848         (S2): Likewise.
65849         (SIZE): Likewise.
65850         (__mpn_add_n): Do not use BP_SYM.
65851         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
65852         weak_alias.
65853         (bzero): Likewise.
65854         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
65855         "bp-asm.h".
65856         (PARMS): Do not use macros from bp-asm.h.
65857         (BLK2): Likewise.
65858         (LEN): Likewise.
65859         (memcmp): Do not use BP_SYM.
65860         (bcmp): Do not use BP_SYM in weak_alias.
65861         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
65862         "bp-asm.h".
65863         (PARMS): Do not use macros from bp-asm.h.
65864         (DEST): Likewise.
65865         (SRC): Likewise.
65866         (LEN): Likewise.
65867         (memcpy): Likewise.  Do not use BP_SYM.
65868         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
65869         "bp-asm.h".
65870         (PARMS): Do not use macros from bp-asm.h.
65871         (DEST): Likewise.
65872         (SRC): Likewise.
65873         (LEN): Likewise.
65874         (memmove): Likewise.  Do not use BP_SYM.
65875         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
65876         "bp-asm.h".
65877         (PARMS): Do not use macros from bp-asm.h.
65878         (DEST): Likewise.
65879         (SRC): Likewise.
65880         (LEN): Likewise.
65881         (__mempcpy): Likewise.  Do not use BP_SYM.
65882         (mempcpy): Do not use BP_SYM in weak_alias.
65883         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
65884         "bp-asm.h".
65885         (PARMS): Do not use macros from bp-asm.h.
65886         (DEST): Likewise.
65887         (LEN): Likewise.
65888         [!BZERO_P] (CHR): Likewise.
65889         (memset): Likewise.  Do not use BP_SYM.
65890         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
65891         "bp-asm.h".
65892         (PARMS): Do not use macros from bp-asm.h.
65893         (STR2): Likewise.
65894         (strcmp): Do not use BP_SYM.
65895         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
65896         "bp-asm.h".
65897         (PARMS): Do not use macros from bp-asm.h.
65898         (STR): Likewise.
65899         (DELIM): Likewise.
65900         [USE_AS_STRTOK_R] (SAVE): Likewise.
65901         (FUNCTION): Likewise.  Do not use BP_SYM.
65902         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
65903         aliases.
65904         (strtok_r): Likewise.
65905         (__GI___strtok_r): Likewise.
65906         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
65907         (PARMS): Do not use macros from bp-asm.h.
65908         (S): Likewise.
65909         (SIZE): Likewise.
65910         (__mpn_lshift): Do not use BP_SYM.
65911         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
65912         (PARMS): Do not use macros from bp-asm.h.
65913         (STR): Likewise.
65914         (CHR): Likewise.
65915         (__memchr): Do not use BP_SYM.
65916         (memchr): Do not use BP_SYM in weak_alias.
65917         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
65918         (PARMS): Do not use macros from bp-asm.h.
65919         (BLK2): Likewise.
65920         (LEN): Likewise.
65921         (memcmp): Do not use BP_SYM.
65922         (bcmp): Do not use BP_SYM in weak_alias.
65923         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
65924         (PARMS): Do not use macros from bp-asm.h.
65925         (S1): Likewise.
65926         (SIZE): Likewise.
65927         (__mpn_mul_1): Do not use BP_SYM.
65928         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
65929         "bp-asm.h".
65930         (PARMS): Do not use macros from bp-asm.h.
65931         (STR): Likewise.
65932         (CHR): Likewise.
65933         (__rawmemchr): Do not use BP_SYM.
65934         (rawmemchr): Do not use BP_SYM in weak_alias.
65935         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
65936         (PARMS): Do not use macros from bp-asm.h.
65937         (S): Likewise.
65938         (SIZE): Likewise.
65939         (__mpn_rshift): Do not use BP_SYM.
65940         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
65941         (PARMS): Do not use macros from bp-asm.h.
65942         (SIGMSK): Likewise.
65943         (__sigsetjmp): Likewise.  Do not use BP_SYM.
65944         * sysdeps/i386/start.S: Do not include "bp-sym.h".
65945         (_start): Do not use BP_SYM.
65946         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
65947         (PARMS): Do not use macros from bp-asm.h.
65948         (DEST): Likewise.
65949         (SRC): Likewise.
65950         (__stpcpy): Likewise.  Do not use BP_SYM.
65951         (stpcpy): Do not use BP_SYM in weak_alias.
65952         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
65953         "bp-asm.h".
65954         (PARMS): Do not use macros from bp-asm.h.
65955         (DEST): Likewise.
65956         (SRC): Likewise.
65957         (LEN): Likewise.
65958         (__stpncpy): Likewise.  Do not use BP_SYM.
65959         (stpncpy): Do not use BP_SYM in weak_alias.
65960         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
65961         (PARMS): Do not use macros from bp-asm.h.
65962         (STR): Likewise.
65963         (CHR): Likewise.
65964         (strchr): Likewise.  Do not use BP_SYM.
65965         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
65966         "bp-asm.h".
65967         (PARMS): Do not use macros from bp-asm.h.
65968         (STR): Likewise.
65969         (CHR): Likewise.
65970         (__strchrnul): Likewise.  Do not use BP_SYM.
65971         (strchrnul): Do not use BP_SYM in weak_alias.
65972         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
65973         "bp-asm.h".
65974         (PARMS): Do not use macros from bp-asm.h.
65975         (STOP): Likewise.
65976         (strcspn): Do not use BP_SYM.
65977         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
65978         "bp-asm.h".
65979         (PARMS): Do not use macros from bp-asm.h.
65980         (STR): Likewise.
65981         (STOP): Likewise.
65982         (strpbrk): Likewise.  Do not use BP_SYM.
65983         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
65984         "bp-asm.h".
65985         (PARMS): Do not use macros from bp-asm.h.
65986         (STR): Likewise.
65987         (CHR): Likewise.
65988         (strrchr): Likewise.  Do not use BP_SYM.
65989         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
65990         (PARMS): Do not use macros from bp-asm.h.
65991         (SKIP): Likewise.
65992         (strspn): Do not use BP_SYM.
65993         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
65994         (PARMS): Do not use macros from bp-asm.h.
65995         (STR): Likewise.
65996         (DELIM): Likewise.
65997         (SAVE): Likewise.
65998         (FUNCTION): Likewise.  Do not use BP_SYM.
65999         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
66000         aliases.
66001         (strtok_r): Likewise.
66002         (__GI___strtok_r): Likewise.
66003         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66004         (PARMS): Do not use macros from bp-asm.h.
66005         (S1): Likewise.
66006         (S2): Likewise.
66007         (SIZE): Likewise.
66008         (__mpn_sub_n): Do not use BP_SYM.
66009         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
66010         "bp-asm.h".
66011         (PARMS): Do not use macros from bp-asm.h.
66012         (S1): Likewise.
66013         (SIZE): Likewise.
66014         (__mpn_submul_1): Do not use BP_SYM.
66015         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
66016         <bp-sym.h>.
66017         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
66018         and <bp-asm.h>.
66019         (PARMS): Do not use macros from bp-asm.h.
66020         (FLAGS): Likewise.
66021         (PTID): Likewise.
66022         (TLS): Likewise.
66023         (CTID): Likewise.
66024         (__clone): Do not use BP_SYM.
66025         (clone): Do not use BP_SYM in weak_alias.
66026         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
66027         and <bp-asm.h>.
66028         (PARMS): Do not use macros from bp-asm.h.
66029         (LEN): Likewise.
66030         (__mmap64): Do not use BP_SYM.
66031         (mmap64): Do not use BP_SYM in weak_alias.
66032         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66033         <bp-sym.h> and <bp-asm.h>.
66034         (PARMS): Do not use macros from bp-asm.h.
66035         (__posix_fadvise64_l64): Do not use BP_SYM.
66036         * sysdeps/unix/sysv/linux/i386/semtimedop.S
66037         (PARMS): Do not use macros from bp-asm.h.
66038         (NSOPS): Likewise.
66039         (semtimedop): Do not use BP_SYM.
66040         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
66041         and <bp-asm.h>.
66043 2013-02-21  Allan McRae  <allan@archlinux.org>
66045         * manual/message.texi (Charset conversion in gettext):
66046         Move @end statement to beginning of line.
66048 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
66051         static.
66052         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66053         Likewise.
66055         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
66056         (denorm): Likewise.
66057         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
66058         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
66060 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66062         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
66063         tail-call to the resolved function if pltexit isn't needed.
66065 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
66068         or Y being zero as being unlikely.
66069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66070         Likewise.
66072 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
66074         * manual/nss.texi (System Databases and Name Service Switch):
66075         Remove frobnicate @pxref.
66077 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
66079         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
66080         __attribute__ ((unused)) to __attribute__ ((__unused__)).
66082 2013-02-20  Petr Machata  <pmachata@redhat.com>
66084         * elf/elf.h (R_ARM_TARGET1): New macro.
66085         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
66086         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
66087         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
66088         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
66089         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
66090         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
66091         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
66092         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
66093         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
66094         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
66095         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
66096         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
66097         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
66098         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
66099         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
66100         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
66101         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
66102         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
66103         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
66104         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
66105         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
66106         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
66107         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
66108         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
66109         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
66110         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
66111         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
66112         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
66113         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
66114         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
66115         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
66116         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
66117         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
66118         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
66119         (R_ARM_THM_GOT_BREL12): Likewise.
66120         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
66121         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
66122         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
66123         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
66124         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
66125         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
66126         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
66127         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
66128         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
66130 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
66132         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
66133         __attribute_used__ to __attribute__ ((unused)).
66135 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
66137         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
66138         powerpc mpa.c.
66139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
66140         comment formatting.
66141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
66143 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
66145         [BZ #13550]
66146         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
66147         Remove macro.
66148         (ENTER): Remove both macro definitions.
66149         (LEAVE): Likewise.
66150         (CHECK_BOUNDS_LOW): Likewise.
66151         (CHECK_BOUNDS_HIGH): Likewise.
66152         (CHECK_BOUNDS_BOTH): Likewise.
66153         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
66154         (RETURN_BOUNDED_POINTER): Likewise.
66155         (RETURN_NULL_BOUNDED_POINTER): Likewise.
66156         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
66157         (POP_ERRNO_LOCATION_RETURN): Likewise.
66158         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
66159         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66160         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
66161         macros.
66162         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66163         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
66164         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
66165         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
66166         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
66167         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
66168         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
66169         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
66170         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
66171         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
66172         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
66173         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
66174         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66175         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
66176         removed macros.
66177         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66178         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
66179         macros.
66180         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66181         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
66182         * sysdeps/i386/i586/memset.S (memset): Likewise.
66183         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
66184         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66185         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
66186         macros.
66187         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66188         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
66189         Change uses of L(2) to L(out).
66190         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
66191         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
66192         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
66193         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66194         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
66195         removed macros.
66196         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66197         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
66198         macros.
66199         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66200         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
66201         (RETURN): Do not use macro LEAVE.
66202         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
66203         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
66204         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
66205         * sysdeps/i386/i686/memset.S (memset): Likewise.
66206         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
66207         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
66208         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66209         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
66210         Likewise.
66211         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66212         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
66213         L(1_2) and L(1_3) into L(1).
66214         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
66215         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
66216         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66217         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
66218         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66219         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
66220         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
66221         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66222         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
66223         macros.
66224         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
66225         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66226         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
66227         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
66228         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
66229         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66230         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
66231         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
66232         * sysdeps/i386/strcspn.S (strcspn): Likewise.
66233         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
66234         * sysdeps/i386/strrchr.S (strrchr): Likewise.
66235         * sysdeps/i386/strspn.S (strspn): Likewise.
66236         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
66237         conditional code.
66238         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66239         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
66240         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
66241         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
66242         L(1_3) into L(1_1).
66243         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
66244         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66245         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
66246         macros.
66247         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66249 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
66251         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
66252         macro.
66254 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66256         * math/atest-exp.c (exp_mpn): Remove ROUND.
66257         * math/atest-exp2.c (exp_mpn): Likewise.
66258         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
66260         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
66261         * stdlib/tst-tls-atexit-lib.c: Likewise.
66262         * stdlib/tst-tls-atexit.c: Likewise.
66264 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66266         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
66267         and __attribute_alloc_size__.
66269 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66271         * include/programs/xmalloc.h: Change __attribute_alloc_size to
66272         __attribute_alloc_size__.
66273         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
66274         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
66276 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66278         * include/programs/xmalloc.h: New file.
66279         * catgets/gencat.c: Include it.
66280         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
66281         * elf/pldd.c: Likewise.
66282         * iconv/iconv_charmap.c: Likewise.
66283         * iconv/iconvconfig.c: Likewise.
66284         * iconv/strtab.c: Likewise.
66285         * locale/programs/locale.c: Likewise.
66286         * locale/programs/localedef.h: Likewise.
66287         * locale/programs/simple-hash.c: Likewise.
66288         * nscd/nscd.h: Likewise.
66289         * nss/makedb.c: Likewise.
66290         * sysdeps/generic/ldconfig.h: Likewise.
66292 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66294         * Versions.def: Add GLIBC_2.18.
66295         * include/link.h (struct link_map): New member l_tls_dtor_count.
66296         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
66297         (__call_tls_dtors): Likewise.
66298         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
66299         __cxa_thread_atexit_impl.
66300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66301         Likewise.
66302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66303         Likewise.
66304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
66305         Likewise.
66306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
66307         Likewise.
66308         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
66310         Likewise.
66311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
66312         Likewise.
66313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66315         Likewise.
66316         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
66317         (tests): Add test case tst-tls-atexit.
66318         (modules-names): Add shared library for tst-tls-atexit.
66319         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
66320         (GLIBC_PRIVATE): Add __call_tls_dtors.
66321         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
66322         for libstdc++.
66323         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
66324         * stdlib/tst-tls-atexit.c: New test case.
66325         * stdlib/tst-tls-atexit-lib.c: New test case.
66327         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
66329         * elf/Versions (ld): Add _dl_find_dso_for_object.
66330         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
66331         * elf/dl-open.c (_dl_find_dso_for_object): New function.
66332         (dl_open_worker): Use _dl_find_dso_for_object.
66333         * elf/dl-sym.c (do_sym): Likewise.
66334         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
66336 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66338         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
66339         Syntactic changes only.
66340         (_dl_runtime_profile): Do a tail-call to the resolved function.
66342 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
66344         [BZ #13550]
66345         * sysdeps/x86_64/bp-asm.h: Remove file.
66346         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
66347         <bp-sym.h> and <bp-asm.h>.
66348         (__clone): Do not use BP_SYM.
66349         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
66350         <bp-sym.h> and <bp-asm.h>.
66351         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66352         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
66353         "bp-asm.h".
66354         (_setjmp): Do not use BP_SYM.
66355         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
66356         "bp-asm.h".
66357         (setjmp): Do not use BP_SYM.
66358         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
66359         libc_hidden_def.
66360         (mempcpy): Do not use BP_SYM in weak_alias.
66361         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
66362         "bp-asm.h".
66363         (strchr): Do not use BP_SYM.
66364         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
66365         "bp-asm.h".
66366         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
66367         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
66368         (_start): Do not use BP_SYM.
66369         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
66370         "bp-asm.h".
66371         (strcat): Do not use BP_SYM.
66372         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
66373         "bp-asm.h".
66374         (STRCMP): Do not use BP_SYM.
66375         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
66376         "bp-asm.h".
66377         (STRCPY): Do not use BP_SYM.
66378         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
66379         "bp-asm.h".
66380         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
66381         "bp-asm.h".
66382         (FUNCTION): Do not use BP_SYM.
66383         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
66384         weak_alias.
66385         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
66387 2013-02-17  Andreas Jaeger  <aj@suse.de>
66389         * time/Versions: Sort entries.
66390         * string/Versions: Likewise.
66391         * resolv/Versions: Likewise.
66392         * posix/Versions: Likewise.
66393         * iconv/Versions: Likewise.
66394         * elf/Versions: Likewise.
66395         * wcsmbs/Versions: Likewise.
66397 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66399         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
66400         loop termination condition.
66402         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
66403         variable to calculate EZ.
66404         (__sqr): Likewise.
66406         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
66407         the lower precision input.
66409 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
66411         [BZ #13550]
66412         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
66413         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
66414         (run-via-rtld-prefix): Do not handle %-bp tests.
66415         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
66416         (all-object-suffixes): Remove .ob.
66417         (bppfx): Remove variable.
66418         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
66419         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
66420         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
66421         [$(build-bounded) = yes] (libtype.ob): Likewise.
66422         * Makerules (elide-routines.ob): Remove variable.
66423         (do-tests-clean): Do not handle *-bp.out.
66424         (common-mostlyclean): Do not handle *-bp and *-bp.out.
66425         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
66426         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
66427         (tests): Do not include $(tests-bp.out).
66428         (xtests): Do not include $(xtests-bp.out).
66429         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
66430         [$(build-bounded) = yes] ($(addprefix
66431         $(objpfx),$(binaries-bounded))): Remove rule.
66432         ($(objpfx)%-bp.out): Remove rule.
66433         * config.make.in (build-bounded): Remove variable.
66434         * crypt/Makefile [$(build-bounded) = yes]
66435         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
66436         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
66437         append to variable.
66438         [$(build-bounded) = yes] (install-lib): Likewise.
66439         [$(build-bounded) = yes] (generated): Likewise.
66440         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
66441         Remove rule.
66442         * intl/Makefile [$(build-bounded) = yes]
66443         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
66444         * math/Makefile [$(build-bounded) = yes]
66445         ($(tests:%=$(objpfx)%-bp): Likewise.
66446         * misc/Makefile [$(build-bounded) = yes]
66447         ($(objpfx)tst-tsearch-bp): Likewise.
66448         * nptl/Makeconfig (bounded-thread-library): Remove variable.
66449         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
66450         Remove dependency.
66451         * string/Makefile (o-objects.ob): Remove variable.
66452         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
66453         (CFLAGS-.ob): Remove variable.
66454         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
66455         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
66456         both definitions of variable.
66457         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
66458         (ASFLAGS-.ob): Remove variable.
66460 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
66462         [BZ #13550]
66463         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
66464         Remove __BOUNDED_POINTERS__ from condition.
66465         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
66466         * string/bits/string2.h [!__NO_STRING_INLINES &&
66467         !__BOUNDED_POINTERS__]: Likewise.
66468         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
66469         Likewise.
66470         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
66471         Remove conditional code.
66472         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
66473         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
66474         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
66475         condition.
66477         [BZ #13550]
66478         * csu/libc-start.c: Do not include <bp-sym.h>.
66479         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
66480         * elf/dl-open.c: Do not include <bp-sym.h>.
66481         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
66482         * math/fegetenv.c: Do not include <bp-sym.h>.
66483         (fegetenv): Do not use BP_SYM in versioned symbols.
66484         * nptl/sysdeps/pthread/bits/libc-lockP.h
66485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
66486         <bp-sym.h>.
66487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66488         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
66489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66490         (__pthread_mutex_destroy): Likewise.
66491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66492         (__pthread_mutex_lock): Likewise.
66493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66494         (__pthread_mutex_trylock): Likewise.
66495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66496         (__pthread_mutex_unlock): Likewise.
66497         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66498         (__pthread_mutexattr_init): Likewise.
66499         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66500         (__pthread_mutexattr_destroy): Likewise.
66501         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66502         (__pthread_mutexattr_settype): Likewise.
66503         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66504         (__pthread_rwlock_init): Likewise.
66505         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66506         (__pthread_rwlock_destroy): Likewise.
66507         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66508         (__pthread_rwlock_rdlock): Likewise.
66509         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66510         (__pthread_rwlock_tryrdlock): Likewise.
66511         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66512         (__pthread_rwlock_wrlock): Likewise.
66513         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66514         (__pthread_rwlock_trywrlock): Likewise.
66515         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66516         (__pthread_rwlock_unlock): Likewise.
66517         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66518         (__pthread_key_create): Likewise.
66519         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66520         (__pthread_setspecific): Likewise.
66521         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66522         (__pthread_getspecific): Likewise.
66523         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
66524         Likewise.
66525         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66526         (_pthread_cleanup_push_defer): Likewise.
66527         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66528         (_pthread_cleanup_pop_restore): Likewise.
66529         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66530         (pthread_setcancelstate): Likewise.
66531         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
66532         <bp-sym.h>.
66533         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
66534         (memchr): Do not use BP_SYM in weak_alias.
66535         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
66536         (fegetenv): Do not use BP_SYM in versioned symbols.
66537         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
66538         (fesetenv): Do not use BP_SYM in versioned symbols.
66539         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
66540         (feupdateenv): Do not use BP_SYM in versioned symbols.
66541         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
66542         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
66543         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
66544         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
66545         (open64): Do not use BP_SYM in weak_alias.
66546         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
66547         (fegetenv): Do not use BP_SYM in versioned symbols.
66548         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
66549         (fesetenv): Do not use BP_SYM in versioned symbols.
66550         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
66551         (feupdateenv): Do not use BP_SYM in versioned symbols.
66552         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
66553         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
66554         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
66555         (feraiseexcept): Do not use BP_SYM in versioned symbols.
66556         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
66557         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
66558         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
66559         <bp-sym.h>.
66560         (__libc_start_main): Do not use BP_SYM.
66562 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
66565         redundant return line.
66566         (norm): Likewise.
66567         (denorm): Likewise.
66568         (dbl_mp): Likewise.
66569         (sub_magnitudes): Likewise.
66570         (__add): Likewise.
66571         (__sub): Likewise.
66572         (__mul): Likewise.
66573         (__inv): Likewise.
66574         (__dvd): Likewise.
66575         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
66576         (norm): Likewise.
66577         (denorm): Likewise.
66578         (dbl_mp): Likewise.
66579         (sub_magnitudes): Likewise.
66580         (__add): Likewise.
66581         (__sub): Likewise.
66582         (__mul): Likewise.
66583         (__inv): Likewise.
66584         (__dvd): Likewise.
66586         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
66587         instead of __mul.
66588         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66589         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
66590         (cc32): Likewise.
66592         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
66593         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
66594         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
66595         of __mul for squares.
66596         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
66597         function
66598         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
66599         Likewise.
66600         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
66601         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66603 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
66605         [BZ #13550]
66606         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
66607         code.
66608         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
66609         prototype or function definition.  Rename ubp_* variables and
66610         parameters.  Remove argv definitions conditional on
66611         [__BOUNDED_POINTERS__].
66612         * debug/backtrace.c (__backtrace): Do not use __unbounded.
66613         * elf/dl-runtime.c (_dl_fixup): Likewise.
66614         * include/set-hooks.h (RUN_HOOK): Likewise.
66615         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
66616         definition.
66617         * string/strcpy.c (strcpy): Do not use __unbounded.
66618         * sysdeps/generic/frame.h (struct layout): Likewise.
66619         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
66620         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
66621         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
66622         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
66623         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
66624         (__backtrace): Likewise.
66625         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
66626         use __ptrvalue.
66627         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
66628         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
66629         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
66630         Likewise.
66631         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
66632         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
66633         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
66634         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
66635         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
66636         Do not use __unbounded.
66637         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
66638         Rename __unboundedrlimits parameter to rlimits in prototype.
66639         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
66640         Do not use __unbounded.
66641         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
66642         not use __ptrvalue.
66643         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
66644         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
66645         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
66646         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
66647         __ptrvalue or __unbounded.
66648         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
66649         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
66650         use __unbounded.
66651         (__new_msgctl): Do not use __ptrvalue.
66652         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
66653         __unbounded.
66654         (__libc_msgrcv): Do not use __ptrvalue.
66655         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
66656         startup_info): Do not use __unbounded.
66657         (__libc_start_main): Likewise.  Rename ubp_* variables and
66658         parameters.  Remove argv definitions conditional on
66659         [__BOUNDED_POINTERS__].
66660         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
66661         __ptrvalue.
66662         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
66663         use __unbounded.
66664         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
66665         or __ptrvalue.
66666         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
66667         use __unbounded.
66668         (__new_shmctl): Do not use __ptrvalue.
66669         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
66670         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
66671         Likewise.
66672         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
66673         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
66674         (__libc_sigaction): Likewise.
66675         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
66676         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
66677         Likewise.
66678         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
66680 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
66682         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
66684         * string/mempcpy.c: Implement by calling memcpy.
66686 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
66688         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
66690         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
66691         evaluation.
66693         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
66694         values in the mantissa.
66696         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
66697         minimize writes to Z.
66698         (sub_magnitudes): Simplify code a bit.
66700 2013-02-12  Roland McGrath  <roland@hack.frob.com>
66702         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
66703         from the message.  The linker prefixes all warnings with that already.
66705 2013-02-12  Andreas Schwab  <schwab@suse.de>
66707         [BZ #15078]
66708         * posix/regexec.c (extend_buffers): Add parameter min_len.
66709         (check_matching): Pass minimum needed length.
66710         (clean_state_log_if_needed): Likewise.
66711         (get_subexp): Likewise.
66712         * posix/Makefile (tests): Add bug-regex34.
66713         (bug-regex34-ENV): Define.
66714         * posix/bug-regex34.c: New file.
66716         [BZ #11561]
66717         * posix/regcomp.c (parse_bracket_exp): When looking up collating
66718         elements compare against the byte sequence of it, not its name.
66719         * posix/Makefile (tests): Add bug-regex35.
66720         (bug-regex35-ENV): Define.
66721         * posix/bug-regex35.c: New file.
66723 2013-02-11  Tom de Vries  <tom@codesourcery.com>
66725         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
66726         comment.
66727         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
66728         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
66729         (CHECK_EOL): Add undef.
66731 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
66733         * bits/stdlib-bsearch.h: New file.
66734         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
66735         * stdlib/stdlib.h: Likewise.
66737 2013-02-11  Roland McGrath  <roland@hack.frob.com>
66739         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
66740         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
66741         declaration.
66742         * manual/search.texi (Array Search Function): Add missing const in
66743         lfind prototype.
66744         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
66745         declaration to use rlim_t.
66746         (Basic Scheduling Functions): Remove erroneous const from
66747         sched_getparam prototype.  Remove erroneous * from
66748         sched_get_priority_max and sched_get_priority_min prototypes.
66749         (Resource Usage): Fix summary @comment on vtimes to refer to
66750         sys/vtimes.h rather than vtimes.h.
66751         Add missing *s in vtimes prototype.
66752         (Limits on Resources): Fix ulimit prototype to return long int.
66753         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
66754         prototypes to use long int rather than double.
66755         (BSD Random): Fix initstate and setstate to use char *, not void *.
66756         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
66757         prototype to make second argument 'struct aiocb64 *const[]'.
66758         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
66759         (Status of AIO Operations): Remove erroneous const in aio_return and
66760         aio_return64 prototypes.
66761         (Synchronizing I/O): Fix sync prototype to return void.
66762         * manual/startup.texi (Suboptions): Remove an erroneous const in
66763         getsubopt prototype.
66764         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
66765         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
66766         use size_t rather than int.
66767         (Scanning All Users): Likewise for getpwent_r.
66768         (Setting Groups): Add missing const to setgroups prototype.
66769         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
66770         * manual/socket.texi (Host Names): Fix gethostbyaddr and
66771         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
66772         'const void *' rather than 'const char *'.
66773         (Host Address Functions): Likewise for inet_ntop.
66774         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
66775         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
66776         ssize_t for return value.
66777         (Sending Data): Likewise for send, sendto, sendmsg.
66778         (Socket Option Functions): Add a missing const in setsockopt prototype.
66779         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
66780         use wchar_t for the argument.
66781         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
66782         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
66783         take no arguments.
66784         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
66785         double/float/long double for second argument.
66786         Fix return types of significand, significandf, significandl.
66787         * manual/filesys.texi (Setting Permissions): Use mode_t for second
66788         argument in fchmod prototype.
66789         (File Owner): Use uid_t and gid_t in fchown prototype.
66790         (File Times): Add const to utimes, futimes, and lutimes prototypes.
66791         (Making Special Files): Use mode_t and dev_t in mknod prototype.
66792         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
66793         use 'const struct dirent **' as argument types to CMP function pointer
66794         argument.
66795         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
66796         (File Times): Fix summary magic @comment for struct utimbuf and utime
66797         to refer to utime.h, not time.h.
66798         * manual/string.texi (Argz Functions): Add missing const in
66799         argz_extract and argz_next prototypes.
66800         (Finding Tokens in a String): Likewise for basename.
66801         (String/Array Comparison): Fix typo in wcscasecmp prototype.
66802         (Copying and Concatenation): Fix typo in wmemmove prototype.
66803         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
66804         (Signal Stack): Remove erroneous const in sigstack prototype.
66805         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
66806         prototype.
66807         (Simple Calendar Time): Likewise for stime.
66808         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
66809         prototype.
66810         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
66811         say sys/sysctl.h instead.
66812         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
66813         and vsyslog prototypes.
66815 2013-02-11  Tom de Vries  <tom@codesourcery.com>
66817         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
66818         Remove.
66820 2013-02-11  Roland McGrath  <roland@hack.frob.com>
66822         * misc/sys/mman.h: Fix typo in mremap comment.
66824 2013-02-08  Roland McGrath  <roland@hack.frob.com>
66826         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
66827         the '\0' terminator.
66829 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
66831         [BZ #13550]
66832         * debug/segfault.c: Don't include <bp-checks.h>.
66833         * sysdeps/generic/bp-checks.h: Remove file.
66834         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
66835         (__GETDENTS): Don't use CHECK_N.
66836         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
66837         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
66838         (__getgroups): Don't use CHECK_N.
66839         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
66840         (setgroups): Don't use CHECK_N.
66841         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
66842         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
66843         (__libc_msgrcv): Don't use CHECK_N.
66844         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
66845         (__libc_msgsnd): Don't use CHECK_N.
66846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
66847         <bp-checks.h>.
66848         (__libc_pread): Don't use CHECK_N.
66849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
66850         include <bp-checks.h>.
66851         (__libc_pread64): Don't use CHECK_N.
66852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
66853         include <bp-checks.h>.
66854         (__libc_pwrite): Don't use CHECK_N.
66855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
66856         include <bp-checks.h>.
66857         (__libc_pwrite64): Don't use CHECK_N.
66858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
66859         <bp-checks.h>.
66860         (__libc_pread): Don't use CHECK_N.
66861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
66862         include <bp-checks.h>.
66863         (__libc_pread64): Don't use CHECK_N.
66864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
66865         include <bp-checks.h>.
66866         (__libc_pwrite): Don't use CHECK_N.
66867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
66868         include <bp-checks.h>.
66869         (__libc_pwrite64): Don't use CHECK_N.
66870         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
66871         (do_pread): Don't use CHECK_N.
66872         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
66873         (do_pread64): Don't use CHECK_N.
66874         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
66875         (do_pwrite): Don't use CHECK_N.
66876         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
66877         (do_pwrite64): Don't use CHECK_N.
66878         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
66879         (__libc_readv): Don't use CHECK_N.
66880         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
66881         (semop): Don't use CHECK_N.
66882         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
66883         <bp-checks.h>.
66884         (semtimedop): Don't use CHECK_N.
66885         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
66886         (__libc_pread): Don't use CHECK_N.
66887         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
66888         <bp-checks.h>.
66889         (__libc_pread64): Don't use CHECK_N.
66890         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
66891         <bp-checks.h>.
66892         (__libc_pwrite): Don't use CHECK_N.
66893         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
66894         <bp-checks.h>.
66895         (__libc_pwrite64): Don't use CHECK_N.
66896         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
66897         <bp-checks.h>.
66898         (__libc_msgrcv): Don't use CHECK_N.
66899         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
66900         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
66901         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
66902         (__libc_writev): Don't use CHECK_N.
66904 2013-02-08  Roland McGrath  <roland@hack.frob.com>
66906         * string/strcpy.c: Removed unused variable.
66908         * Makeconfig (+sysdep-includes): Define with := rather than =.
66909         Use an existing include/ subdir of each sysdeps dir before it.
66911 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66913         * nscd/connection.c (register_traced_file): Comment function.
66914         [HAVE_INOTIFY] (union __inev): Define.
66915         [HAVE_INOTIFY] (inotify_check_files): New function.
66916         [HAVE_INOTIFY] (clear_db_cache): Likewise.
66917         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
66918         clear_db_cache.
66919         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
66921 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66923         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
66924         loaded if not already and that a failure is permanent.
66926 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66928         [BZ #15006]
66929         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
66930         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
66932 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
66934         [BZ #13550]
66935         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
66936         (CHECK_1_NULL_OK): Likewise.
66937         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
66938         (__fxstat): Do not use CHECK_1.
66939         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
66940         <bp-checks.h>.
66941         (___fxstat64): Do not use CHECK_1.
66942         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
66943         <bp-checks.h>.
66944         (__fxstatat): Do not use CHECK_1.
66945         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
66946         <bp-checks.h>.
66947         (__fxstatat64): Do not use CHECK_1.
66948         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
66949         <bp-checks.h>.
66950         (__fxstat): Do not use CHECK_1.
66951         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
66952         <bp-checks.h>.
66953         (__fxstatat): Do not use CHECK_1.
66954         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66955         <bp-checks.h>.
66956         (__getresgid): Do not use CHECK_1.
66957         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66958         <bp-checks.h>.
66959         (__getresuid): Do not use CHECK_1.
66960         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
66961         <bp-checks.h>.
66962         (__lxstat): Do not use CHECK_1.
66963         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66964         <bp-checks.h>.
66965         (__old_msgctl): Do not use CHECK_1.
66966         (__new_msgctl): Likewise.
66967         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
66968         <bp-checks.h>.
66969         (__new_setrlimit): Do not use CHECK_1.
66970         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66971         <bp-checks.h>.
66972         (__old_shmctl): Do not use CHECK_1.
66973         (__new_shmctl): Likewise.
66974         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
66975         <bp-checks.h>.
66976         (__xstat): Do not use CHECK_1.
66977         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
66978         (__lxstat): Do not use CHECK_1.
66979         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
66980         <bp-checks.h>.
66981         (___lxstat64): Do not use CHECK_1.
66982         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
66983         (__old_msgctl): Do not use CHECK_1.
66984         (__new_msgctl): Likewise.
66985         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
66986         <bp-checks.h>.
66987         (__gettimeofday): Do not use CHECK_1.
66988         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
66989         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
66990         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
66991         <bp-checks.h>.
66992         (__gettimeofday): Do not use CHECK_1.
66993         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
66994         (__old_shmctl): Do not use CHECK_1_NULL_OK.
66995         (__new_shmctl): Do not use CHECK_1.
66996         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
66997         <bp-checks.h>.
66998         (do_sigtimedwait): Do not use CHECK_1.
66999         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
67000         <bp-checks.h>.
67001         (do_sigwaitinfo): Do not use CHECK_1.
67002         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
67003         <bp-checks.h>.
67004         (msgctl): Do not use CHECK_1.
67005         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
67006         <bp-checks.h>.
67007         (shmctl): Do not use CHECK_1.
67008         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
67009         (ustat): Do not use CHECK_1.
67010         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
67011         <bp-checks.h>.
67012         (__fxstat): Do not use CHECK_1.
67013         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
67014         <bp-checks.h>.
67015         (__fxstatat): Do not use CHECK_1.
67016         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
67017         <bp-checks.h>.
67018         (__lxstat): Do not use CHECK_1.
67019         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
67020         <bp-checks.h>.
67021         (__xstat): Do not use CHECK_1.
67022         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
67023         (__xstat): Do not use CHECK_1.
67024         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
67025         (___xstat64): Do not use CHECK_1.
67027         [BZ #13550]
67028         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
67029         definitions.
67030         (CHECK_BOUNDS_HIGH): Likewise.
67031         * string/strcpy.c: Do not include <bp-checks.h>.
67032         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
67034 2013-02-07  Roland McGrath  <roland@hack.frob.com>
67036         * nscd/nscd-client.h (__nscd_drop_map_ref):
67037         Add __attribute__ ((unused)).
67038         * nis/nss-nisplus.h (niserr2nss): Likewise.
67040         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
67041         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
67043         * csu/libc-tls.c (init_static_tls, init_slotinfo):
67044         Remove inline keyword.
67045         * include/rounding-mode.h (round_away): Likewise.
67046         * libio/wfileops.c (adjust_wide_data): Likewise.
67047         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
67048         (__m128i_strloadu_tolower): Likewise.
67049         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
67050         (__m128i_strloadu_tolower): Likewise.
67051         * time/mktime.c (ydhms_diff): Likewise.
67052         * locale/elem-hash.h (elem_hash): Likewise.
67053         * locale/setlocale.c (setdata): Likewise.
67054         * posix/regex_internal.h (re_string_char_size_at): Likewise.
67055         (re_string_wchar_at): Likewise.
67056         (bitset_not, bitset_merge, bitset_mask): Likewise.
67057         [!(__GNUC__ > 3)] (inline): Remove macro.
67058         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
67059         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
67060         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
67061         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
67062         * string/memcmp.c (memcmp_bytes): Likewise.
67063         * locale/programs/locarchive.c (compute_hashval): Likewise.
67064         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
67065         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
67066         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
67067         * nss/getent.c (print_rpc, print_protocols): Likewise.
67068         (print_passwd, print_group, print_aliases): Likewise.
67069         * nis/nss-nisplus.h (niserr2nss): Likewise.
67070         * nscd/connections.c (restart_p): Likewise.
67071         Change return type to bool.
67073 2013-02-05  Roland McGrath  <roland@hack.frob.com>
67075         * Makeconfig (all-Depend-files): Add existing
67076         $(sorted-subdirs:=/Depend) files.
67077         (all-subdirs): Remove nss.
67078         * sysdeps/unix/inet/Subdirs: Add it here instead.
67079         * hesiod/Depend: New file.
67081         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
67082         instead of calling alloca.
67084         * io/lseek.c (__lseek): Rename to __libc_lseek.
67085         Define __lseek as an alias.
67087         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
67089 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
67091         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
67092         else clause and remove check for non-standard endianness.
67094 2013-02-04  David S. Miller  <davem@davemloft.net>
67096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67098 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
67100         [BZ #13550]
67101         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
67102         (__ubp_memchr): Remove prototype.
67103         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
67104         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
67105         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
67106         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
67107         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
67108         Remove alias.
67109         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
67110         (__ubp_memchr): Likewise.
67111         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
67112         (__ubp_memchr): Likewise.
67113         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
67114         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
67115         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
67116         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
67117         CHECK_STRING.
67118         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
67119         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
67120         (__getcwd): Do not use CHECK_STRING.
67121         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67122         <bp-checks.h>.
67123         (__real_chown): Do not use CHECK_STRING.
67124         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
67125         <bp-checks.h>.
67126         (fchownat): Do not use CHECK_STRING.
67127         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
67128         CHECK_STRING.
67129         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67130         <bp-checks.h>.
67131         (__lchown): Do not use CHECK_STRING.
67132         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
67133         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67134         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67135         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
67136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67137         include <bp-checks.h>.
67138         (truncate64): Do not use CHECK_STRING.
67139         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67140         <bp-checks.h>.
67141         (__real_chown): Do not use CHECK_STRING.
67142         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67143         <bp-checks.h>.
67144         (__lchown): Do not use CHECK_STRING.
67145         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67146         <bp-checks.h>.
67147         (__chown): Do not use CHECK_STRING.
67148         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
67149         <bp-checks.h>.
67150         (truncate64): Do not use CHECK_STRING.
67151         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
67152         Likewise.
67153         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
67154         (__xmknod): Do not use CHECK_STRING.
67155         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
67156         <bp-checks.h>.
67157         (__xmknodat): Do not use CHECK_STRING.
67158         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67159         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
67161 2013-02-04  Andreas Schwab  <schwab@suse.de>
67163         [BZ #14142]
67164         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
67165         * include/netdb.h: Likewise for h_errno.
67166         * elf/tst-stackguard1.c: Include <tls.h>.
67168 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
67170         * elf/link.h (struct link_map): Extend the l_addr comment.
67171         * include/link.h (struct link_map): Likewise.
67173 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
67175         [BZ #13550]
67176         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
67177         (BOUNDED_1): Remove macro.
67178         * debug/backtrace.c: Don't include <bp-checks.h>.
67179         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
67180         (__backtrace): Likewise.
67181         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
67182         <bp-checks.h>.
67183         (__backtrace): Don't use BOUNDED_1.
67184         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
67185         <bp-checks.h>.
67186         (__backtrace): Don't use BOUNDED_1.
67187         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
67188         (__backtrace): Don't use BOUNDED_1.
67189         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
67190         (shmat): Don't use BOUNDED_N.
67192 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
67194         [BZ #13550]
67195         * sysdeps/generic/bp-start.h: Remove file.
67196         * csu/libc-start.c: Don't include <bp-start.h>.
67197         (LIBC_START_MAIN): Set up __environ directly instead of using
67198         INIT_ARGV_and_ENVIRON.
67199         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
67200         <bp-start.h>.
67202         [BZ #13550]
67203         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
67204         definitions.
67205         (CHECK_FCNTL): Likewise.
67206         (CHECK_N_PAGES): Likewise.
67208         [BZ #13550]
67209         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
67210         definitions.
67211         (CHECK_SIGSET_NULL_OK): Likewise.
67212         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
67213         <bp-checks.h>.
67214         (sigpending): Don't use CHECK_SIGSET.
67215         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
67216         <bp-checks.h>.
67217         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67218         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
67219         <bp-checks.h>.
67220         (do_sigsuspend): Don't use CHECK_SIGSET.
67221         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
67222         use CHECK_SIGSET.
67223         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
67224         (do_sigwait): Don't use CHECK_SIGSET.
67225         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
67226         use CHECK_SIGSET.
67227         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
67228         include <bp-checks.h>.
67229         (sigpending): Don't use CHECK_SIGSET.
67230         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
67231         include <bp-checks.h>.
67232         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67233         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
67234         <bp-checks.h>.
67235         (sigpending): Don't use CHECK_SIGSET.
67236         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
67237         <bp-checks.h>.
67238         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67240         [BZ #13550]
67241         * sysdeps/generic/bp-semctl.h: Remove file.
67242         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
67243         <bp-checks.h> and <bp-semctl.h>.
67244         (__old_semctl): Don't use CHECK_SEMCTL.
67245         (__new_semctl): Likewise.
67246         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
67247         and <bp-semctl.h>.
67248         (__old_semctl): Don't use CHECK_SEMCTL.
67249         (__new_semctl): Likewise.
67250         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
67251         <bp-checks.h> and <bp-semctl.h>.
67252         (__old_semctl): Don't use CHECK_SEMCTL.
67253         (__new_semctl): Likewise.
67254         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
67255         <bp-checks.h> and <bp-semctl.h>.
67256         (semctl): Don't use CHECK_SEMCTL.
67258         [BZ #13550]
67259         * Makerules (elide-bp-thunks): Remove variable.
67260         (elide-routines.oS): Don't use $(elide-bp-thunks).
67261         (elide-routines.os): Likewise.
67262         (elide-routines.o): Likewise.
67263         (elide-routines.op): Likewise.
67264         (elide-routines.og): Likewise.
67265         (objects): Don't use $(bp-thunks).
67266         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
67267         include.
67268         (common-generated): Do not add s-proto-bp.d.
67269         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
67270         (int): Likewise.
67271         (typ): Likewise.
67272         Do not generate makefile rules for bounded-pointer thunks.
67273         * sysdeps/generic/bp-thunks.h: Remove file.
67274         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
67275         * sysdeps/unix/s-proto-bp.S: Likewise.
67277         [BZ #15062]
67278         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
67279         parts of result separately when argument is not close to line from
67280         -i to i and one part of argument is small.
67281         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67282         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67283         * math/libm-test.inc (cacos_test): Add more tests.
67284         (casin_test): Likewise.
67285         (casinh_test): Likewise.
67286         * sysdeps/i386/fpu/libm-test-ulps: Update.
67287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67289 2013-01-31  David S. Miller  <davem@davemloft.net>
67291         * po/de.po: Update from translation team.
67293 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
67295         * time/tzfile.c: Include stdint.h for SIZE_MAX.
67297 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
67299         * configure.in (_AC_PROG_CC_C89): New definition.
67300         * configure: Regenerate.
67302         * configure.in (AC_PROG_CPP): New definition.
67303         * configure: Regenerate.
67305 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
67307         * debug/tst-backtrace.h: New file.
67308         * debug/tst-backtrace2.c: Include tst-backtrace.h.
67309         (ret): Remove variable.
67310         (x): Likewise.
67311         (FAIL): Remove macro.
67312         (NO_INLINE): Likewise.
67313         (fn1): Use match function instead of strstr.
67314         * debug/tst-backtrace3.c: Include tst-backtrace.h.
67315         (ret): Remove variable.
67316         (x): Likewise.
67317         (FAIL): Remove macro.
67318         (NO_INLINE): Likewise.
67319         (fn): Use match function instead of strstr.
67320         * debug/tst-backtrace4.c: Include tst-backtrace.h.
67321         (ret): Remove variable.
67322         (x): Likewise.
67323         (FAIL): Remove macro.
67324         (NO_INLINE): Likewise.
67325         (handle_signal): Use match function instead of strstr.
67326         * debug/tst-backtrace5.c: Include tst-backtrace.h.
67327         (ret): Remove variable.
67328         (x): Likewise.
67329         (FAIL): Remove macro.
67330         (NO_INLINE): Likewise.
67331         (handle_signal): Use match function instead of strstr.
67333 2013-01-23  Roland McGrath  <roland@hack.frob.com>
67335         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
67337 2013-01-23  David S. Miller  <davem@davemloft.net>
67339         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
67340         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
67341         argument of CAS if possible.
67342         * sysdeps/sparc/sparc64/bits/atomic.h
67343         (__arch_compare_and_exchange_val_32_acq): Likewise.
67344         (__arch_compare_and_exchange_val_64_acq): Likewise.
67346 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
67348         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
67349         * sysdeps/posix/ulimit.c: ... this.
67350         Include <limits.h>.
67351         * sysdeps/unix/bsd/ulimit.c: Remove file.
67353 2013-01-23  Adam Conrad  <adconrad@0c3.net>
67355         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
67356         (LDFLAGS-tst-array5): Likewise.
67358 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
67360         [BZ #15036]
67361         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
67362         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
67363         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
67364         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
67366 2013-01-21  David S. Miller  <davem@davemloft.net>
67368         * sysdeps/sparc/backtrace.c: New file.
67369         * sysdeps/sparc/sparc32/backtrace.h: New file.
67370         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
67371         * sysdeps/sparc/sparc64/backtrace.h: New file.
67372         * sysdeps/sparc/sparc64/backtrace.c: Delete.
67373         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
67374         -funwind-tables.
67376 2013-01-21  Andreas Schwab  <schwab@suse.de>
67378         [BZ #15020]
67379         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
67380         closed its stdout.
67382 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
67384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
67385         "mpa2.h".
67386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67388 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
67389             Mark Mitchell  <mark@codesourcery.com>
67390             Tom de Vries  <tom@codesourcery.com>
67391             Paul Pluzhnikov  <ppluzhnikov@google.com>
67393         * debug/tst-backtrace2.c: New file.
67394         * debug/tst-backtrace3.c: Likewise.
67395         * debug/tst-backtrace4.c: Likewise.
67396         * debug/tst-backtrace5.c: Likewise.
67397         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
67398         (CFLAGS-tst-backtrace3.c): Likewise.
67399         (CFLAGS-tst-backtrace4.c): Likewise.
67400         (CFLAGS-tst-backtrace5.c): Likewise.
67401         (LDFLAGS-tst-backtrace2): Likewise.
67402         (LDFLAGS-tst-backtrace3): Likewise.
67403         (LDFLAGS-tst-backtrace4): Likewise.
67404         (LDFLAGS-tst-backtrace5): Likewise.
67405         (tests): Add new tests tst-backtrace2, tst-backtrace3,
67406         tst-backtrace4 and tst-backtrace5.
67408 2013-01-18  Anton Blanchard  <anton@samba.org>
67409             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67411         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
67412         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
67413         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
67414         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
67415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67416         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
67417         "+r" and remove output regs list as redundant.  Add explicit inline
67418         asm to specify register of return val to work around compiler codegen
67419         bug.  Remove (int) cast on return value.  Add return type parameter to
67420         use in macro so that this macro does not truncate return value for
67421         64-bit values.
67422         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
67423         pass to INTERNAL_VSYSCALL_NCS.
67424         (INLINE_VSYSCALL): Add 'long int' as return type to
67425         INTERNAL_VSYSCALL_NCS macro invocation.
67426         (INTERNAL_VSYSCALL): Add 'long int' as return type to
67427         INTERNAL_VSYSCALL_NCS macro invocation.
67428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67430 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67432         [BZ #14496]
67433         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
67434         Fix application of SIMD FP exception mask.
67436         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
67437         mp_no from a power of two.
67438         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
67439         __mpexp_twomm1.  Use __pow_mp.
67441         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
67442         multiplication.
67444 2013-01-17  David S. Miller  <davem@davemloft.net>
67446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67448 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
67450         [BZ #15023]
67451         * include/complex.h: Condition contents on [!_COMPLEX_H].
67452         (__kernel_casinhf): New prototype.
67453         (__kernel_casinh): Likewise.
67454         (__kernel_casinhl): Likewise.
67455         * math/Makefile (libm_calls): Add k_casinh.
67456         * math/k_casinh.c: New file.
67457         * math/k_casinhf.c: Likewise.
67458         * math/k_casinhl.c: Likewise.
67459         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
67460         finite nonzero arguments.
67461         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
67462         finite nonzero arguments.
67463         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
67464         finite nonzero arguments.
67465         * math/s_casinh.c: Do not include <float.h>.
67466         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
67467         * math/s_casinhf.c: Do not include <float.h>.
67468         (__casinhf): Move code for finite nonzero arguments to
67469         k_casinhf.c.
67470         * math/s_casinhl.c: Do not include <float.h>.
67471         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
67472         redefine.
67473         (__casinhl): Move code for finite nonzero arguments to
67474         k_casinhl.c.
67475         * math/libm-test.inc (cacos_test): Add more tests.
67476         * sysdeps/i386/fpu/libm-test-ulps: Update.
67477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67479 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
67481         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
67482         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
67483         [!HAVE_MREMAP]: Remove [defined linux] case.
67484         * malloc/arena.c: Do not include <malloc-sysdep.h>.
67486 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67488         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
67490 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
67492         * elf/elf.h (R_386_SIZE32): New relocation.
67493         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
67494         R_386_SIZE32.
67495         (elf_machine_rela): Likewise.
67496         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67497         R_X86_64_SIZE64 and R_X86_64_SIZE32.
67499 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
67501         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
67502         (FP_FAST_FMA): Do not define.
67503         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
67504         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
67505         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
67506         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
67507         !_SOFT_FLOAT]: Likewise.
67508         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
67509         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
67510         value.
67511         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
67512         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
67513         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
67514         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
67515         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
67516         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
67517         file.
67519 2013-01-16  Andreas Schwab  <schwab@suse.de>
67521         [BZ #14327]
67522         * include/stdlib.h (__mktemp): Add declaration.
67523         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
67524         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
67526 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67528         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
67529         definitions.
67530         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67531         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
67532         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
67533         definitions here.
67534         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
67535         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
67536         definitions.
67537         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
67538         and ONE.
67539         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
67540         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
67541         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
67542         definitions.
67543         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
67544         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
67545         definitions.
67546         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67548         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
67550 2013-01-15  David S. Miller  <davem@davemloft.net>
67552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67553         trunc{,f} to libm-sysdep_routes.
67554         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
67556         file.
67557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
67558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
67559         file.
67560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
67561         file.
67562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
67563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
67564         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
67565         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
67566         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
67567         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
67568         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
67569         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
67571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67572         nearbyint{,f} to libm-sysdep_routes.
67573         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
67575         New file.
67576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
67577         file.
67578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
67579         New file.
67580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
67581         file.
67582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
67583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
67584         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
67585         file.
67586         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
67587         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
67588         file.
67589         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
67590         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
67591         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
67593         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
67594         libc_feholdexcept and libc_fesetenv.
67596 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
67598         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
67600 2013-01-14  David S. Miller  <davem@davemloft.net>
67602         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
67603         (SPARC_ASM_VIS2_IFUNC): Likewise.
67604         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
67605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
67606         use of 'siam' instruction.
67607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
67608         Likewise.
67609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
67610         Likewise.
67611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
67612         Likewise.
67613         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
67614         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
67615         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
67616         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
67617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
67618         file.
67619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
67620         file.
67621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
67622         file.
67623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
67624         file.
67625         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
67626         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
67627         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
67628         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
67629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
67630         new VIS2 routines.
67631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67634         Likewise.
67635         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67636         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67637         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67638         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
67640         routines to libm-sysdep_routines.
67641         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67644         fdim/fdimf to libm-sysdep_routines.
67645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
67646         file.
67647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
67648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
67649         file.
67650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
67651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
67652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
67653         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
67654         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
67655         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
67656         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
67658 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67660         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
67661         to optimize copies.
67663         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
67664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67665         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
67668         local variable MPTWO.
67669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67670         Likewise.
67672 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
67674         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
67675         GLOB_NOESCAPE.
67677 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
67679         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
67681 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
67683         * manual/pattern.texi (glob_t): Document gl_flags.
67684         (glob64_t): Likewise.
67686 2013-01-11  David S. Miller  <davem@davemloft.net>
67688         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
67689         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
67690         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
67691         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
67692         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
67693         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
67694         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
67695         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
67696         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
67697         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
67698         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
67699         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
67700         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
67702         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
67703         sparc V9 rather than using V8 code.
67704         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
67705         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
67707         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67708         Move to...
67709         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
67710         Here.
67712 2013-01-11  Roland McGrath  <roland@hack.frob.com>
67714         [BZ #14941]
67715         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
67716         not in the main loop.
67717         * configure: Regenerated.
67719 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
67721         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
67722         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
67723         to just #else.
67724         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
67725         [!__GLIBC_HAVE_LONG_LONG] case.
67726         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
67727         condition to just #else.
67728         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
67729         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
67730         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
67731         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
67732         unconditional.
67733         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
67734         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
67735         #elif condition to just #else.
67736         * sysdeps/unix/sysv/linux/sys/sysmacros.h
67737         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
67738         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
67739         #elif condition to just #else.
67741 2013-01-11  Steve Ellcey  <sellcey@mips.com>
67743         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
67744         (EF_MIPS_ARCH_64): Fix value.
67745         (EF_MIPS_ARCH_32R2): New.
67746         (EF_MIPS_ARCH_64R2): New.
67748 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
67750         * Makeconfig (+link-pie-before-libc): New.
67751         (+link-pie-after-libc): Likewise.
67752         (+link-pie-tests): Likewise.
67753         (+link-pie): Rewritten.
67754         (link-before-libc): Remove $(config-LDFLAGS).
67755         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
67756         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
67757         (config-LDFLAGS): Renamed to ...
67758         (rtld-LDFLAGS): This.
67759         (rtld-tests-LDFLAGS): New macro.
67760         (link-libc-rpath-link): Likewise.
67761         (link-libc-tests-rpath-link): Likewise.
67762         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
67763         (link-libc): Prepand $(link-libc-rpath-link).
67764         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
67765         (test-program-prefix): New macro.
67766         (test-via-rtld-prefix): Likewise.
67767         (test-program-cmd): Likewise.
67768         (host-test-program-cmd): Likewise.
67769         * Makefile ($(common-objpfx)testrun.sh): Replace
67770         $(run-program-prefix) with $(test-program-prefix).
67771         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
67772         $(rtld-LDFLAGS).
67773         ($(common-objpfx)shlib.lds): Likewise.
67774         (build-module-helper): Likewise.
67775         ($(common-objpfx)format.lds): Likewise.
67776         * Rules (binaries-pie-tests): New.
67777         (binaries-pie-notests): Likewise.
67778         (binaries-pie): Rewritten.
67779         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
67780         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
67781         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
67782         (make-test-out): Replace $(host-built-program-cmd) with
67783         $(host-test-program-cmd).
67784         * config.make.in (build-hardcoded-path-in-tests): New variable.
67785         * configure.in (--enable-hardcoded-path-in-tests): New configure
67786         option.
67787         (hardcoded_path_in_tests): New AC_SUBST.
67788         * configure: Regenerated.
67789         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
67790         $(built-program-cmd) with $(test-program-cmd).
67791         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
67792         (test_program_cmd): This.
67793         * elf/Makefile ($(objpfx)order.out): Run test with
67794         $(test-program-prefix).
67795         ($(objpfx)order2.out): Likewise.
67796         ($(objpfx)tst-initorder.out): Likewise.
67797         ($(objpfx)tst-initorder2.out): Likewise.
67798         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
67799         $(test-program-cmd).
67800         ($(objpfx)tst-array1-static.out): Likewise.
67801         ($(objpfx)tst-array2.out): Likewise.
67802         ($(objpfx)tst-array3.out): Likewise.
67803         ($(objpfx)tst-array4.out): Likewise.
67804         ($(objpfx)tst-array5.out): Likewise.
67805         ($(objpfx)tst-array5-static.out): Likewise.
67806         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
67807         $(test-program-cmd).
67808         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
67809         $(run-program-prefix) with $(test-program-prefix).
67810         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
67811         (test_program_prefix): This.
67812         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
67813         $(run-program-prefix) with $(test-program-prefix).
67814         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
67815         (test_program_prefix): This.
67816         * iconvdata/tst-tables.sh: Likewise.
67817         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
67818         $(run-program-prefix) with $(test-program-prefix).
67819         ($(objpfx)tst-translit.out): Likewise.
67820         ($(objpfx)tst-gettext2.out): Likewise.
67821         ($(objpfx)tst-gettext4.out): Likewise.
67822         ($(objpfx)tst-gettext6.out): Likewise.
67823         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
67824         (test_program_prefix): This.
67825         * intl/tst-gettext2.sh: Likewise.
67826         * intl/tst-gettext4.sh  Likewise.
67827         * intl/tst-gettext6.sh: Likewise.
67828         * intl/tst-translit.sh: Likewise.
67829         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
67830         with $(test-program-cmd).
67831         * libio/Makefile ($(objpfx)test-freopen.out): Replace
67832         $(run-program-prefix) with $(test-program-prefix).
67833         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
67834         (test_program_prefix): This.
67835         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
67836         $(run-program-prefix) with $(test-program-prefix).
67837         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
67838         (test_program_prefix): This.
67839         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
67840         * posix/Makefile ($(objpfx)globtest.out): Replace
67841         $(run-via-rtld-prefix) and $(test-wrapper) with
67842         $(test-program-prefix) and $(test-via-rtld-prefix).
67843         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
67844         $(test-program-prefix).
67845         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
67846         $(host-test-program-cmd).
67847         (tst-spawn-ARGS): Likewise.
67848         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
67849         $(test-program-prefix).
67850         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
67851         (test_via_rtld_prefix): This.
67852         (test_wrapper): Renamed to ...
67853         (test_program_prefix): This.
67854         (run_program_prefix): Replaced by test_program_prefix.
67855         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
67856         (test_program_prefix): This.
67857         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
67858         with $(host-test-program-cmd).
67859         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
67860         $(run-program-prefix) with $(test-program-prefix).
67861         ($(objpfx)tst-printf.out): Likewise.
67862         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
67863         $(test-program-cmd).
67864         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
67865         (test_program_prefix): This.
67866         * stdio-common/tst-unbputc.sh: Likewise.
67867         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
67868         $(run-program-prefix) with $(test-program-prefix).
67869         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
67870         (test_program_prefix): This.
67871         * string/Makefile ($(objpfx)tst-svc.out):  Replace
67872         $(built-program-cmd) with $(test-program-cmd).
67874 2013-01-11  Andreas Jaeger  <aj@suse.de>
67876         [BZ #15003]
67877         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
67878         value. Sync with Linux 3.7.
67880 2013-01-10  David S. Miller  <davem@davemloft.net>
67882         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
67883         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
67884         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
67886 2013-01-10  Roland McGrath  <roland@hack.frob.com>
67888         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
67889         never set.
67890         * configure: Regenerated.
67892 2013-01-10  David S. Miller  <davem@davemloft.net>
67894         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
67895         sparc V9 rather than using V8 code.
67896         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
67897         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
67899 2013-01-10  Roland McGrath  <roland@hack.frob.com>
67901         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
67902         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
67903         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
67904         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
67905         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
67906         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
67907         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
67908         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
67909         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
67910         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
67911         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
67912         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
67913         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
67914         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
67915         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
67916         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
67917         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
67918         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
67919         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
67920         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
67921         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
67922         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
67923         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
67924         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
67925         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
67926         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
67927         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
67929 2013-01-10  David S. Miller  <davem@davemloft.net>
67931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67933 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
67935         * posix/Makefile (tests-static): New variable.
67936         (tests): Add $(tests-static).
67937         (tst-exec-static-ARGS): New variable.
67938         (tst-spawn-static-ARGS): Likewise.
67939         * posix/tst-exec-static.c: New file.
67940         * posix/tst-spawn-static.c: Likewise.
67941         * posix/tst-exec.c: Support run directly.
67942         * posix/tst-spawn.c: Likewise.
67944 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
67946         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
67947         long.
67948         * math/bits/mathcalls.h (llrint): Likewise.
67949         (llround): Likewise.
67950         * stdlib/stdlib.h (struct drand48_data): Likewise.
67951         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
67952         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
67953         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
67954         Likewise.
67955         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
67956         Likewise.
67957         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
67958         (elf_greg_t): Likewise.
67959         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
67960         (__jmp_buf): Likewise.
67961         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
67962         definitions.
67963         (llrint): Likewise, for all definitions.
67964         (llrintl): Likewise.
67966         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
67967         Remove [__GNUC__] condition.
67968         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
67969         condition to just [__USE_ISOC99].
67970         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
67972 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
67974         [BZ #14200]
67975         * sysdeps/unix/sysv/linux/x86/bits/environments.h
67976         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
67977         defined.
67978         (_POSIX_V6_ILP32_OFF32): Likewise.
67979         (_XBS5_ILP32_OFF32): Likewise.
67980         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
67981         (__ILP32_OFFBIG_LDFLAGS): Likewise.
67983 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67985         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
67987         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
67988         doubles __mpexp_twomm1.  Adjust usage.
67989         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
67990         Remove.
67992 2013-01-10  Andreas Schwab  <schwab@suse.de>
67994         [BZ #14964]
67995         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
67996         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
67998 2013-01-09  David S. Miller  <davem@davemloft.net>
68000         [BZ #15003]
68001         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
68002         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
68003         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
68004         (TCP_FASTOPEN): Define.
68005         (tcp_repair_opt): New structure.
68006         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
68007         enum values.
68008         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
68009         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
68010         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
68011         (tcp_cookie_transactions): New structure.
68013 2013-01-09  Anton Blanchard  <anton@samba.org>
68015         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
68016         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
68017         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
68018         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
68020 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
68022         * include/features.h (__USE_ANSI): Remove.
68024 2013-01-09  Roland McGrath  <roland@hack.frob.com>
68026         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
68028         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
68030 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
68032         * sysdeps/s390/fpu/libm-test-ulps: Update.
68034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68036         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
68037         (__acr): Likewise.
68038         (__cpy): Likewise.
68039         (norm): Likewise.
68040         (denorm): Likewise.
68041         (__mp_dbl): Likewise.
68042         (__dbl_mp): Likewise.
68043         (add_magnitudes): Likewise.
68044         (sub_magnitudes): Likewise.
68045         (__add): Likewise.
68046         (__sub): Likewise.
68047         (__mul): Likewise.
68048         (__inv): Likewise.
68049         (__dvd): Likewise.
68050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
68051         (__acr): Likewise.
68052         (__cpy): Likewise.
68053         (norm): Likewise.
68054         (denorm): Likewise.
68055         (__mp_dbl): Likewise.
68056         (__dbl_mp): Likewise.
68057         (add_magnitudes): Likewise.
68058         (sub_magnitudes): Likewise.
68059         (__add): Likewise.
68060         (__sub): Likewise.
68061         (__mul): Likewise.
68062         (__inv): Likewise.
68063         (__dvd): Likewise.
68064         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
68065         (__acr): Likewise.
68066         (__cpy): Likewise.
68067         (norm): Likewise.
68068         (denorm): Likewise.
68069         (__mp_dbl): Likewise.
68070         (__dbl_mp): Likewise.
68071         (add_magnitudes): Likewise.
68072         (sub_magnitudes): Likewise.
68073         (__add): Likewise.
68074         (__sub): Likewise.
68075         (__mul): Likewise.
68076         (__inv): Likewise.
68077         (__dvd): Likewise.
68079 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
68081         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
68082         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
68083         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
68084         2 && __USE_EXTERN_INLINES]: Likewise.
68086 2013-01-08  Andreas Jaeger  <aj@suse.de>
68088         [BZ #14985]
68089         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
68090         Remove.
68091         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
68092         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
68094 2013-01-07  Anton Blanchard  <anton@samba.org>
68096         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
68097         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
68098         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
68099         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
68100         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
68101         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68102         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
68103         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
68104         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68105         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68106         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68107         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68108         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68109         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
68110         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
68111         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68112         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68113         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
68114         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
68115         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
68116         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
68117         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
68118         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68119         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
68120         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
68121         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
68122         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68123         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
68124         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
68125         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68126         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
68127         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68128         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68129         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
68130         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
68131         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68132         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
68133         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
68134         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
68135         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
68136         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
68137         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68138         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
68140 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
68142         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
68143         (__MALLOC_PMT): Likewise.
68144         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
68145         [__GNUC__], only on [_LIBC].
68146         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
68147         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
68148         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
68149         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
68150         forward declaration.
68151         (realloc_hook_ini): Likewise.
68152         (memalign_hook_ini): Likewise.
68153         (__libc_memalign): Do not use __MALLOC_PMT in variable
68154         declaration.
68155         (__libc_valloc): Likewise.
68156         (__libc_pvalloc): Likewise.
68157         (__libc_calloc): Likewise.
68158         (__posix_memalign): Likewise.
68160         [BZ #14996]
68161         * math/s_casinh.c: Include <float.h>.
68162         (__casinh): Do not do computation with squaring and square root
68163         for large arguments.
68164         * math/s_casinhf.c: Include <float.h>.
68165         (__casinhf): Do not do computation with squaring and square root
68166         for large arguments.
68167         * math/s_casinhl.c: Include <float.h>.
68168         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
68169         (__casinhl): Do not do computation with squaring and square root
68170         for large arguments.
68171         * math/libm-test.inc (casin_test): Add more tests.
68172         (casinh_test): Likewise.
68173         * sysdeps/i386/fpu/libm-test-ulps: Update.
68174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68176 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
68178         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
68179         (__x86_64_raw_data_cache_size): Likewise.
68180         (__x86_64_data_cache_size_half): Likewise.
68181         (__x86_64_raw_data_cache_size_half): Likewise.
68182         (__x86_64_shared_cache_size): Likewise.
68183         (__x86_64_raw_shared_cache_size): Likewise.
68184         (__x86_64_shared_cache_size_half): Likewise.
68185         (__x86_64_raw_shared_cache_size_half): Likewise.
68186         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
68187         to ...
68188         (__x86_data_cache_size): This.
68189         (__x86_64_raw_data_cache_size): Renamed to ...
68190         (__x86_raw_data_cache_size): This.
68191         (__x86_64_data_cache_size_half): Renamed to ...
68192         (__x86_data_cache_size_half): This.
68193         (__x86_64_raw_data_cache_size_half): Renamed to ...
68194         (__x86_raw_data_cache_size_half): This.
68195         (__x86_64_shared_cache_size): Renamed to ...
68196         (__x86_shared_cache_size): This.
68197         (__x86_64_raw_shared_cache_size): Renamed to ...
68198         (__x86_raw_shared_cache_size): This.
68199         (__x86_64_shared_cache_size_half): Renamed to ...
68200         (__x86_shared_cache_size_half): This.
68201         (__x86_64_raw_shared_cache_size_half): Renamed to ...
68202         (__x86_raw_shared_cache_size_half): This.
68203         * sysdeps/x86_64/memcpy.S: Updated.
68204         * sysdeps/x86_64/memset.S: Likewise.
68205         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
68206         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68207         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68209 2013-01-04  David S. Miller  <davem@davemloft.net>
68211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68213 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
68215         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
68216         1 to avoid redefinition warning.
68217         (__USE_GNU): Don't define.
68218         (init_signaling_nan): Protoize.
68220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68222 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68224         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
68225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
68226         (__cpymn): Likewise.
68227         (norm): Remove commented code.
68228         (denorm): Likewise.
68229         (__mp_dbl): Likewise.
68230         (__inv): Likewise.
68231         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
68232         (__cpymn): Likewise.
68233         (norm): Remove commented code.
68234         (denorm): Likewise.
68235         (__mp_dbl): Likewise.
68236         (__inv): Likewise.
68238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
68239         mp_no value for 1.0 and 2.0.
68240         (norm): Use RADIXI instead of radixi.d.
68241         (denorm): Likewise.
68242         (__mul): Use 0.0 instead of zero.d.
68243         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
68244         mp_no value for 1.0 and 2.0.
68245         (norm): Use RADIXI instead of radixi.d.
68246         (denorm): Likewise.
68247         (__mul): Use 0.0 instead of zero.d.
68249 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
68251         [BZ #14994]
68252         * math/s_casinh.c (__casinh): Reduce finite argument to first
68253         quadrant then set signs of results at the end.
68254         * math/s_casinhf.c (__casinhf): Likewise.
68255         * math/s_casinhl.c (__casinhl): Likewise.
68256         * math/libm-test.inc (casin_test): Add more tests.
68257         (casinh_test): Likewise.
68258         * sysdeps/i386/fpu/libm-test-ulps: Update.
68259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68261 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68263         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
68265         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
68267         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
68268         declarations.
68269         (denorm): Likewise.
68270         (__mp_dbl): Likewise.
68271         (__inv): Likewise.
68273         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
68274         and adjust the header comment.
68276         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
68277         variable name from declaration.
68279 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
68281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68282         Initialize COMMON_CPUID_INDEX_7 element.
68283         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
68284         (CPUID_RTM): Likewise.
68285         (HAS_RTM): Likewise.
68286         (COMMON_CPUID_INDEX_7): New enum.
68288 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
68290         [BZ #14981]
68291         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
68292         size is zero, record memory as freed.
68294 2013-01-03  Andreas Jaeger  <aj@suse.de>
68296         * po/ia.po: Add new Interlingua translation.
68298 2012-01-03  Allan McRae  <allan@archlinux.org>
68300         * locale/programs/localedef.c: Fix description of '--posix' flag.
68302 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
68304         * NEWS: Update dates in second copyright notice.
68305         * README: Update copyright dates in example.
68306         * manual/libc.texinfo: Update copyright dates.
68307         * scripts/test-installation.pl: Update copyright date in --version
68308         output.
68310         * hurd/ctty-input.c: Fix copyright notice formatting.
68311         * hurd/ctty-output.c: Likewise.
68312         * hurd/dtable.c: Likewise.
68313         * hurd/hurd-raise.c: Likewise.
68314         * hurd/hurdprio.c: Likewise.
68315         * hurd/msgportdemux.c: Likewise.
68316         * misc/sys/file.h: Likewise.
68317         * misc/sys/ioctl.h: Likewise.
68318         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
68319         * sysdeps/mach/hurd/chdir.c: Likewise.
68320         * sysdeps/mach/hurd/fchdir.c: Likewise.
68321         * sysdeps/mach/hurd/rename.c: Likewise.
68322         * sysdeps/mach/hurd/rmdir.c: Likewise.
68323         * sysdeps/mach/hurd/seekdir.c: Likewise.
68324         * sysdeps/mach/hurd/setsid.c: Likewise.
68325         * sysdeps/posix/wait3.c: Likewise.
68327         * All files with FSF copyright notices: Update copyright dates
68328         using scripts/update-copyrights.
68329         * intl/plural.c: Regenerated.
68330         * locale/programs/charmap-kw.h: Likewise.
68331         * locale/programs/locfile-kw.h: Likewise.
68333 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68335         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
68336         four values.
68338         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
68339         calculation loop and add branch prediction.
68341         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
68342         check access beyond bounds of m1np.
68344         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
68345         MPTWO.
68346         (__inv): Remove local variable MPTWO to use the global
68347         constant.
68348         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
68349         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
68350         variable MPTWO.
68351         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
68352         MP3HALFS static const.
68354 2013-01-01  David S. Miller  <davem@davemloft.net>
68356         * po/ca.po: Update from translation team.
68358 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
68360         * scripts/update-copyrights: New file.
68361         * Makeconfig: Reformat copyright notice.
68362         * ctype/ctype.h: Likewise.
68363         * debug/swprintf_chk.c: Likewise.
68364         * elf/dl-cache.c: Likewise.
68365         * elf/dl-debug.c: Likewise.
68366         * elf/dl-object.c: Likewise.
68367         * grp/initgroups.c: Likewise.
68368         * hurd/Makefile: Likewise.
68369         * hurd/hurd/signal.h: Likewise.
68370         * hurd/hurdfault.c: Likewise.
68371         * hurd/hurdioctl.c: Likewise.
68372         * hurd/hurdlookup.c: Likewise.
68373         * hurd/intr-msg.c: Likewise.
68374         * iconv/gconv_open.c: Likewise.
68375         * libio/swprintf.c: Likewise.
68376         * locale/lc-ctype.c: Likewise.
68377         * locale/nl_langinfo.c: Likewise.
68378         * mach/Machrules: Likewise.
68379         * mach/Makefile: Likewise.
68380         * malloc/obstack.h: Likewise.
68381         * manual/Makefile: Likewise.
68382         * manual/tsort.awk: Likewise.
68383         * misc/bits/stab.def: Likewise.
68384         * nis/nis_print_group_entry.c: Likewise.
68385         * nis/nis_table.c: Likewise.
68386         * nis/nss_compat/compat-pwd.c: Likewise.
68387         * nis/nss_compat/compat-spwd.c: Likewise.
68388         * po/Makefile: Likewise.
68389         * posix/fnmatch.c: Likewise.
68390         * posix/regex.h: Likewise.
68391         * resolv/Makefile: Likewise.
68392         * resolv/nss_dns/dns-network.c: Likewise.
68393         * resolv/res_hconf.c: Likewise.
68394         * scripts/gen-sorted.awk: Likewise.
68395         * soft-fp/soft-fp.h: Likewise.
68396         * stdio-common/printf.h: Likewise.
68397         * stdlib/monetary.h: Likewise.
68398         * stdlib/random.c: Likewise.
68399         * stdlib/random_r.c: Likewise.
68400         * sysdeps/generic/Makefile: Likewise.
68401         * sysdeps/gnu/Makefile: Likewise.
68402         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68403         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68404         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68405         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68406         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68407         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68408         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68409         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68410         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68411         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68412         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
68413         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
68414         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
68415         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
68416         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
68417         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
68418         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
68419         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68420         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68421         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68422         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68423         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68424         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68425         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
68426         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
68427         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68428         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
68429         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
68430         * sysdeps/mach/hurd/errnos.awk: Likewise.
68431         * sysdeps/mach/hurd/fork.c: Likewise.
68432         * sysdeps/mach/hurd/getcwd.c: Likewise.
68433         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
68434         * sysdeps/mach/hurd/mmap.c: Likewise.
68435         * sysdeps/mach/hurd/utimes.c: Likewise.
68436         * sysdeps/mach/hurd/xmknod.c: Likewise.
68437         * sysdeps/posix/profil.c: Likewise.
68438         * sysdeps/posix/readdir_r.c: Likewise.
68439         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68440         * sysdeps/powerpc/bits/setjmp.h: Likewise.
68441         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
68442         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
68443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68444         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68445         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68446         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68448         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68449         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68450         * sysdeps/pthread/lio_listio.c: Likewise.
68451         * sysdeps/sparc/dl-procinfo.h: Likewise.
68452         * sysdeps/unix/i386/sysdep.S: Likewise.
68453         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
68454         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
68455         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
68456         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
68457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68458         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
68459         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
68460         * sysdeps/unix/sysv/linux/speed.c: Likewise.
68461         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
68462         * sysdeps/wordsize-32/divdi3.c: Likewise.
68463         * time/sys/time.h: Likewise.
68464         * wcsmbs/Makefile: Likewise.
68466 2013-01-01  David S. Miller  <davem@davemloft.net>
68468         * po/fr.po: Update from translation team.
68470         * catgets/gencat.c: Update copyright year.
68471         * csu/version.c: Likewise.
68472         * debug/catchsegv.sh: Likewise.
68473         * debug/pcprofiledump.c: Likewise.
68474         * debug/xtrace.sh: Likewise.
68475         * elf/ldconfig.c: Likewise.
68476         * elf/ldd.bash.in: Likewise.
68477         * elf/pldd.c: Likewise.
68478         * elf/sotruss.ksh: Likewise.
68479         * elf/sprof.c: Likewise.
68480         * iconv/iconv_prog.c: Likewise.
68481         * iconv/iconvconfig.c: Likewise.
68482         * locale/programs/locale.c: Likewise.
68483         * locale/programs/localedef.c: Likewise.
68484         * login/programs/pt_chown.c: Likewise.
68485         * malloc/memusage.sh: Likewise.
68486         * malloc/memusagestat.c: Likewise.
68487         * malloc/mtrace.pl: Likewise.
68488         * nscd/nscd.c: Likewise.
68489         * nss/getent.c: Likewise.
68490         * nss/makedb.c: Likewise.
68491         * posix/getconf.c: Likewise.
68493 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68495         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
68496         numbers.
68498 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
68500         * math/bits/mathcalls.h (modf): Use __nonnull.
68502 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68504         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
68505         (split): Use macro CN instead of the bare value.
68506         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
68507         could be used.
68508         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
68509         instead of the bare value.
68510         (power1): Likewise.
68512 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68514         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
68515         __ATAN_TWOM.
68516         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68518         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
68519         their values.
68520         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
68521         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68522         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
68523         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
68525 2012-12-28  Andreas Jaeger  <aj@suse.de>
68527         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
68528         values are from Linux 3.7.
68530         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
68531         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
68533 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68535         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
68536         TRUE case.
68538         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
68539         (norm): Likewise.
68540         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
68541         variables with preprocessor constants.
68542         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68543         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
68544         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
68546 2012-12-27  Bruno Haible  <bruno@clisp.org>
68548         [BZ #14317]
68549         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
68550         only if needed.
68552 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68554         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
68555         and use variable directly.
68556         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
68558         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
68559         MPONE.
68560         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
68561         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
68562         variable MPONE.
68563         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68564         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68565         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
68566         include directive.  Remove local variable MPONE.
68567         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
68568         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
68569         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68571 2012-12-25  David S. Miller  <davem@davemloft.net>
68573         * version.h (RELEASE): Set to "development".
68574         (VERSION): Set to "2.17.90".
68575         * NEWS: Add 2.18 section.
68577 2012-12-21  David S. Miller  <davem@davemloft.net>
68579         * po/hr.po: Update from translation team.
68581 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68583         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
68585 2012-12-19  Steve Ellcey  <sellcey@mips.com>
68587         * NEWS:  Mention new memcpy for MIPS.
68589 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68591         * manual/contrib.texi (Contributors): Spelling correction.
68593 2012-12-15  David S. Miller  <davem@davemloft.net>
68595         * po/ru.po: Update from translation team.
68597 2012-12-13  David S. Miller  <davem@davemloft.net>
68599         * NEWS: Mention IFUNC testsuite enhancements.
68601         * po/pl.po: Update from translation team.
68602         * po/bg.po: Likewise.
68604         * manual/contrib.texi (Contributors): Update entries for Hongjiu
68605         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
68607 2012-12-11  David S. Miller  <davem@davemloft.net>
68609         * po/sv.po: Update from translation team.
68611         * po/vi.po: Update from translation team.
68613         * po/cs.po: Update from translation team.
68615         * po/de.po: Update from translation team.
68616         * po/eo.po: Likewise.
68617         * po/nl.po: Likewise.
68619 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68621         [BZ #14246]
68622         * manual/argp.texi (Argp Helper Functions): Move node to follow
68623         Argp Parsing State.
68625         [BZ #14872]
68626         * manual/conf.texi (Limits on File System Capacity): Mention if
68627         terminating null is included in the max size.
68629 2012-12-10  Andreas Jaeger  <aj@suse.de>
68631         * po/cs.po: Update from translation team.
68633 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
68635         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
68636         void pointer and cast to uintptr_t.
68637         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
68638         path.
68639         * sysdeps/s390/s390-64/memcpy.S: Likewise.
68640         * sysdeps/s390/s390-64/memset.S: Likewise.
68642 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
68644         [BZ #14833]
68645         * menual/message.texi (Message Translation): Fix typos.
68646         (Helper programs for gettext): Likewise.
68648 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
68650         [BZ #14898]
68651         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
68652         Change to -1.
68654 2012-12-07  David S. Miller  <davem@davemloft.net>
68656         * po/libc.pot: Update.
68658 2012-12-07  Richard Henderson  <rth@redhat.com>
68660         [BZ #10114]
68661         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
68662         normal/normal case to before the switch.
68663         (_FP_DIV): Likewise.
68665 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
68666             Mike Frysinger  <vapier@gentoo.org>
68668         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
68669         check for __NR_fadvise64_64.
68671 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
68673         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
68674         0, not just to plain "0" as a statement.
68675         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
68676         with cw.
68678 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
68680         * NEWS: Use sourceware.org in Bugzilla URL.
68682 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
68684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
68685         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
68687         * stdio-common/tst-put-error.c (do_test): Add newline to the
68688         padded test to ensure flush.
68690 2012-12-05  Jeff Law  <law@redhat.com>
68692         * sunrpc/etc.rpc (fedfs_admin): Add entry.
68694 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
68696         * README: Don't refer to ports add-on as distributed separately.
68697         Mention AArch64 in list of systems supported in the ports add-on.
68699         * LICENSES: Add more non-FSF copyright and license notices.
68701         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
68702         ((unused)).
68704         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
68706         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
68707         10000 as width of padded output.
68709 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
68711         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
68713         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
68714         variable LX with __attribute__ ((unused)).
68715         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
68716         Likewise.
68717         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
68718         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68719         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
68720         with __attribute__ ((unused)).
68722 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
68724         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
68726 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
68728         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
68729         (CFLAGS-nldbl-acos.c): New variable.
68730         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
68731         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
68732         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
68733         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
68734         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
68735         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
68736         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
68737         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
68738         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
68739         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
68740         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
68741         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
68742         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
68743         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
68744         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
68745         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
68746         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
68747         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
68748         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
68749         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
68750         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
68751         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
68752         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
68753         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
68754         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
68755         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
68756         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
68757         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
68758         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
68759         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
68760         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
68761         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
68762         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
68763         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
68764         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
68765         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
68766         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
68767         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
68768         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
68769         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
68770         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
68771         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
68772         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
68773         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
68774         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
68775         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
68776         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
68777         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
68778         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
68779         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
68780         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
68781         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
68782         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
68783         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
68784         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
68785         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
68786         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
68787         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
68788         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
68789         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
68790         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
68791         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
68792         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
68793         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
68794         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
68795         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
68796         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
68797         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
68798         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
68799         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
68800         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
68801         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
68802         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
68803         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
68804         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
68805         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
68806         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
68807         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
68808         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
68809         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
68810         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
68811         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
68812         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
68813         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
68814         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
68815         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
68816         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
68817         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
68818         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
68819         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
68820         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
68821         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
68822         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
68823         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
68824         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
68825         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
68826         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
68828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
68829         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
68831         [BZ #14914]
68832         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
68833         whole low double instead of just low 47 bits when splitting values
68834         into two parts.
68836 2012-12-03  Allan McRae  <allan@archlinux.org>
68838         * manual/stdio.texi (Predefined Printf Handlers): Remove
68839         @hsep and @vsep usage.
68841 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
68843         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
68844         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
68846 2012-12-03  Jeff Law  <law@redhat.com>
68848         * time/sys/time.h (settimeofday): Do not mark TV argument
68849         as __nonnull.
68851 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
68853         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
68854         when currently writing and seek to current position when not.
68855         * libio/Makefile (tests): Remove bug-fclose1.
68856         * libio/bug-fclose1.c: Delete.
68858 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
68860         * manual/arith.texi (feenableexcept): Fix typo.
68861         (fedisableexcept): Likewise.
68863 2012-11-30  Roland McGrath  <roland@hack.frob.com>
68865         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
68866         second, differently-typed declaration, rather than a cast.
68868 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68870         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
68871         * include/rpc/svc.h: ... here.
68873 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
68875         [BZ #13013]
68876         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
68877         depending n and resplen2 to catch cases where answer
68878         equals answerp2.
68880 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
68882         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
68883         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
68885 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
68887         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
68889 2012-11-29  Roland McGrath  <roland@hack.frob.com>
68891         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
68893 2012-11-28  Jeff Law  <law@redhat.com>
68895         [BZ #13761]
68896         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
68897         dataset_temporary.  Track alloca usage into alloca_used.
68898         If dataset is large allocate and release it via malloc/free.
68900 2012-06-04  Florian Weimer  <fweimer@redhat.com>
68902         [BZ #14197]
68903         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
68905 2012-11-28  David S. Miller  <davem@davemloft.net>
68907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68909 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
68911         [BZ #14803]
68912         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
68913         of pi/2 rounded to nearest to 64 bits.
68914         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
68915         nearest to 64 bits.
68916         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
68917         bits.
68919 2012-11-28  Jeff Law <law@redhat.com>
68920             Martin Osvald <mosvald@redhat.com>
68922         [BZ #14889]
68923         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
68924         * sunrpc/svc.c: Include time.h.
68925         (__svc_accept_failed): New function.
68926         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
68927         any reason other than EINTR, call __svc_accept_failed.
68928         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
68929         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
68931 2012-11-28  Andreas Schwab  <schwab@suse.de>
68933         * scripts/abilist.awk: Also handle indirect functions in .opd
68934         section.
68936 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
68938         [BZ #13881]
68939         * sysdeps/x86/fpu/powl_helper.c: New file.
68940         * sysdeps/x86/fpu/Makefile: Likewise.
68941         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
68942         (p3): New object.
68943         (__ieee754_powl): Use __powl_helper for finite arguments except
68944         integer exponents below 8.
68945         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
68946         (p3): New object.
68947         (__ieee754_powl): Use __powl_helper for finite arguments except
68948         integer exponents below 8.
68949         * math/libm-test.inc (pow_test): Add more tests and enable some
68950         previously disabled tests.
68951         * sysdeps/i386/fpu/libm-test-ulps: Update.
68952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68954 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68955             Carlos O'Donell  <carlos_odonell@mentor.com>
68957         * nss/makedb.c (is_prime): Assert that input is odd and greater
68958         than 4.  Note that fact in a comment too.
68959         (next_prime): Add 4 to input.
68961 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68963         [BZ #11741]
68964         * libio/Makefile (tests): Add test case tst-fwrite-error.
68965         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
68966         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
68967         * libio/tst-fwrite-error.c: New test case.
68969 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
68971         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
68972         before casting to void *.
68973         * include/libc-internal.h (__pointer_type): New macro.
68974         (__integer_if_pointer_type_sub): Likewise.
68975         (__integer_if_pointer_type): Likewise.
68976         (cast_to_integer): Likewise.
68977         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
68978         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
68979         before casting to atomic64_t.
68980         (atomic_exchange_acq): Likewise.
68981         (__arch_exchange_and_add_body): Likewise.
68982         (__arch_add_body): Likewise.
68983         (atomic_add_negative): Likewise.
68984         (atomic_add_zero): Likewise.
68986 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
68988         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
68989         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
68990         (add_fdes): Likewise.
68991         (linear_search_fdes): Likewise.
68992         (binary_search_unencoded_fdes): Likewise.
68994 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
68996         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
68998 2012-11-24  Adam Conrad  <adconrad@0c3.net>
69000         * configure.in: Autodetect C++ header directories.
69001         * configure: Regenerated.
69003 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
69005         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
69007 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
69009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69011 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
69013         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
69014         LDBL_MANT_DIG == 106]: Disable some tests.
69015         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69016         Likewise.
69017         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69018         Likewise.
69020         [BZ #14871]
69021         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
69022         input for small inputs.  Return +/- pi/2 for large inputs.
69023         * math/libm-test.inc (atan_test): Add more tests.
69025         * sysdeps/generic/unwind-dw2-fde-glibc.c
69026         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
69027         __attribute__ ((unused)).
69029         [BZ #14645]
69030         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
69031         x * y if x and y are nonzero and z is zero.
69033         [BZ #14811]
69034         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
69035         nonzero exponents with absolute value below 0x1p-117 to +/-
69036         0x1p-117.
69038         [BZ #14869]
69039         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
69040         up arguments below 2**-450, not just those below 2**-500.
69041         * math/libm-test.inc (hypot_test): Add another test.
69043         [BZ #14868]
69044         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
69045         Return a+b for ratio over 2**120, not 2**60.
69046         * math/libm-test.inc (hypot_test): Add another test.
69048         * math/libm-test.inc (clog_test): Use
69049         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
69050         (clog10_test): Likewise.
69052         [BZ #6778]
69053         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
69055 2012-11-22  Andreas Schwab  <schwab@suse.de>
69057         * sysdeps/i386/fpu/libm-test-ulps: Update.
69059 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
69061         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
69062         printf output with newline.
69064 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
69066         [BZ #14865]
69067         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
69068         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
69069         -z nodlopen, -z initfirst and -z execstack support.
69070         * configure: Regenerated.
69072         * elf/elf.h (DF_1_NODIRECT): New macro.
69073         (DF_1_IGNMULDEF): Likewise.
69074         (DF_1_NOKSYMS): Likewise.
69075         (DF_1_NOHDR): Likewise.
69076         (DF_1_EDITED): Likewise.
69077         (DF_1_NORELOC): Likewise.
69078         (DF_1_SYMINTPOSE): Likewise.
69079         (DF_1_GLOBAUDIT): Likewise.
69080         (DF_1_SINGLETON): Likewise.
69081         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
69082         DT_1_SUPPORTED_MASK bits.
69083         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
69085 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
69087         * sysdeps/unix/make-syscalls.sh: Document prefixes.
69089 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
69091         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
69092         macro.
69094         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
69095         (sendmmsg): Move declarations...
69096         * socket/sys/socket.h: ... here.
69097         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
69098         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
69099         include it from...
69100         * socket/recvmmsg.c: ... this new file.
69101         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
69102         (sendmmsg): Rename to __sendmmsg, create weak alias and make
69103         definition of __sendmmsg hidden.
69104         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
69105         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
69106         Move ENOSYS stub into and include it from...
69107         * socket/sendmmsg.c: ... this new file.
69108         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
69109         (sysdep_routines): Move recvmmsg and sendmmsg...
69110         * socket/Makefile (routines): ... here.
69111         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
69112         (GLIBC_PRIVATE): Add __sendmmsg.
69113         * include/sys/socket.h (__sendmmsg): Add declarations.
69114         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
69115         sendmmsg.
69117 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
69119         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
69120         variable I1 with __attribute__ ((unused)).
69121         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69123 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
69125         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
69126         DUMMY variables with __attribute__ ((unused)).
69128         * bits/byteswap.h: Include <bits/types.h>.
69129         (__bswap_64): Use __uint64_t instead of unsigned long long int.
69131 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
69133         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
69134         string_t.  Do not manually set errno.
69135         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
69136         length with __strnlen.  Make sure to both set errno and return it on
69137         failure.
69139 2012-11-19  David S. Miller  <davem@davemloft.net>
69141         With help from Joseph Myers.
69142         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
69143         very large arguments properly.
69144         * math/libm-test.inc (atan_test): New tests.
69145         (atan2_test): New tests.
69146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69149 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
69151         [BZ #14856]
69152         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
69153         Define to 3.
69155         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
69156         [POSIX] (EADDRNOTAVAIL): Likewise.
69157         [POSIX] (EAFNOSUPPORT): Likewise.
69158         [POSIX] (EALREADY): Likewise.
69159         [POSIX] (ECONNABORTED): Likewise.
69160         [POSIX] (ECONNREFUSED): Likewise.
69161         [POSIX] (ECONNRESET): Likewise.
69162         [POSIX] (EDESTADDRREQ): Likewise.
69163         [POSIX] (EDQUOT): Likewise.
69164         [POSIX] (EHOSTUNREACH): Likewise.
69165         [POSIX] (EIDRM): Likewise.
69166         [POSIX] (EISCONN): Likewise.
69167         [POSIX] (ELOOP): Likewise.
69168         [POSIX] (EMULTIHOP): Likewise.
69169         [POSIX] (ENETDOWN): Likewise.
69170         [POSIX] (ENETUNREACH): Likewise.
69171         [POSIX] (ENOBUFS): Likewise.
69172         [POSIX] (ENODATA): Likewise.
69173         [POSIX] (ENOLINK): Likewise.
69174         [POSIX] (ENOMSG): Likewise.
69175         [POSIX] (ENOPROTOOPT): Likewise.
69176         [POSIX] (ENOSR): Likewise.
69177         [POSIX] (ENOSTR): Likewise.
69178         [POSIX] (ENOTCONN): Likewise.
69179         [POSIX] (ENOTSOCK): Likewise.
69180         [POSIX] (EOPNOTSUPP): Likewise.
69181         [POSIX] (EOVERFLOW): Likewise.
69182         [POSIX] (EPROTO): Likewise.
69183         [POSIX] (EPROTONOSUPPORT): Likewise.
69184         [POSIX] (EPROTOTYPE): Likewise.
69185         [POSIX] (ESTALE): Likewise.
69186         [POSIX] (ETIME): Likewise.
69187         [POSIX] (ETXTBSY): Likewise.
69188         [POSIX] (EWOULDBLOCK): Likewise.
69189         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
69190         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
69191         [POSIX] (SEEK_CUR): Likewise.
69192         [POSIX] (SEEK_END): Likewise.
69193         [POSIX || UNIX98] (mode_t): Do not require.
69194         [POSIX] (off_t): Likewise.
69195         [POSIX] (pid_t): Likewise.
69196         [POSIX] (sys/stat.h): Do not allow header.
69197         [POSIX] (unistd.h): Likewise.
69198         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
69199         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
69200         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
69201         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
69202         require.
69203         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
69204         sigevent): Specify elements.
69205         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
69206         entry.
69207         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
69208         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
69210         * conform/data/cpio.h-data [POSIX]: Disable whole file.
69211         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
69212         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
69213         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
69214         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
69215         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
69216         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
69217         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
69218         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
69219         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
69220         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
69221         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
69222         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
69223         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
69224         Likewise.
69225         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
69226         Likewise.
69227         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
69228         Likewise.
69229         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
69230         Likewise.
69231         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
69232         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
69233         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
69234         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
69235         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
69236         Specify lower bound on value.
69237         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
69238         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
69239         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
69240         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
69241         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
69242         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
69243         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
69244         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
69245         value.
69246         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
69247         as optional.
69248         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
69249         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
69250         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
69251         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
69252         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
69253         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
69254         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
69255         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
69256         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
69257         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
69258         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
69259         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
69260         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
69261         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
69262         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
69263         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
69264         entry.
69265         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
69266         optional.
69267         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
69268         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
69269         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
69270         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
69271         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
69272         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
69273         Likewise.
69274         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
69275         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
69276         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
69277         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
69278         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
69279         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
69280         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
69281         as optional.
69282         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
69283         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
69284         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
69285         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
69286         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
69287         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
69288         specify as optional.
69289         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
69290         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
69291         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
69292         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
69293         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
69294         [XPG3] (NL_LANGMAX): Likewise.
69295         [POSIX || XPG3] (NL_MSGMAX): Likewise.
69296         [POSIX || XPG3] (NL_NMAX): Likewise.
69297         [POSIX || XPG3] (NL_SETMAX): Likewise.
69298         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
69299         [XPG3] (NZERO): Likewise.
69300         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
69301         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
69302         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
69303         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
69304         (REG_ERANGE): Expect.
69305         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
69306         optional-constant.
69307         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
69308         Use (void) in prototype.
69309         [POSIX] (*_t): Allow.
69310         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
69311         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
69312         (WRDE_BADVAL): Expect.
69314         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
69315         expect.
69316         [XPG3 || XPG4] (O_RSYNC): Likewise.
69317         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
69318         Likewise.
69319         [XPG3 || XPG4] (pthread_sigmask): Likewise.
69320         [XPG3 || XPG4] (sigqueue): Likewise.
69321         [XPG3 || XPG4] (sigtimedwait): Likewise.
69322         [XPG3 || XPG4] (sigwaitinfo): Likewise.
69323         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
69324         [XPG3 || XPG4] (vsnprintf): Likewise.
69325         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
69326         Likewise.
69327         [XPG3 || XPG4] (blksize_t): Likewise.
69328         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
69329         Likewise.
69330         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
69331         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
69332         [XPG3 || XPG4] (struct itimerspec): Likewise.
69333         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
69334         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
69335         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
69336         [XPG3 || XPG4] (clockid_t): Likewise.
69337         [XPG3 || XPG4] (timer_t): Likewise.
69338         [XPG3 || XPG4] (clock_getres): Likewise.
69339         [XPG3 || XPG4] (clock_gettime): Likewise.
69340         [XPG3 || XPG4] (clock_settime): Likewise.
69341         [XPG3 || XPG4] (nanosleep): Likewise.
69342         [XPG3 || XPG4] (timer_create): Likewise.
69343         [XPG3 || XPG4] (timer_delete): Likewise.
69344         [XPG3 || XPG4] (timer_gettime): Likewise.
69345         [XPG3 || XPG4] (timer_getoverrun): Likewise.
69346         [XPG3 || XPG4] (timer_settime): Likewise.
69347         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
69348         [XPG3 || XPG4] (getlogin_r): Likewise.
69349         [XPG3 || XPG4] (pread): Likewise.
69350         [XPG3 || XPG4] (pthread_atfork): Likewise.
69351         [XPG3 || XPG4] (pwrite): Likewise.
69353         [BZ #14835]
69354         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
69355         <bits/siginfo.h>.
69357 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
69359         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
69360         finalizing MALLSTREAM.
69362         * sysdeps/mach/hurd/syncfs.c: New file.
69364 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69366         [BZ #14719]
69367         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
69368         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
69369         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
69370         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
69371         (_nss_dns_gethostbyname4_r): Likewise.
69372         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
69373         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
69375 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
69377         [BZ #13763]
69378         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
69380 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
69382         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
69383         * elf/cache.c (print_entry): Print ",AArch64" for
69384         FLAG_AARCH64_LIB64
69386         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
69387         * elf/cache.c (print_entry): Print ",hard-float" for
69388         FLAG_ARM_LIBHF.
69390 2012-11-18  David S. Miller  <davem@davemloft.net>
69392         With help from Joseph Myers.
69393         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
69394         cutoff to 2**-13.
69395         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
69396         cutoff to 2**-25.
69397         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
69398         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
69399         small.
69400         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
69401         * math/libm-test.inc (y0_test): New tests.
69402         (y1_test): New tests.
69403         * sysdeps/i386/fpu/libm-test-ulps: Update.
69404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69407 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
69409         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
69410         64-bit targets.
69411         * configure: Regenerated.
69413 2012-11-17  David S. Miller  <davem@davemloft.net>
69415         [BZ #14811]
69416         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
69417         nonzero exponents with absolute value below 0x1p-128 to +/-
69418         0x1p-128.
69420 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
69422         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
69424         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
69426         * posix/getconf-speclist.c: New file.
69427         * posix/posix-envs.def: Likewise.
69428         * posix/confstr.c (START_ENV_GROUP): New macro.
69429         (END_ENV_GROUP): Likewise.
69430         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
69431         (KNOWN_PRESENT_ENV_STRING): Likewise.
69432         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
69433         (UNKNOWN_ENVIRONMENT): Likewise.
69434         (confstr): Include posix-envs.def instead of handling
69435         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
69436         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
69437         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
69438         (END_ENV_GROUP): Likewise.
69439         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
69440         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
69441         (UNKNOWN_ENVIRONMENT): Likewise.
69442         (__sysconf): Include posix-envs.def instead of handling associated
69443         cases directly here.
69444         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
69445         preprocessing getconf-speclist.c rather than running getconf or
69446         generating empty file.
69448 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
69450         * scripts/check-local-headers.sh: Ignore 'mach' headers.
69452 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
69454         [BZ #14672]
69455         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
69457 2012-11-16  David S. Miller  <davem@davemloft.net>
69459         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
69460         smaller than LDBL_EPSILON/2.0L, just return xm1.
69462 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
69464         * elf/tst-array1.c (init): Set constructor priority to 1000.
69465         (fini): Set destructor priority to 1000.
69466         * elf/tst-array2dep.c: Likewise.
69468 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69470         [BZ #11741]
69471         * libio/fileops.c (_IO_new_file_write): Correctly return error.
69472         (_IO_new_file_xsputn): Also return EOF if none of the input
69473         data was written when overflow failed.
69474         * libio/iopadn.c (_IO_padn): Likewise.
69475         * libio/iowpadn.c (_IO_wpadn): Likewise.
69476         * stdio-common/tst-put-error.c: Add copyright notice.
69477         (do_test): Add case for printing padded string.
69478         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
69479         _IO_padn returned error.
69480         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
69481         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
69482         return EOF.
69484 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69486         * libio/libioP.h: Add comment note that the references to C++
69487         bits are now obsolete.
69489 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69491         * math/libm-test.inc (check_complex): Use asprintf.
69493 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
69495         * debug/pcprofiledump.c (print_version): Update copyright year.
69496         * malloc/memusagestat.c (print_version): Likewise.
69498 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
69500         [BZ #14831]
69501         * elf/Makefile (tests): Add tst-audit8.
69502         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
69503         ($(objpfx)tst-audit8.out): New target.
69504         (tst-audit8-ENV): New variable.
69505         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
69506         audit if l_reloc_result is NULL.
69507         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
69508         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
69509         * elf/tst-audit8.c: New file.
69511 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69513         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
69514         * misc/Makefile (CFLAGS-select.c): Define.
69515         * posix/Makefile (CFLAGS-pause.c): Define.
69517 2012-11-13  David S. Miller  <davem@davemloft.net>
69519         * crypt/Makefile: Move test targets after toplevel Rules
69520         inclusion.  Grab any necessary sysdep routines when linking.
69521         * crypt/md5.c (md5_process_block): Remove define, we will always
69522         name it __md5_process_block.
69523         (md5_finish_ctx): Update md5_process_block call.
69524         (md5_stream): Likewise.
69525         (md5_process_bytes): Likewise.
69526         (md5_process_block): Rename to __md5_process_block and move to ...
69527         * crypt/md5-block.c: ... here.
69528         * crypt/sha256.c (sha256_process_block): Move to ...
69529         * crypt/sha256-block.c: ... here.
69530         * crypt/sha512.c (sha512_process_block): Move to ...
69531         * crypt/sha512-block.c: ... here.
69532         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
69533         path.
69534         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
69535         * sysdeps/sparc/sparc64/multiarch/Makefile
69536         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
69537         crypt subdir.
69538         (localedef-aux): Add md5 crypto assembler when in locale subdir.
69539         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
69540         multiarch changes.
69541         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
69542         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
69543         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
69544         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
69545         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
69546         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
69547         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
69548         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
69549         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
69550         file.
69551         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
69552         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
69553         file.
69554         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
69556 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
69558         * timezone/tzselect.ksh: Update from tzcode git revision
69559         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
69560         * timezone/zdump.c: Likewise.
69561         * timezone/zic.c: Likewise.
69562         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
69563         in TZVERSION setting, not $(PKGVERSION).
69564         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
69565         REPORT_BUGS_TO settings.
69567         [BZ #14838]
69568         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
69569         macro.
69571 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69573         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
69574         detection to immediately after _FP_ROUND().
69575         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
69576         bits are 0.
69578 2012-11-11  David S. Miller  <davem@davemloft.net>
69580         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
69581         inttypes.h
69582         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
69583         __close rather than their public counterparts.
69585 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
69587         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
69588         file.
69589         [UNIX98] (sem_timedwait): Do not expect.
69590         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
69591         [XPG4 || UNIX98] (sockatmark): Do not expect.
69592         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
69593         (clock_getcpuclockid): Do not expect.
69594         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
69595         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
69596         Do not expect.
69597         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
69598         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
69599         [UNIX98] (vwscanf): Likewise.
69600         [UNIX98] (vswscanf): Likewise.
69602 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
69604         * timezone/version.h: Remove file.
69605         * timezone/README: Do not refer to version.h.
69606         * timezone/Makefile ($(objpfx)zic.o): New dependency on
69607         $(objpfx)version.h.
69608         ($(objpfx)zdump.o): Likewise.
69609         ($(objpfx)version.h): New target.
69611         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
69612         2012i.
69613         * timezone/README: Don't mention modification to tzselect.ksh.
69614         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
69615         work on unmodified tzselect.ksh.  Substitute version numbers in
69616         tzselect.ksh.
69618         * Makefile (format-me): Remove.
69619         (INSTALL): Adjust indentation.  Use commands directly instead of
69620         using $(format-me).
69622         * aclocal.m4 (ACX_PKGVERSION): New macro.
69623         (ACX_BUGURL): Likewise.
69624         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
69625         (PKGVERSION): New AC_DEFINE_UNQUOTED.
69626         (REPORT_BUGS_TO): Likewise.
69627         * configure: Regenerated.
69628         * config.h.in (PKGVERSION): New macro.
69629         (REPORT_BUGS_TO): Likewise.
69630         * config.make.in (PKGVERSION): New variable.
69631         (PKGVERSION_TEXI): Likewise.
69632         (REPORT_BUGS_TO): Likewise.
69633         (REPORT_BUGS_TEXI): Likewise.
69634         * Makefile (format-me): Use -I$(common-objpfx)manual.
69635         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
69636         ($(common-objpfx)manual/%): New target.
69637         (manual/%): Remove target.
69638         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
69639         (print_version): Use PKGVERSION.
69640         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
69641         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
69642         and REPORT_BUGS_TO.
69643         ($(objpfx)xtrace): Likewise.
69644         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
69645         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
69646         (print_version): Use PKGVERSION.
69647         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
69648         (do_version): Use PKGVERSION.
69649         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
69650         REPORT_BUGS_TO.
69651         (common-ldd-rewrite): Likewise.
69652         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
69653         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
69654         (print_version): Use PKGVERSION.
69655         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
69656         * elf/pldd.c (argp_program_bug_address): Remove variable.
69657         (more_help): New function.
69658         (argp): Use more_help.
69659         (print_version): Use PKGVERSION.
69660         * elf/sln.c (main): Use PKGVERSION.
69661         (usage): Use REPORT_BUGS_TO.
69662         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
69663         (top level): Use PKGVERSION.
69664         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
69665         (print_version): Use PKGVERSION.
69666         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
69667         (print_version): Use PKGVERSION.
69668         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
69669         (print_version): Use PKGVERSION.
69670         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
69671         (print_version): Use PKGVERSION.
69672         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
69673         (print_version): Use PKGVERSION.
69674         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
69675         (print_version): Use PKGVERSION.
69676         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
69677         and BUGURL.
69678         ($(objpfx)memusage): Likewise.
69679         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
69680         (do_version): Use PKGVERSION.
69681         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
69682         (print_version): Use PKGVERSION.
69683         * malloc/mtrace.pl ($PACKAGE): Remove variable.
69684         ($PKGVERSION): New variable.
69685         ($REPORT_BUGS_TO): Likewise.
69686         (usage): Use $REPORT_BUGS_TO.
69687         (top level): Use $PKGVERSION.
69688         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
69689         ($(objpfx)pkgvers.texi): New rule.
69690         ($(objpfx)stamp-pkgvers): Likewise.
69691         * manual/install.texi: Include pkgvers.texi.
69692         (--with-pkgversion): Document new configure option.
69693         (--with-bugurl): Likewise.
69694         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
69695         than necessarily for this particular distribution.  Use
69696         REPORT_BUGS_TO for where to report bugs.
69697         * INSTALL: Regenerated.
69698         * manual/libc.texinfo: Include pkgvers.texi.
69699         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
69700         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
69701         (print_version): Use PKGVERSION.
69702         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
69703         (print_version): Use PKGVERSION.
69704         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
69705         (print_version): Use PKGVERSION.
69706         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
69707         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
69708         macro.
69709         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
69710         (print_version): Use PKGVERSION.
69711         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
69712         (print_version): Use PKGVERSION.
69713         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
69714         and PKGVERSION.
69716         * timezone/checktab.awk: Update from tzcode 2012i.
69717         * timezone/ialloc.c: Likewise.
69718         * timezone/private.h: Likewise.
69719         * timezone/scheck.c: Likewise.
69720         * timezone/tzfile.h: Likewise.
69721         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
69722         (TZVERSION): Hardcode tzcode version number.
69723         * timezone/zdump.c: Update from tzcode 2012i.
69724         * timezone/zic.c: Likewise.
69725         * timezone/version.h: New file.
69726         * timezone/README: Describe version.h.  Update upstream location.
69728         [BZ #14824]
69729         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
69730         (mktemp): Enable declaration.
69731         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
69732         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
69733         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
69734         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
69735         Likewise.
69736         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
69737         Likewise.
69738         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
69739         Likewise.
69740         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
69741         Likewise.
69742         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
69743         Likewise.
69744         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
69745         Likewise.
69747         [BZ #14821]
69748         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
69749         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
69750         for copies of such integer values.
69751         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
69752         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
69754 2012-11-09  Andreas Jaeger  <aj@suse.de>
69756         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
69757         definitions and declarations that are provided by
69758         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69760 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69762         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
69763         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
69764         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
69765         definition.
69767 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69769         * elf/elf.h: Update comment before AArch64 relocations.
69771 2012-11-07  David S. Miller  <davem@davemloft.net>
69773         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
69774         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69775         (__start_context): Declare.
69776         (__makecontext_ret): Delete.
69777         (__makecontext): Hook up __start_context instead of
69778         __makecontext_ret.
69779         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
69780         (sysdep_routines): Add __start_context when in stdlib.
69782 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69784         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
69785         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
69786         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
69787         hardcoded "nm".
69788         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
69789         (READELF): New variable.  Use it instead of hardcoded "readelf".
69791 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69793         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
69794         * sysdeps/x86/Makefile: Here.
69795         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
69796         * sysdeps/x86/tst-xmmymm.sh: This.
69798 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69800         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
69801         expectations.
69802         [UNIX98] (pthread_barrier_t): Do not expect.
69803         [UNIX98] (pthread_barrierattr_t): Likewise.
69804         [UNIX98] (pthread_spinlock_t): Likewise.
69805         [UNIX98] (pthread_barrier_destroy): Likewise.
69806         [UNIX98] (pthread_barrier_init): Likewise.
69807         [UNIX98] (pthread_barrier_wait): Likewise.
69808         [UNIX98] (pthread_barrierattr_destroy): Likewise.
69809         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
69810         [UNIX98] (pthread_barrierattr_init): Likewise.
69811         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
69812         [UNIX98] (pthread_getcpuclockid): Likewise.
69813         [UNIX98] (pthread_mutex_timedlock): Likewise.
69814         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
69815         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
69816         [UNIX98] (pthread_sigmask): Likewise.
69817         [UNIX98] (pthread_spin_destroy): Likewise.
69818         [UNIX98] (pthread_spin_init): Likewise.
69819         [UNIX98] (pthread_spin_lock): Likewise.
69820         [UNIX98] (pthread_spin_trylock): Likewise.
69821         [UNIX98] (pthread_spin_unlock): Likewise.
69822         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
69823         Do not expect.
69824         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
69825         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
69826         [XPG3 || XPG4] (pthread_cond_t): Likewise.
69827         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
69828         [XPG3 || XPG4] (pthread_key_t): Likewise.
69829         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
69830         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
69831         [XPG3 || XPG4] (pthread_once_t): Likewise.
69832         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
69833         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
69834         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
69835         [XPG3 || XPG4] (pthread_t): Likewise.
69837         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
69838         not expect.
69839         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
69841         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
69842         Change function return type to int.
69844         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
69845         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
69846         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
69847         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
69848         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
69849         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
69850         [!POSIX] (posix_madvise): Likewise.
69851         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
69852         && !UNIX98].
69853         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
69854         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
69855         (mode_t): Likewise.
69856         (posix_mem_offset): Likewise.
69857         (posix_typed_mem_get_info): Likewise.
69858         (posix_typed_mem_open): Likewise.
69860         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
69861         Change condition to [XOPEN2K8].
69863         * conform/conformtest.pl: Preprocess allow-header data with -x c
69864         instead of from stdin.
69865         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
69866         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
69867         [C99-based standards] (cerfc): Likewise.
69868         [C99-based standards] (cexp2): Likewise.
69869         [C99-based standards] (cexpm1): Likewise.
69870         [C99-based standards] (clog10): Likewise.
69871         [C99-based standards] (clog1p): Likewise.
69872         [C99-based standards] (clog2): Likewise.
69873         [C99-based standards] (clgamma): Likewise.
69874         [C99-based standards] (ctgamma): Likewise.
69875         [C99-based standards] (cerff): Likewise.
69876         [C99-based standards] (cerfcf): Likewise.
69877         [C99-based standards] (cexp2f): Likewise.
69878         [C99-based standards] (cexpm1f): Likewise.
69879         [C99-based standards] (clog10f): Likewise.
69880         [C99-based standards] (clog1pf): Likewise.
69881         [C99-based standards] (clog2f): Likewise.
69882         [C99-based standards] (clgammaf): Likewise.
69883         [C99-based standards] (ctgammaf): Likewise.
69884         [C99-based standards] (cerfl): Likewise.
69885         [C99-based standards] (cerfcl): Likewise.
69886         [C99-based standards] (cexp2l): Likewise.
69887         [C99-based standards] (cexpm1l): Likewise.
69888         [C99-based standards] (clog10l): Likewise.
69889         [C99-based standards] (clog1pl): Likewise.
69890         [C99-based standards] (clog2l): Likewise.
69891         [C99-based standards] (clgammal): Likewise.
69892         [C99-based standards] (ctgammal): Likewise.
69893         * conform/data/inttypes.h-data [C99-based standards]: Include
69894         stdint.h-data.  Remove all expectations for stdint.h contents.
69895         [C99-based standards] (PRI*): Do not allow.
69896         [C99-based standards] (SCN*): Likewise.
69897         [C99-based standards] (*_t): Likewise.
69898         [C99-based-standards] (PRId8): Expect macro.
69899         [C99-based-standards] (PRIi8): Likewise.
69900         [C99-based-standards] (PRIo8): Likewise.
69901         [C99-based-standards] (PRIu8): Likewise.
69902         [C99-based-standards] (PRIx8): Likewise.
69903         [C99-based-standards] (PRIX8): Likewise.
69904         [C99-based-standards] (SCNd8): Likewise.
69905         [C99-based-standards] (SCNi8): Likewise.
69906         [C99-based-standards] (SCNo8): Likewise.
69907         [C99-based-standards] (SCNu8): Likewise.
69908         [C99-based-standards] (SCNx8): Likewise.
69909         [C99-based-standards] (PRIdLEAST8): Likewise.
69910         [C99-based-standards] (PRIiLEAST8): Likewise.
69911         [C99-based-standards] (PRIoLEAST8): Likewise.
69912         [C99-based-standards] (PRIuLEAST8): Likewise.
69913         [C99-based-standards] (PRIxLEAST8): Likewise.
69914         [C99-based-standards] (PRIXLEAST8): Likewise.
69915         [C99-based-standards] (SCNdLEAST8): Likewise.
69916         [C99-based-standards] (SCNiLEAST8): Likewise.
69917         [C99-based-standards] (SCNoLEAST8): Likewise.
69918         [C99-based-standards] (SCNuLEAST8): Likewise.
69919         [C99-based-standards] (SCNxLEAST8): Likewise.
69920         [C99-based-standards] (PRIdFAST8): Likewise.
69921         [C99-based-standards] (PRIiFAST8): Likewise.
69922         [C99-based-standards] (PRIoFAST8): Likewise.
69923         [C99-based-standards] (PRIuFAST8): Likewise.
69924         [C99-based-standards] (PRIxFAST8): Likewise.
69925         [C99-based-standards] (PRIXFAST8): Likewise.
69926         [C99-based-standards] (SCNdFAST8): Likewise.
69927         [C99-based-standards] (SCNiFAST8): Likewise.
69928         [C99-based-standards] (SCNoFAST8): Likewise.
69929         [C99-based-standards] (SCNuFAST8): Likewise.
69930         [C99-based-standards] (SCNxFAST8): Likewise.
69931         [C99-based-standards] (PRId16): Likewise.
69932         [C99-based-standards] (PRIi16): Likewise.
69933         [C99-based-standards] (PRIo16): Likewise.
69934         [C99-based-standards] (PRIu16): Likewise.
69935         [C99-based-standards] (PRIx16): Likewise.
69936         [C99-based-standards] (PRIX16): Likewise.
69937         [C99-based-standards] (SCNd16): Likewise.
69938         [C99-based-standards] (SCNi16): Likewise.
69939         [C99-based-standards] (SCNo16): Likewise.
69940         [C99-based-standards] (SCNu16): Likewise.
69941         [C99-based-standards] (SCNx16): Likewise.
69942         [C99-based-standards] (PRIdLEAST16): Likewise.
69943         [C99-based-standards] (PRIiLEAST16): Likewise.
69944         [C99-based-standards] (PRIoLEAST16): Likewise.
69945         [C99-based-standards] (PRIuLEAST16): Likewise.
69946         [C99-based-standards] (PRIxLEAST16): Likewise.
69947         [C99-based-standards] (PRIXLEAST16): Likewise.
69948         [C99-based-standards] (SCNdLEAST16): Likewise.
69949         [C99-based-standards] (SCNiLEAST16): Likewise.
69950         [C99-based-standards] (SCNoLEAST16): Likewise.
69951         [C99-based-standards] (SCNuLEAST16): Likewise.
69952         [C99-based-standards] (SCNxLEAST16): Likewise.
69953         [C99-based-standards] (PRIdFAST16): Likewise.
69954         [C99-based-standards] (PRIiFAST16): Likewise.
69955         [C99-based-standards] (PRIoFAST16): Likewise.
69956         [C99-based-standards] (PRIuFAST16): Likewise.
69957         [C99-based-standards] (PRIxFAST16): Likewise.
69958         [C99-based-standards] (PRIXFAST16): Likewise.
69959         [C99-based-standards] (SCNdFAST16): Likewise.
69960         [C99-based-standards] (SCNiFAST16): Likewise.
69961         [C99-based-standards] (SCNoFAST16): Likewise.
69962         [C99-based-standards] (SCNuFAST16): Likewise.
69963         [C99-based-standards] (SCNxFAST16): Likewise.
69964         [C99-based-standards] (PRId32): Likewise.
69965         [C99-based-standards] (PRIi32): Likewise.
69966         [C99-based-standards] (PRIo32): Likewise.
69967         [C99-based-standards] (PRIu32): Likewise.
69968         [C99-based-standards] (PRIx32): Likewise.
69969         [C99-based-standards] (PRIX32): Likewise.
69970         [C99-based-standards] (SCNd32): Likewise.
69971         [C99-based-standards] (SCNi32): Likewise.
69972         [C99-based-standards] (SCNo32): Likewise.
69973         [C99-based-standards] (SCNu32): Likewise.
69974         [C99-based-standards] (SCNx32): Likewise.
69975         [C99-based-standards] (PRIdLEAST32): Likewise.
69976         [C99-based-standards] (PRIiLEAST32): Likewise.
69977         [C99-based-standards] (PRIoLEAST32): Likewise.
69978         [C99-based-standards] (PRIuLEAST32): Likewise.
69979         [C99-based-standards] (PRIxLEAST32): Likewise.
69980         [C99-based-standards] (PRIXLEAST32): Likewise.
69981         [C99-based-standards] (SCNdLEAST32): Likewise.
69982         [C99-based-standards] (SCNiLEAST32): Likewise.
69983         [C99-based-standards] (SCNoLEAST32): Likewise.
69984         [C99-based-standards] (SCNuLEAST32): Likewise.
69985         [C99-based-standards] (SCNxLEAST32): Likewise.
69986         [C99-based-standards] (PRIdFAST32): Likewise.
69987         [C99-based-standards] (PRIiFAST32): Likewise.
69988         [C99-based-standards] (PRIoFAST32): Likewise.
69989         [C99-based-standards] (PRIuFAST32): Likewise.
69990         [C99-based-standards] (PRIxFAST32): Likewise.
69991         [C99-based-standards] (PRIXFAST32): Likewise.
69992         [C99-based-standards] (SCNdFAST32): Likewise.
69993         [C99-based-standards] (SCNiFAST32): Likewise.
69994         [C99-based-standards] (SCNoFAST32): Likewise.
69995         [C99-based-standards] (SCNuFAST32): Likewise.
69996         [C99-based-standards] (SCNxFAST32): Likewise.
69997         [C99-based-standards] (PRId64): Likewise.
69998         [C99-based-standards] (PRIi64): Likewise.
69999         [C99-based-standards] (PRIo64): Likewise.
70000         [C99-based-standards] (PRIu64): Likewise.
70001         [C99-based-standards] (PRIx64): Likewise.
70002         [C99-based-standards] (PRIX64): Likewise.
70003         [C99-based-standards] (SCNd64): Likewise.
70004         [C99-based-standards] (SCNi64): Likewise.
70005         [C99-based-standards] (SCNo64): Likewise.
70006         [C99-based-standards] (SCNu64): Likewise.
70007         [C99-based-standards] (SCNx64): Likewise.
70008         [C99-based-standards] (PRIdLEAST64): Likewise.
70009         [C99-based-standards] (PRIiLEAST64): Likewise.
70010         [C99-based-standards] (PRIoLEAST64): Likewise.
70011         [C99-based-standards] (PRIuLEAST64): Likewise.
70012         [C99-based-standards] (PRIxLEAST64): Likewise.
70013         [C99-based-standards] (PRIXLEAST64): Likewise.
70014         [C99-based-standards] (SCNdLEAST64): Likewise.
70015         [C99-based-standards] (SCNiLEAST64): Likewise.
70016         [C99-based-standards] (SCNoLEAST64): Likewise.
70017         [C99-based-standards] (SCNuLEAST64): Likewise.
70018         [C99-based-standards] (SCNxLEAST64): Likewise.
70019         [C99-based-standards] (PRIdFAST64): Likewise.
70020         [C99-based-standards] (PRIiFAST64): Likewise.
70021         [C99-based-standards] (PRIoFAST64): Likewise.
70022         [C99-based-standards] (PRIuFAST64): Likewise.
70023         [C99-based-standards] (PRIxFAST64): Likewise.
70024         [C99-based-standards] (PRIXFAST64): Likewise.
70025         [C99-based-standards] (SCNdFAST64): Likewise.
70026         [C99-based-standards] (SCNiFAST64): Likewise.
70027         [C99-based-standards] (SCNoFAST64): Likewise.
70028         [C99-based-standards] (SCNuFAST64): Likewise.
70029         [C99-based-standards] (SCNxFAST64): Likewise.
70030         [C99-based-standards] (PRIdMAX): Likewise.
70031         [C99-based-standards] (PRIiMAX): Likewise.
70032         [C99-based-standards] (PRIoMAX): Likewise.
70033         [C99-based-standards] (PRIuMAX): Likewise.
70034         [C99-based-standards] (PRIxMAX): Likewise.
70035         [C99-based-standards] (PRIXMAX): Likewise.
70036         [C99-based-standards] (SCNdMAX): Likewise.
70037         [C99-based-standards] (SCNiMAX): Likewise.
70038         [C99-based-standards] (SCNoMAX): Likewise.
70039         [C99-based-standards] (SCNuMAX): Likewise.
70040         [C99-based-standards] (SCNxMAX): Likewise.
70041         [C99-based-standards] (PRIdPTR): Likewise.
70042         [C99-based-standards] (PRIiPTR): Likewise.
70043         [C99-based-standards] (PRIoPTR): Likewise.
70044         [C99-based-standards] (PRIuPTR): Likewise.
70045         [C99-based-standards] (PRIxPTR): Likewise.
70046         [C99-based-standards] (PRIXPTR): Likewise.
70047         [C99-based-standards] (SCNdPTR): Likewise.
70048         [C99-based-standards] (SCNiPTR): Likewise.
70049         [C99-based-standards] (SCNoPTR): Likewise.
70050         [C99-based-standards] (SCNuPTR): Likewise.
70051         [C99-based-standards] (SCNxPTR): Likewise.
70052         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
70053         allow.
70054         * conform/data/stdint.h-data: Update comments to clarify
70055         requirements.
70056         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
70057         type.
70058         [C99-based standards] (INT8_MAX): Likewise.
70059         [C99-based standards] (INT16_MIN): Likewise.
70060         [C99-based standards] (INT16_MAX): Likewise.
70061         [C99-based standards] (INT32_MIN): Likewise.
70062         [C99-based standards] (INT32_MAX): Likewise.
70063         [C99-based standards] (INT64_MIN): Likewise.
70064         [C99-based standards] (INT64_MAX): Likewise.
70065         [C99-based standards] (UINT8_MAX): Likewise.
70066         [C99-based standards] (UINT16_MAX): Likewise.
70067         [C99-based standards] (UINT32_MAX): Likewise.
70068         [C99-based standards] (UINT64_MAX): Likewise.
70069         [C99-based standards] (INT_LEAST8_MIN): Likewise.
70070         [C99-based standards] (INT_LEAST8_MAX): Likewise.
70071         [C99-based standards] (INT_LEAST16_MIN): Likewise.
70072         [C99-based standards] (INT_LEAST16_MAX): Likewise.
70073         [C99-based standards] (INT_LEAST32_MIN): Likewise.
70074         [C99-based standards] (INT_LEAST32_MAX): Likewise.
70075         [C99-based standards] (INT_LEAST64_MIN): Likewise.
70076         [C99-based standards] (INT_LEAST64_MAX): Likewise.
70077         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
70078         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
70079         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
70080         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
70081         [C99-based standards] (INT_FAST8_MIN): Likewise.
70082         [C99-based standards] (INT_FAST8_MAX): Likewise.
70083         [C99-based standards] (INT_FAST16_MIN): Likewise.
70084         [C99-based standards] (INT_FAST16_MAX): Likewise.
70085         [C99-based standards] (INT_FAST32_MIN): Likewise.
70086         [C99-based standards] (INT_FAST32_MAX): Likewise.
70087         [C99-based standards] (INT_FAST64_MIN): Likewise.
70088         [C99-based standards] (INT_FAST64_MAX): Likewise.
70089         [C99-based standards] (UINT_FAST8_MAX): Likewise.
70090         [C99-based standards] (UINT_FAST16_MAX): Likewise.
70091         [C99-based standards] (UINT_FAST32_MAX): Likewise.
70092         [C99-based standards] (UINT_FAST64_MAX): Likewise.
70093         [C99-based standards] (INTPTR_MIN): Likewise.
70094         [C99-based standards] (INTPTR_MAX): Likewise.
70095         [C99-based standards] (UINTPTR_MAX): Likewise.
70096         [C99-based standards] (INTMAX_MIN): Likewise.
70097         [C99-based standards] (INTMAX_MAX): Likewise.
70098         [C99-based standards] (UINTMAX_MAX): Likewise.
70099         [C99-based standards] (PTRDIFF_MIN): Likewise.
70100         [C99-based standards] (PTRDIFF_MAX): Likewise.
70101         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
70102         [C99-based standards] (SIZE_MAX): Likewise.
70103         [C99-based standards] (WCHAR_MAX): Likewise.
70104         [C99-based standards] (WINT_MAX): Likewise.
70105         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
70106         constraint on value.
70107         [C99-based standards] (WCHAR_MIN): Likewise.
70108         [C99-based standards] (WINT_MIN): Likewise.
70109         [C99-based standards] (*_t): Allow.
70110         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
70111         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
70112         Include math.h-data and complex.h-data.  Remove all expectations
70113         of math.h and complex.h contents.
70114         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
70115         at end of line.
70116         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
70117         (struct tm): Expect tag.
70118         [C99-based-standards] (wcstof): Expect function.
70119         [C99-based-standards] (wcstold): Likewise.
70120         [C99-based-standards] (wcstoll): Likewise.
70121         [C99-based-standards] (wcstoull): Likewise.
70122         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
70123         macro-int-constant.  Specify type.
70124         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
70125         constraint on value.
70126         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
70127         Specify type.
70128         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
70129         Specify value.
70130         [ISO C standards]: Do not allow headers.
70131         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
70132         wcs[abcdefghijklmnopqrstuvwxyz]*.
70133         [ISO C standards] (*_t): Do not allow.
70134         * conform/data/wctype.h-data [C99-based standards] (iswblank):
70135         Expect function.
70136         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
70137         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
70138         Specify type.
70139         [ISO C standards]: Do not allow headers.
70140         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
70141         is[abcdefghijklmnopqrstuvwxyz]*.
70142         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
70143         to[abcdefghijklmnopqrstuvwxyz]*.
70144         [ISO C standards] (*_t): Do not allow.
70145         * conform/data/stdalign.h-data: New file.
70146         * conform/data/stdbool.h-data: Likewise.
70147         * conform/data/stdnoreturn.h-data: Likewise.
70149 2012-11-07  Roland McGrath  <roland@hack.frob.com>
70151         [BZ #14815]
70152         * manual/filesys.texi (Directory Entries): Typo fix.
70153         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
70155 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70157         * elf/elf.h (EM_AARCH64): New macro.
70158         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
70159         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
70160         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
70161         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
70162         (R_AARCH64_TLSDESC): Likewise.
70163         (NT_ARM_TLS): Likewise.
70164         (NT_ARM_HW_BREAK): Likewise.
70165         (NT_ARM_HW_WATCH): Likewise.
70167 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70169         [BZ #14811]
70170         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
70171         (__ieee754_powl): Saturate nonzero exponents with absolute value
70172         below 0x1p-79 to +/- 0x1p-79.
70173         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
70174         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
70175         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
70176         nonzero exponents with absolute value below 0x1p-32 to +/-
70177         0x1p-32.
70178         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
70179         (__ieee754_powl): Saturate nonzero exponents with absolute value
70180         below 0x1p-79 to +/- 0x1p-79.
70181         * math/libm-test.inc (pow_test): Add more tests.
70183 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70185         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
70186         _dl_s390_cap_flags with kernel. Increase string length.
70187         (_dl_s390_platforms): Add z196 and zEC12.
70189 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70191         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
70192         Change XOPEN21K to XOPEN2K.
70194 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
70196         * string/memmove.c: Use memcpy when possible.
70198 2012-11-06  Andreas Jaeger  <aj@suse.de>
70200         * po/eo.po: Update from translation team.
70202 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
70204         [BZ #14793]
70205         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
70206         exponent and small x and y exponents, scale x or y up.  Increase
70207         by 2 the exponent used in scaling up.
70208         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70209         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70210         * math/libm-test.inc (fma_test): Add more tests.
70211         (fma_test_towardzero): Likewise.
70212         (fma_test_downward): Likewise.
70213         (fma_test_upward): Likewise.
70215 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
70217         [BZ #14805]
70218         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
70219         fenv_t *.
70221         [BZ #14801]
70222         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
70223         namespace for names of struct fields.
70224         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
70225         fenv_t fields.
70226         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
70227         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
70229 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70231         [BZ #3665]
70232         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
70234 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
70236         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
70237         PTR_DEMANGLE.
70239         [BZ #5246]
70240         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
70241         PTR_DEMANGLE.
70243 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
70245         [BZ #14797]
70246         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
70247         definitely overflow as x * y not x * y + z.
70248         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70249         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70250         * math/libm-test.inc (fma_test): Add more tests.
70251         (fma_test_towardzero): Likewise.
70252         (fma_test_downward): Likewise.
70253         (fma_test_upward): Likewise.
70255 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
70257         [BZ #157]
70259         * include/stub-tag.h: Remove file.
70260         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
70261         '#include' of it.
70262         * manual/maint.texi (Porting): Don't reference it.
70263         * Makerules ($(objpfx)stubs): Likewise.
70264         * dirent/closedir.c: Don't include <stub-tag.h>.
70265         * dirent/dirfd.c: Likewise.
70266         * dirent/fdopendir.c: Likewise.
70267         * dirent/getdents.c: Likewise.
70268         * dirent/getdents64.c: Likewise.
70269         * dirent/opendir.c: Likewise.
70270         * dirent/readdir.c: Likewise.
70271         * dirent/readdir64.c: Likewise.
70272         * dirent/readdir64_r.c: Likewise.
70273         * dirent/readdir_r.c: Likewise.
70274         * dirent/rewinddir.c: Likewise.
70275         * dirent/seekdir.c: Likewise.
70276         * dirent/telldir.c: Likewise.
70277         * gmon/profil.c: Likewise.
70278         * grp/setgroups.c: Likewise.
70279         * inet/if_index.c: Likewise.
70280         * io/access.c: Likewise.
70281         * io/chdir.c: Likewise.
70282         * io/chmod.c: Likewise.
70283         * io/chown.c: Likewise.
70284         * io/close.c: Likewise.
70285         * io/dup.c: Likewise.
70286         * io/dup2.c: Likewise.
70287         * io/dup3.c: Likewise.
70288         * io/euidaccess.c: Likewise.
70289         * io/faccessat.c: Likewise.
70290         * io/fchdir.c: Likewise.
70291         * io/fchmod.c: Likewise.
70292         * io/fchmodat.c: Likewise.
70293         * io/fchown.c: Likewise.
70294         * io/fchownat.c: Likewise.
70295         * io/fcntl.c: Likewise.
70296         * io/flock.c: Likewise.
70297         * io/fstatfs.c: Likewise.
70298         * io/fstatfs64.c: Likewise.
70299         * io/fstatvfs.c: Likewise.
70300         * io/fstatvfs64.c: Likewise.
70301         * io/futimens.c: Likewise.
70302         * io/fxstat.c: Likewise.
70303         * io/fxstat64.c: Likewise.
70304         * io/fxstatat.c: Likewise.
70305         * io/fxstatat64.c: Likewise.
70306         * io/getcwd.c: Likewise.
70307         * io/isatty.c: Likewise.
70308         * io/lchmod.c: Likewise.
70309         * io/lchown.c: Likewise.
70310         * io/link.c: Likewise.
70311         * io/linkat.c: Likewise.
70312         * io/lseek.c: Likewise.
70313         * io/lseek64.c: Likewise.
70314         * io/lxstat64.c: Likewise.
70315         * io/mkdir.c: Likewise.
70316         * io/mkdirat.c: Likewise.
70317         * io/mkfifo.c: Likewise.
70318         * io/mkfifoat.c: Likewise.
70319         * io/open.c: Likewise.
70320         * io/open64.c: Likewise.
70321         * io/openat.c: Likewise.
70322         * io/openat64.c: Likewise.
70323         * io/pipe.c: Likewise.
70324         * io/pipe2.c: Likewise.
70325         * io/poll.c: Likewise.
70326         * io/posix_fadvise.c: Likewise.
70327         * io/posix_fadvise64.c: Likewise.
70328         * io/posix_fallocate.c: Likewise.
70329         * io/posix_fallocate64.c: Likewise.
70330         * io/read.c: Likewise.
70331         * io/readlink.c: Likewise.
70332         * io/readlinkat.c: Likewise.
70333         * io/rmdir.c: Likewise.
70334         * io/sendfile.c: Likewise.
70335         * io/sendfile64.c: Likewise.
70336         * io/statfs.c: Likewise.
70337         * io/statfs64.c: Likewise.
70338         * io/statvfs.c: Likewise.
70339         * io/statvfs64.c: Likewise.
70340         * io/symlink.c: Likewise.
70341         * io/symlinkat.c: Likewise.
70342         * io/ttyname.c: Likewise.
70343         * io/ttyname_r.c: Likewise.
70344         * io/umask.c: Likewise.
70345         * io/unlink.c: Likewise.
70346         * io/unlinkat.c: Likewise.
70347         * io/utime.c: Likewise.
70348         * io/utimensat.c: Likewise.
70349         * io/write.c: Likewise.
70350         * io/xmknod.c: Likewise.
70351         * io/xmknodat.c: Likewise.
70352         * io/xstat.c: Likewise.
70353         * io/xstat64.c: Likewise.
70354         * login/getpt.c: Likewise.
70355         * login/grantpt.c: Likewise.
70356         * login/unlockpt.c: Likewise.
70357         * math/e_acoshl.c: Likewise.
70358         * math/e_acosl.c: Likewise.
70359         * math/e_asinl.c: Likewise.
70360         * math/e_atan2l.c: Likewise.
70361         * math/e_atanhl.c: Likewise.
70362         * math/e_coshl.c: Likewise.
70363         * math/e_expl.c: Likewise.
70364         * math/e_fmodl.c: Likewise.
70365         * math/e_gammal_r.c: Likewise.
70366         * math/e_hypotl.c: Likewise.
70367         * math/e_j0l.c: Likewise.
70368         * math/e_j1l.c: Likewise.
70369         * math/e_jnl.c: Likewise.
70370         * math/e_lgammal_r.c: Likewise.
70371         * math/e_log10l.c: Likewise.
70372         * math/e_log2l.c: Likewise.
70373         * math/e_logl.c: Likewise.
70374         * math/e_powl.c: Likewise.
70375         * math/e_rem_pio2l.c: Likewise.
70376         * math/e_sinhl.c: Likewise.
70377         * math/e_sqrtl.c: Likewise.
70378         * math/fclrexcpt.c: Likewise.
70379         * math/fedisblxcpt.c: Likewise.
70380         * math/feenablxcpt.c: Likewise.
70381         * math/fegetenv.c: Likewise.
70382         * math/fegetexcept.c: Likewise.
70383         * math/fegetround.c: Likewise.
70384         * math/feholdexcpt.c: Likewise.
70385         * math/fesetenv.c: Likewise.
70386         * math/fesetround.c: Likewise.
70387         * math/feupdateenv.c: Likewise.
70388         * math/fgetexcptflg.c: Likewise.
70389         * math/fraiseexcpt.c: Likewise.
70390         * math/fsetexcptflg.c: Likewise.
70391         * math/ftestexcept.c: Likewise.
70392         * math/k_cosl.c: Likewise.
70393         * math/k_rem_pio2l.c: Likewise.
70394         * math/k_sinl.c: Likewise.
70395         * math/k_tanl.c: Likewise.
70396         * math/s_asinhl.c: Likewise.
70397         * math/s_atanl.c: Likewise.
70398         * math/s_cbrtl.c: Likewise.
70399         * math/s_erfl.c: Likewise.
70400         * math/s_expm1l.c: Likewise.
70401         * math/s_log1pl.c: Likewise.
70402         * math/s_tanhl.c: Likewise.
70403         * misc/acct.c: Likewise.
70404         * misc/brk.c: Likewise.
70405         * misc/chflags.c: Likewise.
70406         * misc/chroot.c: Likewise.
70407         * misc/fchflags.c: Likewise.
70408         * misc/fgetxattr.c: Likewise.
70409         * misc/flistxattr.c: Likewise.
70410         * misc/fremovexattr.c: Likewise.
70411         * misc/fsetxattr.c: Likewise.
70412         * misc/fsync.c: Likewise.
70413         * misc/ftruncate.c: Likewise.
70414         * misc/futimes.c: Likewise.
70415         * misc/futimesat.c: Likewise.
70416         * misc/getdomain.c: Likewise.
70417         * misc/getdtsz.c: Likewise.
70418         * misc/gethostid.c: Likewise.
70419         * misc/gethostname.c: Likewise.
70420         * misc/getloadavg.c: Likewise.
70421         * misc/getpagesize.c: Likewise.
70422         * misc/getsysstats.c: Likewise.
70423         * misc/getxattr.c: Likewise.
70424         * misc/gtty.c: Likewise.
70425         * misc/ioctl.c: Likewise.
70426         * misc/lgetxattr.c: Likewise.
70427         * misc/listxattr.c: Likewise.
70428         * misc/llistxattr.c: Likewise.
70429         * misc/lremovexattr.c: Likewise.
70430         * misc/lsetxattr.c: Likewise.
70431         * misc/lutimes.c: Likewise.
70432         * misc/madvise.c: Likewise.
70433         * misc/mincore.c: Likewise.
70434         * misc/mlock.c: Likewise.
70435         * misc/mlockall.c: Likewise.
70436         * misc/mmap.c: Likewise.
70437         * misc/mprotect.c: Likewise.
70438         * misc/msync.c: Likewise.
70439         * misc/munlock.c: Likewise.
70440         * misc/munlockall.c: Likewise.
70441         * misc/munmap.c: Likewise.
70442         * misc/preadv.c: Likewise.
70443         * misc/preadv64.c: Likewise.
70444         * misc/ptrace.c: Likewise.
70445         * misc/pwritev.c: Likewise.
70446         * misc/pwritev64.c: Likewise.
70447         * misc/readv.c: Likewise.
70448         * misc/reboot.c: Likewise.
70449         * misc/remap_file_pages.c: Likewise.
70450         * misc/removexattr.c: Likewise.
70451         * misc/revoke.c: Likewise.
70452         * misc/select.c: Likewise.
70453         * misc/setdomain.c: Likewise.
70454         * misc/setegid.c: Likewise.
70455         * misc/seteuid.c: Likewise.
70456         * misc/sethostid.c: Likewise.
70457         * misc/sethostname.c: Likewise.
70458         * misc/setregid.c: Likewise.
70459         * misc/setreuid.c: Likewise.
70460         * misc/setxattr.c: Likewise.
70461         * misc/sstk.c: Likewise.
70462         * misc/stty.c: Likewise.
70463         * misc/swapoff.c: Likewise.
70464         * misc/swapon.c: Likewise.
70465         * misc/sync.c: Likewise.
70466         * misc/syncfs.c: Likewise.
70467         * misc/syscall.c: Likewise.
70468         * misc/truncate.c: Likewise.
70469         * misc/ualarm.c: Likewise.
70470         * misc/usleep.c: Likewise.
70471         * misc/ustat.c: Likewise.
70472         * misc/utimes.c: Likewise.
70473         * misc/vhangup.c: Likewise.
70474         * misc/writev.c: Likewise.
70475         * posix/_exit.c: Likewise.
70476         * posix/alarm.c: Likewise.
70477         * posix/execve.c: Likewise.
70478         * posix/fexecve.c: Likewise.
70479         * posix/fork.c: Likewise.
70480         * posix/fpathconf.c: Likewise.
70481         * posix/getaddrinfo.c: Likewise.
70482         * posix/getegid.c: Likewise.
70483         * posix/geteuid.c: Likewise.
70484         * posix/getgid.c: Likewise.
70485         * posix/getgroups.c: Likewise.
70486         * posix/getlogin.c: Likewise.
70487         * posix/getlogin_r.c: Likewise.
70488         * posix/getpgid.c: Likewise.
70489         * posix/getpid.c: Likewise.
70490         * posix/getppid.c: Likewise.
70491         * posix/getresgid.c: Likewise.
70492         * posix/getresuid.c: Likewise.
70493         * posix/getsid.c: Likewise.
70494         * posix/getuid.c: Likewise.
70495         * posix/glob64.c: Likewise.
70496         * posix/nanosleep.c: Likewise.
70497         * posix/pathconf.c: Likewise.
70498         * posix/pause.c: Likewise.
70499         * posix/posix_madvise.c: Likewise.
70500         * posix/pread.c: Likewise.
70501         * posix/pread64.c: Likewise.
70502         * posix/pwrite.c: Likewise.
70503         * posix/pwrite64.c: Likewise.
70504         * posix/sched_getaffinity.c: Likewise.
70505         * posix/sched_getp.c: Likewise.
70506         * posix/sched_gets.c: Likewise.
70507         * posix/sched_primax.c: Likewise.
70508         * posix/sched_primin.c: Likewise.
70509         * posix/sched_rr_gi.c: Likewise.
70510         * posix/sched_setaffinity.c: Likewise.
70511         * posix/sched_setp.c: Likewise.
70512         * posix/sched_sets.c: Likewise.
70513         * posix/sched_yield.c: Likewise.
70514         * posix/setgid.c: Likewise.
70515         * posix/setlogin.c: Likewise.
70516         * posix/setpgid.c: Likewise.
70517         * posix/setresgid.c: Likewise.
70518         * posix/setresuid.c: Likewise.
70519         * posix/setsid.c: Likewise.
70520         * posix/setuid.c: Likewise.
70521         * posix/sleep.c: Likewise.
70522         * posix/spawni.c: Likewise.
70523         * posix/sysconf.c: Likewise.
70524         * posix/times.c: Likewise.
70525         * posix/wait.c: Likewise.
70526         * posix/wait3.c: Likewise.
70527         * posix/wait4.c: Likewise.
70528         * posix/waitpid.c: Likewise.
70529         * resolv/gai_sigqueue.c: Likewise.
70530         * resource/getpriority.c: Likewise.
70531         * resource/getrlimit.c: Likewise.
70532         * resource/getrusage.c: Likewise.
70533         * resource/nice.c: Likewise.
70534         * resource/setpriority.c: Likewise.
70535         * resource/setrlimit.c: Likewise.
70536         * resource/ulimit.c: Likewise.
70537         * rt/aio_cancel.c: Likewise.
70538         * rt/aio_fsync.c: Likewise.
70539         * rt/aio_read.c: Likewise.
70540         * rt/aio_sigqueue.c: Likewise.
70541         * rt/aio_suspend.c: Likewise.
70542         * rt/aio_write.c: Likewise.
70543         * rt/clock_getres.c: Likewise.
70544         * rt/clock_gettime.c: Likewise.
70545         * rt/clock_nanosleep.c: Likewise.
70546         * rt/clock_settime.c: Likewise.
70547         * rt/lio_listio.c: Likewise.
70548         * rt/mq_close.c: Likewise.
70549         * rt/mq_getattr.c: Likewise.
70550         * rt/mq_notify.c: Likewise.
70551         * rt/mq_open.c: Likewise.
70552         * rt/mq_receive.c: Likewise.
70553         * rt/mq_send.c: Likewise.
70554         * rt/mq_setattr.c: Likewise.
70555         * rt/mq_timedreceive.c: Likewise.
70556         * rt/mq_timedsend.c: Likewise.
70557         * rt/mq_unlink.c: Likewise.
70558         * rt/shm_open.c: Likewise.
70559         * rt/shm_unlink.c: Likewise.
70560         * rt/timer_create.c: Likewise.
70561         * rt/timer_delete.c: Likewise.
70562         * rt/timer_getoverr.c: Likewise.
70563         * rt/timer_gettime.c: Likewise.
70564         * rt/timer_settime.c: Likewise.
70565         * setjmp/__longjmp.c: Likewise.
70566         * setjmp/setjmp.c: Likewise.
70567         * signal/kill.c: Likewise.
70568         * signal/killpg.c: Likewise.
70569         * signal/raise.c: Likewise.
70570         * signal/sigaction.c: Likewise.
70571         * signal/sigaltstack.c: Likewise.
70572         * signal/sigblock.c: Likewise.
70573         * signal/sigignore.c: Likewise.
70574         * signal/sigintr.c: Likewise.
70575         * signal/signal.c: Likewise.
70576         * signal/sigpause.c: Likewise.
70577         * signal/sigpending.c: Likewise.
70578         * signal/sigqueue.c: Likewise.
70579         * signal/sigreturn.c: Likewise.
70580         * signal/sigset.c: Likewise.
70581         * signal/sigsetmask.c: Likewise.
70582         * signal/sigstack.c: Likewise.
70583         * signal/sigsuspend.c: Likewise.
70584         * signal/sigtimedwait.c: Likewise.
70585         * signal/sigvec.c: Likewise.
70586         * signal/sigwait.c: Likewise.
70587         * signal/sigwaitinfo.c: Likewise.
70588         * signal/sysv_signal.c: Likewise.
70589         * socket/accept.c: Likewise.
70590         * socket/accept4.c: Likewise.
70591         * socket/bind.c: Likewise.
70592         * socket/connect.c: Likewise.
70593         * socket/getpeername.c: Likewise.
70594         * socket/getsockname.c: Likewise.
70595         * socket/getsockopt.c: Likewise.
70596         * socket/isfdtype.c: Likewise.
70597         * socket/listen.c: Likewise.
70598         * socket/recv.c: Likewise.
70599         * socket/recvfrom.c: Likewise.
70600         * socket/recvmsg.c: Likewise.
70601         * socket/send.c: Likewise.
70602         * socket/sendmsg.c: Likewise.
70603         * socket/sendto.c: Likewise.
70604         * socket/setsockopt.c: Likewise.
70605         * socket/shutdown.c: Likewise.
70606         * socket/sockatmark.c: Likewise.
70607         * socket/socket.c: Likewise.
70608         * socket/socketpair.c: Likewise.
70609         * stdio-common/ctermid.c: Likewise.
70610         * stdio-common/cuserid.c: Likewise.
70611         * stdio-common/remove.c: Likewise.
70612         * stdio-common/rename.c: Likewise.
70613         * stdio-common/renameat.c: Likewise.
70614         * stdio-common/tempname.c: Likewise.
70615         * stdlib/getcontext.c: Likewise.
70616         * stdlib/makecontext.c: Likewise.
70617         * stdlib/setcontext.c: Likewise.
70618         * stdlib/swapcontext.c: Likewise.
70619         * stdlib/system.c: Likewise.
70620         * streams/fattach.c: Likewise.
70621         * streams/fdetach.c: Likewise.
70622         * streams/getmsg.c: Likewise.
70623         * streams/getpmsg.c: Likewise.
70624         * streams/putmsg.c: Likewise.
70625         * streams/putpmsg.c: Likewise.
70626         * sysdeps/unix/bsd/getpt.c: Likewise.
70627         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
70628         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
70629         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
70630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70631         Likewise.
70632         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
70633         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70634         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
70635         * sysvipc/msgctl.c: Likewise.
70636         * sysvipc/msgget.c: Likewise.
70637         * sysvipc/msgrcv.c: Likewise.
70638         * sysvipc/msgsnd.c: Likewise.
70639         * sysvipc/semctl.c: Likewise.
70640         * sysvipc/semget.c: Likewise.
70641         * sysvipc/semop.c: Likewise.
70642         * sysvipc/semtimedop.c: Likewise.
70643         * sysvipc/shmat.c: Likewise.
70644         * sysvipc/shmctl.c: Likewise.
70645         * sysvipc/shmdt.c: Likewise.
70646         * sysvipc/shmget.c: Likewise.
70647         * termios/tcdrain.c: Likewise.
70648         * termios/tcflow.c: Likewise.
70649         * termios/tcflush.c: Likewise.
70650         * termios/tcgetattr.c: Likewise.
70651         * termios/tcgetpgrp.c: Likewise.
70652         * termios/tcsendbrk.c: Likewise.
70653         * termios/tcsetattr.c: Likewise.
70654         * termios/tcsetpgrp.c: Likewise.
70655         * time/adjtime.c: Likewise.
70656         * time/clock.c: Likewise.
70657         * time/getitimer.c: Likewise.
70658         * time/gettimeofday.c: Likewise.
70659         * time/setitimer.c: Likewise.
70660         * time/settimeofday.c: Likewise.
70661         * time/stime.c: Likewise.
70662         * time/time.c: Likewise.
70664 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
70666         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
70667         /usr/old/bin.
70669         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
70670         instead of spaces.
70671         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
70673 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
70675         [BZ #14796]
70676         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
70677         FE_TONEAREST before applying Dekker multiplication and Knuth
70678         addition.  Clear inexact exceptions and check for exact zero
70679         results afterwards.
70680         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70681         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70682         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70683         * math/libm-test.inc (fma_test): Add more tests.
70684         (fma_test_towardzero): Likewise.
70685         (fma_test_downward): Likewise.
70686         (fma_test_upward): Likewise.
70687         * sysdeps/generic/math_private.h (default_libc_fesetround): New
70688         function.
70689         (libc_fesetround): New macro.
70690         (libc_fesetroundf): Likewise.
70691         (libc_fesetroundl): Likewise.
70692         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
70693         function.
70694         (libc_fesetround_387): Likewise.
70695         (libc_fesetroundf): New macro.
70696         (libc_fesetround): Likewise.
70697         (libc_fesetroundl): Likewise.
70698         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
70699         function.
70700         (libc_fesetroundf): New macro.
70701         (libc_fesetround): Likewise.
70702         (libc_fesetroundl): Likewise.
70703         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
70704         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
70705         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
70706         libm_hidden_ver.
70707         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
70708         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
70709         libm_hidden_def.
70710         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
70711         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
70712         libm_hidden_ver.
70713         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
70714         libm_hidden_def.
70716         [BZ #3439]
70717         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
70718         integer constant usable in #if and use that to give value to enum
70719         constant.
70720         (FE_DIVBYZERO): Likewise.
70721         (FE_UNDERFLOW): Likewise.
70722         (FE_OVERFLOW): Likewise.
70723         (FE_INVALID): Likewise.
70724         (FE_INVALID_SNAN): Likewise.
70725         (FE_INVALID_ISI): Likewise.
70726         (FE_INVALID_IDI): Likewise.
70727         (FE_INVALID_ZDZ): Likewise.
70728         (FE_INVALID_IMZ): Likewise.
70729         (FE_INVALID_COMPARE): Likewise.
70730         (FE_INVALID_SOFTWARE): Likewise.
70731         (FE_INVALID_SQRT): Likewise.
70732         (FE_INVALID_INTEGER_CONVERSION): Likewise.
70733         (FE_TONEAREST): Likewise.
70734         (FE_TOWARDZERO): Likewise.
70735         (FE_UPWARD): Likewise.
70736         (FE_DOWNWARD): Likewise.
70737         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
70738         (FE_DIVBYZERO): Likewise.
70739         (FE_OVERFLOW): Likewise.
70740         (FE_UNDERFLOW): Likewise.
70741         (FE_INEXACT): Likewise.
70742         (FE_TONEAREST): Likewise.
70743         (FE_DOWNWARD): Likewise.
70744         (FE_UPWARD): Likewise.
70745         (FE_TOWARDZERO): Likewise.
70746         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
70747         (FE_UNDERFLOW): Likewise.
70748         (FE_OVERFLOW): Likewise.
70749         (FE_DIVBYZERO): Likewise.
70750         (FE_INVALID): Likewise.
70751         (FE_TONEAREST): Likewise.
70752         (FE_TOWARDZERO): Likewise.
70753         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
70754         (FE_OVERFLOW): Likewise.
70755         (FE_UNDERFLOW): Likewise.
70756         (FE_DIVBYZERO): Likewise.
70757         (FE_INEXACT): Likewise.
70758         (FE_TONEAREST): Likewise.
70759         (FE_TOWARDZERO): Likewise.
70760         (FE_UPWARD): Likewise.
70761         (FE_DOWNWARD): Likewise.
70762         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
70763         (FE_DIVBYZERO): Likewise.
70764         (FE_OVERFLOW): Likewise.
70765         (FE_UNDERFLOW): Likewise.
70766         (FE_INEXACT): Likewise.
70767         (FE_TONEAREST): Likewise.
70768         (FE_DOWNWARD): Likewise.
70769         (FE_UPWARD): Likewise.
70770         (FE_TOWARDZERO): Likewise.
70772 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
70774         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
70776 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
70778         * scripts/cross-test-ssh.sh (command): Use newlines to separate
70779         commands.  Quote $PWD.
70780         (blacklist_exports): Don't use remove_newlines.  Replace "declare
70781         -x" by "export".
70782         (remove_newlines): Remove.
70784 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
70786         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
70787         * stdlib/stdlib.h (atof): Moved to ...
70788         * include/bits/stdlib-float.h: Here.  New file.
70789         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
70790         * stdlib/bits/stdlib-float.h: New file.
70791         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
70792         -mno-sse -mno-mmx.
70793         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
70794         <xmmintrin.h>.
70796 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
70798         * conform/conformtest.pl (@headers): Add fenv.h.
70799         * conform/data/fenv.h-data: New file.
70800         * include/fenv.h [_ISOMAC]: Disable all contents of file except
70801         include of <math/fenv.h>.
70803         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
70804         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
70805         && !UNIX98].  Enables tests for XOPEN2K8.
70806         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
70807         POSIX2008]: Likewise.
70809         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
70810         (struct rusage): Do not expect type or its members.
70812         [BZ #3439]
70813         * math/math.h (FP_NAN): Define macro to integer constant usable in
70814         #if and use that to give value to enum constant.
70815         (FP_INFINITE): Likewise.
70816         (FP_ZERO): Likewise.
70817         (FP_SUBNORMAL): Likewise.
70818         (FP_NORMAL): Likewise.
70820 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
70822         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
70823         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
70824         arguments.
70826 2012-11-02  Roland McGrath  <roland@hack.frob.com>
70828         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
70829         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
70830         autoconf-time if not.
70831         * configure.in: Remove AC_PREREQ.
70833 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70835         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
70836         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
70837         of the internal implementation.
70839 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
70841         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
70842         except include of <misc/sys/syslog.h>.
70844 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
70847         function returns with a NULL context exit with zero.
70849 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70851         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
70853 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
70855         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
70856         (run_program_cmd): This.
70857         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
70858         (tst_langinfo): New variable.  Use it.
70860 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
70862         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
70863         floating point opcodes.
70865 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70867         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
70868         variable.
70870         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
70872         * sysdeps/mach/hurd/powerpc: Remove directory.
70873         * sysdeps/mach/powerpc: Likewise.
70875 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70877         * scripts/check-local-headers.sh: Ignore c++ headers.
70879 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70881         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
70882         __libc_cleanup_region_start argument.
70884 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
70886         [BZ #14784]
70887         [BZ #14785]
70888         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
70889         x * y using scaling, not as x * y + z.
70890         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70891         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70892         * math/libm-test.inc (fma_test): Add more tests.
70893         (fma_test_towardzero): Likewise.
70894         (fma_test_downward): Likewise.
70895         (fma_test_upward): Likewise.
70897 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70899         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
70901 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
70903         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
70904         New variable.
70906 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
70908         * rt/tst-shm.c (worker): Correct checking for mmap failure.
70910 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
70912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70913         Fix sort order.
70914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70915         Likewise.
70917 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70920         Fix the order of the list for glibc 2.17.
70921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70922         Likewise.
70924 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
70926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70928 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
70930         [BZ #14610]
70931         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
70932         for low part of x being zero before using __atanl (y).
70933         * math/libm-test.inc (atan2_test): Add another test.
70935         * manual/install.texi (Configuring and compiling): Document
70936         general use of test-wrapper and test-wrapper-env.
70937         * INSTALL: Regenerated.
70939         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
70940         (__fma): Do not extract and scale down low bits on after-rounding
70941         systems when result rounded to normal precision would have normal
70942         exponent.
70943         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
70944         (__fmal): Do not extract and scale down low bits on after-rounding
70945         systems when result rounded to normal precision would have normal
70946         exponent.
70947         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
70948         (__fmal): Do not extract and scale down low bits on after-rounding
70949         systems when result rounded to normal precision would have normal
70950         exponent.
70951         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
70952         macro.
70953         (fma_test): Add more tests.
70954         (fma_test_towardzero): Likewise.
70955         (fma_test_downward): Likewise.
70956         (fma_test_upward): Likewise.
70958 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
70960         * sysdeps/i386/tininess.h: Renamed to ...
70961         * sysdeps/x86/tininess.h: This.
70962         * sysdeps/x86_64/tininess.h: Removed.
70964 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
70966         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
70967         input.  Use $(build-program-cmd).
70968         ($(objpfx)tst-array1-static.out): Likewise.
70969         ($(objpfx)tst-array2.out): Likewise.
70970         ($(objpfx)tst-array3.out): Likewise.
70971         ($(objpfx)tst-array4.out): Likewise.
70972         ($(objpfx)tst-array5.out): Likewise.
70973         ($(objpfx)tst-array5-static.out): Likewise.
70975 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
70977         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
70978         if defined.
70980         * nss/nsswitch.h (nss_interface_function): Provide new
70981         macro for use with NSS functions.
70982         * grp/initgroups.c: Use new macro.
70983         * nss/getXXbyYY.c: Likewise.
70984         * nss/getXXbyYY_r.c: Likewise.
70985         * nss/getXXent.c: Likewise.
70986         * nss/getXXent_r.c: Likewise.
70987         * sysdeps/posix/getaddrinfo.c: Likewise.
70989 2012-10-30  Andreas Jaeger  <aj@suse.de>
70991         * po/ru.po: Update Russion translation from translation project.
70993 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
70995         [BZ #14152]
70996         [BZ #14783]
70997         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
70998         result and shift together with sticky bit instead of replicating
70999         round-to-nearest rounding.
71000         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71001         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71002         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
71003         missing underflow exceptions.
71004         (fma_test_towardzero): Add more tests.
71005         (fma_test_downward): Likewise.
71006         (fma_test_upward): Likewise.
71008         [BZ #14047]
71009         * sysdeps/generic/tininess.h: New file.
71010         * sysdeps/i386/tininess.h: Likewise.
71011         * sysdeps/sh/tininess.h: Likewise.
71012         * sysdeps/x86_64/tininess.h: Likewise.
71013         * stdlib/tst-strtod-underflow.c: Likewise.
71014         * stdlib/tst-tininess.c: Likewise.
71015         * stdlib/strtod_l.c: Include <tininess.h>.
71016         (round_and_return): Do not set errno for exact underflow cases.
71017         Force an underflow exception when setting errno for underflow.
71018         Determine underflow based on rounding to normal precision if
71019         TININESS_AFTER_ROUNDING.
71020         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
71021         ERANGE for exact underflow cases.
71022         * stdlib/Makefile (tests): Add tst-tininess and
71023         tst-strtod-underflow.
71024         ($(objpfx)tst-tininess): Use $(link-libm).
71025         ($(objpfx)tst-strtod-underflow): Likewise.
71027 2012-10-30  Andreas Jaeger  <aj@suse.de>
71029         [BZ #14767]
71030         * elf/Makefile (tests): Remove conditional for have-initfini-array
71031         since this is now always required and the variable does not exist
71032         anymore.
71033         (tests-static): Likewise.
71034         (modules-names): Likewise.
71036         * po/eo.po: Add Esperanto translation from translation project.
71038         * elf/tst-array1.c (fini_array): Make writeable so that it can be
71039         merged with constructor/destructor.
71040         (init_array): Likewise.
71041         * elf/tst-array2dep.c (fini_array): Likewise.
71042         (init_array): Likewise.
71044 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
71046         * manual/message.texi: Delete @cartouche tags.
71048 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
71050         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
71051         EOPNOTSUPP.
71052         * sysdeps/mach/hurd/fsync.c: Likewise.
71054         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
71055         [_POSIX_REALTIME_SIGNALS]: Change condition to
71056         [_POSIX_REALTIME_SIGNALS > 0].
71058 2012-10-27  Andreas Jaeger  <aj@suse.de>
71060         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
71061         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
71062         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
71063         [__WORDSIZE != 64]: Likewise.
71065 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
71067         *  iconvdata/tst-table.sh: Remove ${SHELL}.
71068         *  iconvdata/tst-tables.sh: Likewise.
71070 2012-10-25  David S. Miller  <davem@davemloft.net>
71072         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71073         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
71074         of strtoull.
71076         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
71077         ifunc-impl-list.c
71078         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71079         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
71080         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
71081         file.
71083 2012-10-25  Roland McGrath  <roland@hack.frob.com>
71085         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71086         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
71087         __getdirentries.
71089 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
71090             Jim Blandy  <jimb@codesourcery.com>
71092         * scripts/cross-test-ssh.sh: New file.
71093         * manual/install.texi (Configuring and compiling): Document use of
71094         cross-test-ssh.sh.
71095         * INSTALL: Regenerated.
71097 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
71099         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
71100         EOPNOTSUPP.
71102 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
71104         * Makeconfig (run-program-prefix): Fix comment.
71106 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
71107             Jim Blandy  <jimb@codesourcery.com>
71109         * Makeconfig (test-wrapper): New variable,
71110         (test-wrapper-env): Likewise.
71111         [$(cross-compiling) = yes && $(test-wrapper) != ""]
71112         (run-built-tests): Define to yes.
71113         (run-program-prefix): Use $(test-wrapper).
71114         (built-program-cmd): Likewise.
71115         * Rules (make-test-out): Use $(test-wrapper-env) and
71116         $(host-built-program-cmd).
71117         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
71118         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
71119         tst-pathopt.sh.
71120         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
71121         $(test-wrapper-env) to tst-rtld-load-self.sh.
71122         ($(objpfx)order2.out): Use $(test-wrapper).
71123         ($(objpfx)tst-initorder.out): Likewise.
71124         ($(objpfx)tst-initorder2.out): Likewise.
71125         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
71126         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
71127         (test_wrapper_env): New variable.  Use it to run ld.so.
71128         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
71129         Use it to run ld.so.
71130         (test_wrapper_env): Likewise.
71131         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
71132         $(test-wrapper) to run-iconv-test.sh.
71133         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
71134         (ICONV): Use $test_wrapper.
71135         * posix/Makefile ($(objpfx)globtest.out): Pass
71136         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
71137         globtest.sh, not $(run-program-prefix).
71138         * posix/globtest.sh (run_via_rtld_prefix): New variable.
71139         (test_wrapper): Likewise.
71140         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
71141         set together with run_via_rtld_prefix.
71142         (run_program_prefix): Define in terms of test_wrapper and
71143         run_via_rtld_prefix.
71145 2012-10-24  Roland McGrath  <roland@hack.frob.com>
71147         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
71148         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
71149         Targets removed.
71151         [BZ #14743]
71152         * include/time.h: Remove librt_hidden_proto (clock_gettime).
71153         Declare __clock_getres, __clock_gettime, __clock_settime,
71154         __clock_nanosleep, and __clock_getcpuclockid.
71155         * rt/clock_gettime.c: Define __clock_gettime as an alias.
71156         Remove librt_hidden_def (clock_gettime).
71157         * sysdeps/unix/clock_gettime.c: Likewise.
71158         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
71159         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
71160         * rt/clock_getres.c: Define __clock_getres as an alias.
71161         * sysdeps/posix/clock_getres.c: Likewise.
71162         * rt/clock_settime.c: Define __clock_settime as an alias.
71163         * sysdeps/unix/clock_settime.c: Likewise.
71164         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
71165         * sysdeps/unix/clock_nanosleep.c: Likewise.
71166         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
71167         * rt/clock-compat.c: New file.
71168         * rt/Makefile (librt-routines): Add clock-compat and move
71169         $(clock-routines) to ...
71170         (routines): ... here, new variable.
71171         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
71172         Don't add get_clockfreq here.
71173         * rt/Versions (libc: GLIBC_2.17): New version set.
71174         Add clock_* symbols here.
71175         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
71176         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
71177         (GLIBC_2.17): Add clock_* symbols.
71178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71180         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71182         Likewise.
71183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71184         Likewise.
71185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71189         * NEWS: Mention the move.
71191         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
71192         Use __open, __read, __close rather than their public counterparts.
71193         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71194         (__get_clockfreq_via_cpuinfo): Likewise.
71195         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
71196         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
71198         * config.h.in (HAVE_IFUNC): New #undef.
71199         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
71200         was successful.
71201         * configure: Regenerated.
71203 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
71205         * configure.in: Move READELF check to start of file.
71206         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
71207         libc_cv_asm_gnu_indirect_function in the process.
71208         * configure: Regenerated.
71210 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
71212         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
71213         send the output to /dev/null.
71214         (libc_cv_cc_with_libunwind): Likewise.
71215         (libc_cv_as_noexecstack): Likewise.
71216         * configure: Regenerate.
71218 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
71220         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
71222         * posix/globtest.sh (TMPDIR): Do not set.
71223         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
71224         (testout): Likewise.
71226 2012-10-24  Andreas Jaeger  <aj@suse.de>
71228         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
71229         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
71230         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
71231         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
71232         posix_fadvise64, posix_fallocate64.
71234         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
71235         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
71236         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
71237         Likewise.
71238         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
71239         Likewise.
71240         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
71242         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
71243         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
71244         <bits/fcntl-linux.h>.
71245         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
71247         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
71248         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
71249         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
71250         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
71251         [__WORDSIZE != 64]: Likewise.
71253 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
71255         * Makeconfig (run-built-tests): New variable.
71256         * Rules [$(cross-compiling) = yes]: Change condition to
71257         [$(run-built-tests) = no].
71258         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
71259         to [$(run-built-tests) = yes].
71260         * elf/Makefile [$(cross-compiling) = no]: Likewise.
71261         * grp/Makefile [$(cross-compiling) = no]: Likewise.
71262         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
71263         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
71264         * intl/Makefile [$(cross-compiling) = no]: Likewise.
71265         * io/Makefile [$(cross-compiling) = no]: Likewise.
71266         * libio/Makefile [$(cross-compiling) = no]: Likewise.
71267         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
71268         * misc/Makefile [$(cross-compiling) = no]: Likewise.
71269         * posix/Makefile [$(cross-compiling) = no]: Likewise.
71270         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
71271         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
71272         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
71273         * string/Makefile [$(cross-compiling) = no]: Likewise.
71275         * posix/Makefile ($(objpfx)globtest.out): Pass
71276         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
71277         $(rtld-installed-name).
71278         * posix/globtest.sh (elf_objpfx): Remove variable.
71279         (rtld_installed_name): Likewise.
71280         (library_path): Likewise.
71281         (run_program_prefix): New variable.  Use for running globtest
71282         binary.
71284 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
71285             Joseph Myers  <joseph@codesourcery.com>
71287         * Makeconfig (host-built-program-cmd): New variable.
71288         * elf/Makefile (tst-stackguard1-ARGS): Use
71289         $(host-built-program-cmd).
71290         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
71291         (tst-spawn-ARGS): Likewise.
71292         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
71294 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
71295             Jim Blandy  <jimb@codesourcery.com>
71297         * Makeconfig (run-via-rtld-prefix): New variable.
71298         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
71299         (built-program-cmd): Likewise.
71301 2012-10-22  Andreas Jaeger  <aj@suse.de>
71303         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
71304         __O_RSYNC if it exists, otherwise to O_SYNC.
71306 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
71307             Joseph Myers  <joseph@codesourcery.com>
71309         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
71310         /dev/null.
71311         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
71312         from /dev/null
71313         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
71314         /dev/null.
71316 2012-10-22  Andreas Jaeger  <aj@suse.de>
71318         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
71319         Define always.
71320         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
71322         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71323         bits/fcntl-linux.h.
71325         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
71326         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
71328         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
71329         to __O_LARGEFILE.
71330         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
71331         to __O_LARGEFILE.
71333 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
71334             Joseph Myers  <joseph@codesourcery.com>
71336         * config.make.in (NM): New variable.
71338 2012-10-21  Andreas Jaeger  <aj@suse.de>
71340         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
71341         definitions and declarations that are provided by
71342         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71344 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
71346         [BZ #14683]
71347         * elf/Makefile (tests-static): Add tst-leaks1-static.
71348         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
71349         ($(objpfx)tst-leaks1-static): New rule.
71350         ($(objpfx)tst-leaks1-static-mem): Likewise.
71351         (tst-leaks1-static-ENV): New macro.
71352         * elf/dl-open.c (dl_open_worker): Check the main application
71353         only if SHARED is defined.
71354         * elf/tst-leaks1-static.c: New file.
71356 2012-10-20  Andreas Jaeger  <aj@suse.de>
71358         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
71359         generic values for Linux.
71360         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
71361         and declarations that are provided by <bits/fcntl-linux.h> and
71362         include <bits/fcntl-linux.h>.
71363         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71364         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71366 2012-10-20  Roland McGrath  <roland@hack.frob.com>
71368         * io/fcntl.h: Move include of <bits/types.h> to the top and
71369         include it unconditionally.
71371 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
71373         * wcsmbs/Makefile (tests-ifunc): New variable.
71374         (tests): Add $(tests-ifunc).
71375         * wcsmbs/test-wcschr-ifunc.c: New file.
71376         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
71377         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
71378         * wcsmbs/test-wcslen-ifunc.c: Likewise.
71379         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
71380         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
71382         * string/Makefile (tests-ifunc): New variable.
71383         (tests): Add $(tests-ifunc).
71384         * string/test-memccpy.c (TEST_NAME): New macro.
71385         * string/test-memchr.c (TEST_NAME): Likewise.
71386         * string/test-memcmp.c (TEST_NAME): Likewise.
71387         * string/test-memcpy.c (TEST_NAME): Likewise.
71388         * string/test-memmem.c (TEST_NAME): Likewise.
71389         * string/test-memmove.c (TEST_NAME): Likewise.
71390         * string/test-memset.c (TEST_NAME): Likewise.
71391         * string/test-rawmemchr.c (TEST_NAME): Likewise.
71392         * string/test-stpcpy.c (TEST_NAME): Likewise.
71393         * string/test-stpncpy.c (TEST_NAME): Likewise.
71394         * string/test-strcasecmp.c (TEST_NAME): Likewise.
71395         * string/test-strcasestr.c (TEST_NAME): Likewise.
71396         * string/test-strcat.c (TEST_NAME): Likewise.
71397         * string/test-strchr.c (TEST_NAME): Likewise.
71398         * string/test-strcmp.c(TEST_NAME): Likewise.
71399         * string/test-strcpy.c (TEST_NAME): Likewise.
71400         * string/test-strcspn.c (TEST_NAME): Likewise.
71401         * string/test-strlen.c (TEST_NAME): Likewise.
71402         * string/test-strncasecmp.c (TEST_NAME): Likewise.
71403         * string/test-strncmp.c (TEST_NAME): Likewise.
71404         * string/test-strncpy.c (TEST_NAME): Likewise.
71405         * string/test-strnlen.c (TEST_NAME): Likewise.
71406         * string/test-strpbrk.c (TEST_NAME): Likewise.
71407         * string/test-strrchr.c (TEST_NAME): Likewise.
71408         * string/test-strspn.c (TEST_NAME): Likewise.
71409         * string/test-strstr.c (TEST_NAME): Likewise.
71410         * string/test-bcopy-ifunc.c: New file.
71411         * string/test-bzero-ifunc.c: Likewise.
71412         * string/test-memccpy-ifunc.c: Likewise.
71413         * string/test-memchr-ifunc.c: Likewise.
71414         * string/test-memcmp-ifunc.c: Likewise.
71415         * string/test-memcpy-ifunc.c: Likewise.
71416         * string/test-memmem-ifunc.c: Likewise.
71417         * string/test-memmove-ifunc.c: Likewise.
71418         * string/test-mempcpy-ifunc.c: Likewise.
71419         * string/test-memset-ifunc.c: Likewise.
71420         * string/test-rawmemchr-ifunc.c: Likewise.
71421         * string/test-stpcpy-ifunc.c: Likewise.
71422         * string/test-stpncpy-ifunc.c: Likewise.
71423         * string/test-strcasecmp-ifunc.c: Likewise.
71424         * string/test-strcasestr-ifunc.c: Likewise.
71425         * string/test-strcat-ifunc.c: Likewise.
71426         * string/test-strchr-ifunc.c: Likewise.
71427         * string/test-strchrnul-ifunc.c: Likewise.
71428         * string/test-strcmp-ifunc.c: Likewise.
71429         * string/test-strcpy-ifunc.c: Likewise.
71430         * string/test-strcspn-ifunc.c: Likewise.
71431         * string/test-strlen-ifunc.c: Likewise.
71432         * string/test-strncasecmp-ifunc.c: Likewise.
71433         * string/test-strncat-ifunc.c: Likewise.
71434         * string/test-strncmp-ifunc.c: Likewise.
71435         * string/test-strncpy-ifunc.c: Likewise.
71436         * string/test-strnlen-ifunc.c: Likewise.
71437         * string/test-strpbrk-ifunc.c: Likewise.
71438         * string/test-strrchr-ifunc.c: Likewise.
71439         * string/test-strspn-ifunc.c: Likewise.
71440         * string/test-strstr-ifunc.c: Likewise.
71442         * debug/Makefile (tests-ifunc): New variable.
71443         (tests): Add $(tests-ifunc).
71444         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
71445         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
71446         * debug/test-stpcpy_chk-ifunc.c: New file.
71447         * debug/test-strcpy_chk-ifunc.c: Likewise.
71449 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
71451         [BZ #13601]
71452         * elf/dl-load.c (open_verify): Retry read if the entire ELF
71453         header is not read in.
71455 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
71457         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
71458         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
71459         directly.  Pass built executable to script as
71460         $(built-program-cmd).
71461         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
71462         $testprogram without using LD_LIBRARY_PATH and $ldso.
71464         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
71465         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
71466         $(rtld-installed-name).
71467         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
71468         (rtld_installed_name): Likewise.
71469         (library_path): Likewise.
71470         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
71471         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
71472         $(run-program-prefix) to tst-tables.sh.
71473         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
71474         it to run tst-table-from and tst-table-to.
71475         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
71476         Pass it to tst-table.sh.
71477         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
71478         $(run-program-prefix) to tst-gettext.sh.
71479         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
71480         tst-translit.sh.
71481         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
71482         tst-gettext2.sh.
71483         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
71484         to run tst-gettext.
71485         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
71486         to run tst-gettext2.
71487         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
71488         to run tst-translit.
71489         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
71490         $(run-program-prefix) to tst-mtrace.sh.
71491         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
71492         to run tst-mtrace.
71493         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
71494         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
71495         $(rtld-installed-name).
71496         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
71497         (rtld_installed_name): Likewise.
71498         (run_program_prefix): New variable.  Use it to run wordexp-test.
71500         * Makeconfig (ARCH): Remove all definitions.
71501         (machine): Likewise.
71502         [ARCH]: Remove conditional code.
71503         [!objdir]: Give error.
71504         [!objdir] (objpfx): Remove.
71505         [!objdir] (common-objpfx): Likewise.
71506         [!objdir] (common-objdir): Likewise.
71507         * configure.in (config_makefile): Remove.  Hardcode Makefile in
71508         AC_CONFIG_FILES call.
71509         * configure: Regenerated.
71511         [BZ #13888]
71512         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
71513         or TMPDIR.
71514         (testout): Likewise.
71516         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
71517         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
71518         $(rtld-installed-name).
71519         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
71520         (rtld_installed_name): Likewise.
71521         (runit): Remove function.
71522         (run_getconf): New variable,  Use it for running getconf binary.
71524 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
71526         [BZ #14716]
71527         * string/test-memmem.c (check_result): New function.
71528         (do_one_test): Use it.
71529         (check1): New function.
71530         (test_main): Use it.
71532 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
71534         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
71536 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
71538         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
71539         (_G_LSEEK64): Likewise.
71540         (_G_MMAP64): Likewise.
71541         (_G_FSTAT64): Likewise.
71542         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
71543         (_G_LSEEK64): Likewise.
71544         (_G_MMAP64): Likewise.
71545         (_G_FSTAT64): Likewise.
71546         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
71547         unconditional.  Call __mmap64 directly.
71548         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
71549         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
71550         __lseek64 directly.
71551         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
71552         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
71553         __mmap64 directly.
71554         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
71555         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
71556         __lseek64 directly.
71557         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
71558         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
71559         __lseek64 directly.
71560         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
71561         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
71562         __lseek64 directly.
71563         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
71564         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
71565         __fxstat64 directly.
71566         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
71567         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
71568         unconditional.
71569         (freopen64) [!_G_OPEN64]: Remove conditional code.
71570         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
71571         unconditional.
71572         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
71573         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
71574         unconditional.
71575         (ftello64) [!_G_LSEEK64]: Remove conditional code.
71576         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
71577         unconditional.
71578         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
71579         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
71580         unconditional.
71581         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
71582         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
71583         unconditional.
71584         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
71585         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
71586         unconditional.
71587         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
71588         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
71589         unconditional.
71590         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
71592 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
71594         [BZ #12140]
71595         * manual/memory.texi (Malloc Tunable Parameters): Add note
71596         about free list pointers overwriting some perturb bytes.
71597         Wording suggested by Roland McGrath.
71599 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
71601         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
71602         (lgamma_test): Likewise.
71603         (tgamma_test): Likewise.
71605 2012-10-16  Florian Weimer  <fweimer@redhat.com>
71607         [BZ #14700]
71608         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
71609         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
71611 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
71613         * NEWS: Mention BZ #14716.
71614         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
71615         when removing AVAILABLE1_USES_J macro.
71617 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
71619         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
71620         (__bswap_64): __uint64_t for unsigned 64-bit int.
71622 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
71624         * include/string.h (memmem): Declare libc hidden alias.
71625         * string/memmem.c (memmem): Define libc hidden alias.
71626         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
71627         __read, __close instead of open, read, close.
71629 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
71631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
71632         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
71633         global and hidden.
71634         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
71635         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
71636         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
71637         Likewise.
71638         (__rawmemchr_sse2): Likewise.
71639         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
71640         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
71641         (__strchr_sse2): Likewise.
71642         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
71643         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
71644         (__strcasecmp_sse2): Likewise.
71645         (__strncasecmp_sse2): Likewise.
71646         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
71647         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
71648         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
71649         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
71650         (__strrchr_sse2): Likewise.
71651         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
71652         ifunc-impl-list.c.
71653         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
71654         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
71655         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
71656         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71657         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
71658         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
71659         * sysdeps/x86_64/multiarch/memset.S: Likewise.
71660         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
71661         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
71662         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
71663         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
71664         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
71665         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
71666         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
71667         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
71668         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
71669         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
71670         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
71671         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
71672         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
71673         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
71674         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
71675         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
71676         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
71677         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
71678         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71679         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
71680         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
71681         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
71682         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
71684         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
71685         global and hidden.
71686         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
71687         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
71688         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
71689         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
71690         Likewise.
71691         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
71692         Likewise.
71693         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
71694         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
71695         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
71696         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
71697         ifunc-impl-list.c.
71698         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71699         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71700         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71701         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71702         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71703         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71704         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71705         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71706         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71707         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71708         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71709         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71710         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71711         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
71712         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
71713         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71714         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
71715         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
71716         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71717         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71718         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71719         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71720         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71721         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71722         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71723         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
71724         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
71725         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
71726         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
71727         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71728         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
71729         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71730         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71731         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
71732         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71733         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71734         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71735         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71736         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71737         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71738         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
71740         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
71741         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
71742         * include/ifunc-impl-list.h: New file.
71743         * misc/ifunc-impl-list.c: Likewise.
71744         * misc/Makefile (routines): Add ifunc-impl-list.
71745         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
71746         * string/test-string.h: Include <ifunc-impl-list.h>.
71747         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
71748         TEST_NAME]: New variables.
71749         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
71750         are defined.
71751         (test_init): Call __libc_ifunc_impl_list to initialize
71752         func_list if TEST_IFUNC and TEST_NAME are defined.
71754         * string/Makefile (strop-tests): Add bcopy and bzero.
71755         * string/test-bcopy.c: New file.
71756         * string/test-bzero.c: Likewise.
71757         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
71758         defined.
71759         * string/test-memset.c: Support bzero test if TEST_BZERO is
71760         defined.
71761         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
71762         __libc_memmove.
71763         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
71764         __libc_memset.
71765         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
71766         of memset.
71768 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
71770         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
71771         * configure: Regenerated.
71773         * Makeconfig (+link-static-before-libc): Don't include
71774         $(link-static-libc).
71776         * libio/libio.h (_IO_pos_t): Remove.
71778 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
71780         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
71781         McGrath.
71783 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
71785         * crypt/crypt-entry.c: Include fips-private.h.
71786         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
71787         * crypt/md5c-test.c (main): Tolerate disabled MD5.
71788         * sysdeps/unix/sysv/linux/fips-private.h: New file.
71789         * sysdeps/generic/fips-private.h: New file, dummy fallback.
71791 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
71793         * crypt/crypt-private.h: Include stdbool.h.
71794         (_ufc_setup_salt_r): Return bool.
71795         * crypt/crypt-entry.c: Include errno.h.
71796         (__crypt_r): Return NULL with EINVAL for bad salt.
71797         * crypt/crypt_util.c (bad_for_salt): New.
71798         (_ufc_setup_salt_r): Check that salt is long enough and within
71799         the specified alphabet.
71800         * crypt/badsalttest.c: New file.
71801         * crypt/Makefile (tests): Add it.
71802         ($(objpfx)badsalttest): New.
71804 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
71806         * NEWS: Add entry for BZ #14602.
71808 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
71810         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
71811         type-generic.
71812         * math/libm-test.inc: Update comment listing what functions and
71813         macros are tested.
71814         (isgreater_test): New function.
71815         (isgreaterequal_test): Likewise.
71816         (isless_test): Likewise.
71817         (islessequal_test): Likewise.
71818         (islessgreater_test): Likewise.
71819         (isunordered_test): Likewise.
71820         (main): Call the new functions.
71822 2012-10-09  Roland McGrath  <roland@hack.frob.com>
71824         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
71825         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
71826         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
71827         * sysdeps/i386/configure: Regenerated.
71828         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
71829         * sysdeps/mach/configure: Regenerated.
71830         * sysdeps/mach/hurd/configure: Regenerated.
71831         * sysdeps/powerpc/configure: Regenerated.
71832         * sysdeps/powerpc/powerpc32/configure: Regenerated.
71833         * sysdeps/powerpc/powerpc64/configure: Regenerated.
71834         * sysdeps/s390/s390-32/configure: Regenerated.
71835         * sysdeps/s390/s390-64/configure: Regenerated.
71836         * sysdeps/sh/configure: Regenerated.
71837         * sysdeps/sparc/configure: Regenerated.
71838         * sysdeps/unix/sysv/linux/configure: Regenerated.
71839         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
71840         * sysdeps/x86_64/configure: Regenerated.
71842         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
71843         defined.  Don't check if MAP is NULL.
71845 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
71847         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
71848         (_G_stat64): Likewise.
71849         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
71850         (_G_stat64): Likewise.
71851         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
71852         instead of struct _G_stat64.
71853         * libio/fileops.c (mmap_remap_check): Likewise.
71854         (decide_maybe_mmap): Likewise.
71855         (_IO_new_file_seekoff): Likewise.
71856         (_IO_file_stat): Likewise.
71857         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
71858         _G_off64_t.
71859         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
71860         instead of struct _G_stat64.
71861         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
71863 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
71865         [BZ #14602]
71866         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71867         Replace with ...
71868         (CHECK_EOL): New macro.
71869         (two_way_short_needle): Check beginning of haystack for EOL.  Use
71870         CHECK_EOL.
71871         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71872         Replace with CHECK_EOL.
71873         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71874         Replace with CHECK_EOL.
71876 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
71878         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
71879         type-generic.
71880         * math/libm-test.inc: Update comment listing what functions and
71881         macros are tested.
71882         (finite_test): New function.
71883         (isinf_test): Likewise.
71884         (isnan_test): Likewise.
71885         (fpclassify_test): Test subnormal input.
71886         (isfinite_test): Likewise.
71887         (isnormal_test): Likewise.
71888         (main): Call the new functions.
71890 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
71892         [BZ #14660]
71893         * Makerules (%.dynsym): Force C locale when running
71894         $(OBJDUMP) --dynamic-syms.
71896 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
71898         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
71899         <stdint.h>.
71901 2012-10-06  David S. Miller  <davem@davemloft.net>
71903         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
71904         upper 32-bits of the length value in %o2 since we use branch-on-register
71905         tests which consider the entire 64-bit register.
71907 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
71909         * string/test-strstr.c (check2): Add a test for page boundary.
71911 2012-10-05  David S. Miller  <davem@davemloft.net>
71913         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
71914         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
71915         file.
71916         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
71917         sysdep_routines.
71918         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
71919         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
71920         and bzero when HWCAP_SPARC_CRYPTO is present.
71922 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
71924         [BZ #14602]
71925         * string/test-strstr.c (check2): New function.
71926         (test_main): Call check2.
71928         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
71929         and bug-strchr1.
71930         * string/bug-strcasestr1.c (do_test): Moved to ...
71931         * string/test-strcasestr.c (check1): Here.  New function.
71932         (do_one_test): Break out result checking code into ...
71933         (check_result): This.  New function.
71934         (do_one_test): Call check_result.
71935         (test_main): Call check1.
71936         * string/bug-strchr1.c (do_test): Moved to ...
71937         * string/test-strchr.c (check1): Here.  New function.
71938         (do_one_test): Break out result checking code into ...
71939         (check_result): This.  New function.
71940         (do_one_test): Call check_result.
71941         (test_main): Call check1.
71942         * string/bug-strstr1.c (main): Moved to ...
71943         * string/test-strstr.c (check1): Here.  New function.
71944         (do_one_test): Break out result checking code into ...
71945         (check_result): This.  New function.
71946         (do_one_test): Call check_result.
71947         (test_main): Call check1.
71948         * string/bug-strcasestr1.c: Removed.
71949         * string/bug-strchr1.c: Likewise.
71950         * string/bug-strstr1.c: Likewise.
71952         * elf/Makefile (dl-routines): Add hwcaps.
71953         * elf/dl-support.c (_dl_important_hwcaps): Removed.
71954         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
71955         (_dl_important_hwcaps): Moved to ...
71956         * elf/dl-hwcaps.c: Here.  New file.
71957         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
71959         [BZ #14557]
71960         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
71961         if IS_IN_rtld isn't defined.
71963         * elf/dl-support.c (_dl_sysinfo_map): New.
71964         Include "get-dynamic-info.h" and "setup-vdso.h".
71965         (_dl_non_dynamic_init): Call setup_vdso.
71966         * elf/dynamic-link.h: Don't include <assert.h>.
71967         (elf_get_dynamic_info): Moved to ...
71968         * elf/get-dynamic-info.h: Here.  New file.
71969         * elf/dynamic-link.h: Include "get-dynamic-info.h".
71970         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
71971         * elf/setup-vdso.h: Here.  New file.
71972         * elf/rtld.c: Include "setup-vdso.h".
71973         (dl_main): Call setup_vdso.
71975 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
71977         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
71978         creal in comment listing functions tested.  List finite, isinf,
71979         isnan, isless, islessequal, isgreater, isgreaterequal,
71980         islessgreater, isunordered, lgamma_r and pow10 as functions and
71981         macros not tested.  Mention which functions not tested are aliases
71982         for other functions.  Fix typo.  Note that signs of NaNs are not
71983         tested.
71985         * scripts/config.guess: Update from config.git.
71986         * scripts/config.sub: Likewise.
71988 2012-10-04  Roland McGrath  <roland@hack.frob.com>
71990         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
71991         * misc/madvise.c (madvise): Renamed to __madvise.
71992         Make madvise a weak alias.
71993         * include/sys/mman.h: Declare __madvise.
71994         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
71995         * sysdeps/unix/syscalls.list
71996         (madvise): Make __madvise the strong name, and madvise a weak alias.
71997         * sysdeps/unix/sysv/linux/syscalls.list
71998         (madvise, mmap): Remove redundant entries.
71999         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
72000         * malloc/malloc.c (mtrim): Likewise.
72001         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
72003 2012-10-03  Roland McGrath  <roland@hack.frob.com>
72005         * sysdeps/mach/hurd/dl-cache.c: File removed.
72006         * config.h.in (USE_LDCONFIG): New #undef.
72007         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
72008         * configure: Regenerated.
72009         * elf/Makefile (dl-routines): Add dl-cache only under
72010         [$(use-ldconfig) = yes].
72011         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
72012         cache on [USE_LDCONFIG].
72013         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
72014         [USE_LDCONFIG].
72015         * elf/rtld.c (dl_main): Likewise.
72017 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
72019         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
72020         _SC_LEVEL4_CACHE_LINESIZE.
72022 2012-10-03  Roland McGrath  <roland@hack.frob.com>
72024         * sysdeps/unix/bsd/confstr.h: File removed.
72026 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
72028         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
72029         sys/sdt-config.h.
72031 2012-10-02  Roland McGrath  <roland@hack.frob.com>
72033         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
72034         Make 'mapoff' field ElfW(Off) rather than off_t.
72036 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
72038         * nscd/Makefile: Remove nscd-cflags and all its users.
72039         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
72040         (CFLAGS-nonlib): Add compiler flags for nscd modules.
72042         [BZ #10631]
72043         * malloc.c (malloc_printerr): Clarify error message.
72045 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
72047         [BZ #14648]
72048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72049         Set bit_FMA_Usable if FMA is supported.
72050         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
72051         macro.
72052         (bit_FMA4_Usable): Updated.
72053         (index_FMA_Usable): New macro.
72054         (CPUID_FMA): Likewise.
72055         (HAS_FMA): Defined with bit_FMA_Usable.
72057 2012-10-01  Roland McGrath  <roland@hack.frob.com>
72059         * bits/types.h (__swblk_t): Type removed.
72060         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
72061         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
72062         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72063         (__SWBLK_T_TYPE): Likewise.
72064         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72065         (__SWBLK_T_TYPE): Likewise.
72066         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72067         (__SWBLK_T_TYPE): Likewise.
72068         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72069         (__SWBLK_T_TYPE): Likewise.
72071 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
72072             Honza Horak <hhorak@redhat.com>
72074         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
72075         (xdr_mapname): Use YPMAXMAP as maxsize.
72076         (xdr_peername): Use YPMAXPEER as maxsize.
72077         (xdr_keydat): Use YPAXRECORD as maxsize.
72078         (xdr_valdat): Use YPMAXRECORD as maxsize.
72080 2012-10-01  Roland McGrath  <roland@hack.frob.com>
72082         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
72084         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
72085         * csu/init-first.c: ... here.
72086         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
72087         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
72088         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
72089         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
72090         * sysdeps/i386/init-first.c: File removed.
72091         * sysdeps/sh/init-first.c: File removed.
72093 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
72095         [BZ #14645]
72096         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
72097         if x * y might underflow to zero and z is zero.
72098         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72099         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72100         * math/libm-test.inc (min_subnorm_value): New variable.
72101         (fma_test): Add more tests.
72102         (fma_test_towardzero): Likewise.
72103         (fma_test_downward): Likewise.
72104         (fma_test_upward): Likewise.
72105         (initialize): Set min_subnorm_value.
72107 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
72109         [BZ #14638]
72110         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
72111         0 + 0.
72112         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
72113         mode for addition resulting in exact zero.
72114         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
72115         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
72116         exact 0 + 0.
72117         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
72118         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72119         * math/libm-test.inc (fma_test): Add more tests.
72120         (fma_test_towardzero): New function.
72121         (fma_test_downward): Likewise.
72122         (fma_test_upward): Likewise.
72123         (main): Call the new functions.
72125 2012-09-28  David S. Miller  <davem@davemloft.net>
72127         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
72129 2012-09-28  Roland McGrath  <roland@hack.frob.com>
72131         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
72132         instead of SIGALRM.
72134         * sysdeps/gnu/_G_config.h: Moved to ...
72135         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
72136         * sysdeps/mach/hurd/_G_config.h: Moved to ...
72137         * sysdeps/generic/_G_config.h: ... here.
72139         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
72141         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
72143         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
72144         Conditionalize target on [libnss_test1.so-version].
72146         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
72148         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
72149         (elfobjdir): Move out of conditionals.
72151         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
72152         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
72153         (__nss_lookup_function): Conditionalize label remove_from_tree on
72154         [!DO_STATIC_NSS || SHARED], matching its only use.
72156 2012-09-28  David S. Miller  <davem@davemloft.net>
72158         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
72159         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
72160         file.
72161         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72162         sysdep_routines.
72163         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72164         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
72165         when HWCAP_SPARC_CRYPTO is present.
72167 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72169         * io/tst-mknodat.c: Create a FIFO instead of a socket.
72171 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
72173         [BZ #6530]
72174         * stdio-common/vfprintf.c (process_string_arg): Revert
72175         2000-07-22 change.
72177 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
72179         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
72180         for testcase.
72181         * stdio-common/tst-sprintf.c: Include <locale.h>
72182         (main): Test sprintf's handling of incomplete multibyte
72183         characters.
72185 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
72187         * elf/dl-runtime.c (VERSYMIDX): Removed.
72188         * elf/dl-version.c (VERSYMIDX): Likewise.
72189         * elf/do-rel.h (VERSYMIDX): Likewise.
72190         (VALIDX): Likewise.
72191         * elf/dynamic-link.h (VERSYMIDX): Likewise.
72192         * elf/rtld.c (VALIDX): Likewise.
72193         (ADDRIDX): Likewise.
72194         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
72195         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
72196         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
72197         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
72198         (VALIDX): Likewise.
72199         (ADDRIDX): Likewise.
72201 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72203         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
72205 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
72207         [BZ #11438]
72208         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
72209         to global scope.
72210         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
72211         addresses are in the same scope as 192.0.2/24.
72212         * posix/gai.conf: Document new scope table defaults.
72214 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72216         [BZ #5298]
72217         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
72218         for ftell.  Compute offsets from write pointers instead.
72219         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72221 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72223         [BZ #14543]
72224         * libio/Makefile (tests): New test case tst-fseek.
72225         * libio/tst-fseek.c: New test case to verify that fseek/ftell
72226         combination works in wide mode.
72227         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
72228         state when the external buffer state changes.
72230 2012-09-27  David S. Miller  <davem@davemloft.net>
72232         [BZ #14376]
72233         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
72234         pass reloc->r_addend in as the 'high' argument to
72235         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
72237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72239 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72241         * rt/tst-aio2.c: Include <pthread.h>.
72242         * rt/tst-aio3.c: Likewise.
72244 2012-09-27  Steve Ellcey  <sellcey@mips.com>
72246         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
72248 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
72250         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
72251         contents on [SHARED].
72253 2012-09-26  Marek Polacek  <polacek@redhat.com>
72255         [BZ #14530]
72256         [BZ #13741]
72257         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
72258         for C++ and GCC <4.3 as well as for non GCC compilers.
72260 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
72262         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72264 2012-09-25  Roland McGrath  <roland@hack.frob.com>
72266         * Makefile.in (all, install): Declare with .PHONY.
72267         Reported by Michael Hope <michael.hope@linaro.org>.
72269 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72271         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
72272         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
72273         system header.
72274         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
72275         Likewise.
72276         (sydep_routines): Add the new and the internal functions.
72277         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
72278         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
72279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
72280         (GLIBC_2.17): Add the new function.
72281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72282         (GLIBC_2.17): Likewise.
72283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
72284         (GLIBC_2.17): Likewise.
72285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
72286         (GLIBC_2.17): Likewise.
72287         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
72289 2012-09-25  Alan Modra  <amodra@gmail.com>
72291         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
72292         Add release barrier before setting once_control to say
72293         initialisation is done.  Add hints on lwarx.  Use macro in
72294         place of isync.
72295         (clear_once_control): Add release barrier.
72297 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
72299         [BZ #13629]
72300         * math/s_clog.c (__clog): Handle more values close to |z| = 1
72301         specially.
72302         * math/s_clog10.c (__clog10): Likewise.
72303         * math/s_clog10f.c (__clog10f): Likewise.
72304         * math/s_clog10l.c (__clog10l): Likewise.
72305         * math/s_clogf.c (__clogf): Likewise.
72306         * math/s_clogl.c (__clogl): Likewise.
72307         * math/Makefile (libm-calls): Add x2y2m1.
72308         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
72309         (__x2y2m1): Likewise.
72310         (__x2y2m1l): Likewise.
72311         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
72312         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
72313         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
72314         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
72315         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
72316         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
72317         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
72318         * sysdeps/i386/fpu/libm-test-ulps: Update.
72319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72321         [BZ #14621]
72322         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
72323         int as type of variable DEPTH.
72324         (glob): Use size_t instead of int as type of variables NEWCOUNT
72325         and OLD_PATHC.
72327 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72329         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
72330         Add s_sincosf-sse2.
72331         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
72332         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
72333         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
72334         macros for using routine as __sincosf_ia32.
72335         Use macro for function declaration and weak_alias.
72336         * sysdeps/i386/fpu/libm-test-ulps: Update.
72338         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
72339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72341         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
72342         subnormal argument.
72343         * math/s_cexpf.c (__cexpf): Likewise.
72344         * math/s_csinf.c (__csinf): Likewise.
72345         * math/s_csinhf.c (__csinhf): Likewise.
72346         * math/s_ctanf.c (__ctanf): Likewise.
72347         * math/s_ctanhf.c (__ctanhf): Likewise.
72348         * math/s_ccosh.c (__ccoshf): Likewise.
72349         * math/s_cexp.c (__cexpl): Likewise.
72350         * math/s_csin.c (__csin): Likewise.
72351         * math/s_csinh.c (__csinh): Likewise.
72352         * math/s_ctan.c (__ctan): Likewise.
72353         * math/s_ctanh.c (ctanh): Likewise.
72354         * math/s_ccoshl.c (__ccoshl): Likewise.
72355         * math/s_cexpl.c (__cexpl): Likewise.
72356         * math/s_csinl.c (__csinl): Likewise.
72357         * math/s_csinhl.c (__csinhl): Likewise.
72358         * math/s_ctanl.c (__ctanl): Likewise.
72359         * math/s_ctanhl.c (__ctanhl): Likewise.
72361 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
72363         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
72364         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
72365         (_IO_off_t): Define to __off_t, not _G_off_t.
72366         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
72367         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
72368         (_IO_wint_t): Define to wint_t, not _G_wint_t.
72369         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
72370         type of __dummy and __dummy2 fields.
72371         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
72372         (_G_ssize_t): Likewise.
72373         (_G_off_t): Likewise.
72374         (_G_pid_t): Likewise.
72375         (_G_uid_t): Likewise.
72376         (_G_wchar_t): Likewise.
72377         (_G_wint_t): Likewise.
72378         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
72379         (_G_ssize_t): Likewise.
72380         (_G_off_t): Likewise.
72381         (_G_pid_t): Likewise.
72382         (_G_uid_t): Likewise.
72383         (_G_wchar_t): Likewise.
72384         (_G_wint_t): Likewise.
72385         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
72386         (_G_ssize_t): Likewise.
72387         (_G_off_t): Likewise.
72388         (_G_pid_t): Likewise.
72389         (_G_uid_t): Likewise.
72390         (_G_wchar_t): Likewise.
72391         (_G_wint_t): Likewise.
72393 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72395         * malloc/arena.c: Include malloc-sysdep.h.
72396         (shrink_heap): Use check_may_shrink_heap to decide if madvise
72397         is sufficient to shrink the heap or an unmap is needed.
72398         * sysdeps/generic/malloc-sysdep.h: New file.  Define
72399         new function check_may_shrink_heap.
72400         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
72401         new function check_may_shrink_heap.
72403 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72405         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
72406         comments.
72408 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
72410         * catgets/test-gencat.sh: Add "set -e".
72411         * elf/tst-pathopt.sh: Likewise.
72412         * grp/tst_fgetgrent.sh: Likewise.
72413         * iconvdata/run-iconv-test.sh: Likewise.
72414         * intl/tst-gettext.sh: Likewise.
72415         * intl/tst-gettext2.sh: Likewise.
72416         * intl/tst-gettext4.sh: Likewise.
72417         * intl/tst-gettext6.sh: Likewise.
72418         * intl/tst-translit.sh: Likewise.
72419         * io/ftwtest-sh: Likewise.
72420         * libio/test-freopen.sh: Likewise.
72421         * malloc/tst-mtrace.sh: Likewise.
72422         * posix/globtest.sh: Likewise.
72423         * posix/tst-getconf.sh: Likewise.
72424         * posix/wordexp-tst.sh: Likewise.
72425         * stdio-common/tst-printf.sh: Likewise.
72426         * stdio-common/tst-unbputc.sh: Likewise.
72427         * stdlib/tst-fmtmsg.sh: Likewise.
72428         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
72429         * catgets/Makefile: Do not specify -e option when running
72430         testsuite shell scripts.
72431         * elf/Makefile: Likewise.
72432         * grp/Makefile: Likewise.
72433         * iconvdata/Makefile: Likewise.
72434         * intl/Makefile: Likewise.
72435         * io/Makefile: Likewise.
72436         * libio/Makefile: Likewise.
72437         * malloc/Makefile: Likewise.
72438         * posix/Makefile: Likewise.
72439         * stdio-common/Makefile: Likewise.
72440         * stdlib/Makefile: Likewise.
72441         * sysdeps/x86_64/Makefile: Likewise.
72443         * io/ftwtest-sh: Add copyright header.
72444         * posix/globtest.sh: Likewise.
72445         * posix/tst-getconf.sh: Likewise.
72446         * posix/wordexp-tst.sh: Likewise.
72447         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
72449 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
72451         [BZ #13679]
72452         * Makeconfig (+link): Defined as $(+link-static) if
72453         $(build-shared) isn't yes.
72454         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
72455         isn't yes.
72456         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
72458         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
72460         [BZ #14562]
72461         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
72462         new chunk size with MALLOC_ALIGN_MASK.
72464 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
72466         [BZ #5044]
72467         * stdio-common/printf_fphex.c: Include <stdbool.h> and
72468         <rounding-mode.h>.
72469         (__printf_fphex): Determine rounding using get_rounding_mode and
72470         round_away.
72471         * stdio-common/tst-printf-round.c (struct hex_test): New
72472         structure.
72473         (hex_tests): New variable.
72474         (test_hex_in_one_mode): New function.
72475         (do_test): Also run tests for hex float output.
72477 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
72479         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
72480         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
72481         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
72482         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
72483         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
72484         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
72485         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
72486         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
72488 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
72490         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
72491         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
72492         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
72493         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
72495 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
72497         [BZ #14579]
72498         * elf/rtld.c (dl_main): Limit the check for self loading to normal
72499         mode only.
72500         * elf/tst-rtld-load-self.sh: New test.
72501         * elf/Makefile: Run it.
72503 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
72505         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
72506         (tst-writev-ENV): Remove.
72507         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
72509 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
72511         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
72513 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
72515         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
72516         unconditional.
72517         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
72518         Likewise.
72519         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
72520         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
72521         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
72522         Likewise.
72524 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
72526         [BZ #14587]
72527         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
72528         * config.make.in (have-cpp-asm-debuginfo): Removed.
72529         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
72530         * configure: Regenerated.
72532 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
72534         [BZ #5044]
72535         * stdio-common/printf_fp.c: Include <stdbool.h> and
72536         <rounding-mode.h>.
72537         (___printf_fp): Determine rounding using get_rounding_mode and
72538         round_away.
72539         * stdio-common/tst-printf-round.c: New file.
72540         * stdio-common/Makefile (tests): Add tst-printf-round.
72541         (link-libm): New variable.
72542         ($(objpfx)tst-printf-round): Depend in $(link-libm).
72544 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
72546         [BZ #14576]
72547         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
72548         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
72549         Likewise.
72550         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
72551         Likewise.
72553 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
72555         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
72556         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72557         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72558         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72560 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
72562         [BZ #14518]
72563         * include/rounding-mode.h: New file.
72564         * sysdeps/generic/get-rounding-mode.h: Likewise.
72565         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
72566         * stdlib/strtod_l.c: Include <rounding-mode.h>.
72567         (MAX_VALUE): New macro.
72568         (MIN_VALUE): Likewise.
72569         (overflow_value): New function.
72570         (underflow_value): Likewise.
72571         (round_and_return): Use overflow_value and underflow_value to
72572         determine return values in overflow and underflow cases.  Use
72573         round_away to determine rounding depending on rounding mode.
72574         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
72575         determine return values in overflow and underflow cases.
72576         * stdlib/tst-strtod-round.c: Include <fenv.h>.
72577         (struct test_results): New structure.
72578         (struct test): Use struct test_results to store expected results
72579         for all rounding modes.
72580         (TEST): Include expected results for all rounding modes.
72581         (test_in_one_mode): New function.
72582         (do_test): Use test_in_one_mode to compute and check results.
72583         Check results for all rounding modes.
72584         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
72585         $(link-libm).
72587 2012-12-09  Allan McRae  <allan@archlinux.org>
72589         * sysdeps/i386/fpu/libm-test-ulps: Update
72591 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
72593         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
72594         (_G_int32_t): Likewise.
72595         (_G_uint16_t): Likewise.
72596         (_G_uint32_t): Likewise.
72597         (_G_HAVE_BOOL): Likewise.
72598         (_G_HAVE_ATEXIT): Likewise.
72599         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72600         (_G_HAVE_IO_FILE_OPEN): Likewise.
72601         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
72602         (_G_int32_t): Likewise.
72603         (_G_uint16_t): Likewise.
72604         (_G_uint32_t): Likewise.
72605         (_G_HAVE_BOOL): Likewise.
72606         (_G_HAVE_ATEXIT): Likewise.
72607         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72608         (_G_HAVE_IO_FILE_OPEN): Likewise.
72609         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
72610         (_G_int32_t): Likewise.
72611         (_G_uint16_t): Likewise.
72612         (_G_uint32_t): Likewise.
72613         (_G_HAVE_BOOL): Likewise.
72614         (_G_HAVE_ATEXIT): Likewise.
72615         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72616         (_G_HAVE_IO_FILE_OPEN): Likewise.
72618 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
72620         * csu/libc-tls.c: Update copyright years.
72622 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
72624         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
72625         [!_G_USING_THUNKS]: Remove conditional code.
72626         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
72627         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
72629         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
72630         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
72631         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72632         (_G_VTABLE_LABEL_PREFIX): Likewise.
72633         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72634         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72635         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72636         (_G_VTABLE_LABEL_PREFIX): Likewise.
72637         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
72638         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72639         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72640         (_G_VTABLE_LABEL_PREFIX): Likewise.
72641         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
72643 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
72645         * libio/Makefile: Include ../Makeconfig before tests.
72646         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
72647         only if $(build-shared) is yes.
72649         * iconv/gconv_db.c: Update copyright years.
72651 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72653         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
72654         unwind info if defined PIC. Fix special cases description.
72655         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
72657         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
72658         DP_HI_MASK entry.
72659         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
72661 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
72663         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
72665         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
72666         is NULL.
72668         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
72669         (LDLIBS-tst-chk4): This.
72670         (LDFLAGS-tst-chk5): Renamed to ...
72671         (LDLIBS-tst-chk5): This.
72672         (LDFLAGS-tst-chk6): Renamed to ...
72673         (LDLIBS-tst-chk6): This.
72674         (LDFLAGS-tst-lfschk4): Renamed to ...
72675         (LDLIBS-tst-lfschk4): This.
72676         (LDFLAGS-tst-lfschk5): Renamed to ...
72677         (LDLIBS-tst-lfschk5): This.
72678         (LDFLAGS-tst-lfschk6): Renamed to ...
72679         (LDLIBS-tst-lfschk6): This.
72681         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
72682         on $(common-objpfx)soversions.mk.
72684 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
72686         [BZ #10014]
72687         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
72688         example host name.
72690 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
72692         * malloc/arena.c (arena_get_retry): New function that gets
72693         another arena for the caller to try its request on.
72694         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
72695         current arena cannot fulfill the request.
72696         (__libc_memalign): Likewise.
72697         (__libc_memalign): Likewise.
72698         (__libc_pvalloc): Likewise.
72699         (__libc_calloc): Likewise.
72701 2012-09-05  John Tobey  <john.tobey@gmail.com>
72703         [BZ #13542]
72704         * manual/arith.texi (Operations on Complex): Fix description
72705         of carg branch cut.
72707 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
72709         [BZ #10014]
72710         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
72711         host name.
72713         [BZ #10038]
72714         * manual/memory.texi (Memory): Make order of menu items match
72715         order of sections.
72717 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
72719         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
72720         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
72721         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
72723 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
72725         * csu/libc-tls.c (static_dtv): Renamed to ...
72726         (_dl_static_dtv): This.  Make it global.
72727         (_dl_initial_dtv): Removed.
72728         (__libc_setup_tls): Updated.
72729         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
72730         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
72731         DL_INITIAL_DTV.
72733 2012-09-06  Petr Machata  <pmachata@redhat.com>
72735         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
72736         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
72737         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
72738         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
72740 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
72742         [BZ #14545]
72743         * csu/libc-tls.c (_dl_initial_dtv): New variable.
72744         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
72745         freeing dtv[-1].
72747 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
72749         [BZ #14544]
72750         * Makeconfig (link-static-before-libc): Replace $(+prector)
72751         with $(+prectorT).
72752         (link-static-after-libc): Replace $(+postctor) with
72753         $(+postctorT).
72754         (link-bounded): Replace $(+prector)/$(+postctor) with
72755         $(+prectorT)/$(+postctorT).
72756         (+prectorT): New macro.
72757         (+postctorT): Likewise.
72759 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
72761         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
72762         (round_str): Handle values above the maximum for IBM long double
72763         as inexact.
72764         * stdlib/tst-strtod-round.c (tests): Regenerated.
72766 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72768         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
72769         assembler flag.
72770         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
72771         zarch_nohighgprs around the zarch optimized routines.
72772         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
72773         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
72774         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
72775         for zarch.
72777 2012-09-05  David S. Miller  <davem@davemloft.net>
72779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72781         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
72782         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
72783         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
72784         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
72785         entries.
72787 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72789         * malloc/arena.c: Fold copyright years.
72790         * malloc/mcheck.c, malloc/memusage.c: Likewise.
72792 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72794         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
72796 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72798         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
72800 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72802         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
72803         change internal state upon failure.
72805 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72807         * malloc/mcheck.c (mcheck_check_all): Fix typo.
72808         * malloc/memusage.c (mmap): Likewise.
72809         (mmap64, mremap): Likewise.  Adjust name in comment.
72811 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
72813         * libio/fileops.c: Fix typos in comments.
72814         * libio/oldfileops.c: Likewise.
72815         * libio/wfileops.c: Likewise.
72817 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
72819         [BZ #1349]
72820         * malloc/Makefile (tests): Add tst-malloc-usable test case.
72821         (tst-malloc-usable-ENV): Set environment for test case.
72822         * malloc/hooks.c (malloc_check_get_size): New function to get
72823         requested size.
72824         * malloc/malloc.c (musable): Use malloc_check_get_size.
72825         * malloc/tst-malloc-usable.c: New test case.
72827 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72829         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
72831 2012-09-05  Allan McRae  <allan@archlinux.org>
72833         [BZ #13966]
72834         * configure.in (CXX_SYSINCLUDES): Use compiler output to
72835         determine header location.
72836         * configure: Regenerated.
72838 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72840         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
72841         float format.
72842         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
72843         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
72844         format.
72845         (test): Regenerate.
72847 2012-09-04  David S. Miller  <davem@davemloft.net>
72849         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
72850         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
72851         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
72853 2012-09-04  Florian Weimer  <fweimer@redhat.com>
72855         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
72856         failures.
72858         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
72860 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
72862         [BZ #9914]
72863         * libio/iogetdelim.c: Include <limits.h>.
72864         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
72865         + len + 1 would overflow.
72867 2012-09-03  Andreas Jaeger  <aj@suse.de>
72869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72870         * sysdeps/i386/fpu/libm-test-ulps: Update.
72872 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72874         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
72875         Add s_sinf-sse2, s_conf-sse2.
72877         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
72878         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
72879         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
72880         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
72882         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
72883         for using routine as __sinf_ia32.
72884         Use macro for function declaration and weak_alias.
72885         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
72886         for using routine as __cosf_ia32.
72887         Use macro for function declaration and weak_alias.
72889         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
72890         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
72892         * sysdeps/x86_64/fpu/s_sinf.S: New file.
72893         * sysdeps/x86_64/fpu/s_cosf.S: New file.
72894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72896         * math/libm-test.inc (cos_test): Add more test cases.
72897         (sin_test): Likewise.
72898         (sincos_test): Likewise.
72900 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72902         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
72903         (IFUNC_RESOLVE): Make pointers to the specialized implementations
72904         hidden.
72905         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
72907 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
72909         [BZ #14538]
72910         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
72911         first element of the GOT.
72912         (elf_machine_load_address): Return the difference between
72913         the runtime address of _DYNAMIC and elf_machine_dynamic ().
72915 2012-09-01  Allan McRae  <allan@archlinux.org>
72917         [BZ #13412]
72918         * configure.in (AWK): Require gawk version 3.0 or later.
72919         * configure: Regenerated.
72921 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
72923         * sysdeps/unix/sysv/linux/kernel-features.h
72924         (__ASSUME_POSIX_CPU_TIMERS): Remove.
72925         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72926         [__NR_clock_getres]: Make code unconditional.
72927         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
72928         (clock_getcpuclockid): Remove code left unreachable by removal of
72929         conditionals.
72930         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
72931         code unconditional.
72932         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
72933         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72934         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
72935         Make code unconditional.
72936         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
72937         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72938         * sysdeps/unix/sysv/linux/clock_settime.c
72939         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
72940         conditional code.
72941         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
72942         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72944 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
72946         [BZ #14476]
72947         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
72948         scripts/test-installation.pl.
72950         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
72951         and $ld_so_version if it is set.
72953 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
72955         [BZ #14516]
72956         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
72957         failure if reading from procfs failed.
72958         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
72960 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
72962         * sysdeps/unix/sysv/linux/kernel-features.h
72963         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
72964         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
72965         Remove conditional code.
72966         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72967         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
72968         Remove conditional code.
72969         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72970         * sysdeps/unix/sysv/linux/i386/fxstat.c
72971         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72972         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72973         * sysdeps/unix/sysv/linux/i386/fxstatat.c
72974         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72975         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72976         * sysdeps/unix/sysv/linux/i386/lxstat.c
72977         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72978         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72979         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
72980         Remove conditional code.
72981         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72982         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
72983         Remove conditional code.
72984         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72985         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
72986         <kernel-features.h>.
72987         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
72988         Remove.
72989         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
72990         Remove conditional code.
72991         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72992         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
72993         Remove conditional.
72995 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
72997         [BZ #5400]
72998         * NEWS: Add fixed bug number.
73000 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
73002         [BZ #14519]
73003         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
73004         underflowing exponent in case of negative sign.
73005         * stdlib/tst-strtod-round-data: Add more tests.
73006         * stdlib/tst-strtod-round.c (tests): Regenerated.
73008         [BZ #3479]
73009         * stdlib/strtod_l.c (NDIG): Remove.
73010         (HEXNDIG): Likewise.
73011         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
73012         smallest representable value.
73013         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
73014         lie within an exact representation of 1/2 ulp of the result.
73015         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
73016         unconditionally.
73017         (TENS_P9_IDX): Define unconditionally.
73018         (TENS_P9_SIZE): Likewise.
73019         (TENS_P10_IDX): Likewise.
73020         (TENS_P10_SIZE): Likewise.
73021         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
73022         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
73023         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
73024         entries for 10^2^13 and 10^2^14.
73025         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
73026         (TENS_P13_IDX): Define.
73027         (TENS_P13_SIZE): Likewise.
73028         (TENS_P14_IDX): Likewise.
73029         (TENS_P14_SIZE): Likewise.
73030         (_fpioconst_pow10): Change array size to
73031         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
73032         unconditional.
73033         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
73034         1024]: Add entries for 10^2^13 and 10^2^14.
73035         [LAST_POW10 > _LAST_POW10]: Remove #error.
73036         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
73037         (_fpioconst_pow10): Change array size to
73038         FPIOCONST_POW10_ARRAY_SIZE.
73039         * stdlib/gen-fpioconst.c: New file.
73040         * stdlib/gen-tst-strtod-round.c: Likewise.
73041         * stdlib/tst-strtod-round-data: Likewise.
73042         * stdlib/tst-strtod-round.c: Likewise.
73043         * stdlib/Makefile (tests): Add tst-strtod-round.
73045         [BZ #14459]
73046         * stdlib/strtod_l.c: Include <stdint.h>.
73047         (NDEBUG): Do not define.
73048         (round_and_return): Change EXPONENT parameter to type intmax_t.
73049         Rearrange calculations to avoid internal overflow possibilities.
73050         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
73051         Rearrange calculations to avoid internal overflow possibilities.
73052         Assert that number fits inside MPNSIZE limbs.
73053         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
73054         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
73055         calculations and add assertions to avoid internal overflow
73056         possibilities.  Add casts to avoid signed/unsigned operations.
73057         * stdlib/tst-strtod-overflow.c: New file.
73058         * stdlib/Makefile (tests): Add tst-strtod-overflow.
73060 2012-08-25  Marek Polacek  <polacek@redhat.com>
73062         * time/time.h: Fix some typos in comments.
73064 2012-08-23  Roland McGrath  <roland@hack.frob.com>
73066         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
73067         * posix/tst-rfc3484-2.c: Likewise.
73068         * posix/tst-rfc3484-3.c: Likewise.
73070 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
73072         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
73073         (EF_ARM_ABI_FLOAT_HARD): Likewise.
73075 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
73077         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
73078         #include of fxstatat64.c.
73080 2012-08-22  Roland McGrath  <roland@hack.frob.com>
73082         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
73083         * shadow/getspent_r.c: Likewise.
73084         * shadow/getspnam.c: Likewise.
73085         * shadow/getspnam_r.c: Likewise.
73086         * gshadow/getsgent.c: Likewise.
73087         * gshadow/getsgent_r.c: Likewise.
73088         * gshadow/getsgnam.c: Likewise.
73089         * gshadow/getsgnam_r.c: Likewise.
73090         * inet/getnetbyad.c: Likewise.
73091         * inet/getnetbyad_r.c: Likewise.
73092         * inet/getnetbynm.c: Likewise.
73093         * inet/getnetbynm_r.c: Likewise.
73094         * inet/getnetent.c: Likewise.
73095         * inet/getnetent_r.c: Likewise.
73096         * inet/getproto.c: Likewise.
73097         * inet/getproto_r.c: Likewise.
73098         * inet/getprtent.c: Likewise.
73099         * inet/getprtent_r.c: Likewise.
73100         * inet/getprtname.c: Likewise.
73101         * inet/getprtname_r.c: Likewise.
73102         * inet/getrpcbyname.c: Likewise.
73103         * inet/getrpcbyname_r.c: Likewise.
73104         * inet/getrpcbynumber.c: Likewise.
73105         * inet/getrpcbynumber_r.c: Likewise.
73106         * inet/getrpcent.c: Likewise.
73107         * inet/getrpcent_r.c: Likewise.
73108         * inet/getaliasent.c: Likewise.
73109         * inet/getaliasent_r.c: Likewise.
73110         * inet/getaliasname.c: Likewise.
73111         * inet/getaliasname_r.c: Likewise.
73112         * nscd/getgrgid_r.c: Likewise.
73113         * nscd/getgrnam_r.c: Likewise.
73114         * nscd/gethstbyad_r.c: Likewise.
73115         * nscd/gethstbynm3_r.c: Likewise.
73116         * nscd/getpwnam_r.c: Likewise.
73117         * nscd/getpwuid_r.c: Likewise.
73118         * nscd/getsrvbynm_r.c: Likewise.
73119         * nscd/getsrvbypt_r.c: Likewise.
73120         * nscd/gai.c: Likewise.
73122         * configure.in (build_nscd): New substituted variable, set
73123         by --disable-build-nscd and defaults to $use_nscd.
73124         * configure: Regenerated.
73125         * config.make.in (build-nscd): New substituted variable.
73126         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
73127         Change conditional to require [$(build-nscd) = yes] as well.
73128         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
73130         [BZ #13696]
73131         * configure.in (use_nscd): New substituted variable, set by
73132         --disable-nscd.  If enabled, define USE_NSCD.
73133         * configure: Regenerated.
73134         * config.h.in: Add USE_NSCD.
73135         * config.make.in (use-nscd): New substituted variable.
73136         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
73137         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
73138         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
73139         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
73140         (CFLAGS-getgrnam_r.c): Likewise.
73141         (CFLAGS-initgroups.c): Likewise.
73142         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
73143         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
73144         Variables removed.
73145         * inet/getnetgrent_r.c
73146         (nscd_setnetgrent): New function, broken out of ...
73147         (setnetgrent): ... here.  Call it.
73148         (innetgr): Conditionalize nscd bits on [USE_NSCD].
73149         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
73150         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
73151         * nscd/Makefile (routines, aux): Move definitions after include of
73152         Makeconfig.  Conditionalize on [$(use-nscd) != no].
73153         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
73154         Conditionalize on [USE_NSCD].
73155         (is_nscd, nscd_init_cb): Likewise.
73156         (nss_load_library): Conditionalize init callback on [USE_NSCD].
73157         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
73158         * nss/nss_db/db-init.c: Likewise.
73159         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
73160         [USE_NSCD].
73161         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
73162         (make_request): Use it.
73163         (cache_valid_p): New function.
73164         (__check_pf): Use it.
73165         * NEWS: Add item for --disable-nscd.
73167 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
73169         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
73170         to support sed >= 4.2.1-20-ga9bf076.
73171         * configure: Regenerated.
73173 2012-08-22  Roland McGrath  <roland@hack.frob.com>
73175         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
73176         Conditionalize whole body on [IREL].
73178 2012-08-22  Jeff Law <law@redhat.com>
73180         [BZ #14505]
73181         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
73182         if the family is PF_UNSPEC.
73184 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
73186         * Makerules (lib-version): Rename from V.
73187         (install-lib-nosubdir): Change V to lib-version.
73189 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
73191         [BZ #14252]
73192         * powerpc32/power6/wcschr.c: New file.
73193         * powerpc32/power6/wcscpy.c: New file.
73194         * powerpc32/power6/wcsrchr.c: New file.
73195         * powerpc64/power6/wcschr.c: New file.
73196         * powerpc64/power6/wcscpy.c: New file.
73197         * powerpc64/power6/wcsrchr.c: New file.
73199 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
73201         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
73202         (two_way_short_needle): Use it.
73203         * string/strstr.c (AVAILABLE1_USES_J): Define.
73204         * string/strcasestr.c: Likewise.
73206         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
73207         array references.
73208         * string/strcasestr.c (TOLOWER): Make side-effect safe.
73210         [BZ #11607]
73211         * NEWS: Add an entry.
73212         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
73213         define their defaults.
73214         (two_way_short_needle): Detect end-of-string on-the-fly.
73215         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
73216         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
73217         * string/bug-strcasestr1.c: New test.
73218         * string/Makefile: Run it.
73220 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
73222         [BZ #11607]
73223         * string/str-two-way.h (two_way_short_needle): Optimize matching of
73224         the first character.
73226 2012-08-21  Roland McGrath  <roland@hack.frob.com>
73228         * csu/elf-init.c (__libc_csu_irel): Function removed.
73229         * csu/libc-start.c (apply_irel): New function.
73230         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
73232 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
73234         * sysdeps/unix/sysv/linux/kernel-features.h
73235         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
73236         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
73237         <kernel-features.h>.
73238         [__NR_fadvise64_64]: Make code unconditional.
73239         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
73240         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
73241         !__NR_fadvise64_64)]: Likewise.
73242         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
73243         !__NR_fadvise64_64))]: Likewise.
73244         [__NR_fadvise64]: Make code unconditional.
73245         [!__NR_fadvise64]: Remove conditional code.
73246         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
73247         <kernel-features.h>.
73248         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73249         unconditional.
73250         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73251         conditional code.
73252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
73253         not include <kernel-features.h>.
73254         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73255         unconditional.
73256         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73257         conditional code.
73258         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
73259         include <kernel-features.h>.
73260         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73261         unconditional.
73262         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73263         conditional code.
73265 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73267         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
73268         slight instruction rearrangements per scrollpipe analysis.
73269         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
73271 2012-08-20  Roland McGrath  <roland@hack.frob.com>
73273         * manual/syslog.texi (syslog; vsyslog, closelog):
73274         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
73275         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
73277         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
73278         DSOCAPS to match condition on defining it.
73280 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
73282         * sysdeps/unix/sysv/linux/kernel-features.h
73283         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
73284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
73285         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73286         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
73288         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73289         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
73291         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73292         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73294         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
73295         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
73297         * sysdeps/unix/sysv/linux/kernel-features.h
73298         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
73299         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
73300         unconditional.
73301         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73302         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
73303         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73304         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73305         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
73306         Make code unconditional.
73307         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73308         (__mmap64) [!__NR_mmap2]: Likewise.
73309         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
73310         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73311         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73312         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
73313         [__NR_mmap2]: Make code unconditional.
73314         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73315         (__mmap64) [!__NR_mmap2]: Likewise.
73317 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73319         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
73321 2012-08-18  Andreas Jaeger  <aj@suse.de>
73323         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
73325 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
73327         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
73328         * include/unistd.h (__have_sock_cloexec): Likewise.
73329         (__have_pipe2): Likewise.
73330         (__have_dup3): Likewise.
73332 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
73334         [BZ #9685]
73335         * include/unistd.h (__have_pipe2): Change define into an extern int.
73336         (__have_dup3): Likewise.
73337         * socket/have_sock_cloexec.c: Include fcntl.h.
73338         (__have_pipe2): New variable.
73339         (__have_dup3): Likewise.
73341 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
73343         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
73345 2012-08-17  Marek Polacek  <polacek@redhat.com>
73347         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
73348         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
73350 2012-08-17  Roland McGrath  <roland@hack.frob.com>
73352         * configure.in: Add AC_SUBST for sysheaders.
73353         * configure: Regenerated.
73354         * config.make.in (sysheaders): New substituted variable.
73356         * sysdeps/unix/mkfifo.c: Moved ...
73357         * sysdeps/posix/mkfifo.c: ... here.
73358         * sysdeps/unix/mkfifoat.c: Moved ...
73359         * sysdeps/posix/mkfifoat.c: ... here.
73361         * sysdeps/unix/utime.c: Moved ...
73362         * sysdeps/posix/utime.c: ... here.
73364         * sysdeps/unix/time.c: Moved ...
73365         * sysdeps/posix/time.c: ... here.
73366         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
73367         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
73369         * sysdeps/unix/nice.c: Moved ...
73370         * sysdeps/posix/nice.c: ... here.
73372         * sysdeps/unix/alarm.c: Moved ...
73373         * sysdeps/posix/alarm.c: ... here.
73375         * intl/Makefile ($(codeset_mo)): Depend on the input file.
73377 2012-08-17  Jeff Law <law@redhat.com>
73379         * intl/Makefile (codeset_mo): New variable.
73380         ($(codeset_mo)): New target.
73381         (tst-codeset.out): Depend on that.  Remove explicit rule.
73382         (tst-gettext3.out, tst-gettext5.out): Likewise.
73383         (LOCPATH-ENV, tst-codeset-ENV): New variables.
73384         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
73385         * intl/tst-codeset.sh: Remove.
73386         * intl/tst-gettext3.sh: Likewise.
73387         * intl/tst-gettext5.sh: Likewise.
73389 2012-08-17  Roland McGrath  <roland@hack.frob.com>
73391         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
73392         * sysdeps/unix/syscalls.list: ... here.
73394         * sysdeps/posix/getaddrinfo.c
73395         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
73396         (gaiconf_init, gaiconf_reload): Use them.
73397         [!_STATBUF_ST_NSEC]
73398         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
73399         Define using time_t rather than struct timespec.
73401         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
73402         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
73403         Macros removed.
73404         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
73405         [!NO_THREADS].
73406         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
73407         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
73408         Likewise.
73410         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
73411         __libc_cleanup_push argument.
73413         * bits/param.h: New file.
73414         * misc/sys/param.h: New file.
73415         * include/sys/param.h: New file.
73416         * misc/Makefile (headers): Add bits/param.h.
73417         * sysdeps/generic/sys/param.h: File removed.
73418         * sysdeps/unix/sysv/linux/bits/param.h: New file.
73419         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
73420         * sysdeps/mach/hurd/bits/param.h: New file.
73421         * sysdeps/mach/hurd/sys/param.h: File removed.
73423         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
73424         last change.
73426         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
73427         [_IO_MTSAFE_IO].
73428         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
73429         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
73430         New macros.
73432         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
73433         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
73434         rather than -D_IO_MTSAFE_IO conditionally.
73435         * stdio-common/Makefile (CPPFLAGS): Likewise.
73436         * wcsmbs/Makefile (CPPFLAGS): Likewise.
73437         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
73438         Use $(libio-mtsafe).
73439         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
73440         of -D_IO_MTSAFE_IO.
73441         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
73442         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
73443         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
73444         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
73445         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
73446         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
73447         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
73448         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
73449         (CFLAGS-fread_u_chk.c): Likewise.
73450         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
73451         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
73452         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
73453         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
73454         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
73455         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
73456         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
73457         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
73458         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
73460         * libio/Makefile: Test [$(libc-reentrant) = yes]
73461         instead of [$(filter %REENTRANT, $(defines)) nonempty].
73463         * Makeconfig
73464         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
73465         * sysdeps/pthread/configure: File removed.
73466         * sysdeps/pthread/Makeconfig: New file.
73467         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
73468         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
73470 2012-08-16  Gary Benson  <gbenson@redhat.com>
73472         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
73473         unmapping the first object in a namespace.
73475 2012-08-16  Roland McGrath  <roland@hack.frob.com>
73477         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
73478         (__internal_setnetgrent): ... this.  Add internal_function to
73479         definition.  Add libc_hidden_def.
73480         (setnetgrent): Update caller.
73481         (internal_endnetgrent): Renamed to ...
73482         (__internal_endnetgrent): ... this.  Add internal_function to
73483         definition.  Add libc_hidden_def.
73484         (endnetgrent): Update caller.
73485         (internal_getnetgrent_r): Renamed to ...
73486         (__internal_getnetgrent_r): ... this.  Add internal_function to
73487         definition.  Add libc_hidden_def.
73488         (__getnetgrent_r): Update caller.
73489         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
73491 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
73493         * stdlib/longlong.h: Update from GCC.
73495 2012-08-16  Roland McGrath  <roland@hack.frob.com>
73497         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
73498         on _QL, which is set by umul_ppmm but never used.
73499         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
73500         variables, which are set by GMP macros but never used.
73501         * stdio-common/_itowa.c (_itowa): Likewise.
73502         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
73503         * stdlib/mod_1.c (mpn_mod_1): Likewise.
73505 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
73507         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
73508         struct La_sh_regs is not constant.
73509         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
73510         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
73511         and struct La_sparc64_regs are not constant.
73513 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
73515         * sysdeps/unix/sysv/linux/kernel-features.h
73516         (__ASSUME_POSIX_TIMERS): Remove.
73517         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73518         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73519         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
73520         Make code unconditional.
73521         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73522         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
73523         Make code unconditional.
73524         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73525         * sysdeps/unix/sysv/linux/clock_nanosleep.c
73526         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
73527         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73528         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
73529         Make code unconditional.
73530         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73531         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
73532         (__libc_missing_posix_timers): Remove.
73534 2012-08-15  Roland McGrath  <roland@hack.frob.com>
73536         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
73537         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
73539         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
73541         * elf/dl-sym.c: Include <stdlib.h>.
73543         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
73544         constants, which avoids warnings in 32-bit builds.
73546         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
73547         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
73549         * misc/lseek.c: File moved to ...
73550         * io/lseek.c: ... here.
73552         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
73554         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
73555         shifting LEN more than 31 bits at once.
73557 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73559         [BZ #14195]
73560         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
73561         segmentation fault for a case of two empty input strings.
73562         * string/test-strncasecmp.c (check1): Renamed to...
73563         (bz12205): ...this.
73564         (bz14195): Add new testcase for two empty input strings and N > 0.
73565         (test_main): Call new testcase, adapt for renamed function.
73567 2012-08-15  Andreas Jaeger  <aj@suse.de>
73569         [BZ #14090]
73570         * crypt/md5test2.c: New test, based on test supplied by Serge
73571         Belyshev <belyshev@depni.sinp.msu.ru>.
73572         * crypt/Makefile (xtests): Add md5test-giant..
73573         * crypt/Makefile ($(objpfx)md5test-giant): Add.
73575 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
73577         [BZ #14090]
73578         * crypt/md5.c (md5_process_block): Don't assume the buffer
73579         length is less than 2**32.
73580         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
73581         length is less than 2**64.
73583 2012-08-15  Roland McGrath  <roland@hack.frob.com>
73585         * string/str-two-way.h: Include <sys/param.h>.
73586         (MAX): Macro removed.
73588         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
73589         Move #define and #undef of memmove to just before and after
73590         including <string.h>.
73592         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
73593         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
73594         and after including <string.h>.  Move declarations of
73595         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
73596         to before #include "string/memmove.c".
73598         * include/dirent.h: Declare __getdirentries.
73600         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
73601         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
73603 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
73605         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
73606         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
73607         * sysdeps/i386/configure: Regenerated.
73608         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
73609         STABS_CURRENT_FILE, and STABS_FUN.
73610         (END): Remove call to STABS_FUN_END.
73611         (STABS_CURRENT_FILE1): Delete.
73612         (STABS_CURRENT_FILE): Likewise.
73613         (STABS_FUN): Likewise.
73614         (STABS_FUN_END): Likewise.
73615         (STABS_FUN2): Likewise.
73616         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
73617         * sysdeps/x86_64/configure: Regenerated.
73619 2012-08-14  Roland McGrath  <roland@hack.frob.com>
73621         * elf/dl-open.c: Include <atomic.h>.
73622         * elf/dl-lookup.c: Likewise.
73624 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
73626         * sysdeps/unix/sysv/linux/kernel-features.h
73627         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
73628         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
73629         unconditionally.
73630         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
73631         unconditionally.
73632         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
73633         condition on __ASSUME_CLONE_THREAD_FLAGS.
73635 2012-08-14  Andreas Jaeger  <aj@suse.de>
73637         * sysdeps/i386/fpu/libm-test-ulps: Update.
73639 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
73641         * include/atomic.h (atomic_exchange_and_add): Split into ...
73642         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
73643         New atomic macros.
73645 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
73647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73649 2012-08-13  Jeff Law <law@redhat.com>
73651         * manual/stdio.texi (snprintf): Clarify handling of the trailing
73652         null byte in the output string.
73654 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
73656         * sysdeps/unix/sysv/linux/kernel-features.h
73657         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
73658         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
73659         (__ASSUME_ARG_MAX_STACK_BASED): Define.
73660         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
73661         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
73662         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
73663         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
73665 2012-08-09  Jeff Law <law@redhat.com>
73667         [BZ #13939]
73668         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
73669         When avoid_arena is set, don't retry in the that arena.  Pick the
73670         next one, whatever it might be.
73671         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
73672         (arena_lock): Pass in new parameter to arena_get2.
73673         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
73674         arena_get2.
73675         (__libc_malloc): Unify retrying after main arena failure with
73676         __libc_memalign version.
73677         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
73679 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
73681         [BZ #14166]
73682         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
73683         to __redirect_strstr.
73684         (__strstr_sse42): Use typeof __redirect_strstr.
73685         (__strstr_ia32): Likewise.
73686         (__libc_strstr): New prototype.
73687         (strstr): Renamed to ...
73688         (__libc_strstr): This.
73689         (strstr): New strong alias of __libc_strstr.
73690         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
73691         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
73692         __redirect_time.
73693         Include <time.h>.
73694         (__libc_time): New prototype.
73695         (time_ifunc): Replace time with __libc_time.
73696         (time): New strong alias and hidden definition of __libc_time.
73697         (__GI_time): Remove strong alias.
73698         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
73699         Include <stddef.h>.
73700         (memmove): Redefined to __redirect_memmove.
73701         (__memmove_sse2): Use typeof __redirect_memmove.
73702         (__memmove_ssse3): Likewise.
73703         (__memmove_ssse3_back): Likewise.
73704         (__libc_memmove): New prototype.
73705         (memmove): Renamed to ...
73706         (__libc_memmove): This.
73707         (memmove): New strong alias of __libc_memmove.
73709 2012-08-08  Mark Salter  <msalter@redhat.com>
73711         * elf/elf.h
73712         (R_MN10300_TLS_GD): Define.
73713         (R_MN10300_TLS_LD): Likewise.
73714         (R_MN10300_TLS_LDO): Likewise.
73715         (R_MN10300_TLS_GOTIE): Likewise.
73716         (R_MN10300_TLS_IE): Likewise.
73717         (R_MN10300_TLS_LE): Likewise.
73718         (R_MN10300_TLS_DTPMOD): Likewise.
73719         (R_MN10300_TLS_DTPOFF): Likewise.
73720         (R_MN10300_TLS_TPOFF): Likewise.
73721         (R_MN10300_SYM_DIFF): Likewise.
73722         (R_MN10300_ALIGN): Likewise.
73723         (R_MN10300_NUM): Update.
73725 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
73727         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
73728         Remove.
73730 2012-08-08  Roland McGrath  <roland@hack.frob.com>
73732         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
73734         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
73735         sysdeps/unix -> sysdeps/posix move.
73736         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
73738 2012-08-07      Allan McRae     <allan@archlinux.org>
73740         [BZ #14303]
73741         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
73742         (SUNOS_CPP): Likewise.
73743         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
73744         not found.
73745         (open_input): Call CPP using execvp.
73747 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
73749         * sysdeps/unix/sysv/linux/kernel-features.h
73750         (__ASSUME_PROT_GROWSUPDOWN): Remove.
73751         (__ASSUME_NO_CLONE_DETACHED): Likewise.
73752         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
73753         (__ASSUME_WAITID_SYSCALL): Likewise.
73754         * sysdeps/unix/sysv/linux/dl-execstack.c
73755         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
73756         code unconditional.
73757         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
73758         conditional code.
73759         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
73760         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
73761         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
73762         code.
73763         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
73764         unconditional.
73765         [__ASSUME_WAITID_SYSCALL]: Likewise.
73766         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
73768 2012-08-07  Roland McGrath  <roland@hack.frob.com>
73770         * sysdeps/unix/closedir.c: Renamed to ...
73771         * sysdeps/posix/closedir.c: ... here.
73772         * sysdeps/unix/dirfd.c: Renamed to ...
73773         * sysdeps/posix/dirfd.c: ... here.
73774         * sysdeps/unix/dirstream.h: Renamed to ...
73775         * sysdeps/posix/dirstream.h: ... here.
73776         * sysdeps/unix/fdopendir.c: Renamed to ...
73777         * sysdeps/posix/fdopendir.c: ... here.
73778         * sysdeps/unix/opendir.c: Renamed to ...
73779         * sysdeps/posix/opendir.c: ... here.
73780         * sysdeps/unix/readdir.c: Renamed to ...
73781         * sysdeps/posix/readdir.c: ... here.
73782         * sysdeps/unix/readdir_r.c: Renamed to ...
73783         * sysdeps/posix/readdir_r.c: ... here.
73784         * sysdeps/unix/rewinddir.c: Renamed to ...
73785         * sysdeps/posix/rewinddir.c: ... here.
73786         * sysdeps/unix/seekdir.c: Renamed to ...
73787         * sysdeps/posix/seekdir.c: ... here.
73788         * sysdeps/unix/telldir.c: Renamed to ...
73789         * sysdeps/posix/telldir.c: ... here.
73790         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
73791         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
73792         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
73793         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
73795         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
73796         * bits/fcntl.h: ... here.
73798         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
73799         not 0.
73800         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
73801         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
73802         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
73803         (struct flock): Move l_start, l_len to the beginning.
73804         Use __pid_t for l_pid.
73805         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
73806         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
73807         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
73808         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
73809         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
73810         [__USE_LARGEFILE64] (struct flock64): New type.
73811         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
73813         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
73814         * bits/dirent.h: ... here.
73816         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
73817         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
73819 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
73821         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73822         Change from 2.6.0 to 2.6.16.
73823         * sysdeps/unix/sysv/linux/configure: Regenerated.
73824         * sysdeps/unix/sysv/linux/kernel-features.h
73825         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
73826         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
73827         version.
73828         (__ASSUME_UTIMES): Likewise.
73829         (__ASSUME_CLONE_STOPPED): Remove.
73830         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
73831         architectures, not kernel version.
73832         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
73833         (__ASSUME_NO_CLONE_DETACHED): Likewise.
73834         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
73835         (__ASSUME_WAITID_SYSCALL): Likewise.
73836         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
73837         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
73838         * README: State 2.6.16 as minimum Linux kernel version.  Do not
73839         refer to older versions.
73841 2012-08-06  Roland McGrath  <roland@hack.frob.com>
73843         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
73844         Define alphasort64 as an alias.
73845         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
73846         Define versionsort64 as an alias.
73847         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
73848         Define scandir64 as an alias.
73849         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
73850         Define scandirat64 as an alias.
73851         * dirent/alphasort64.c (alphasort64):
73852         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
73853         * dirent/versionsort64.c: Likewise.
73854         * dirent/scandir64.c: Likewise.
73855         * dirent/scandirat64.c: Likewise.
73856         * sysdeps/wordsize-64/alphasort.c: File removed.
73857         * sysdeps/wordsize-64/alphasort64.c: File removed.
73858         * sysdeps/wordsize-64/scandir.c: File removed.
73859         * sysdeps/wordsize-64/scandir64.c: File removed.
73860         * sysdeps/wordsize-64/scandirat.c: File removed.
73861         * sysdeps/wordsize-64/scandirat64.c: File removed.
73862         * sysdeps/wordsize-64/versionsort.c: File removed.
73863         * sysdeps/wordsize-64/versionsort64.c: File removed.
73864         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
73865         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
73866         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
73867         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
73868         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
73869         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
73870         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
73871         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
73873         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
73874         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
73875         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
73876         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73877         [defined __arch64__ || defined __sparcv9]
73878         (__INO_T_MATCHES_INO64_T): New macro.
73879         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73880         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
73881         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
73882         * sysdeps/unix/sysv/linux/bits/dirent.h
73883         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
73884         (_DIRENT_MATCHES_DIRENT64): New macro.
73886         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
73887         Define lockf64 as an alias.
73888         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
73889         Define fseeko64 as an alias.
73890         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
73891         Define ftello64 as an alias.
73892         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
73893         Define _IO_fgetpos64 and fgetpos64 as aliases.
73894         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
73895         Define _IO_fsetpos64 and fsetpos64 as aliases.
73896         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
73897         Conditionalize body on this.
73898         * libio/fseeko64.c: Likewise.
73899         * libio/ftello64.c: Likewise.
73900         * libio/iofgetpos64.c: Likewise.
73901         * libio/iofsetpos64.c: Likewise.
73902         * sysdeps/wordsize-64/lockf.c: File removed.
73903         * sysdeps/wordsize-64/lockf64.c: File removed.
73904         * sysdeps/wordsize-64/fseeko.c: File removed.
73905         * sysdeps/wordsize-64/fseeko64.c: File removed.
73906         * sysdeps/wordsize-64/ftello.c: File removed.
73907         * sysdeps/wordsize-64/ftello64.c: File removed.
73908         * sysdeps/wordsize-64/iofgetpos.c: File removed.
73909         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
73910         * sysdeps/wordsize-64/iofsetpos.c: File removed.
73911         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
73912         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
73913         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
73914         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
73915         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
73916         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
73917         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
73918         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
73919         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
73920         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
73921         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
73923         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
73924         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
73925         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
73926         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73927         [defined __arch64__ || defined __sparcv9]
73928         (__OFF_T_MATCHES_OFF64_T): New macro.
73929         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73930         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
73931         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73932         (__OFF_T_MATCHES_OFF64_T): New macro.
73934 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
73936         * stdlib/secure-getenv.c (__secure_getenv): Replace
73937         GLIBC_2_16 with GLIBC_2_17.
73939 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
73941         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
73942         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
73944 2012-08-03  David S. Miller  <davem@davemloft.net>
73946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73948 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
73950         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
73951         Remove.
73952         (__ASSUME_CORRECT_SI_PID): Likewise.
73953         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
73954         (__ASSUME_TMPFS_NAME): Likewise.
73955         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
73956         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
73957         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
73958         (HAVE_AUX_SECURE): Make definition unconditional.
73959         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
73960         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
73962 2012-08-03  Roland McGrath  <roland@hack.frob.com>
73964         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
73965         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
73966         * sysdeps/mach/hurd/eloop-threshold.h: New file.
73967         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
73968         __eloop_threshold instead of SYMLOOP_MAX.
73970         * sysdeps/generic/eloop-threshold.h: New file.
73971         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
73972         of MAXSYMLINKS.
73973         * elf/chroot_canon.c (chroot_canon): Likewise.
73975 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
73977         [BZ #13717]
73978         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73979         Change to 2.6.0 everywhere.
73980         * sysdeps/unix/sysv/linux/configure: Regenerated.
73981         * sysdeps/unix/sysv/linux/kernel-features.h
73982         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
73983         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
73984         kernel versions.
73985         (__ASSUME_POSIX_TIMERS): Define unconditionally.
73986         (__ASSUME_FUTEX_REQUEUE): Remove.
73987         (__ASSUME_STATFS64): Define unconditionally.
73988         (__ASSUME_AT_SECURE): Likewise.
73989         (__ASSUME_CORRECT_SI_PID): Likewise.
73990         (__ASSUME_TGKILL): Define without depending on kernel version for
73991         i386.
73992         (__ASSUME_UTIMES): Likewise.
73993         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
73994         kernel version.
73995         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
73996         (__ASSUME_TMPFS_NAME): Likewise.
73997         * README: Update reference to Linux kernel versions.
73999 2012-08-02  Marek Polacek  <polacek@redhat.com>
74001         [BZ #14150]
74002         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
74003         libc_cv_asm_type_prefix with %.
74004         * configure: Regenerated.
74005         * include/libc-symbols.h: Remove comment about
74006         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74007         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
74008         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
74009         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
74010         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
74011         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74012         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
74013         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
74014         * elf/tst-unique2mod1.c: Likewise.
74015         * elf/tst-unique1mod2.c: Likewise.
74016         * elf/tst-unique1mod1.c: Likewise.
74017         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
74018         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
74019         Replace ASM_TYPE_DIRECTIVE with .type.
74020         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74021         * sysdeps/i386/sysdep.h: Likewise.
74022         * sysdeps/x86_64/sysdep.h: Likewise.
74023         * sysdeps/sh/sysdep.h: Likewise.
74024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74025         Do not define ASM_TYPE_DIRECTIVE.
74026         * sysdeps/powerpc/sysdep.h: Likewise.
74027         * sysdeps/powerpc/powerpc32/sysdep.h:
74028         Replace ASM_TYPE_DIRECTIVE with .type.
74029         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
74030         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
74031         * sysdeps/i386/fpu/e_powf.S: Likewise.
74032         * sysdeps/i386/fpu/e_expl.S: Likewise.
74033         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74034         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74035         * sysdeps/i386/fpu/e_pow.S: Likewise.
74036         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74037         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74038         * sysdeps/i386/fpu/s_expm1.S: Likewise.
74039         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74040         * sysdeps/i386/fpu/e_log2.S: Likewise.
74041         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74042         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74043         * sysdeps/i386/fpu/e_powl.S: Likewise.
74044         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74045         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74046         * sysdeps/i386/fpu/e_logl.S: Likewise.
74047         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74048         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74049         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74050         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74051         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74052         * sysdeps/i386/fpu/e_log.S: Likewise.
74053         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74054         * sysdeps/i386/fpu/e_logf.S: Likewise.
74055         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74056         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74057         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74058         * sysdeps/i386/fpu/e_log10.S: Likewise.
74059         * sysdeps/i386/fpu/s_frexp.S: Likewise.
74060         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74061         * sysdeps/i386/fpu/s_asinh.S: Likewise.
74062         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74063         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74064         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
74065         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74066         * sysdeps/i386/i686/strtok.S: Likewise.
74067         * sysdeps/i386/i386-mcount.S: Likewise.
74068         * sysdeps/i386/strtok.S: Likewise.
74069         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
74070         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74071         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74072         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74073         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
74074         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74075         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74076         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74077         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74078         * sysdeps/x86_64/_mcount.S: Likewise.
74079         * sysdeps/x86_64/strtok.S: Likewise.
74080         * sysdeps/sh/_mcount.S: Likewise.
74082 2012-08-01  Roland McGrath  <roland@hack.frob.com>
74084         * libio/iofopen.c: Include <fcntl.h>.
74085         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
74086         (_IO_fopen64, fopen64): Define as aliases.
74087         * libio/iofopen64.c: Include <fcntl.h>.
74088         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
74089         Conditionalize body on this.
74090         * sysdeps/wordsize-64/iofopen.c: File removed.
74091         * sysdeps/wordsize-64/iofopen64.c: File removed.
74093 2012-08-01  Marek Polacek  <polacek@redhat.com>
74095         * libc/Makeconfig: Use elf in place of binfmt-subdir.
74096         Use dlfcn directly instead of a variable.
74097         (binfmt-subdir): Do not define.
74098         (dlfcn): Likewise.
74100 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
74102         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
74103         Remove all definitions.
74104         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
74105         <kernel-features.h>.
74106         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
74107         (miss_F_GETOWN_EX): Remove all definitions.
74108         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
74109         macro definition.
74110         [!__ASSUME_FCNTL64]: Remove conditional code.
74111         [__ASSUME_FCNTL64]: Make code unconditional.
74112         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
74113         <kernel-features.h>.
74114         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
74115         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
74116         (lockf64) [__NR_fcntl64]: Make code unconditional.
74117         (lockf64) [__ASSUME_FCNTL64]: Likewise.
74119         * sysdeps/unix/sysv/linux/kernel-features.h
74120         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
74121         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
74122         Make code unconditional.
74123         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74124         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
74126         [__NR_vfork]: Make code unconditional.
74127         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74128         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
74130         [__NR_vfork]: Make code unconditional.
74131         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74132         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74134 2012-08-01  Roland McGrath  <roland@hack.frob.com>
74136         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
74137         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
74139         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74140         Define mkstemp64 as an alias.
74141         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74142         Define mkstemps64 as an alias.
74143         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74144         Define mkostemp64 as an alias.
74145         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74146         Define mkostemps64 as an alias.
74147         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
74148         Conditionalize body on this.
74149         * misc/mkostemp64.c: Likewise.
74150         * misc/mkostemps64.c: Likewise.
74151         * misc/mkstemps64.c: Likewise.
74152         * sysdeps/wordsize-64/mkstemp64.c: File removed.
74153         * sysdeps/wordsize-64/mkostemp64.c: File removed.
74154         * sysdeps/wordsize-64/mkostemp.c: File removed.
74155         * sysdeps/wordsize-64/mkstemp.c: File removed.
74156         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
74157         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
74158         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
74159         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
74161         [BZ #14138]
74162         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
74163         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
74164         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
74165         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
74167         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
74168         compat_symbol macros from <shlib-compat.h> rather than the underlying
74169         default_symbol_version and symbol_version macros, so that DEFAULT
74170         lines in shlib-versions are respected.
74171         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
74173 2012-08-01  Florian Weimer  <fweimer@redhat.com>
74175         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
74176         Declare with warn_unused_result.
74177         (setgid, setregid, setegid, setresgid): Likewise.
74178         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
74179         Likewise.
74180         * WUR-REPORT: Remove set*id functions.
74182 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
74184         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
74186 2012-07-31  Roland McGrath  <roland@hack.frob.com>
74188         [BZ #10191]
74189         * include/sys/socket.h (__libc_accept, __libc_accept4):
74190         Add attribute_hidden.
74191         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
74193         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
74194         use of PTR_MANGLE.
74195         * inet/getnetgrent_r.c (setup): Likewise.
74197         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
74199 2012-07-31  David S. Miller  <davem@davemloft.net>
74201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74203 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
74205         [BZ #13629]
74206         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
74207         value between 1.0 and 2.0 and smaller part has absolute value less
74208         than 1.0.
74209         * math/s_clog10.c (__clog10): Likewise.
74210         * math/s_clog10f.c (__clog10f): Likewise.
74211         * math/s_clog10l.c (__clog10l): Likewise.
74212         * math/s_clogf.c (__clogf): Likewise.
74213         * math/s_clogl.c (__clogl): Likewise.
74214         * math/libm-test.inc (clog_test): Add more tests.
74215         (clog10_test): Likewise.
74216         * sysdeps/i386/fpu/libm-test-ulps: Update.
74217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74219 2012-07-31  Florian Weimer  <fweimer@redhat.com>
74221         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
74222         Exit with zero in case no suitable GID is found, and write a
74223         message to standard error.
74225 2012-07-30  Roland McGrath  <roland@hack.frob.com>
74227         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
74228         rather than to 1.
74229         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
74230         (MAXPATHLEN): Removed.
74231         (NOGROUP, NODEV): New macros.
74232         (setbit, clrbit, isset, isclr): New macros.
74233         (howmany, roundup, powerof2): New macros.
74234         (DEV_BSIZE): New macro.
74236         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
74237         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
74239         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
74240         definition on [!__NO_LONG_DOUBLE_MATH].
74242         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
74243         PTR_MANGLE and PTR_DEMANGLE.
74245         * socket/accept4.c (accept4): Rename to __libc_accept4.
74246         Define accept4 as a weak alias.
74248         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
74249         on [_DIRENT_HAVE_D_TYPE].
74250         * io/ftw.c (ftw_dir): Likewise.
74252         * io/xmknod.c (__xmknod): Don't check PATH for being null.
74254         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
74256         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
74257         Use the BSD numbers rather than the arbitrary ones we had.
74258         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
74259         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
74260         (SIGXCPU, SIGXFSZ): New macros.
74261         (_NSIG): Now 32.
74263         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
74264         initializer on [_LIBC_REENTRANT].
74266         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
74267         definitions inside [_POSIX_MAPPED_FILES].
74269         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
74271         * dirent/opendir.c: Include <fcntl.h>.
74273         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
74274         (__libc_getspecific): Likewise.
74275         (__libc_key_create): Likewise.
74277         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
74278         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
74279         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
74280         (tmpfile64): Define as alias.
74281         * sysdeps/wordsize-64/tmpfile.c: File removed.
74282         * sysdeps/wordsize-64/tmpfile64.c: File removed.
74283         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
74284         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
74286         * stdio-common/vfscanf.c: Include <stdbool.h>.
74287         * nss/makedb.c: Likewise.
74288         * stdio-common/_i18n_number.h: Likewise.
74289         * argp/argp-help.c: Likewise.
74290         * posix/wordexp.c: Likewise.
74291         * sysdeps/posix/spawni.c: Likewise.
74292         * nss/nss_files/files-initgroups.c: Likewise.
74293         * stdio-common/reg-modifier.c: Include <stdlib.h>.
74294         * nss/nss_files/files-initgroups.c: Likewise.
74295         * nss/nss_db/db-netgrp.c: Likewise.
74296         * nss/nss_db/db-initgroups.c: Likewise.
74297         * io/fchmodat.c: Include <sys/stat.h>.
74299         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
74300         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
74302         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
74303         [HAVE_MMAP].
74305         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
74306         Add multiple inclusion protection.
74308 2012-07-27  David S. Miller  <davem@davemloft.net>
74310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74312 2012-07-27  Gary Benson  <gbenson@redhat.com>
74314         [BZ #14298]
74315         * elf/rtld.c: Include <stap-probe.h>.
74316         (dl_main): Added static probes "init_start" and "init_complete".
74317         * elf/dl-load.c: Include <stap-probe.h>.
74318         (lose): Take new parameter "nsid".
74319         Added static probe "map_failed".
74320         (_dl_map_object_from_fd): Pass namespace id to lose.
74321         Added static probe "map_start".
74322         (open_verify): Pass namespace id to lose.
74323         * elf/dl-open.c: Include <stap-probe.h>.
74324         (dl_open_worker) Added static probes "map_complete", "reloc_start"
74325         and "reloc_complete".
74326         * elf/dl-close.c: Include <stap-probe.h>.
74327         (_dl_close_worker): Added static probes "unmap_start" and
74328         "unmap_complete".
74329         * elf/rtld-debugger-interface.txt: New file documenting the above.
74331 2012-07-26  Roland McGrath  <roland@hack.frob.com>
74333         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
74334         rather than a string variable.
74335         * sunrpc/rpc_main.c (h_output): Likewise.
74336         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
74338 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
74340         * inet/check_native.c: New file.
74342 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
74344         [BZ #13629]
74345         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
74346         if larger part has absolute value 1.0.
74347         * math/s_clog10.c (__clog10): Likewise.
74348         * math/s_clog10f.c (__clog10f): Likewise.
74349         * math/s_clog10l.c (__clog10l): Likewise.
74350         * math/s_clogf.c (__clogf): Likewise.
74351         * math/s_clogl.c (__clogl): Likewise.
74352         * math/libm-test.inc (clog_test): Add more tests.
74353         (clog10_test): Likewise.
74354         * sysdeps/i386/fpu/libm-test-ulps: Update.
74355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74357         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
74358         (pltexit): Likewise.
74359         (La_regs): Likewise.
74360         (La_retval): Likewise.
74361         (int_retval): Likewise.
74362         Update #error for removed macros to refer only to definitions in
74363         tst-audit.h.
74364         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
74365         macro.
74366         (pltexit): Likewise.
74367         (La_regs): Likewise.
74368         (La_retval): Likewise.
74369         (int_retval): Likewise.
74370         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
74371         macro.
74372         (pltexit): Likewise.
74373         (La_regs): Likewise.
74374         (La_retval): Likewise.
74375         (int_retval): Likewise.
74376         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
74377         macro.
74378         (pltexit): Likewise.
74379         (La_regs): Likewise.
74380         (La_retval): Likewise.
74381         (int_retval): Likewise.
74382         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
74383         macro.
74384         (pltexit): Likewise.
74385         (La_regs): Likewise.
74386         (La_retval): Likewise.
74387         (int_retval): Likewise.
74388         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
74389         macro.
74390         (pltexit): Likewise.
74391         (La_regs): Likewise.
74392         (La_retval): Likewise.
74393         (int_retval): Likewise.
74394         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
74395         macro.
74396         (pltexit): Likewise.
74397         (La_regs): Likewise.
74398         (La_retval): Likewise.
74399         (int_retval): Likewise.
74400         * sysdeps/generic/tst-audit.h: Update comment to refer only to
74401         macro definitions in tst-audit.h.
74402         * sysdeps/i386/tst-audit.h: New file.
74403         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
74404         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
74405         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
74406         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
74407         * sysdeps/sh/tst-audit.h: Likewise.
74408         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
74409         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
74410         * sysdeps/x86_64/tst-audit.h: Likewise.
74412 2012-07-26  Andreas Jaeger  <aj@suse.de>
74414         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
74415         ptrace.
74417         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
74418         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
74419         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
74420         PTRACE_O_MASK.
74421         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
74422         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
74423         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
74425         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
74426         value.
74428         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
74429         _sigsys.
74430         (si_call_addr, si_syscall, si_arch): Define new macro.
74431         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
74432         _sigsys.
74433         (si_call_addr, si_syscall, si_arch): Define new marcro.
74434         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
74435         _sigsys.
74436         (si_call_addr, si_syscall, si_arch): Define new macro.
74437         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
74438         _sigsys.
74439         (si_call_addr, si_syscall, si_arch): Define new macro.
74441 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
74443         [BZ #13717]
74444         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74445         Change to 2.4.21 where previously 2.4.1.
74446         * sysdeps/unix/sysv/linux/configure: Regenerated.
74447         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
74448         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
74449         Linux kernel version.
74450         (__ASSUME_STD_AUXV): Remove.
74451         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
74452         kernel version.
74453         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
74454         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
74455         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
74456         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
74457         (__ASSUME_NETLINK_SUPPORT): Likewise.
74458         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
74459         (__no_netlink_support): Remove conditional definition.
74460         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
74461         Remove.
74462         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
74463         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
74464         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
74465         (if_nameindex_ioctl): Remove.
74466         (if_nameindex_netlink): Do not handle __no_netlink_support.
74467         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
74468         code.
74469         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
74470         Remove conditional code.
74471         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
74472         code.
74473         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
74474         unconditional.
74475         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
74476         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
74477         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
74478         Remove.
74479         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
74480         [!__ASSUME_STD_AUXV]: Remove conditional code.
74481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
74482         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
74483         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
74484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
74485         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
74486         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
74487         code.
74488         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
74489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
74490         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
74491         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
74492         conditional code.
74493         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
74494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
74495         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
74496         code.
74497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
74498         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
74499         conditional code.
74500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
74501         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74502         code unconditional.
74503         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74504         conditional code.
74505         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74506         unconditional.
74507         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74508         conditional code.
74509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74510         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74511         unconditional.
74512         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74513         conditional code.
74514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
74515         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74516         code unconditional.
74517         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74518         conditional code.
74519         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74520         unconditional.
74521         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74522         conditional code.
74523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
74524         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74525         code unconditional.
74526         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74527         conditional code.
74528         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74529         unconditional.
74530         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74531         conditional code.
74533 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
74535         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
74536         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
74537         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
74538         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
74539         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
74540         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
74541         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
74542         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
74543         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
74544         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
74545         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
74546         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
74547         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
74548         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
74549         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
74550         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
74551         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
74552         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
74553         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
74554         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
74555         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
74556         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
74557         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74559 2012-07-25  Florian Weimer  <fweimer@redhat.com>
74561         * Versions.def: Add GLIBC_2.17.
74562         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
74563         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
74564         Introduce __libc_secure_getenv.
74565         * stdlib/Versions (2.17): Add secure_getenv
74566         (GLIBC_PRIVATE): Add __libc_secure_getenv.
74567         * stdlib/secure-getenv.c: Rename __secure_getenv to
74568         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
74569         symbol __secure_getenv for GLIBC_2.0.
74570         * stdlib/tst-secure-getenv.c: New.
74571         * stdlib/Makefile (tests): Add testcase.
74572         * manual/startup.texi (Environment Access): Document
74573         secure_getenv.
74574         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
74575         __libc_secure_getenv.
74576         * inet/ruserpass.c (ruserpass): Likewise.
74577         * malloc/mtrace.c (mtrace): Likewise.
74578         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
74579         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
74580         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
74581         * sysdeps/posix/tempname.c: Likewise.  Evaluate
74582         HAVE_SECURE_GETENV.
74583         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
74584         __secure_getenv to __libc_secure_getenv.
74585         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
74586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74587         Likewise.
74588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74589         Likewise.
74590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74592         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
74594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74598 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
74600         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
74601         (struct La_i86_retval): Likewise.
74602         (struct La_x86_64_regs): Likewise.
74603         (struct La_x86_64_retval): Likewise.
74604         (struct La_x32_regs): Likewise.
74605         (struct La_x32_retval): Likewise.
74606         (struct La_ppc32_regs): Likewise.
74607         (struct La_ppc32_retval): Likewise.
74608         (struct La_ppc64_regs): Likewise.
74609         (struct La_ppc64_retval): Likewise.
74610         (struct La_sh_regs): Likewise.
74611         (struct La_sh_retval): Likewise.
74612         (struct La_s390_32_regs): Likewise.
74613         (struct La_s390_32_retval): Likewise.
74614         (struct La_s390_64_regs): Likewise.
74615         (struct La_s390_64_retval): Likewise.
74616         (struct La_sparc32_regs): Likewise.
74617         (struct La_sparc32_retval): Likewise.
74618         (struct La_sparc64_regs): Likewise.
74619         (struct La_sparc64_retval): Likewise.
74620         (struct audit_ifaces): Remove architecture-specific pltenter and
74621         pltexit members.
74622         * sysdeps/i386/ldsodefs.h: New file.
74623         * sysdeps/powerpc/ldsodefs.h: Likewise.
74624         * sysdeps/s390/ldsodefs.h: Likewise.
74625         * sysdeps/sh/ldsodefs.h: Likewise.
74626         * sysdeps/sparc/ldsodefs.h: Likewise.
74627         * sysdeps/x86_64/ldsodefs.h: Likewise.
74629 2012-07-25  Marek Polacek  <polacek@redhat.com>
74631         [BZ #6808]
74632         * math/libm-test.inc (yn_test): Add another test.
74633         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
74634         to ERANGE when the result is +-Inf.
74635         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
74636         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
74637         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
74638         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
74640 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
74642         * conform/data/time.h-data (NULL): Use macro-constant.  Require
74643         equal to 0.
74644         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
74645         clock_t.
74646         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
74648 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
74650         * configure.in <sysdeps resolving>: Correct printing
74651         Implies_before.
74652         * configure: Regenerate.
74654 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
74656         * math/w_ilogb.c: Include <limits.h>.
74657         * math/w_ilogbl.c: Likewise.
74659 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
74661         * manual/lang.texi (__va_copy): Document primarily as ISO C99
74662         va_copy.  Document allowing for unavailable va_copy only as
74663         pre-C99 compatibility.
74664         * manual/string.texi (Copying and Concatenation): Use va_copy
74665         instead of __va_copy in concat example.
74667 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
74669         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
74670         (__sendto): Use create_address_port.  Initialize APORT and deallocate
74671         it if not null.
74673         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
74674         with O_NOLINK passed to __file_name_lookup.
74676         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
74677         with O_NOLINK passed to __file_name_lookup.
74679         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
74680         negative N or less than NGIDS.
74682         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
74683         type to string_t.  Set ERANGE as errno and return it if NAME is not big
74684         enough.  Use memcpy instead of strncpy.
74686 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
74688         * elf/Makefile (check-data): Remove.
74689         (localplt.data): New vpath directive.
74690         ($(objpfx)check-localplt.out): Use localplt.data from vpath
74691         instead of $(check-data).
74692         * scripts/data/localplt-generic.data: Move to ...
74693         * sysdeps/generic/localplt.data: ... here.
74694         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
74695         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
74696         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
74697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
74698         ... here.
74699         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
74700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
74701         ... here.
74702         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
74703         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
74704         ... here.
74705         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
74706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
74707         ... here.
74708         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
74709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
74710         ... here.
74711         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
74712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
74713         ... here.
74715 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74717         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
74718         PPC32 and PPC64 files.
74719         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
74720         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
74722 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74724         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
74725         __makecontext_ret to ...
74726         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
74727         ... here and call exit if uc_link is NULL.  New file.
74728         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
74729         __makecontext_ret.S.
74730         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
74731         __makecontext_ret to ...
74732         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
74733         ... here and call exit if uc_link is NULL.  New file.
74734         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
74735         __makecontext_ret.S.
74737 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74739         * elf/elf.h (R_390_IRELATIVE): New definition.
74740         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
74741         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
74742         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
74743         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
74744         (elf_machine_lazy_rel): Likewise.
74745         * sysdeps/s390/dl-irel.h: New file.
74746         * sysdeps/s390/s390-64/memcpy.S: New asm code.
74747         * sysdeps/s390/s390-64/memset.S: New asm code.
74748         * sysdeps/s390/s390-64/memcmp.S: New asm code.
74749         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
74750         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
74751         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
74752         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
74753         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
74754         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
74755         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
74756         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
74757         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
74758         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
74759         * sysdeps/s390/s390-32/memcpy.S: New asm code.
74760         * sysdeps/s390/s390-32/memset.S: New asm code.
74761         * sysdeps/s390/s390-32/memcmp.S: New asm code.
74763 2012-07-17  Marek Polacek  <polacek@redhat.com>
74765         [BZ #14349]
74766         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
74767         * sysdeps/s390/s390-64/configure.in: Likewise.
74768         * sysdeps/sparc/configure.in: Likewise.
74769         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
74770         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
74771         * sysdeps/i386/configure.in: Likewise.
74772         * sysdeps/x86_64/configure.in: Likewise.
74773         * sysdeps/sh/configure.in: Likewise.
74774         * sysdeps/s390/s390-32/configure: Regenerated.
74775         * sysdeps/s390/s390-64/configure: Likewise.
74776         * sysdeps/x86_64/configure: Likewise.
74777         * sysdeps/sh/configure: Likewise.
74778         * sysdeps/powerpc/powerpc64/configure: Likewise.
74779         * sysdeps/powerpc/powerpc32/configure: Likewise.
74780         * sysdeps/sparc/configure: Likewise.
74781         * sysdeps/i386/configure: Likewise.
74783         * elf/dl-open.c: Comment fixes.
74785 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
74787         * Makefile [CXX] (check-data): Remove.
74788         [CXX] (c++-types.data): New vpath directive.
74789         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
74790         vpath.  Do not allow for C++ type data being missing.
74791         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
74792         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
74793         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
74794         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
74795         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
74796         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
74797         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
74798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
74799         ... here.
74800         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
74801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
74802         ... here.
74803         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
74804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
74805         ... here.
74806         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
74807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
74808         ... here.
74809         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
74810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
74811         ... here.
74812         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
74813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
74814         ... here.
74815         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
74816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
74817         ... here.
74818         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
74819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
74821         * elf/tls-macros.h (TLS_LE): Move architecture-specific
74822         definitions to architecture-specific files.
74823         (TLS_IE): Likewise.
74824         (TLS_LD): Likewise.
74825         (TLS_GD): Likewise.
74826         * sysdeps/i386/tls-macros.h: New file.
74827         * sysdeps/powerpc/tls-macros.h: Likewise.
74828         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
74829         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
74830         * sysdeps/sh/tls-macros.h: Likewise.
74831         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
74832         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
74833         * sysdeps/x86_64/tls-macros.h: Likewise.
74835 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
74837         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
74838         zero value for regular exit case.
74840         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
74841         (__start_context): Preserve zero value for regular exit case.
74843 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
74844             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74846         * manual/setjmp.texi (setcontext): Clarify normal process
74847         termination when uc_link is the null pointer.
74848         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
74849         exit call.
74851 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
74853         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
74854         preprocessor.  Test for each exception mask separately.
74856 2012-07-16  Andreas Jaeger  <aj@suse.de>
74858         * po/ru.po: Update from translation team.
74860 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
74862         * conform/data/string.h-data (NULL): Use macro-constant.  Require
74863         equal to 0.
74864         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74865         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74866         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
74867         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
74868         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74870 2012-07-13  Andreas Jaeger  <aj@suse.de>
74872         * po/fr.po: Update from translation team.
74874 2012-07-12  Marek Polacek  <polacek@redhat.com>
74876         [BZ #14173]
74877         * math/libm-test.inc (yn_test): Add test for BZ #14173.
74878         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
74879         loop condition.
74881 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
74883         [BZ #13717]
74884         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74885         Change to 2.4.1 where previously 2.4.0.
74886         * sysdeps/unix/sysv/linux/configure: Regenerated.
74887         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
74888         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
74889         version.
74890         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
74891         (__ASSUME_AT_CLKTCK): Remove.
74892         (__ASSUME_AT_PAGESIZE): Likewise.
74893         (__ASSUME_AT_XID): Likewise.
74894         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
74895         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
74896         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
74897         unconditionally.
74898         (HAVE_AUX_PAGESIZE): Likewise.
74899         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
74900         [__ASSUME_AT_CLKTCK]: Make code unconditional.
74901         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
74903 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
74905         [BZ #14307]
74906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
74907         the temporary buffer used to invoke __gethostbyname2_r,
74908         __gethostbyaddr_r and gethostbyname4_r to make room for struct
74909         host_data / struct gaih_addrtuple.
74910         * resolv/nss_dns/dns-host.c (global scope): Move definition of
74911         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
74912         header file nss/nsswitch.h.
74913         * nss/nsswitch.h (global scope): Add definition of implementation
74914         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
74915         resolv/nss_dns/dns-host.c).
74917 2012-07-11  Andreas Jaeger  <aj@suse.de>
74919         * po/fr.po: Update from translation team.
74921         * po/sv.po: Update from translation team
74922         * po/fr.po: Another update from translation team.
74924 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74926         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
74927         for subnormals or multiply small sinh result by itself.
74928         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74931 2012-07-11  David S. Miller  <davem@davemloft.net>
74933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74935 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
74937         [BZ #14347]
74938         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
74939         (INTERNAL_MARK): Shift it here.
74941 2012-07-10  Marek Polacek  <polacek@redhat.com>
74943         [BZ #14151]
74944         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
74945         libc_cv_asm_global_directive with .globl.
74946         * configure: Regenerated.
74947         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
74948         with .globl.
74949         * sysdeps/i386/configure: Regenerated.
74950         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
74951         with .globl.
74952         * sysdeps/x86_64/configure: Regenerated.
74953         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
74954         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
74955         * elf/tst-unique2mod2.c: Likewise.
74956         * elf/tst-unique2mod1.c: Likewise.
74957         * elf/tst-unique1mod2.c: Likewise.
74958         * elf/tst-unique1mod1.c: Likewise.
74959         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74960         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
74961         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74962         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
74963         * sysdeps/mach/sysdep.h: Likewise.
74964         * sysdeps/i386/sysdep.h: Likewise.
74965         * sysdeps/i386/i386-mcount.S: Likewise.
74966         * sysdeps/x86_64/_mcount.S: Likewise.
74967         * sysdeps/x86_64/sysdep.h: Likewise.
74968         * sysdeps/sh/_mcount.S: Likewise.
74969         * sysdeps/sh/sysdep.h: Likewise.
74970         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
74971         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
74972         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
74973         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74974         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
74975         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
74976         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
74977         * locale/localeinfo.h: Likewise.
74978         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
74979         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
74981 2012-07-09  Roland McGrath  <roland@hack.frob.com>
74983         [BZ #14336]
74984         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
74985         system".
74986         * manual/message.texi (The Uniforum approach): Likewise.
74987         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
74988         (glibc iconv Implementation): Likewise.
74990 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
74992         [BZ #14337]
74993         * math/s_clog.c (__clog): Avoid scaling a value down where that
74994         could result in underflow.
74995         * math/s_clog10.c (__clog10): Likewise.
74996         * math/s_clog10f.c (__clog10f): Likewise.
74997         * math/s_clog10l.c (__clog10l): Likewise.
74998         * math/s_clogf.c (__clogf): Likewise.
74999         * math/s_clogl.c (__clogl): Likewise.
75000         * math/libm-test.inc (clog_test): Add more tests.
75001         (clog10_test): Likewise.
75002         * sysdeps/i386/fpu/libm-test-ulps: Update.
75003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75005 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
75007         [BZ #14283]
75008         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
75009         by 7 not 8 to examine high bit of fractional part.
75011         [BZ #14042]
75012         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
75013         for call to __mcount_internal.
75014         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
75015         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
75016         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
75018 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
75020         [BZ #14154]
75021         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
75022         approximation for values within 0x1p-13f of an odd multiple of
75023         pi/4.
75024         * math/libm-test.inc (tan_test): Do not allow spurious underflow
75025         exception.  Add more tests.
75026         * sysdeps/i386/fpu/libm-test-ulps: Update.
75028         [BZ #6778]
75029         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
75030         inputs and return -1 for them.  Do not check for +Inf in case not
75031         reachable for +Inf.
75032         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
75033         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
75034         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75035         and return -1 for them.  Do not check for +Inf in case not
75036         reachable for +Inf.
75037         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
75038         define.
75039         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75040         and return -1 for them.  Do not check for +Inf in case not
75041         reachable for +Inf.
75042         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
75043         spurious underflow.
75044         * sysdeps/i386/fpu/libm-test-ulps: Update.
75045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75047 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
75049         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
75051 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
75053         [BZ #14157]
75054         [BZ #14331]
75055         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
75056         could result in spurious underflow.  Scale down values above
75057         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
75058         * math/s_csqrtf.c (__csqrtf): Likewise.
75059         * math/s_csqrtl.c (__csqrtl): Likewise.
75060         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
75061         spurious underflow.
75062         * sysdeps/i386/fpu/libm-test-ulps: Update.
75063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75065 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
75067         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
75068         xopen-msg.sed.
75069         * catgets/xopen-msg.awk: New file.
75070         * catgets/xopen-msg.sed: Removed.
75072         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
75073         po2text.sed.
75074         * intl/po2test.awk: New file.
75075         * intl/po2test.sed: Removed.
75077 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
75079         [BZ #14328]
75080         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
75081         or multiply small sinh result by itself.
75082         * math/s_ctanf.c (__ctanf): Likewise.
75083         * math/s_ctanh.c (__ctanh): Likewise.
75084         * math/s_ctanhf.c (__ctanhf): Likewise.
75085         * math/s_ctanhl.c (__ctanhl): Likewise.
75086         * math/s_ctanl.c (__ctanl): Likewise.
75087         * math/libm-test.inc (ctan_test_tonearest): New function.
75088         (ctan_test_towardzero): Likewise.
75089         (ctan_test_downward): Likewise.
75090         (ctan_test_upward): Likewise.
75091         (ctanh_test_tonearest): Likewise.
75092         (ctanh_test_towardzero): Likewise.
75093         (ctanh_test_downward): Likewise.
75094         (ctanh_test_upward): Likewise.
75095         (main): Call these new functions.
75096         * sysdeps/i386/fpu/libm-test-ulps: Update.
75097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75099 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
75101         * .gitignore: Delete /ports entry.
75103 2012-07-03  Andreas Jaeger  <aj@suse.de>
75105         * po/bg.po: Update from translation team.
75106         * po/cs.po: Likewise.
75107         * po/de.po: Likewise.
75108         * po/hr.po: Likewise.
75109         * po/nl.pl: Likewise.
75110         * po/pl.po: Likewise.
75111         * po/vi.po: Likewise.
75113 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
75115         * Makeconfig [!+link] (+link-before-libc): New variable.
75116         [!+link] (+link-after-libc): Likewise.
75117         [!+link] (+link-tests): Likewise.
75118         [!+link] (+link): Define in terms of $(+link-before-libc) and
75119         $(+link-after-libc).
75120         [!+link-static] (+link-static-before-libc): New variable.
75121         [!+link-static] (+link-static-after-libc): Likewise.
75122         [!+link-static] (+link-static-tests): Likewise.
75123         [!+link-static] (+link-static): Define in terms of
75124         $(+link-static-before-libc) and $(+link-static-after-libc).
75125         [build-shared] (link-libc-before-gnulib): New variable.
75126         [build-shared] (link-libc-tests): Likewise.
75127         [build-shared] (link-libc): Define in terms of
75128         $(link-libc-before-gnulib).
75129         [!build-shared] (link-libc-tests): New variable.
75130         (link-libc-static-tests): New variable.
75131         [!gnulib] (gnulib-arch): New variable.
75132         [!gnulib] (gnulib-tests): Likewise.
75133         [!gnulib] (static-gnulib-arch): Likewise.
75134         [!gnulib] (static-gnulib-tests): Likewise.
75135         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
75136         Define with "=" instead of ":=".
75137         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
75138         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
75139         * Rules (binaries-all-notests): New variable.
75140         (binaries-all-tests): Likewise.
75141         (binaries-static-notests): Likewise.
75142         (binaries-static-tests): Likewise.
75143         (binaries-all): Define using $(binaries-all-notests) and
75144         $(binaries-all-tests).
75145         (binaries-static): Define using $(binaries-static-notests) and
75146         $(binaries-static-tests).
75147         (binaries-shared-tests): New variable.
75148         (binaries-shared-notests): Likewise.
75149         (binaries-shared): Remove variable.
75150         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
75151         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
75152         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
75153         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
75154         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
75155         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
75156         * elf/Makefile (sln-modules): New variable.
75157         (extra-objs): Add $(sln-modules:=.o).
75158         (ldconfig-modules): Add static-stubs.
75159         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
75160         * elf/static-stubs.c: New file.
75162         [BZ #14283]
75163         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
75164         by 7 not 8 to examine high bit of fractional part.  Use volatile
75165         variables when splitting into final array of floats if
75166         __FLT_EVAL_METHOD__ != 0.
75167         * math/libm-test.inc (cos_test): Add another test.
75168         (sin_test): Likewise.
75169         * sysdeps/i386/fpu/libm-test-ulps: Update.
75171         [BZ #14273]
75172         * math/libm-test.inc (cosh_test): Add more tests.
75174         * version.h (RELEASE): Set to "development".
75175         (VERSION): Set to "2.16.90".
75177 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
75179         * NEWS: Update copyright. Remove last-updated date.
75180         Mention math library bug fixes and timezone data changes.
75181         * README: Mention GNU/Hurd, x32, and HPPA support status.
75183 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
75185         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
75187 2012-06-27  Andreas Jaeger  <aj@suse.de>
75189         * manual/contrib.texi (Contributors): Add Samuel Thibault.
75191 2012-06-25  Andreas Jaeger  <aj@suse.de>
75193         * sysdeps/s390/fpu/libm-test-ulps: Update.
75195 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
75196             Thomas Schwinge  <thomas@codesourcery.com>
75198         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
75199         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
75200         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
75201         fanotify_mark.
75203 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
75205         * sysdeps/mach/start.c: Remove file.
75206         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
75207         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
75208         * sysdeps/sh/init-first.c: Likewise.
75210         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
75211         registers for frame unwinding purposes, add CFI directives.
75212         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
75213         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
75214         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
75215         Likewise.
75217         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
75218         __fortify_fail returning.
75219         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
75221         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
75222         sysdeps/sh/____longjmp_chk.S.
75223         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
75224         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
75225         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
75226         (gen-as-const-headers): Append sigaltstack-offsets.sym.
75228         * sysdeps/sh/abort-instr.h: New file.
75229         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
75230         process in case exit returns.
75232         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
75233         initialize the GOT register before use.
75235         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
75236         calculation of ARGC > 4.
75238         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
75239         meaningful names to some local labels.
75241 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75242             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75244         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
75245         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
75246         (__arch_compare_and_exchange_val_16_acq): Likewise.
75247         (__arch_compare_and_exchange_val_32_acq): Likewise.
75248         (atomic_exchange_and_add): Fix gUSA sequence.
75249         (atomic_add): Likewise.
75250         (atomic_add_negative): Likewise.
75251         (atomic_add_zero): Likewise.
75252         (atomic_bit_test_set): Likewise.
75254 2012-06-22  Andreas Schwab  <schwab@redhat.com>
75256         [BZ #13579]
75257         * include/link.h (struct link_map): Add l_free_initfini.
75258         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
75259         l_initfini.
75260         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
75261         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
75262         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
75263         set.
75265 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
75267         * configure.in: Use AC_LANG_SOURCE.
75268         * configure: Regenerate.
75270 2012-06-22  Roland McGrath  <roland@hack.frob.com>
75272         * configure.in (libc_cv_localstatedir): New substituted variable.
75273         * configure: Regenerated.
75274         * config.make.in (localstatedir): New variable, substituted from
75275         libc_cv_localstatedir.
75276         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
75277         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
75278         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
75279         * sysdeps/gnu/configure: Regenerated.
75281 2012-06-21  Jeff Law  <law@redhat.com>
75283         [BZ #14277]
75284         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
75285         free.  Simplify list management for _LIBC case.
75287 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
75289         [BZ #14273]
75290         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
75291         Clear sign bit of 64-bit integer value before comparing against
75292         overflow value.
75294         * sysdeps/mach/configure: Regenerated.
75296 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
75298         [BZ #14278]
75299         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
75301 2012-06-21  Jeff Law  <law@redhat.com>
75303         [BZ #13882]
75304         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
75305         uint16_t for elements in the "seen" array to avoid char overflows.
75306         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75307         * elf/dl-open.c (dl_open_worker): Likewise.
75309 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
75311         * scripts/list-sources.sh: Scan PORTS for translations.
75312         * po/libc.pot: Regenerated.
75314 2012-06-21  Andreas Jaeger  <aj@suse.de>
75316         [BZ #12194]
75317         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
75318         warning.
75319         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
75320         * bits/byteswap-16.h (__bswap_16): Likewise.
75321         * bits/byteswap.h (__bswap_constant_16): Likewise.
75323 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
75325         [BZ #14117]
75326         * sysdeps/i386/fpu_control.h: Removed.
75327         * sysdeps/x86_64/fpu_control.h: Moved to ...
75328         * sysdeps/x86/fpu_control.h: Here.
75330         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
75331         (_FPU_SETCW): Likewise.
75333 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
75335         [BZ #14117]
75336         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
75337         * sysdeps/x86/fpu/bits/mathinline.h: This.
75338         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
75340         [BZ #14050]
75341         [BZ #14117]
75342         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
75343         functions if __x86_64__ is defined.
75345 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
75347         * string/endian.h: Add !__ASSEMBLER__ condition for including
75348         conversion interfaces.
75350 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
75352         [BZ #14241]
75353         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
75354         of ABS(x) in calculating zero to negative powers other than odd
75355         integers.
75356         * math/libm-test.inc (pow_test): Add more tests.
75358 2012-06-15  Andreas Jaeger  <aj@suse.de>
75360         * manual/contrib.texi (Contributors): Update entry of Liubov
75361         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
75362         Machado Filho.
75364 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
75366         * string/string.h: Add __wur to GNU version of strerror_r.
75368 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
75370         [BZ #14229]
75371         * string/Makefile (tests): Add tst-strtok_r.
75372         * string/tst-strtok_r.c: New file.
75373         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
75374         RAX_LP/RDX_LP on SAVE_PTR.
75376 2012-06-14  Roland McGrath  <roland@hack.frob.com>
75378         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
75380 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
75382         * libm_test.inc (csqrt_test): Allow more spurious underflow
75383         exceptions.
75384         (j0_test): Likewise.
75385         (j1_test): Likewise.
75386         (y0_test): Likewise.
75387         (y1_test): Likewise.
75389 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
75391         * po/Makefile (libc.pot): Use UTF-8 charset.
75393 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
75395         [BZ #14210]
75396         Suppress sign-conversion warning from FD_SET.
75397         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
75398         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
75399         not unsigned long int.
75400         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
75402 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
75404         [BZ #14050]
75405         [BZ #14117]
75406         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
75407         __extern_always_inline instead of __extern_inline.
75408         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
75409         (__signbit): Likewise.
75410         (__signbitl): Support C++ namespace.
75411         (lrintf): New inline function.
75412         (lrint): Likewise.
75413         (llrintf): Likewise.
75414         (llrint): Likewise.
75415         (fmaxf): Likewise.
75416         (fmax): Likewise.
75417         (fminf): Likewise.
75418         (fmin): Likewise.
75419         (rint): Likewise.
75420         (rintf): Likewise.
75421         (ceil): Likewise.
75422         (ceilf): Likewise.
75423         (floor): Likewise.
75424         (floorf): Likewise.
75425         (nearbyint): Likewise.
75426         (nearbyintf): Likewise.
75428 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
75430         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
75431         non-default versions.
75433 2012-06-11  Roland McGrath  <roland@hack.frob.com>
75435         [BZ #14218]
75436         * manual/argp.texi (Argp): Reword argp_parse description slightly.
75438 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
75440         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
75441         (FE_UPWARD, FE_DOWNWARD): Don't define.
75442         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
75443         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
75445         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
75446         reading it.
75447         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
75448         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75450 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75452         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75453         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
75454         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
75455         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
75457 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
75459         [BZ #14117]
75460         * sysdeps/i386/fpu/bits/fenv.h: Removed.
75461         * sysdeps/i386/fpu/Implies: New file.
75462         * sysdeps/x86_64/fpu/Implies: Likewise.
75463         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
75464         * sysdeps/x86/fpu/bits/fenv.h: This.
75466         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
75467         __SSE_MATH__.
75469 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
75471         [BZ #14134]
75472         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
75473         character 0xffff that matches the last element of the
75474         conversion table.
75476 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75478         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
75479         fmodl commit.
75481 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75483         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
75484         values higher than 25.6283.
75486 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75488         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
75489         subnormal exponent extraction and add some __builtin_expect.
75490         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
75491         Fix for subnormal mantissa calculation.
75493 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
75495         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
75496         cpu2 is -1 and errno is not ENOSYS.
75498 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
75500         [BZ #14117]
75501         * sysdeps/i386/i486/bits/string.h: Renamed to ...
75502         * sysdeps/x86/bits/string.h: This.
75503         * sysdeps/x86_64/bits/string.h: Removed.
75505         * sysdeps/i386/i486/bits/string.h: Define inline functions only
75506         if not compiling for x86-64, but compiling for >= i486.
75508         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
75509         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
75511         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
75512         New macro from Linux kernel 3.4.0.
75513         (FP_XSTATE_MAGIC2): Likewise.
75514         (FP_XSTATE_MAGIC2_SIZE): Likewise.
75515         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
75516         (struct _fpx_sw_bytes): New struct.
75517         (struct _xsave_hdr): Likewise.
75518         (struct _ymmh_state): Likewise.
75519         (struct _xstate): Likewise.
75521         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
75522         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
75523         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
75524         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
75525         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
75526         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
75528         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
75529         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
75530         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
75531         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
75532         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
75533         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
75535 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75537         [BZ #13743]
75538         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
75539         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
75540         (sysdep_headers): Include sys/platform/ppc.h.
75541         * sysdeps/powerpc/test-gettimebase.c: Test for
75542         __ppc_get_timebase() to catch future ISA opcode/insn changes.
75543         * manual/Makefile (appendices): Include platform.texi.
75544         * manual/contrib.texi (Contributors): Update @node pointers.
75545         * manual/maint.texi (Maintenance): Likewise.
75546         (Platform): New node.
75547         * manual/platform.texi: New file.  Document the new features.
75549 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
75550             Jakub Jelinek  <jakub@redhat.com>
75552         [BZ #14188]
75553         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
75554         where __builtin_expect is unavailable.
75556 2012-06-03  David S. Miller  <davem@davemloft.net>
75558         * stdlib/longlong.h: Updated from GCC.
75560 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
75562         [BZ #14042]
75563         * sysdeps/powerpc/powerpc32/mcount.c: New file.
75564         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
75565         __mcount_internal.
75566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75567         (GLIBC_2.16): Likewise.
75569 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75571         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
75573 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
75575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
75576         (default-abi): New variable.
75577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
75578         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
75579         variable.
75580         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
75581         Likewise.
75582         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
75583         Likewise.
75584         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
75585         Likewise.
75587         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
75588         definition.  Document in comment.
75590 2012-06-01  David S. Miller  <davem@davemloft.net>
75592         * stdlib/longlong.h: Updated from GCC.
75594 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75596         [BZ #14117]
75597         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
75598         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
75599         sys/debugreg.h sys/io.h here.
75600         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
75601         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
75602         sys/io.h.
75603         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
75604         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
75605         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
75606         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
75607         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
75608         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
75610         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
75611         Define only if __x86_64__ is defined.
75613 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
75615         [BZ #14048]
75616         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
75617         Use int64_t for variable i.
75618         * math/libm-test.inc (fmod_test): Add more tests.
75620         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
75621         z computation is not scheduled after fetestexcept.
75622         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
75623         Use math_force_eval instead of asm to ensure calculation scheduled
75624         before exception test.
75625         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
75626         Ensure a1 + u.d computation is not scheduled after fetestexcept.
75628 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
75630         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
75631         computation is not scheduled after fetestexcept.
75633 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75635         [BZ #14117]
75636         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
75637         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
75639 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75641         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
75642         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75644 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
75646         [BZ #14117]
75647         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
75648         <bits/wordsize.h>.
75649         (__WCHAR_MIN): Support __WORDSIZE == 64.
75650         (__WCHAR_MAX): Likewise.
75652         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
75653         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
75655         [BZ #14183]
75656         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
75657         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
75659         [BZ #14117]
75660         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
75661         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
75663         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
75664         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
75666         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
75667         Defined to 1 if __x86_64__ isn't defined.
75668         (_STAT_VER_LINUX_OLD): New.
75669         (st_atime): Remove duplicate.
75670         (st_mtime): Likewise.
75671         (st_ctime): Likewise.
75673 2012-05-31  David S. Miller  <davem@davemloft.net>
75675         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
75676         entries.
75678 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
75680         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
75681         gen-libm-test.pl.
75683         [BZ #14132]
75684         * elf/dl-reloc.c: Include <_itoa.h>.
75685         (_dl_reloc_bad_type): Remove use of INTUSE.
75686         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
75687         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
75688         * stdio-common/psiginfo.c (psiginfo): Likewise.
75689         * stdio-common/psignal.c (psignal): Likewise.
75690         * string/strsignal.c (strsignal): Likewise.
75691         * include/signal.h (_sys_siglist): Declare hidden proto.
75692         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
75693         INTVARDEF with libc_hidden_data_def.
75694         * stdio-common/itoa-udigits.c: Likewise.
75695         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
75696         (_itoa_lower_digits_internal): Remove declaration.
75697         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
75698         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
75699         (_sys_sigabbrev_internal): Remove aliases.
75700         (_sys_siglist): Define hidden alias.
75702 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
75704         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75705         bits/sysctl.h.
75707 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
75709         [BZ #14117]
75710         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
75711         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
75713         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
75714         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
75715         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
75716         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
75717         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
75718         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
75720         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
75721         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
75722         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
75724         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
75725         with __addr.
75726         (insw): Likewise.
75727         (insl): Likewise.
75728         (outsb): Likewise.
75729         (outsw): Likewise.
75730         (outsl): Likewise.
75732         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
75733         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
75734         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
75736         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
75737         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
75738         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
75739         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
75740         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
75741         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
75743         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
75744         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
75746         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
75747         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
75749         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
75750         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
75751         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
75753         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
75754         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
75755         to ...
75756         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
75758         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
75759         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
75760         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
75762         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
75763         for x86-64.
75764         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
75766 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
75768         * math/math.h (M_El): Use two more decimal places.
75769         (M_LOG2El): Likewise.
75770         (M_LOG10El): Likewise.
75771         (M_LN2l): Likewise.
75772         (M_LN10l): Likewise.
75773         (M_PIl): Likewise.
75774         (M_PI_2l): Likewise.
75775         (M_PI_4l): Likewise.
75776         (M_1_PIl): Likewise.
75777         (M_2_PIl): Likewise.
75778         (M_2_SQRTPIl): Likewise.
75779         (M_SQRT2l): Likewise.
75780         (M_SQRT1_2l): Likewise.
75782 2012-05-31  David S. Miller  <davem@davemloft.net>
75784         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
75785         values between float registers.
75786         * sysdeps/sparc/sparc64/memset.S: Likewise.
75787         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
75789 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
75791         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
75792         -D_FORTIFY_SOURCE=1.
75793         (CPPFLAGS-tst-longjmp_chk.c): Define.
75794         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
75795         (CPPFLAGS-tst-longjmp_chk2.c): Define.
75796         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
75797         CFLAGS-tst-wchar-h.c.
75799 2012-05-31  Marek Polacek  <polacek@redhat.com>
75801         [BZ #14132]
75802         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
75803         __endmntent_internal): Remove declaration.
75804         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
75805         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
75806         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
75808 2012-05-30  David S. Miller  <davem@davemloft.net>
75810         * sysdeps/sparc/sparc32/soft-fp/q_util.c
75811         (___Q_simulate_exceptions): Use real FP ops rather than writing
75812         into the %fsr.
75813         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
75814         Likewise.
75816 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75818         [BZ #14117]
75819         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
75820         * sysdeps/x86/bits/xtitypes.h: This.
75822         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
75823         * sysdeps/x86/bits/wordsize.h: This.
75825         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
75826         * sysdeps/x86/bits/huge_vall.h: This.
75828         * sysdeps/i386/bits/select.h: Removed.
75829         * sysdeps/x86_64/bits/select.h: Renamed to ...
75830         * sysdeps/x86/bits/select.h: This.
75832         * sysdeps/i386/bits/setjmp.h: Removed.
75833         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
75834         * sysdeps/x86/bits/setjmp.h: This.
75836         * sysdeps/i386/bits/mathdef.h: Removed.
75837         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
75838         * sysdeps/x86/bits/mathdef.h: This.
75840 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
75842         [BZ #14132]
75843         * include/sys/socket.h (__connect_internal)
75844         (__libc_sa_len_internal): Remove declaration.
75845         (__connect, __libc_sa_len): Declare hidden_proto.
75846         (SA_LEN): Remove use of INTUSE.
75847         * socket/connect.c: Add libc_hidden_def.
75848         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
75849         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
75850         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
75851         alias.
75852         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
75853         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
75854         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
75855         of adding _internal alias.
75857 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75859         [BZ #14117]
75860         * sysdeps/i386/bits/link.h: Removed.
75861         * sysdeps/i386/bits/linkmap.h: Likewise.
75862         * sysdeps/x86_64/bits/link.h: Renamed to ...
75863         * sysdeps/x86/bits/link.h: This.
75864         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
75865         * sysdeps/x86/bits/linkmap.h: This.
75867         * sysdeps/i386/bits/endian.h: Removed.
75868         * sysdeps/x86_64/bits/endian.h: Renamed to ...
75869         * sysdeps/x86/bits/endian.h: This.
75871         * sysdeps/i386/bits/byteswap.h: Removed.
75872         * sysdeps/i386/bits/byteswap-16.h: Likewise.
75873         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
75874         * sysdeps/x86/bits/byteswap.h: This.
75875         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
75876         * sysdeps/x86/bits/byteswap-16.h: This.
75877         * sysdeps/i386/Implies: Add x86.
75878         * sysdeps/x86_64/Implies: Likewise.
75880 2012-05-30  David S. Miller  <davem@davemloft.net>
75882         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
75883         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
75884         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
75885         (FP_TRAPPING_EXCEPTIONS): Define.
75886         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
75887         (FP_TRAPPING_EXCEPTIONS): Define.
75888         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
75889         subnormals only when inexact has been signalled or underflow
75890         exceptions are enabled.
75891         (_FP_PACK_CANONICAL): Likewise.
75893 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75895         [BZ #14183]
75896         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
75897         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
75899 2012-05-30  Richard Henderson  <rth@twiddle.net>
75901         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
75902         with #ifndef NOT_IN_libc.
75904         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
75905         marked to avoid plt entry.
75907 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75909         [BZ #14112]
75910         * Makeconfig (default-abi): New macro.
75911         (abi-includes): Likewise.
75912         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
75913         $(abi-$(default-abi)-lib-soname) for soname if defined.
75914         ($(common-objpfx)gnu/lib-names.stmp): Generate from
75915         abi-variants.
75916         * Makefile (installed-stubs): Likewise.
75917         * include/stubs-biarch.h: Removed.
75918         * scripts/lib-names.awk: Only handle one library at a time.
75919         * scripts/soversions.awk: Remove WORDSIZE support.
75920         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
75921         entries.
75922         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
75923         Removed.
75924         (syscall-list-default-condition): Likewise.
75925         (syscall-list-default-condition): Likewise.
75926         (syscall-list-includes): Likewise.
75927         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
75928         syscall-list-* with abi-*.  Handle undefined abi-variants.
75929         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
75930         * sysdeps/unix/sysv/linux/i386/Implies: New file.
75931         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
75932         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
75933         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
75934         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
75935         Removed.
75936         (syscall-list-32-options): Likewise.
75937         (syscall-list-32-condition): Likewise.
75938         (syscall-list-64-options): Likewise.
75939         (syscall-list-64-condition): Likewise.
75940         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
75941         macro.
75942         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
75943         Renamed to ...
75944         (abi-*): This.
75945         (abi-64-ld-soname): New macro.
75946         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
75947         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
75948         Renamed to ...
75949         (abi-*): This.
75950         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
75951         * sysdeps/x86_64/x32/shlib-versions: Likewise.
75953 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
75955         * sysdeps/unix/sysv/linux/kernel-features.h
75956         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
75957         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
75958         include <kernel-features.h>.
75959         [!__NR_ftruncate64]: Remove conditional code.
75960         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75961         [__NR_ftruncate64]: Make code unconditional.
75962         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75963         * sysdeps/unix/sysv/linux/truncate64.c: Do not
75964         include <kernel-features.h>.
75965         [!__NR_ftruncate64]: Remove conditional code.
75966         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75967         [__NR_ftruncate64]: Make code unconditional.
75968         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
75970         include <kernel-features.h>.
75971         [!__NR_ftruncate64]: Remove conditional code.
75972         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75973         [__NR_ftruncate64]: Make code unconditional.
75974         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
75976         include <kernel-features.h>.
75977         [!__NR_ftruncate64]: Remove conditional code.
75978         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75979         [__NR_ftruncate64]: Make code unconditional.
75980         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75982         * configure.in (libc_cv_fpie): Weaken to a compile test using
75983         LIBC_TRY_CC_OPTION.
75984         * configure: Regenerated.
75986 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
75989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
75990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
75991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75992         Refreshed.
75993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
75994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
75995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
75996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
75997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
75998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75999         Refreshed.
76001 2012-05-27  David S. Miller  <davem@davemloft.net>
76003         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
76004         (___Q_zero): New.
76005         (__Q_simulate_exceptions): Return void.  Change to simulate
76006         exceptions by writing into the %fsr.
76007         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
76008         (__Qp_handle_exceptions): Likewise.
76009         (numbers): Delete.
76010         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
76011         __Qp_handle_exceptions.
76012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
76013         __Qp_handle_exceptions.
76014         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76015         as unused and give dummy FP_RND_NEAREST initializer.
76016         (FP_INHIBIT_RESULTS): Define.
76017         (___Q_simulate_exceptions): Update declaration.
76018         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
76019         formatting.
76020         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76021         as unused and give dummy FP_RND_NEAREST initializer.
76022         (__Qp_handle_exceptions): Update declaration.
76023         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
76024         formatting.
76026 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
76028         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
76029         the temporary FPU control word.
76030         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
76031         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
76032         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
76033         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76034         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
76035         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
76036         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
76037         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76038         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
76039         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
76040         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76042 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76044         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
76045         fields.
76047 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
76049         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
76050         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
76051         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
76052         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
76053         Likewise.
76054         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
76055         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
76056         Likewise.
76058 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
76060         * po/h.po: Update from translation team.
76062 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
76064         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
76066         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
76067         handling of denormals.
76068         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76069         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
76070         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76071         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76072         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76073         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
76074         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
76075         Likewise.
76077 2012-05-26  Marek Polacek  <polacek@redhat.com>
76079         [BZ #14152]
76080         * math/libm-test.inc (fma_test): Don't always expect underflow
76081         exception.
76083 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
76085         [BZ #12416]
76086         * elf/tst-execstack.c: Include stackinfo.h.
76087         (do_test): Adjust test case to ensure that pthread_getattr_np
76088         behaviour remains the same after marking stack executable.
76090 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
76092         * sysdeps/unix/sysv/linux/kernel-features.h
76093         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
76094         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
76095         kernel-features.h.
76096         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76097         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
76098         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
76099         kernel-features.h.
76100         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76101         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
76103 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
76105         * configure.in: Define the default includes to being none.
76106         * configure: Regenerated.
76108 2012-05-25  Roland McGrath  <roland@hack.frob.com>
76110         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
76111         * sysdeps/x86_64/setjmp.S: Likewise.
76112         * sysdeps/i386/bsd-setjmp.S: Likewise.
76113         * sysdeps/i386/bsd-_setjmp.S: Likewise.
76114         * sysdeps/i386/setjmp.S: Likewise.
76115         * sysdeps/i386/__longjmp.S: Likewise.
76116         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
76117         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
76119         * include/stap-probe.h: New file.
76120         * configure.in: Handle --enable-systemtap.
76121         * configure: Regenerated.
76122         * config.h.in (USE_STAP_PROBE): New #undef.
76123         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
76124         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
76125         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
76127 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
76129         [BZ #13717]
76130         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76131         to 2.4.0 where earlier.
76132         * sysdeps/unix/sysv/linux/configure: Regenerated.
76133         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
76134         <kernel-features.h>.
76135         [__ASSUME_32BITUIDS]: Make code unconditional.
76136         [!__ASSUME_32BITUIDS]: Remove conditional code.
76137         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
76138         <kernel-features.h>.
76139         [__ASSUME_32BITUIDS]: Make code unconditional.
76140         [!__ASSUME_32BITUIDS]: Remove conditional code.
76141         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
76142         [__ASSUME_32BITUIDS]: Make code unconditional.
76143         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
76144         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
76145         <kernel-features.h>.
76146         [__ASSUME_32BITUIDS]: Make code unconditional.
76147         [!__ASSUME_32BITUIDS]: Remove conditional code.
76148         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
76149         <kernel-features.h>.
76150         [__ASSUME_32BITUIDS]: Make code unconditional.
76151         [!__ASSUME_32BITUIDS]: Remove conditional code.
76152         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
76153         <kernel-features.h>.
76154         [__ASSUME_32BITUIDS]: Make code unconditional.
76155         [!__ASSUME_32BITUIDS]: Remove conditional code.
76156         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
76157         <kernel-features.h>.
76158         [__ASSUME_32BITUIDS]: Make code unconditional.
76159         [!__ASSUME_32BITUIDS]: Remove conditional code.
76160         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
76161         <kernel-features.h>.
76162         [__ASSUME_32BITUIDS]: Make code unconditional.
76163         [!__ASSUME_32BITUIDS]: Remove conditional code.
76164         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
76165         <kernel-features.h>.
76166         [__ASSUME_32BITUIDS]: Make code unconditional.
76167         [!__ASSUME_32BITUIDS]: Remove conditional code.
76168         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
76169         <kernel-features.h>.
76170         [__ASSUME_32BITUIDS]: Make code unconditional.
76171         [!__ASSUME_32BITUIDS]: Remove conditional code.
76172         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
76173         <kernel-features.h>.
76174         [__ASSUME_32BITUIDS]: Make code unconditional.
76175         [!__ASSUME_32BITUIDS]: Remove conditional code.
76176         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
76177         <kernel-features.h>.
76178         [__ASSUME_32BITUIDS]: Make code unconditional.
76179         [!__ASSUME_32BITUIDS]: Remove conditional code.
76180         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
76181         <kernel-features.h>.
76182         [__ASSUME_32BITUIDS]: Make code unconditional.
76183         [!__ASSUME_32BITUIDS]: Remove conditional code.
76184         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
76185         <kernel-features.h>.
76186         [__NR_setresgid] (__setresgid): Do not declare.
76187         [__ASSUME_32BITUIDS]: Make code unconditional.
76188         [!__ASSUME_32BITUIDS]: Remove conditional code.
76189         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
76190         <kernel-features.h>.
76191         [__NR_setresuid] (__setresuid): Do not declare.
76192         [__ASSUME_32BITUIDS]: Make code unconditional.
76193         [!__ASSUME_32BITUIDS]: Remove conditional code.
76194         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
76195         <kernel-features.h>.
76196         [__ASSUME_32BITUIDS]: Make code unconditional.
76197         [!__ASSUME_32BITUIDS]: Remove conditional code.
76198         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
76199         <kernel-features.h>.
76200         [__ASSUME_32BITUIDS]: Make code unconditional.
76201         [!__ASSUME_32BITUIDS]: Remove conditional code.
76202         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
76203         <kernel-features.h>.
76204         [__ASSUME_32BITUIDS]: Make code unconditional.
76205         [!__ASSUME_32BITUIDS]: Remove conditional code.
76206         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
76207         <kernel-features.h>.
76208         [__ASSUME_32BITUIDS]: Make code unconditional.
76209         [!__ASSUME_32BITUIDS]: Remove conditional code.
76210         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
76211         <kernel-features.h>.
76212         [__ASSUME_32BITUIDS]: Make code unconditional.
76213         [!__ASSUME_32BITUIDS]: Remove conditional code.
76214         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
76215         <kernel-features.h>.
76216         [__ASSUME_32BITUIDS]: Make code unconditional.
76217         [!__ASSUME_32BITUIDS]: Remove conditional code.
76218         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
76219         <kernel-features.h>.
76220         [__ASSUME_32BITUIDS]: Make code unconditional.
76221         [!__ASSUME_32BITUIDS]: Remove conditional code.
76222         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
76223         <kernel-features.h>.
76224         [__ASSUME_32BITUIDS]: Make code unconditional.
76225         [!__ASSUME_32BITUIDS]: Remove conditional code.
76226         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
76227         <kernel-features.h>.
76228         [__ASSUME_32BITUIDS]: Make code unconditional.
76229         [!__ASSUME_32BITUIDS]: Remove conditional code.
76230         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
76231         <kernel-features.h>.
76232         [__ASSUME_32BITUIDS]: Make code unconditional.
76233         [!__ASSUME_32BITUIDS]: Remove conditional code.
76234         * sysdeps/unix/sysv/linux/kernel-features.h
76235         (__ASSUME_SETRESUID_SYSCALL): Remove.
76236         (__ASSUME_SETRESGID_SYSCALL): Likewise.
76237         (__ASSUME_32BITUIDS): Likewise.
76238         (__ASSUME_LDT_WORKS): Likewise.
76239         (__ASSUME_O_DIRECTORY): Likewise.
76240         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
76241         architecture but not kernel version.
76242         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
76243         (__ASSUME_MMAP2_SYSCALL): Likewise.
76244         (__ASSUME_STAT64_SYSCALL): Likewise.
76245         (__ASSUME_IPC64): Likewise.
76246         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
76247         <kernel-features.h>.
76248         [__ASSUME_32BITUIDS]: Make code unconditional.
76249         [!__ASSUME_32BITUIDS]: Remove conditional code.
76250         * sysdeps/unix/sysv/linux/opendir.c: Do not include
76251         <kernel-features.h>.
76252         [__ASSUME_O_DIRECTORY]: Make code unconditional.
76253         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
76254         132096]: Remove conditional code.
76255         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
76256         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
76257         <kernel-features.h>.
76258         [__ASSUME_32BITUIDS]: Make code unconditional.
76259         [!__ASSUME_32BITUIDS]: Remove conditional code.
76260         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
76261         <kernel-features.h>.
76262         [__ASSUME_32BITUIDS]: Make code unconditional.
76263         [!__ASSUME_32BITUIDS]: Remove conditional code.
76264         * sysdeps/unix/sysv/linux/setegid.c: Do not include
76265         <kernel-features.h>.
76266         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
76267         unconditional.
76268         (__setresgid): Do not declare.
76269         [__ASSUME_32BITUIDS]: Make code unconditional.
76270         [!__ASSUME_32BITUIDS]: Remove conditional code.
76271         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
76272         <kernel-features.h>.
76273         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
76274         unconditional.
76275         (__setresuid): Do not declare.
76276         [__ASSUME_32BITUIDS]: Make code unconditional.
76277         [!__ASSUME_32BITUIDS]: Remove conditional code.
76278         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
76279         <kernel-features.h>.
76280         [__ASSUME_32BITUIDS]: Make code unconditional.
76281         [!__ASSUME_32BITUIDS]: Remove conditional code.
76282         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
76283         <kernel-features.h>.
76284         [__ASSUME_32BITUIDS]: Make code unconditional.
76285         [!__ASSUME_32BITUIDS]: Remove conditional code.
76287 2012-05-25  Richard Henderson  <rth@twiddle.net>
76289         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
76290         dl_hwcap to ifunc resolver.
76291         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
76292         elf_ifunc_invoke.
76293         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
76294         dl_hwcap to ifunc resolver.
76295         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
76297 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76299         [BZ #14153]
76300         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
76301         for |x| <= 2**-26, not 2**-57.
76302         * math/libm-test.inc (acos_test): Do not allow spurious underflow
76303         exception.
76305 2012-05-24  Jeff Law  <law@redhat.com>
76307         * stdio-common/Makefile (tests): Add bug25.
76308         * stdio-common/bug25.c: New test.
76310 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
76312         [BZ #13576]
76313         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
76314         multiple of MALLOC_ALIGNMENT in size.
76315         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
76317 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76319         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
76320         Require >= 256.
76321         (FILENAME_MAX): Use macro-int-constant.
76322         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
76323         (_IOFBF): Use macro-int-constant.
76324         (_IOLBF): Likewise.
76325         (_IONBF): Likewise.
76326         (SEEK_CUR): Likewise.
76327         (SEEK_END): Likewise.
76328         (SEEK_SET): Likewise.
76329         (TMP_MAX): Likewise.
76330         (EOF): Use macro-int-constant.  Require < 0.
76331         (NULL): Use macro-constant.  Require == 0.
76332         (stdin): Require type to be FILE *.
76333         (stdout): Likewise.
76334         (stderr): Likewise.
76335         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
76336         macro-int-constant.
76337         (EXIT_SUCCESS): Likewise.
76338         (NULL): Use macro-constant.  Require == 0.
76339         (RAND_MAX): Use macro-int-constant.
76340         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
76341         [C99-based standards] (strtof): Require function.
76342         [C99-based standards] (strtold): Likewise.
76343         [C99-based standards] (strtoll): Likewise.
76344         [C99-based standards] (strtoull): Likewise.
76345         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76346         [ISO || ISO99 || ISO11] (limits.h): Likewise.
76347         [ISO || ISO99 || ISO11] (math.h): Likewise.
76348         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
76349         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76350         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76352 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
76354         [BZ #14132]
76355         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
76356         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
76357         * intl/dgettext.c (DCGETTEXT): Likewise.
76358         * intl/gettext.c (DCGETTEXT): Likewise.
76359         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
76360         * posix/regex_internal.h (gettext): Likewise.
76361         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
76362         Remove declaration.
76363         * include/argz.h (__argz_count_internal)
76364         (__argz_stringify_internal): Remove declaration.
76365         (__argz_count, __argz_stringify): Declare hidden proto.
76366         * intl/dcgettext.c: Remove use of INTDEF.
76367         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
76368         * string/argz-stringify.c: Likewise.
76369         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
76370         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76371         Declare hidden proto.
76372         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
76373         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76374         Declare hidden proto.
76375         * include/stdio.h (__asprintf_internal): Don't declare.
76376         (__asprintf): Don't define as macro.  Declare hidden proto.
76377         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
76378         (__fsetlocking): Declare hidden proto.
76379         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
76380         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
76381         hidden proto.
76382         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
76383         (_IO_setlinebuf): Remove use of INTUSE.
76384         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
76385         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
76386         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
76387         Remove declaration.
76388         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
76389         (_IO_do_flush): Remove use of INTUSE.
76390         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
76391         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
76392         (_IO_adjust_column, _IO_least_wmarker)
76393         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
76394         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
76395         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
76396         (_IO_default_doallocate, _IO_wdefault_doallocate)
76397         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
76398         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
76399         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
76400         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
76401         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
76402         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
76403         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
76404         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
76405         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
76406         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
76407         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
76408         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
76409         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
76410         proto.
76411         (_IO_flush_all_internal, _IO_adjust_column_internal)
76412         (_IO_default_uflow_internal, _IO_default_finish_internal)
76413         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
76414         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
76415         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
76416         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
76417         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
76418         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
76419         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
76420         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
76421         (_IO_file_close_internal, _IO_file_close_it_internal)
76422         (_IO_file_underflow_internal, _IO_file_overflow_internal)
76423         (_IO_file_init_internal, _IO_file_attach_internal)
76424         (_IO_file_fopen_internal, _IO_file_read_internal)
76425         (_IO_file_sync_internal, _IO_file_seek_internal)
76426         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
76427         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
76428         (_IO_str_underflow_internal, _IO_str_overflow_internal)
76429         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
76430         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
76431         (_IO_list_all_internal, _IO_link_in_internal)
76432         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
76433         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
76434         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
76435         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
76436         (_IO_do_write_internal, _IO_padn_internal)
76437         (_IO_getline_info_internal, _IO_getline_internal)
76438         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
76439         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
76440         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
76441         (_IO_vfscanf_internal, _IO_vfprintf_internal)
76442         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
76443         (_IO_init_internal, _IO_un_link_internal): Don't declare.
76444         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
76445         with libc_hidden_ver, remove use of INTUSE.
76446         * libio/genops.c: Likewise.
76447         * libio/freopen.c: Likewise.
76448         * libio/freopen64.c: Likewise.
76449         * libio/iofclose.c: Likewise.
76450         * libio/iofdopen.c: Likewise.
76451         * libio/iofflush.c: Likewise.
76452         * libio/iofflush_u.c: Likewise.
76453         * libio/iofgets.c: Likewise.
76454         * libio/iofgets_u.c: Likewise.
76455         * libio/iofopen.c: Likewise.
76456         * libio/iofopncook.c: Likewise.
76457         * libio/iofread.c: Likewise.
76458         * libio/iofread_u.c: Likewise.
76459         * libio/ioftell.c: Likewise.
76460         * libio/iofwrite.c: Likewise.
76461         * libio/iogetline.c: Likewise.
76462         * libio/iogets.c: Likewise.
76463         * libio/iogetwline.c: Likewise.
76464         * libio/iopadn.c: Likewise.
76465         * libio/iopopen.c: Likewise.
76466         * libio/ioseekoff.c: Likewise.
76467         * libio/ioseekpos.c: Likewise.
76468         * libio/iosetbuffer.c: Likewise.
76469         * libio/iosetvbuf.c: Likewise.
76470         * libio/ioungetc.c: Likewise.
76471         * libio/ioungetwc.c: Likewise.
76472         * libio/iovdprintf.c: Likewise.
76473         * libio/iovsprintf.c: Likewise.
76474         * libio/iovsscanf.c: Likewise.
76475         * libio/memstream.c: Likewise.
76476         * libio/obprintf.c: Likewise.
76477         * libio/oldfileops.c: Likewise.
76478         * libio/oldiofclose.c: Likewise.
76479         * libio/oldiofdopen.c: Likewise.
76480         * libio/oldiofopen.c: Likewise.
76481         * libio/oldiopopen.c: Likewise.
76482         * libio/oldstdfiles.c: Likewise.
76483         * libio/putc.c: Likewise.
76484         * libio/setbuf.c: Likewise.
76485         * libio/setlinebuf.c: Likewise.
76486         * libio/stdfiles.c: Likewise.
76487         * libio/strops.c: Likewise.
76488         * libio/vasprintf.c: Likewise.
76489         * libio/vscanf.c: Likewise.
76490         * libio/vsnprintf.c: Likewise.
76491         * libio/vswprintf.c: Likewise.
76492         * libio/wfiledoalloc.c: Likewise.
76493         * libio/wfileops.c: Likewise.
76494         * libio/wgenops.c: Likewise.
76495         * libio/wmemstream.c: Likewise.
76496         * libio/wstrops.c: Likewise.
76497         * libio/__fpurge.c: Likewise.
76498         * libio/__fsetlocking.c: Likewise.
76499         * assert/assert.c: Likewise.
76500         * debug/fgets_chk.c: Likewise.
76501         * debug/fgets_u_chk.c: Likewise.
76502         * debug/fread_chk.c: Likewise.
76503         * debug/fread_u_chk.c: Likewise.
76504         * debug/gets_chk.c: Likewise.
76505         * debug/obprintf_chk.c: Likewise.
76506         * debug/vasprintf_chk.c: Likewise.
76507         * debug/vdprintf_chk.c: Likewise.
76508         * debug/vsnprintf_chk.c: Likewise.
76509         * debug/vsprintf_chk.c: Likewise.
76510         * malloc/mtrace.c: Likewise.
76511         * misc/error.c: Likewise.
76512         * misc/syslog.c: Likewise.
76513         * stdio-common/asprintf.c: Likewise.
76514         * stdio-common/fxprintf.c: Likewise.
76515         * stdio-common/getw.c: Likewise.
76516         * stdio-common/isoc99_fscanf.c: Likewise.
76517         * stdio-common/isoc99_scanf.c: Likewise.
76518         * stdio-common/isoc99_vfscanf.c: Likewise.
76519         * stdio-common/isoc99_vscanf.c: Likewise.
76520         * stdio-common/isoc99_vsscanf.c: Likewise.
76521         * stdio-common/printf-prs.c: Likewise.
76522         * stdio-common/printf_fp.c: Likewise.
76523         * stdio-common/printf_fphex.c: Likewise.
76524         * stdio-common/printf_size.c: Likewise.
76525         * stdio-common/putw.c: Likewise.
76526         * stdio-common/scanf.c: Likewise.
76527         * stdio-common/sprintf.c: Likewise.
76528         * stdio-common/tmpfile.c: Likewise.
76529         * stdio-common/vfprintf.c: Likewise.
76530         * stdio-common/vfscanf.c: Likewise.
76531         * stdlib/strfmon_l.c: Likewise.
76532         * sunrpc/openchild.c: Likewise.
76533         * sunrpc/xdr_stdio.c: Likewise.
76534         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
76535         * sysdeps/mach/hurd/tmpfile.c: Likewise.
76537 2012-05-24  Roland McGrath  <roland@hack.frob.com>
76539         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
76541         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
76542         in the third column, to generate for the shared library an IFUNC
76543         that uses _dl_vdso_vsym.
76544         * Makerules (COMPILE.c, compile-stdin.c): New variables.
76545         * Makeconfig (object-suffixes-noshared): New variable.
76547         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
76548         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
76549         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
76550         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
76552         [BZ #14132]
76553         * include/sys/time.h (__gettimeofday): Remove macro.
76554         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
76555         * time/gettimeofday.c (__gettimeofday): Remove #undef.
76556         Remove INTDEF.
76557         (__gettimeofday): Add libc_hidden_def.
76558         (gettimeofday): Add libc_hidden_weak.
76559         * sysdeps/mach/gettimeofday.c: Likewise.
76560         * sysdeps/posix/gettimeofday.c: Likewise.
76561         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
76562         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
76563         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
76564         (__gettimeofday_internal): Remove strong_alias.
76565         (__gettimeofday): Add libc_hidden_def.
76566         (gettimeofday): Add libc_hidden_weak.
76567         * sysdeps/unix/syscalls.list (gettimeofday):
76568         Remove __gettimeofday_internal alias.
76570 2012-05-24  Daniel Jacobowitz  <drow@false.org>
76571             H.J. Lu  <hongjiu.lu@intel.com>
76573         [BZ #12495]
76574         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
76575         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
76576         (largebin_index_32_big): New.
76577         (largebin_index): Use it for 16-byte alignment.
76578         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
76579         correction with front_misalign.
76581 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
76583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
76584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
76585         Likewise.
76586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
76587         Likewise.
76588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
76589         Likewise.
76590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
76591         Likewise.
76592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
76593         Likewise.
76594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
76595         Likewise.
76596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
76597         Likewise.
76598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
76599         Likewise.
76600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
76601         Likewise.
76602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
76603         Likewise.
76604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
76605         Likewise.
76606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
76607         Likewise.
76609         * scripts/data/c++-types-x32-linux-gnu.data: New file.
76610         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
76612 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76614         [BZ #10846]
76615         [BZ #14036]
76616         * math/libm-test.inc (exp_test): Add test from bug 14036.
76617         (pow_test): Add test from bug 10846.
76619         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
76620         and other flags.
76621         (special_function): Do not include flags in test name.
76622         (parse_args): Likewise.
76623         * sysdeps/i386/fpu/libm-test-ulps: Update.
76624         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76625         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
76626         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
76627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76629         * math/gen-libm-test.pl (%beautify): Add entries for underflow
76630         exceptions.
76631         * math/libm-test.inc ("Philosophy"): Update comment about
76632         exception testing.
76633         (UNDERFLOW_EXCEPTION): New macro.
76634         (UNDERFLOW_EXCEPTION_OK): Likewise.
76635         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
76636         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
76637         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
76638         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
76639         (INVALID_EXCEPTION_OK): Update value.
76640         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
76641         (OVERFLOW_EXCEPTION_OK): Likewise.
76642         (IGNORE_ZERO_INF_SIGN): Likewise.
76643         (test_exceptions): Handle underflow exceptions.
76644         (acos_test): Update for underflow exception expectations.
76645         (cexp_test): Likewise.
76646         (clog_test): Likewise.
76647         (clog10_test): Likewise.
76648         (csqrt_test): Likewise.
76649         (ctan_test): Likewise.
76650         (ctanh_test): Likewise.
76651         (exp_test): Likewise.
76652         (exp10_test): Likewise.
76653         (exp2_test): Likewise.
76654         (expm1_test): Likewise.
76655         (fma_test): Likewise.
76656         (j0_test): Likewise.
76657         (jn_test): Likewise.
76658         (nexttoward_test): Likewise.
76659         (pow_test): Likewise.
76660         (scalbn_test): Likewise.
76661         (scalbln_test): Likewise.
76662         (tan_test): Likewise.
76663         (y1_test): Likewise.
76664         * sysdeps/i386/fpu/libm-test-ulps: Update.
76665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76667 2012-05-23  David S. Miller  <davem@davemloft.net>
76669         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76670         (__libc_sigaction): Remove unused local variables.
76672 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
76674         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
76676 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
76678         mktime: avoid signed integer overflow
76679         * time/mktime.c (__mktime_internal): Do not mishandle the case
76680         where diff == INT_MIN.
76682         mktime: simplify computation of average
76683         * time/mktime.c (ranged_convert): Use new time_t_avg function
76684         instead of rolling our own (probably-slower) code.
76686         mktime: do not assume signed right shift propagates sign bit
76687         * time/mktime.c (isdst_differ): New static function.
76688         (__mktime_internal): No need to normalize tm_isdst now.
76689         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
76690         tm_isdst values.
76692         mktime: merge another wrapv change from gnulib
76693         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
76694         from some compilers.
76696         mktime: remove incorrect attempt at unusual arithmetics
76697         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
76698         The code didn't really work on such machines anyway.
76699         (TYPE_MINIMUM): Assume two's complement.
76700         (twos_complement_arithmetic): Verify that long_int and time_t
76701         are two's complement (or unsigned, in the latter case).
76703         mktime: check signed shifts on long_int and time_t, too
76704         * time/mktime.c (SHR): Check that shifts work as desired
76705         on the types long_int and time_t too, as SHR is used on
76706         such types.
76708         mktime: do not assume 'long' is wide enough
76709         * time/mktime.c (verify): Move decl up.
76710         (long_int): New type.
76711         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
76712         to remove assumption in the code that 'long' is wide enough to
76713         store year values.  This assumption is not true on x32 and on
76714         some non-glibc platforms.
76716         mktime: merge wrapv change from gnulib
76717         * time/mktime.c (WRAPV): New macro.
76718         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
76719         (guess_time_tm, __mktime_internal): Do not assume that signed
76720         integer overflow wraps around; modern compilers generate code
76721         where this assumption is no longer valid.
76723 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
76725         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
76726         Replace "jmp L(pseudo_end)" with "ret".
76727         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
76728         Likewise.
76730 2012-05-23  Andreas Jaeger  <aj@suse.de>
76732         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
76733         * sysdeps/unix/sysv/linux/poll.c: Remove file.
76735 2012-05-23  Andreas Jaeger  <aj@suse.de>
76736             Maximilian Attems  <max@stro.at>
76738         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
76739         New macros.
76741 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
76743         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
76744         code so that pseudo_end is just ret and the stack pointer is
76745         correct also for static library in error case.
76747 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
76749         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
76750         move to syscalls.list.
76751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
76752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
76753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
76754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
76756         * manual/install.texi (Running make install): Do not mention Linux
76757         kernel version for which pt_chown is not needed.
76758         (Linux): Do not mention problems with nscd with 2.0 kernels.
76759         * INSTALL: Regenerated.
76761 2012-05-23  Andreas Jaeger  <aj@suse.de>
76763         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
76764         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
76765         macro.
76766         * sysdeps/unix/sysv/linux/s390/bits/mman.h
76767         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76768         * sysdeps/unix/sysv/linux/sh/bits/mman.h
76769         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76770         * sysdeps/unix/sysv/linux/i386/bits/mman.h
76771         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76772         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
76773         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76774         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
76775         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76776         * sysdeps/unix/sysv/linux/bits/in.h
76777         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
76779 2012-05-22  Roland McGrath  <roland@hack.frob.com>
76781         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
76782         (PREPARE_VERSION): Just use assert instead, it will be elided
76783         under [NDEBUG] anyway.
76785 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76787         * sysdeps/unix/sysv/linux/Makefile: Include
76788         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
76789         (sysdep_routines): Remove sysctl.
76790         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
76791         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
76792         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
76793         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
76794         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
76796 2012-05-22  Andreas Jaeger  <aj@suse.de>
76798         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
76799         that pseudo_end is just ret and the stack pointer is correct also
76800         for static library in error case.
76802 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
76804         [BZ #14122]
76805         * nss/nsswitch.c (defconfig_entries): New variable.
76806         (__nss_database_lookup): Don't leak defconfig entries.
76807         (nss_parse_service_list): Don't leak on error paths.
76808         (free_database_entries): New function.
76809         (free_defconfig): New function.
76810         (free_mem): Move common code to free_database_entries.
76812 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76814         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
76815         Add arch_prctl.
76816         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
76818         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
76819         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
76820         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
76821         New macro.
76822         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
76823         (INTERNAL_SYSCALL_TYPES): Likewise.
76824         (LOAD_ARGS_TYPES_[1-6]): Likewise.
76825         (LOAD_REGS_TYPES_[1-6]): Likewise.
76826         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
76827         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
76829 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76831         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
76832         copysignl for GLIBC_2_0.
76833         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
76834         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
76835         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
76836         logbl for GLIBC_2_0.
76837         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
76838         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
76840 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76842         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
76843         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76845         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
76846         Use "neg %eax".
76848         * time/mktime.c: Update copyright years.
76850 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
76852         mktime: merge comment-quoting-style change from gnulib
76853         * time/mktime.c: Quote 'like this' in comments.
76854         The GNU coding standards suggest that we no longer quote `like this',
76855         as "`" and "'" are typically rendered asymmetrically nowadays.
76856         The typical gnulib style is to quote 'like this' when quoting
76857         code, and "like this" when quoting English.
76859         * time/mktime.c (compile-command): Add "-I.".
76861         mktime: merge mktime-internal.h change from gnulib
76862         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
76864         mktime: merge time_r change from gnulib
76865         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
76867         mktime: merge DEBUG change from gnulib
76868         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
76869         case system <time.h> has a #define.
76871         mktime: merge <sys/types.h> change from gnulib
76872         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
76873         since <time.t> is now guaranteed to define time_t.
76875         mktime: merge HAVE_CONFIG_H change from gnulib
76876         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
76878 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76880         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
76881         Use "neg %eax".
76883         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
76884         __rlim_t cast.
76885         (struct rusage): Use anonymous union to pad each field to
76886         __syscall_slong_t.
76888 2012-05-21  David S. Miller  <davem@davemloft.net>
76890         * Makefules (o-iterator): Remove .s cases.
76891         (compile-command.s): Delete.
76892         (COMPILE.s): Delete.
76893         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
76895 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
76897         * configure.in (libc_cv_predef_stack_protector): Only consider
76898         "foobar" and "__stack_chk_fail" lines in libc_undefs.
76899         * configure: Regenerated.
76901 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
76904         New macro.  Use R*LP on int and pointer.
76905         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
76906         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
76907         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
76908         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
76910         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
76911         [__WORDSIZE_TIME64_COMPAT32] instead of
76912         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
76913         (struct utmp): Likewise.
76914         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
76915         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
76916         Renamed to ...
76917         (__WORDSIZE_TIME64_COMPAT32): This.
76918         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
76919         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
76920         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
76921         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
76922         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
76923         (__WORDSIZE_TIME64_COMPAT32): New macro.
76925 2012-05-21  Andreas Jaeger  <aj@suse.de>
76927         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
76928         only if [SHARED]. Add prototype for __wcschr_ia32.
76930 2012-05-21  Roland McGrath  <roland@hack.frob.com>
76932         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
76933         of %rbp unmolested in the jmp_buf while mangling the low bits.
76934         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
76935         unmolested high bits of %rbp while demangling the low bits.
76936         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
76938 2012-05-21  Andreas Jaeger  <aj@suse.de>
76940         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
76941         * sunrpc/svc_simple.c: Use it for registerrpc.
76942         * sunrpc/xcrypt.c: Use it for passwd2des.
76944         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
76946 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76948         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
76949         Don't define if [__SYSCALL_WORDSIZE != 32].
76950         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
76951         New macro.
76953 2012-05-21  Bruno Haible  <bruno@clisp.org>
76954             Andreas Jaeger  <aj@suse.de>
76956         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
76957         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
76958         inptr and inend for must_buffer_ch.
76959         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
76960         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
76961         * stdio-common/Makefile (tests): Remove bug15.
76962         (bug15-ENV): Remove macro.
76963         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
76964         anymore.
76966 2012-05-19  Andreas Jaeger  <aj@suse.de>
76967             Roland McGrath  <roland@hack.frob.com>
76969         * manual/contrib.texi: Completely rewritten. It contains now an
76970         alphabetical list of contributors and their contributions.
76972 2012-05-21  Richard Henderson  <rth@twiddle.net>
76974         * misc/getauxval.c (__getauxval): Use unsigned long int.
76975         * misc/sys/auxv.h: Include <sys/cdefs.h>.
76976         (getauxval): Use unsigned long int.
76978 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76980         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
76982 2012-05-21  Roland McGrath  <roland@hack.frob.com>
76984         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
76985         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
76986         __alignof__ (long double).
76988 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76992 2012-05-20  Richard Henderson  <rth@twiddle.net>
76994         * misc/getauxval.c: New file.
76995         * misc/sys/auxv.h: New file.
76996         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
76997         (routines): Add getauxval.
76998         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
76999         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
77000         * elf/dl-sysdep.c (_dl_auxv): Remove.
77001         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
77002         * elf/dl-support.c (_dl_auxv): New variable.
77003         (_dl_aux_init): Initialize it.
77004         * manual/startup.texi (Auxiliary Vector): New node.
77005         * sysdeps/generic/bits/hwcap.h: New file.
77006         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
77007         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
77008         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
77009         * sysdeps/sparc/sysdep.h: ... here.  Include it.
77010         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
77011         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
77012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77013         Update.
77014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
77015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
77016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
77017         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
77018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
77021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
77023 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77027 2012-05-19  David S. Miller  <davem@davemloft.net>
77029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77031 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
77033         [BZ #14123]
77034         * math/s_ccosh.c: Include <float.h>
77035         (__ccosh): Avoid internal overflow calculating sinh and cosh
77036         values before multiplying by sin and cos values.
77037         * math/s_ccoshf.c: Likewise.
77038         * math/s_ccoshl.c: Likewise.
77039         * math/s_csin.c: Likewise.
77040         * math/s_csinf.c: Likewise.
77041         * math/s_csinl.c: Likewise.
77042         * math/s_csinh.c: Likewise.
77043         * math/s_csinhf.c: Likewise.
77044         * math/s_csinhl.c: Likewise.
77045         * math/libm-test.inc (ccos_test): Add more tests.
77046         (ccosh_test): Likewise.
77047         (csin_test): Likewise.
77048         (csinh_test): Likewise.
77049         * sysdeps/i386/fpu/libm-test-ulps: Update.
77050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77052 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
77054         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
77055         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
77057         * sysdeps/x86_64/x32/_itoa.h: Add comment.
77059 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
77061         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
77062         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
77063         * sysdeps/powerpc/soft-fp/Versions: Likewise.
77064         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
77065         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
77066         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
77067         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
77068         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
77069         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
77070         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
77071         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
77072         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
77073         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
77074         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
77075         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
77076         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
77077         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
77078         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
77079         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
77080         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
77081         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
77082         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
77083         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
77084         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
77085         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
77086         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
77087         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
77088         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
77089         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
77090         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
77091         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
77093 2012-05-18  Andreas Jaeger  <aj@suse.de>
77095         * csu/.gitignore: Delete.
77097 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77099         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
77100         (timex): Use __syscall_slong_t.
77102 2012-05-18  Andreas Jaeger  <aj@suse.de>
77103             Carlos O'Donell  <carlos_odonell@mentor.com>
77105         * manual/install.texi (Configuring and compiling): Update
77106         description about files modified in the source directory.
77107         * INSTALL: Regenerated.
77109 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77111         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
77112         value.  Use "or" to set return value to -1.
77113         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
77114         negate return value.
77116 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77118         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
77119         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
77120         failure if the compiler has Graphite support disabled.
77121         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
77122         Likewise.
77123         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
77124         (CFLAGS-memmove.c): Likewise.
77125         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
77126         Likewise.
77128 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77130         * sysdeps/x86_64/x32/_itoa.h: New file.
77132         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
77133         getdents system call only if kernel and user dirents have the
77134         same d_ino and d_off.
77136         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
77137         LLONG_MAX != LONG_MAX.
77138         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77139         (_fitoa_word): Likewise.
77141         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
77142         years.
77143         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
77144         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
77145         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
77147         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
77148         include <bits/wordsize.h>.  Check __x86_64__ instead of
77149         __WORDSIZE.
77150         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
77151         if __x86_64__ is defined.  Use anonymous union on fpstate.
77153         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
77154         anonymous union.
77156 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
77158         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
77159         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
77160         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
77161         Refer to _rtld_local_ro instead of _rtld_global_ro.
77162         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
77163         Likewise.
77164         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
77165         Likewise.
77166         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
77167         Likewise.
77168         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
77169         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
77170         of _rtld_global, and rtld_progname instead of _dl_argv[0].
77172         [BZ #10882]
77173         * sysdeps/powerpc/powerpc32/dl-machine.c
77174         (__elf_machine_runtime_setup) [PROF]: Don't reference
77175         _dl_prof_resolve.
77177 2012-05-18  Andreas Jaeger  <aj@suse.de>
77179         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
77180         function only available for GCCs before 3.4 since GCC 3.4
77181         introduced a builtin.
77182         (lrint): Likewise.
77183         (llrintf): Likewise.
77184         (llrint): Likewise.
77185         (fmaxf): Likewise.
77186         (fmax): Likewise.
77187         (fminf): Likewise.
77188         (fmin): Likewise.
77189         (rint): Likewise.
77190         (rintf): Likewise.
77191         (nearbyint): Likewise.
77192         (nearbyintf): Likewise.
77193         (ceil): Likewise.
77194         (ceilf): Likewise.
77195         (floor): Likewise.
77196         (floorf): Likewise.
77198 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77200         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
77201         on both fields and cast pointer to __syscall_ulong_t.
77203         * bits/types.h (__fsword_t): New type.
77204         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
77205         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
77206         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77207         (__FSWORD_T_TYPE): Likewise.
77208         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77209         (__FSWORD_T_TYPE): Likewise.
77210         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77211         (__FSWORD_T_TYPE): Likewise.
77212         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
77213         (__FSWORD_T_TYPE): Likewise.
77214         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
77215         __SWORD_TYPE with __fsword_t.
77216         (statfs64): Likewise.
77218 2012-05-17  David S. Miller  <davem@davemloft.net>
77220         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
77222 2012-05-17  Andreas Jaeger  <aj@suse.de>
77224         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
77225         warning.
77227 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77229         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
77231 2012-05-17  Andreas Jaeger  <aj@suse.de>
77233         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
77234         when it is used.
77236 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
77238         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
77240 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77242         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
77243         * sysdeps/x86_64/tst-mallocalign1.c: New file.
77245 2012-05-17  Andreas Jaeger  <aj@suse.de>
77246             Carlos O'Donell  <carlos_odonell@mentor.com>
77248         [BZ #14059]
77249         * sysdeps/x86_64/multiarch/init-arch.h
77250         (bit_YMM_Usable): Rename to...
77251         (bit_AVX_Usable): ... this.
77252         (bit_FMA4_Usable): New macro.
77253         (bit_XMM_state): New macro.
77254         (bit_YMM_state): New macro.
77255         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
77256         [__ASSEMBLER__] (index_AVX_Usable): ... this.
77257         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
77258         (CPUID_OSXSAVE): New macro.
77259         (CPUID_AVX): New macro.
77260         (CPUID_FMA4): New macro.
77261         (index_YMM_Usable): Rename to...
77262         (index_AVX_Usable): ... this.
77263         (HAS_AVX): Use HAS_ARCH_FEATURE.
77264         (HAS_FMA4): Likewise.
77265         (HAS_YMM_USABLE): Remove.
77266         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77267         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
77268         are present.
77269         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
77270         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
77271         * sysdeps/x86_64/multiarch/Makefile: Likewise.
77272         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
77273         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
77275 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
77277         * math/libm-test.c: Support platforms without multiple rounding modes.
77278         * math/bug-nextafter.c: Support platforms without FP exceptions.
77279         * math/bug-nexttoward.c: Likewise.
77280         * math/test-fenv.c: Likewise.
77281         * math/test-misc.c: Likewise.
77282         * stdlib/bug-getcontext.c: Likewise.
77284 2012-05-17  Andreas Jaeger  <aj@suse.de>
77286         * manual/examples/search.c (critter_cmp): Change signature to
77287         avoid warnings.
77288         * manual/string.texi (Collation Functions): Likewise.
77290 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77292         * bits/types.h: Fold copyright years.
77293         * bits/typesizes.h: Likewise.
77294         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
77295         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
77296         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
77297         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
77298         * time/time.h: Likewise.
77300 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
77302         [BZ #208]
77303         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
77304         in instead of returning them.  Return void.
77305         (__libc_mallinfo): Accumulate over all arenas.
77306         (__malloc_stats): Adjust for change in int_mallinfo interface.
77308 2012-05-16  Roland McGrath  <roland@hack.frob.com>
77310         [BZ #10375]
77311         * configure.in (NM): Add AC_CHECK_TOOL for it.
77312         (libc_extra_cflags): New substituted variable.
77313         Check for -fstack-protector being used implicitly.
77314         * configure: Regenerated.
77315         * config.make.in (config-extra-cflags): New variable,
77316         gets @libc_extra_cflags@.
77317         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
77319         [BZ #10375]
77320         * configure.in: Check for _FORTIFY_SOURCE being predefined.
77321         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
77322         * configure: Regenerated.
77323         * config.make.in (CPPUNDEFS): New substituted variable.
77324         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
77325         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
77326         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
77328 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77330         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
77331         (mq_attr): Use __syscall_slong_t.
77333 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77335         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
77336         Check __x86_64__ instead of __WORDSIZE.
77337         (_STAT_VER_LINUX): Likewise.
77338         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
77339         __syscall_ulong_t and __syscall_slong_t.
77340         (stat64): Likewise.
77342 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77344         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
77346 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77348         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
77350 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77352         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
77353         __syscall_ulong_t.
77355         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
77356         include <bits/wordsize.h>.  Check __x86_64__ instead of
77357         __WORDSIZE.
77358         (greg_t): Use "__extension__ long long int" if __x86_64__ is
77359         defined.
77360         (mcontext_t): Replace "unsigned long" with "unsigned long long".
77362         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
77363         include <bits/wordsize.h>.  Check __x86_64__ instead of
77364         __WORDSIZE.
77365         (user_regs_struct): Use "__extension__ unsigned long long"
77366         instead of "unsigned long" if __x86_64__ is defined.
77367         (user): Likewise.  Pad after pointer field if __ILP32__ is
77368         defined.
77370 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
77372         * configure.in (makeinfo): Require version 4.5 or later.  Allow
77373         versions 5 to 9.
77374         * configure: Regenerated.
77375         * manual/install.texi (texinfo): Increase version requirement to
77376         4.5 or later.
77377         * INSTALL: Regenerated.
77379         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
77381 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77383         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
77385         * sysdeps/x86_64/x32/ffs.c: New file.
77387         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
77388         __syscall_ulong_t.
77389         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
77390         defined.  Use __syscall_ulong_t.
77391         (shminfo): Use __syscall_ulong_t.
77392         (shm_info): Likewise.
77394         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
77395         __syscall_ulong_t.
77397         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
77398         <bits/wordsize.h>.
77399         (msgqnum_t): Use __syscall_ulong_t.
77400         (msglen_t): Likewise.
77401         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
77402         __syscall_ulong_t.
77404         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
77405         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77407         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
77409         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
77410         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
77412         * sysvipc/sys/msg.h (msgbuf): Replace long int with
77413         __syscall_slong_t.
77415         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
77416         include <bits/wordsize.h>.  Check __x86_64__ instead of
77417         __WORDSIZE.
77419         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
77420         "unsigned long long int" if __x86_64__ is defined.
77421         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
77423         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
77424         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77425         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
77427         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
77428         <stdint.h>.
77429         (GET_PC): Cast to uintptr_t first.
77430         (GET_FRAME): Likewise.
77431         (GET_STACK): Likewise.
77433         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
77434         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
77435         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
77436         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
77437         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
77438         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
77439         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
77440         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
77441         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
77442         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
77443         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
77444         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
77445         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77446         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
77447         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
77448         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
77449         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
77450         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
77451         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
77452         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
77453         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
77454         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
77455         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
77456         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
77457         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
77458         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
77459         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
77460         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
77461         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
77463 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
77465         * Makerules (+depfiles): Also collect depfiles from .oS in
77466         $(extra-objs).
77467         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
77468         .oS, $(libnldbl-routines)).
77470         * Makerules (native-compile-mkdep-flags): Define.
77471         * sunrpc/Makefile (extra-objs): Add $(addprefix
77472         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
77473         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
77474         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
77475         calling $(make-target-directory).
77477 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77479         * bits/types.h (__snseconds_t): Removed.
77480         * time/time.h (struct timespec): Replace __snseconds_t with
77481         __syscall_slong_t.
77482         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
77483         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
77484         Likewise.
77485         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77486         (__SNSECONDS_T_TYPE): Likewise.
77487         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77488         (__SNSECONDS_T_TYPE): Likewise.
77489         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77490         (__SNSECONDS_T_TYPE): Likewise.
77492 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77494         * sysdeps/mach/hurd/bits/typesizes.h
77495         (__SYSCALL_SLONG_TYPE): New macro.
77496         (__SYSCALL_ULONG_TYPE): Likewise.
77498 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77500         * bits/types.h (__syscall_slong_t): New type.
77501         (__syscall_ulong_t): Likewise.
77503         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
77504         (__SYSCALL_ULONG_TYPE): Likewise.
77505         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77506         (__SYSCALL_SLONG_TYPE): Likewise.
77507         (__SYSCALL_ULONG_TYPE): Likewise.
77508         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77509         (__SYSCALL_SLONG_TYPE): Likewise.
77510         (__SYSCALL_ULONG_TYPE): Likewise.
77511         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77512         (__SYSCALL_SLONG_TYPE): Likewise.
77513         (__SYSCALL_ULONG_TYPE): Likewise.
77515 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77517         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
77518         Add sigaltstack-offsets.sym.
77519         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
77520         <sigaltstack-offsets.h>.
77521         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
77522         longjmp_msg pointer.
77523         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
77524         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
77525         signal stack.
77526         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
77528 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
77530         * elf/stackguard-macros.h: Remove file.
77531         * sysdeps/generic/stackguard-macros.h: New file.
77532         * sysdeps/i386/stackguard-macros.h: Likewise.
77533         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
77534         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
77535         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
77536         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
77537         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
77538         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
77539         * sysdeps/x86_64/stackguard-macros.h: Likewise.
77540         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
77541         <elf/stackguard-macros.h>.
77543         [BZ #14109]
77544         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
77545         __aligned__ in attribute.
77546         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
77547         (gregset_t): Likewise.
77549 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77551         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
77552         * sysdeps/x86_64/64/Implies-after: Here.  New file.
77553         * sysdeps/x86_64/x32/Implies-after: New file.
77555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77557         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
77558         and access return value for _dl_profile_fixup.  Use R10_LP to
77559         load frame size.
77561 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77563         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
77565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77567         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
77568         * sysdeps/x86_64/x32/sysdep.h: New file.
77570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77572         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
77573         * sysdeps/x86_64/setjmp.S: Likewise.
77575 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77577         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
77578         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
77579         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
77580         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
77581         remove unused global constant.
77583 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
77585         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
77586         include of <not-cancel.h>.
77588 2012-05-15  Roland McGrath  <roland@hack.frob.com>
77590         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
77592 2012-05-15  Jeff Law  <law@redhat.com>
77593             Andreas Jaeger  <aj@suse.de>
77595         [BZ #13594]
77596         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
77597         out from...
77598         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
77599         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
77600         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
77601         code changing __hst_map_handle.map.
77603 2012-05-15  Roland McGrath  <roland@hack.frob.com>
77605         * configure.in (sysnames): Look for Implies-before and Implies-after
77606         files.
77607         * configure: Regenerated.
77609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77611         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
77612         8-byte data alignment with LP_SIZE alignment.
77614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77616         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
77617         into R10_LP.
77619 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77621         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
77623 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77625         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
77626         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
77627         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
77628         Likewise.
77629         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77633         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
77634         (stackinfo_sub_sp): Likewise.
77636 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77638         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
77639         RAX_LP.
77641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77643         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
77644         into R*_LP.
77646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77648         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
77649         sizes into R*_LP.
77651 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77653         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
77655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77657         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
77658         into R11_LP and load __x86_64_shared_cache_size_half into
77659         R8_LP.
77661 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77663         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
77664         R8_LP.
77666 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77668         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
77669         logb for POWER7.
77670         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
77671         logbf for POWER7.
77672         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
77673         logbl for POWER7.
77674         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
77675         powerpc32/power7/fpu/s_logb.c via #include.
77676         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
77677         powerpc32/power7/fpu/s_logbf.c via #include.
77678         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
77679         powerpc32/power7/fpu/s_logbl.c via #include.
77681 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
77683         * README.libm: Remove file.
77685 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77687         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
77688         count for x32.  Use R*_LP and omit operand-size suffix.
77690 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77692         * shlib-versions: Move x86_64-.*-linux.* entries to ...
77693         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
77694         * sysdeps/x86_64/x32/shlib-versions: New file.
77696 2012-05-14  Roland McGrath  <roland@hack.frob.com>
77698         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
77699         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
77700         Use _dl_fatal_printf instead.
77702 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
77704         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
77705         set if not set by the user.  Do not allow for being unset.
77706         * sysdeps/unix/sysv/linux/configure: Regenerated.
77708 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77710         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
77711         the `q' suffix from lea and replace .quad with ASM_ADDR.
77713 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77715         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
77716         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
77717         instead of $17.
77718         (PTR_DEMANGLE): Likewise.
77720 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77722         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
77723         (LP_OP): Likewise.
77724         (ASM_ADDR): Likewise.
77725         (RAX_LP): Likewise.
77726         (RBP_LP): Likewise.
77727         (RBX_LP): Likewise.
77728         (RCX_LP): Likewise.
77729         (RDI_LP): Likewise.
77730         (RSI_LP): Likewise.
77731         (RSP_LP): Likewise.
77732         (R8_LP): Likewise.
77733         (R9_LP): Likewise.
77734         (R10_LP): Likewise.
77735         (R10_LP): Likewise.
77736         (R11_LP): Likewise.
77737         (R12_LP): Likewise.
77738         (R13_LP): Likewise.
77739         (R14_LP): Likewise.
77740         (R15_LP): Likewise.
77742 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77744         * sysdeps/x86_64/x32/dl-machine.h: New file.
77746 2012-05-14  Andreas Jaeger  <aj@suse.de>
77748         * manual/Makefile (subdir): Remove export of subdir.
77749         (all): Remove target.
77750         (.PHONY): Remove all from list.
77751         (mkinstalldirs): Remove.
77752         (.PHONY): Remove installdirs from list.
77753         ($(inst_infodir)/libc.info): Use make-target-directory.
77754         (installdirs): Remove.
77755         (subdir_%): Remove.
77756         (glibc-targets): Remove.
77757         (lib): Remove.
77758         (stubs): Remove.
77759         ($(objpfx)stubs ../po/manual.pot): Remove.
77760         ($(objpfx)stamp%): Remove.
77761         (make-target-directory): Remove.
77762         (subdir_install): Remove.
77763         (routines): Remove.
77764         (aux): Remove.
77765         (sources): Remove.
77766         (objects): Remove.
77767         (headers): Remove.
77769         [BZ #13750]
77770         * manual/.gitignore: Remove, it's not needed anymore.
77771         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
77772         all files in it.
77773         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
77774         directory.
77775         (texis): Renamed to $(objpfx)texis.
77776         (texis-path): New, contains path to generated files.
77777         (chapters.%): Use texis-path for complete path, add extra argument
77778         libc-texinfo.sh.
77779         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
77780         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
77781         (summary,texi, stamp-summary): Use complete path of
77782         files. Generate files in build dir.
77783         (dir-add.texi): Build in build dir.
77784         (libm-err.texi,stamp-libm-err): Likewise.
77785         (version.texi, stamp-version): Likewise.
77786         (.%c.texi): Likewise.
77787         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
77788         (mostlyclean): Remove target.
77789         (realclean): Remove target.
77790         (generated): Add new variable with contents from mostlyclean and
77791         realclean, remove entries duplicated in common-mostlyclean, add
77792         stamp-libm-err and stamp-version.
77793         (generated-dirs): Add libc directory.
77794         ($(inst_infodir)/libc.info): Install files from build dir.
77796         * manual/install.texi (Configuring and compiling): Adjust since
77797         the info files are not part of the tar ball anymore.
77799 2012-05-14  Andreas Jaeger  <aj@suse.de>
77801         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
77802         variable.
77804 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
77806         [BZ #13717]
77807         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77808         to 2.2.0 where earlier.
77809         * sysdeps/unix/sysv/linux/configure: Regenerated.
77810         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
77811         Remove conditional code.
77812         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
77813         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
77814         Remove conditional code.
77815         [!__NR_lchown]: Likewise.
77816         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
77817         [__NR_lchown]: Likewise.
77818         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
77819         comment referencing __ASSUME_LCHOWN_SYSCALL.
77820         * sysdeps/unix/sysv/linux/i386/sigaction.c
77821         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77822         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77823         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
77824         Remove conditional code.
77825         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
77826         (__protocol_available): Remove #if 0 code.
77827         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
77828         conditional code.
77829         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
77830         * sysdeps/unix/sysv/linux/kernel-features.h
77831         (__ASSUME_GETCWD_SYSCALL): Don't define.
77832         (__ASSUME_REALTIME_SIGNALS): Likewise.
77833         (__ASSUME_PREAD_SYSCALL): Likewise.
77834         (__ASSUME_PWRITE_SYSCALL): Likewise.
77835         (__ASSUME_POLL_SYSCALL): Likewise.
77836         (__ASSUME_LCHOWN_SYSCALL): Likewise.
77837         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
77838         non-SPARC.
77839         (__ASSUME_SIOCGIFNAME): Don't define.
77840         (__ASSUME_MSG_NOSIGNAL): Likewise.
77841         (__ASSUME_SENDFILE): Define unconditionally.
77842         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
77843         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
77844         conditional code.
77845         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
77846         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
77847         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
77848         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
77849         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
77850         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
77851         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
77852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
77853         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77854         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
77856         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77857         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
77859         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77860         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
77862         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77863         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
77865         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77866         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
77868         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77869         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
77871         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77872         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
77874         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77875         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77876         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
77877         Remove conditional code.
77878         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77879         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
77880         Remove conditional code.
77881         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77882         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
77883         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
77884         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
77885         Remove conditional code.
77886         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77887         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
77888         Remove conditional code.
77889         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77890         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
77891         Remove conditional code.
77892         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77893         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
77894         Remove conditional code.
77895         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77896         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
77897         Remove conditional code.
77898         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77899         * sysdeps/unix/sysv/linux/sh/pwrite64.c
77900         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77901         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77902         * sysdeps/unix/sysv/linux/sigaction.c
77903         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77904         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77905         * sysdeps/unix/sysv/linux/sigpending.c
77906         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77907         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77908         * sysdeps/unix/sysv/linux/sigprocmask.c
77909         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77910         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77911         * sysdeps/unix/sysv/linux/sigsuspend.c
77912         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77913         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77914         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
77915         (__libc_missing_rt_sigs): Remove.
77916         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
77917         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
77918         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
77919         Remove conditional code.
77920         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
77921         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
77922         return 1.
77923         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
77924         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
77925         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
77926         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
77928 2012-05-14  Andreas Jaeger  <aj@suse.de>
77930         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
77931         it's not used in glibc.
77932         (__coshm1): Likewise.
77933         (__acosh1p): Likewise.
77934         (__sgn): Likewise.
77936         * manual/string.texi (Copying and Concatenation): Add missing
77937         variable in concat example.
77938         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
77940 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77942         [BZ #14103]
77943         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
77944         __builtin_clzl with __builtin_clzll.
77946 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77948         [BZ #14104]
77949         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
77950         libc_freeres_ptr.
77952 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77954         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
77955         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
77956         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
77957         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
77959 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
77961         * NEWS: Update ia64 info.
77963 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
77965         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
77966         used as bcopy.
77968 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
77970         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
77971         * sysdeps/unix/syscalls.list (dup3): Likewise.
77972         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
77973         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
77975 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
77977         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
77978         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
77980 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
77982         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
77983         thread pointer.
77984         (TLS_IE): Use mov/add instead of movq/addq to load thread
77985         pointer.
77986         (TLS_GD_PREFIX): New.
77987         (TLS_GD): Use it.
77989 2012-05-11  David S. Miller  <davem@davemloft.net>
77991         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
77992         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
77993         (_FPU_SETCW): Likewise.
77995 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77997         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
77998         is 32-byte aligned.
78000 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
78002         [BZ #11837]
78003         * iconvdata/gb18030.c: Update tables.
78004         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
78005         characters specially.
78006         (BODY for TO_LOOP): Add encoding of missing ranges.
78008 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
78010         [BZ #13673]
78011         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
78012         * sysdeps/mach/hurd/dup3.c: Likewise.
78013         * sysdeps/mach/hurd/readlinkat.c: Likewise.
78014         * sysdeps/powerpc/memmove.c:: Likewise.
78016 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78018         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
78019         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
78021 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78023         * elf/elf.h (R_X86_64_RELATIVE64): New.
78024         (R_X86_64_NUM): Updated.
78025         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
78026         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
78027         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
78028         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
78029         tst-quad1pie tst-quad2pie
78030         (modules-names): Add tst-quadmod1 tst-quadmod2.
78031         ($(objpfx)tst-quad1): New dependency.
78032         ($(objpfx)tst-quad2): Likewise.
78033         ($(objpfx)tst-quad1pie): Likewise.
78034         ($(objpfx)tst-quad2pie): Likewise.
78035         * sysdeps/x86_64/tst-quad1.c: New file.
78036         * sysdeps/x86_64/tst-quad1pie.c: New file.
78037         * sysdeps/x86_64/tst-quad2.c: Likewise.
78038         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
78039         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
78040         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
78041         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
78042         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
78044 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78046         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
78047         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
78048         * streams/stropts.h (t_scalar_t): Define type.
78050         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
78051         (_PATH_PRESERVE): Set to "/var/lib".
78052         (_PATH_RWHODIR): Set to "/var/spool/rwho".
78054         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
78055         instead of int.
78057         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
78058         if __dir_mkfile succeeded.
78060         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
78061         checking for _hurd_dtablesize.  Unlock it right after having
78062         finished _hurd_dtable allocation.
78064 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78066         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
78067         * sysdeps/mach/hurd/configure: Regenerated.
78068         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
78069         special-casing to...
78070         * sysdeps/gnu/configure.in: ... this new file.
78071         * sysdeps/unix/sysv/linux/configure: Regenerated.
78072         * sysdeps/gnu/configure: New generated file.
78074         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
78075         for Linux: use nsec instead of usec, as well as:
78076         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
78077         members of type struct timespec.
78078         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
78079         New macros.
78080         (struct stat64): Likewise.
78081         (_STATBUF_ST_NSEC): New macro.
78082         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
78084         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78085         __strtoul_internal rather than strtoul.
78087 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78089         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
78090         and reject them.
78092 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78094         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
78095         which preserves existing values.
78096         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
78098 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78100         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
78101         TIMEOUT values.  Return EINVAL for NFDS values either negative or
78102         greater than FD_SETSIZE.
78104 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78106         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
78107         allocated, call __vm_protect to finish enabling the existing space, and
78108         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
78109         allocate the remainder.
78111 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78113         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
78114         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
78116 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78118         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
78119         sysdeps/mach/hurd/readlink.c.
78121         * posix/tst-sysconf.c (posix_options): Only use
78122         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
78123         _POSIX_SYNCHRONIZED_IO when they are defined
78124         * sysdeps/mach/hurd/bits/posix_opt.h:
78125         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
78126         (_XOPEN_REALTIME): Undefine macro.
78127         (_XOPEN_REALTIME_THREADS): Undefine macro.
78128         (_XOPEN_SHM): Undefine macro.
78129         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
78130         macro to -1.
78131         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
78132         macro to -1.
78133         (_POSIX_ASYNC_IO): Undefine macro.
78134         (_POSIX_PRIORITIZED_IO): Undefine macro.
78135         (_POSIX_SPIN_LOCKS): Define macro to -1.
78137         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
78138         SA_NODEFER, SA_RESETHAND.
78139         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
78140         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
78141         F_DUPFD_CLOEXEC.
78143 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78145         * elf/Makefile (pldd-modules): Define unconditionally.
78147 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78149         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
78151 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78153         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
78154         Return ENOENT when name is empty.
78155         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
78157 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78159         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
78161         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
78163 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78165         Fix mlock in all cases except non-readable pages.
78166         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
78167         instead of VM_PROT_ALL as parameter to __vm_wire function.
78169         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
78170         (__mkdir): When path is `/', just fail with EEXIST.
78171         * sysdeps/mach/hurd/mkdirat.c: Likewise.
78173 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78175         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
78176         <sys/uio.h> (for writev).
78177         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
78178         and <sys/param.h> (for MIN).
78180 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78182         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
78183         REQUESTED_TIME.  Properly set the remaining time and return EINTR
78184         if interrupted.
78186 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78188         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
78189         Depend on against $(link-rpcuserlibs).
78191 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78193         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
78194         (__libc_stack_end): Do not use attribute_relro.
78195         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
78196         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
78197         to libthread-provided value.
78198         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
78199         attribute_relro.
78201 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78203         [BZ #3748]
78204         * bits/libc-lock.h (__libc_once_get): New macro.
78205         * sysdeps/mach/bits/libc-lock.h: Likewise.
78206         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
78207         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
78208         instead of using implementation details.
78210         * libio/fileops.c: Unconditionally include <kernel-features.h>.
78211         * libio/freopen.c: Likewise.
78212         * libio/freopen64.c: Likewise.
78213         * misc/syslog.c: Likewise.
78214         * nscd/connections.c: Likewise.
78215         * nscd/netgroupcache.c: Likewise.
78216         * sysdeps/posix/getcwd.c: Likewise.
78218 2012-05-10  Roland McGrath  <roland@hack.frob.com>
78220         * math/w_ilogbf.c: Add #include <limits.h>.
78222 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78224         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
78225         path instead of returning without unlocking.
78227         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
78228         immediate-write ioctls.
78229         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
78231 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78233         * sysdeps/mach/hurd/i386/init-first.c (init): Use
78234         __builtin_frame_address instead of making assumptions about the
78235         location of the return address relative to DATA.  Force early load of
78236         the return address.
78237         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
78238         __builtin_frame_address.
78240         dup3 for GNU Hurd.
78241         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
78242         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
78243         implement dup3 and do some further code clean-ups.
78244         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
78245         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
78247 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78249         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
78251         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
78252         HURD_CRITICAL_END around holding _hurd_dtable_lock.
78253         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
78254         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
78255         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
78256         d->port.lock.
78258         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
78259         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
78260         when handler == SIG_ERR, not when handler != SIG_ERR.
78262 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78264         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
78265         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
78266         definitions.
78268         accept4 for GNU Hurd.
78269         * include/sys/socket.h (__libc_accept4): New prototype.
78270         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
78271         to implement __libc_accept4.
78272         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
78273         __libc_accept4.
78274         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
78276         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
78277         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
78278         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
78279         signal-defines.sym.
78281 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78283         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
78285 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78287         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
78288         assertion on O_CLOEXEC flag.
78289         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
78290         * hurd/intern-fd.c: Likewise.
78291         * hurd/port2fd.c: Likewise.
78293 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78295         [BZ #3906]
78296         * bits/in.h (IPV6_PKTINFO): Define new macro.
78297         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
78299 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78301         [BZ #13954]
78302         [BZ #13955]
78303         [BZ #13956]
78304         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
78305         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
78306         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
78307         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78308         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
78309         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
78310         * math/libm-test.inc (logb_test) : Additional logb tests.
78312 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
78313             Andreas Jaeger  <aj@suse.de>
78315         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
78316         * configure: Regenerated.
78317         * config.h.in (LINK_OBSOLETE_RPC): New macro.
78318         * config.make.in (link-obsolete-rpc): New substituted variable.
78319         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
78320         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
78321         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
78322         (shared-only-routines): Don't set it under [link-obsolete-rpc],
78323         so that libc.a contains the symbols.
78324         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
78325         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
78326         * sunrpc/auth_none.c: Likewise.
78327         * sunrpc/auth_unix.c: Likewise.
78328         * sunrpc/authdes_prot.c: Likewise.
78329         * sunrpc/authuxprot.c: Likewise.
78330         * sunrpc/clnt_gen.c: Likewise.
78331         * sunrpc/clnt_perr.c: Likewise.
78332         * sunrpc/clnt_raw.c: Likewise.
78333         * sunrpc/clnt_simp.c: Likewise.
78334         * sunrpc/clnt_tcp.c: Likewise.
78335         * sunrpc/clnt_udp.c: Likewise.
78336         * sunrpc/clnt_unix.c: Likewise.
78337         * sunrpc/des_crypt.c: Likewise.
78338         * sunrpc/des_soft.c: Likewise.
78339         * sunrpc/get_myaddr.c: Likewise.
78340         * sunrpc/key_call.c: Likewise.
78341         * sunrpc/key_prot.c: Likewise.
78342         * sunrpc/netname.c: Likewise.
78343         * sunrpc/pm_getmaps.c: Likewise.
78344         * sunrpc/pm_getport.c: Likewise.
78345         * sunrpc/pmap_clnt.c: Likewise.
78346         * sunrpc/pmap_prot.c: Likewise.
78347         * sunrpc/pmap_prot2.c: Likewise.
78348         * sunrpc/pmap_rmt.c: Likewise.
78349         * sunrpc/publickey.c: Likewise.
78350         * sunrpc/rpc_cmsg.c: Likewise.
78351         * sunrpc/rpc_common.c: Likewise.
78352         * sunrpc/rpc_dtable.c: Likewise.
78353         * sunrpc/rpc_prot.c: Likewise.
78354         * sunrpc/rpc_thread.c: Likewise.
78355         * sunrpc/rtime.c: Likewise.
78356         * sunrpc/svc.c: Likewise.
78357         * sunrpc/svc_auth.c: Likewise.
78358         * sunrpc/svc_raw.c: Likewise.
78359         * sunrpc/svc_run.c: Likewise.
78360         * sunrpc/svc_tcp.c: Likewise.
78361         * sunrpc/svc_udp.c: Likewise.
78362         * sunrpc/svc_unix.c: Likewise.
78363         * sunrpc/svcauth_des.c: Likewise.
78364         * sunrpc/xcrypt.c: Likewise.
78365         * sunrpc/xdr.c: Likewise.
78366         * sunrpc/xdr_array.c: Likewise.
78367         * sunrpc/xdr_float.c: Likewise.
78368         * sunrpc/xdr_intXX_t.c: Likewise.
78369         * sunrpc/xdr_mem.c: Likewise.
78370         * sunrpc/xdr_rec.c: Likewise.
78371         * sunrpc/xdr_ref.c: Likewise.
78372         * sunrpc/xdr_sizeof.c: Likewise.
78373         * sunrpc/xdr_stdio.c: Likewise.
78375 2012-05-10  Roland McGrath  <roland@hack.frob.com>
78377         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
78378         change.  Update copyright years.
78380 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
78382         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
78384 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
78385             Joseph Myers  <joseph@codesourcery.com>
78386             Paul Pluzhnikov  <ppluzhnikov@google.com>
78388         [BZ #14012]
78389         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
78390         requiring rpcgen.
78391         [cross-compiling] (extra-libs): Likewise.
78392         [cross-compiling] (extra-libs-others): Likewise.
78393         [cross-compiling] (librpcsvc-routines): Likewise.
78394         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
78395         [cross-compiling] (omit-deps): Likewise.
78396         (sunrpc-CPPFLAGS): New variable.
78397         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
78398         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
78399         (cross-rpcgen-objs): New variable.
78400         (extra-objs): Append $(cross-rpcgen-objs).
78401         ($(cross-rpcgen-objs)): New rule.
78402         ($(objpfx)cross-rpcgen): Likewise.
78403         (rpcgen-cmd): Define to use $(built-program-file).  Expand
78404         comment.
78405         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
78406         ($(objpfx)x%.stmp): Likewise.
78407         * sunrpc/proto.h [IS_IN_build] (_): Define.
78408         [IS_IN_build] (_libc_intl_domainname): Likewise.
78410 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78412         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
78413         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
78414         and R_X86_64_TPOFF64.
78416 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
78418         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
78419         sysdeps/unix/sysv/syscalls.list.
78420         (stime): Likewise.
78421         (utime): Likewise.
78422         * sysdeps/unix/sysv/syscalls.list: Remove file.
78424 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
78426         [BZ #3440]
78427         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
78428         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
78429         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
78430         (__LC_IDENTIFICATION): Make these macros useful in #if
78431         expressions, as required by C99.
78433 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
78435         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
78436         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
78437         after this.
78439 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
78441         * stdlib/longlong.h: Updated from GCC.
78443 2012-05-09  Andreas Jaeger  <aj@suse.de>
78445         * nscd/nscd.c (run_modes): Make named enum, reorder so that
78446         default is first entry.
78447         (run_mode): Set type.
78448         (main): Remove informal message about syslog.
78449         (options): Fix typo.
78451         [BZ #14053]
78452         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
78453         to asm.
78454         (lrint): Likewise.
78455         (llrintf): Likewise.
78456         (llrint): Likewise.
78457         (rint): Likewise.
78458         (rintf): Likewise.
78459         (nearbyint): Likewise.
78460         (nearbyintf): Likewise.
78462 2012-05-09  Andreas Jaeger  <aj@suse.de>
78463             Pedro Alves  <palves@redhat.com>
78465         * nscd/nscd.c (run_mode): Use enum.
78466         (main): Cleanup coding style issue.
78468 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
78469             Andreas Jaeger  <aj@suse.de>
78471         * nscd/nscd.c (go_background): Replaced with...
78472         (run_mode): ... this.
78473         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
78474         (options): Add -F --foreground.
78475         (main): Implement it.
78476         (parse_opt): Parse it.
78478 2012-05-09  Andreas Jaeger  <aj@suse.de>
78480         [BZ #14083]
78481         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
78482         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
78483         -Wconversion warning.
78484         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
78485         Likewise.
78487 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
78489         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
78490         == 0.
78491         (LC_ALL): Use macro-int-constant.
78492         (LC_COLLATE): Likewise.
78493         (LC_CTYPE): Likewise.
78494         (LC_MESSAGES): Likewise.
78495         (LC_MONETARY): Likewise.
78496         (LC_NUMERIC): Likewise.
78497         (LC_TIME): Likewise.
78498         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
78499         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
78500         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78501         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
78502         Specify type.
78503         [C99-based standards] (float_t): Expect type.
78504         [C99-based standards] (double_t): Expect type.
78505         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
78506         type.
78507         [C99-based standards] (HUGE_VALL): Likewise.
78508         [C99-based standards] (INFINITY): Likewise.
78509         [C99-based standards] (NAN): Likewise.
78510         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
78511         [C99-based standards] (FP_NAN): Likewise.
78512         [C99-based standards] (FP_NORMAL): Likewise.
78513         [C99-based standards] (FP_SUBNORMAL): Likewise.
78514         [C99-based standards] (FP_ZERO): Likewise.
78515         [C99-based standards] (FP_FAST_FMA): Use
78516         optional-macro-int-constant.  Specify type.  Require == 1.
78517         [C99-based standards] (FP_FAST_FMAF): Likewise.
78518         [C99-based standards] (FP_FAST_FMAL): Likewise.
78519         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
78520         [C99-based standards] (FP_ILOGBNAN): Likewise.
78521         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
78522         Specify type.
78523         [C99-based standards] (MATH_ERREXCEPT): Likewise.
78524         [C99-based standards] (math_errhandling): Specify type.
78525         [ISO99 || ISO11] (signgam): Do not allow.
78526         [non-C99-based standards] (copysignf): Do not allow.
78527         [non-C99-based standards] (exp2f): Likewise.
78528         [non-C99-based standards] (log2f): Likewise.
78529         [non-C99-based standards] (modff): Allow.
78530         [non-C99-based standards] (erff): Do not allow.
78531         [non-C99-based standards] (erfcf): Likewise.
78532         [non-C99-based standards] (gammaf): Likewise.
78533         [non-C99-based standards] (hypotf): Likewise.
78534         [non-C99-based standards] (j0f): Likewise.
78535         [non-C99-based standards] (j1f): Likewise.
78536         [non-C99-based standards] (jnf): Likewise.
78537         [non-C99-based standards] (lgammaf): Likewise.
78538         [non-C99-based standards] (tgammaf): Likewise.
78539         [non-C99-based standards] (y0f): Likewise.
78540         [non-C99-based standards] (y1f): Likewise.
78541         [non-C99-based standards] (ynf): Likewise.
78542         [non-C99-based standards] (isnanf): Likewise.
78543         [non-C99-based standards] (acoshf): Likewise.
78544         [non-C99-based standards] (asinhf): Likewise.
78545         [non-C99-based standards] (atanhf): Likewise.
78546         [non-C99-based standards] (cbrtf): Likewise.
78547         [non-C99-based standards] (expm1f): Likewise.
78548         [non-C99-based standards] (ilogbf): Likewise.
78549         [non-C99-based standards] (log1pf): Likewise.
78550         [non-C99-based standards] (logbf): Likewise.
78551         [non-C99-based standards] (nextafterf): Likewise.
78552         [non-C99-based standards] (remainderf): Likewise.
78553         [non-C99-based standards] (rintf): Likewise.
78554         [non-C99-based standards] (scalbf): Likewise.
78555         [non-C99-based standards] (copysignl): Likewise.
78556         [non-C99-based standards] (exp2l): Likewise.
78557         [non-C99-based standards] (log2l): Likewise.
78558         [non-C99-based standards] (modfl): Allow.
78559         [non-C99-based standards] (erfl): Do not allow.
78560         [non-C99-based standards] (erfcl): Likewise.
78561         [non-C99-based standards] (gammal): Likewise.
78562         [non-C99-based standards] (hypotl): Likewise.
78563         [non-C99-based standards] (j0l): Likewise.
78564         [non-C99-based standards] (j1l): Likewise.
78565         [non-C99-based standards] (jnl): Likewise.
78566         [non-C99-based standards] (lgammal): Likewise.
78567         [non-C99-based standards] (tgammal): Likewise.
78568         [non-C99-based standards] (y0l): Likewise.
78569         [non-C99-based standards] (y1l): Likewise.
78570         [non-C99-based standards] (ynl): Likewise.
78571         [non-C99-based standards] (isnanl): Likewise.
78572         [non-C99-based standards] (acoshl): Likewise.
78573         [non-C99-based standards] (asinhl): Likewise.
78574         [non-C99-based standards] (atanhl): Likewise.
78575         [non-C99-based standards] (cbrtl): Likewise.
78576         [non-C99-based standards] (expm1l): Likewise.
78577         [non-C99-based standards] (ilogbl): Likewise.
78578         [non-C99-based standards] (log1pl): Likewise.
78579         [non-C99-based standards] (logbl): Likewise.
78580         [non-C99-based standards] (nextafterl): Likewise.
78581         [non-C99-based standards] (remainderl): Likewise.
78582         [non-C99-based standards] (rintl): Likewise.
78583         [non-C99-based standards] (scalbl): Likewise.
78584         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78585         [non-C99-based standards] (FP_*): Do not allow.
78586         [C99-based standards] (FP_*): Change to
78587         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
78588         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78589         allow.
78590         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
78591         (SIG_ERR): Likewise.
78592         [X/Open-based standards] (SIG_HOLD): Likewise.
78593         (SIG_IGN): Likewise.
78594         (SIGABRT): Use macro-int-constant.  Specify type.  Require
78595         positive value.
78596         (SIGFPE): Likewise.
78597         (SIGILL): Likewise.
78598         (SIGINT): Likewise.
78599         (SIGSEGV): Likewise.
78600         (SIGTER): Likewise.
78601         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
78602         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
78603         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
78604         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
78605         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
78606         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
78607         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
78608         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
78609         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
78610         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
78611         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
78612         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
78613         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
78614         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
78615         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
78616         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
78617         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
78618         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
78619         [X/Open-based standards] (SIGTRAP): Likewise.
78620         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
78621         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
78622         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
78623         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
78624         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78625         allow.
78627 2012-05-08  Ian Wienand  <ianw@vmware.com>
78629         [BZ #14080]
78630         * time/tzset.c (__tzset_parse_tz): Update default rules for
78631         daylight time changes in the Energy Policy Act of 2005.
78633 2012-05-09  Andreas Jaeger  <aj@suse.de>
78635         [BZ #13983]
78636         * elf/ldconfig.c (parse_conf): Change string to make clear that
78637         ldconfig only issued a warning if ld.so.conf does not exist.
78639 2012-05-08  David S. Miller  <davem@davemloft.net>
78641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
78642         movxtod instead of popping the value on the stack.
78644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78646 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
78648         * config.h.in: Add HAVE_ARM_PCS_VFP.
78650 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
78652         [BZ #13979]
78653         * include/features.h: Warn if user requests __FORTIFY_SOURCE
78654         checking but the checks are disabled for any reason.
78656 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
78658         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
78659         and ELF64_R_TYPE with ELFW(R_TYPE).
78661 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
78663         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
78664         (ulimit): Likewise.
78666         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
78667         (settimeofday): Likewise.
78669 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
78671         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
78672         a struct th_u2 inside the union, and move tu_block/tu_code into
78673         a new th_u3 union of tu_block/tu_code inside of that.  Move
78674         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
78675         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
78676         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
78677         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
78678         (th_stuff): Change to th_u1.tu_stuff.
78679         (th_data): Define.
78680         (th_msg): Change to th_u1.th_u2.tu_data.
78682 2012-05-07  David S. Miller  <davem@davemloft.net>
78684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78686         [BZ #14074]
78687         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
78688         (SETUP_PIC_REG): Use it.
78689         (SETUP_PIC_REG_LEAF): Use it.
78691 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
78693         [BZ #13885]
78694         [BZ #13923]
78695         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
78696         USE_AS_EXPM1L.
78697         (EXPL_FINITE): Likewise.
78698         (FLDLOG): Likewise.
78699         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
78700         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
78701         e_expl.S.
78702         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
78703         USE_AS_EXPM1L.
78704         (EXPL_FINITE): Likewise.
78705         (FLDLOG): Likewise.
78706         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
78707         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
78708         e_expl.S.
78709         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
78710         test of -max_value argument for long double.
78711         * sysdeps/i386/fpu/libm-test-ulps: Update.
78712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78714 2012-05-06  David S. Miller  <davem@davemloft.net>
78716         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
78717         quad soft-float symbols whose references which are compiler
78718         generated.
78719         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
78721 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
78723         [BZ #13884]
78724         [BZ #13914]
78725         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
78726         USE_AS_EXP10L.
78727         (EXPL_FINITE): Likewise.
78728         (FLDLOG): Likewise.
78729         (c0): Likewise.
78730         (c1): Likewise.
78731         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
78732         Adjust comments for base varying.
78733         (__expl_finite): Change alias to EXPL_FINITE.
78734         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
78735         e_expl.S.
78736         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
78737         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
78738         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
78739         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
78740         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
78741         USE_AS_EXP10L.
78742         (EXPL_FINITE): Likewise.
78743         (FLDLOG): Likewise.
78744         (c0): Likewise.
78745         (c1): Likewise.
78746         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
78747         Adjust comments for base varying.
78748         (__expl_finite): Change alias to EXPL_FINITE.
78749         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
78750         tests for bugs.
78751         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78753         [BZ #14064]
78754         * math/libm-test.inc (check_float_internal): Correct ulp
78755         calculation for subnormal expected results.
78757 2012-05-06  Andreas Jaeger  <aj@suse.de>
78759         * Makeconfig (+math-flags): New, set to -frounding-math.
78760         (+cflags): Add +math-flags so that all of glibc gets compiled with
78761         it.
78763         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
78765 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
78767         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
78768         Disable one test.
78770         [BZ #13787]
78771         [BZ #13922]
78772         [BZ #14036]
78773         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
78774         (__ieee754_expl): Allow for and saturate large arguments.
78775         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
78776         (u_threshold): Likewise.
78777         (__exp): Call __ieee754_exp before checking for overflow and
78778         underflow.
78779         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
78780         (u_threshold): Likewise.
78781         (__expf): Call __ieee754_expf before checking for overflow and
78782         underflow.
78783         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
78784         (u_threshold): Likewise.
78785         (__expl): Call __ieee754_expl before checking for overflow and
78786         underflow.
78787         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
78788         (__ieee754_expl): Allow for and saturate large arguments.
78789         * math/libm-test.inc (exp_test): Add another test.  Do not allow
78790         missing overflow exception on overflow.
78791         (expm1_test): Do not allow missing overflow exception on overflow.
78793         * sysdeps/i386/fpu/e_expl.c: Move to ...
78794         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
78795         rather than using inline asm.
78796         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
78797         * sysdeps/x86_64/fpu/e_expl.S: Copy from
78798         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
78800         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
78801         (nice): Likewise.
78802         (poll): Likewise.
78803         (signal): Likewise.
78804         (time): Likewise.
78805         (times): Likewise.
78807 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
78809         * sysdeps/unix/syscalls.list (adjtime): Add entry from
78810         sysdeps/unix/common/syscalls.list.
78811         (fchmod): Likewise.
78812         (fchown): Likewise.
78813         (ftruncate): Likewise.
78814         (getrusage): Likewise.
78815         (gettimeofday): Likewise.
78816         (setpgid): Likewise.
78817         (setregid): Likewise.
78818         (setreuid): Likewise.
78819         (sigaction): Likewise.
78820         (truncate): Likewise.
78821         (vhangup): Likewise.
78822         * sysdeps/unix/common/syscalls.list: Remove file.
78823         * sysdeps/unix/bsd/Implies: Don't include unix/common.
78824         * sysdeps/unix/sysv/linux/Implies: Likewise.
78826 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
78828         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
78829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
78830         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
78831         Moved to ...
78832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
78833         Here.
78834         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
78835         to ...
78836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
78837         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
78838         to ...
78839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
78840         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
78841         to ...
78842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
78843         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
78844         to ...
78845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
78846         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
78847         to ...
78848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
78849         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
78850         to ...
78851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
78852         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
78853         to ...
78854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
78855         Here.
78856         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
78857         to ...
78858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
78859         Here.
78860         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
78861         to ...
78862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
78863         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
78864         Moved to ...
78865         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
78866         Here.
78867         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
78868         to ...
78869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
78871 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
78873         * sysdeps/unix/common/bits/dirent.h: Remove file.
78874         * sysdeps/unix/common/bits/fcntl.h: Likewise.
78876         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
78877         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
78878         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
78879         * sysdeps/unix/bsd/isatty.c: Likewise.
78880         * sysdeps/unix/bsd/tcdrain.c: Likewise.
78881         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
78882         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
78884 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78886         [BZ #13563]
78887         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
78888         long double comparison inaccuracies.
78889         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
78890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78892 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
78894         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
78895         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
78897 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
78899         [BZ #14049]
78900         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
78901         nonzero digits before rounding a hex value.
78902         * stdlib/tst-strtod.c (tests): Add another test.
78904 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78906         * sysdeps/s390/fpu/libm-test-ulps: Update.
78908 2012-05-03  Andreas Jaeger  <aj@suse.de>
78910         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
78911         does not get optimized out.
78912         (malloc_opt_barrier): New.
78914 2012-05-03  Andreas Jaeger  <aj@suse.de>
78915             Roland McGrath  <roland@hack.frob.com>
78917         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
78918         intermediate file deletion.
78919         (generated): Add .symlist files.
78921 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
78923         [BZ #13775]
78924         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
78925         Redirect under this condition.
78926         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
78927         [__USE_GNU] (__dprintf_chk): Not under this condition.
78928         [__USE_GNU] (__vdprintf_chk): Likewise.
78929         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
78930         under this condition.
78931         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
78932         [__USE_XOPEN2K8] (dprintf): Define under this condition.
78933         [__USE_XOPEN2K8] (vdprintf): Likewise.
78934         [__USE_GNU] (__dprintf_chk): Not under this condition.
78935         [__USE_GNU] (__vdprintf_chk): Likewise.
78936         [__USE_GNU] (dprintf): Likewise.
78937         [__USE_GNU] (vdprintf): Likewise.
78939 2012-05-03  Roland McGrath  <roland@hack.frob.com>
78941         * elf/Makefile (common-generated): Set this instead of generated for
78942         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
78943         $(all-built-dso)-derived lists.
78945 2012-05-03  Andreas Jaeger  <aj@suse.de>
78947         * sysdeps/i386/fpu/libm-test-ulps: Update.
78949         * FAQ: Removed.
78950         * FAQ.in: Likewise.
78951         * scripts/gen-FAQ.pl: Likewise.
78952         * manual/install.texi (Installation): Point to online location of
78953         FAQ.
78954         * Makefile (files-for-dist): Remove FAQ.
78955         (FAQ): Remove.
78957 2012-05-02  Allan McRae  <allan@archlinux.org>
78959         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
78960         (LDFLAGS-reldepmod5.so): Likewise.
78961         (LDFLAGS-reldep6mod1.so): Likewise.
78962         (LDFLAGS-reldep6mod4.so): Likewise.
78963         (LDFLAGS-reldep8mod3.so): Likewise.
78964         (LDFLAGS-unload4mod1.so): Likewise.
78965         (LDFLAGS-unload4mod2.so): Likewise.
78966         (LDFLAGS-tst-initorder): Likewise.
78967         (LDFLAGS-tst-initordera2.so): Likewise.
78968         (LDFLAGS-tst-initordera3.so): Likewise.
78969         (LDFLAGS-tst-initordera4.so): Likewise.
78970         (LDFLAGS-tst-initorderb2.so): Likewise.
78971         (LDFLAGS-noload): Likewise.
78972         (LDFLAGS-next): Likewise.
78973         (LDFLAGS-order2mod1.so): Likewise.
78974         (LDFLAGS-order2mod2.so): Likewise.
78975         (LDFLAGS-tst-initorder2): Likewise.
78976         (LDFLAGS-tst-initorder2a.so): Likewise.
78977         (LDFLAGS-tst-initorder2b.so): Likewise.
78978         (LDFLAGS-tst-initorder2c.so): Likewise.
78979         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
78981 2012-05-02  David S. Miller  <davem@davemloft.net>
78983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78985 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
78987         [BZ #14055]
78988         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
78990 2012-05-02  Andreas Jaeger  <aj@suse.de>
78992         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
78993         since we manipulate rounding mode.
78994         (CPPFLAGS-test-idouble.c): Likewise.
78995         (CPPFLAGS-test-ifloat.c): Likewise.
78996         (CFLAGS-test-ldouble.c): Likewise.
78997         (CFLAGS-test-double.c): Likewise.
78998         (CFLAGS-test-float.c): Likewise.
78999         (CFLAGS-test-misc.c): Likewise.
79000         (CFLAGS-test-test-fenv.c): Likewise.
79002 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79004         [BZ #2550]
79005         [BZ #2570]
79006         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
79007         comparisons to determine direction to adjust input.
79009 2012-05-01  Roland McGrath  <roland@hack.frob.com>
79011         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
79012         output to the target.
79014         * scripts/localplt.awk: New file.
79015         * elf/Makefile ($(objpfx)check-localplt): Target removed.
79016         (check-localplt-CFLAGS): Variable removed.
79017         ($(all-built-dso:=.jmprel)): New static pattern rule.
79018         (generated): Add those targets.
79019         (localplt-built-dso): New variable.
79020         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
79022         * elf/check-localplt.c: File removed.
79024         * scripts/check-execstack.awk: New file.
79025         * elf/Makefile ($(objpfx)check-execstack): Target removed.
79026         (check-execstack-CFLAGS): Variable removed.
79027         ($(objpfx)check-execstack.h): Target removed.
79028         ($(objpfx)execstack-default): New target.
79029         (generated): Add that instead of check-execstack.h.
79030         ($(all-built-dso:=.phdr)): New static pattern rule.
79031         (generated): Add those targets.
79032         * elf/check-execstack.c: File removed.
79034         * scripts/check-textrel.awk: New file.
79035         * elf/Makefile ($(objpfx)check-textrel): Target removed.
79036         (check-textrel-CFLAGS): Variable removed.
79037         (all-built-dso): Use := to define.o
79038         ($(all-built-dso:=.dyn)): New static pattern rule.
79039         (generated): Add those targets.
79040         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
79041         * config.make.in (READELF): New substituted variable.
79042         * elf/check-textrel.c: File removed.
79044 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
79046         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79047         allow.
79048         * conform/data/ctype.h-data [C99-based standards] (isblank):
79049         Expect function.
79050         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
79051         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
79052         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79053         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
79054         Specify type.  Require positive value.
79055         (EILSEQ): Likewise.
79056         (ERANGE): Likewise.
79057         [ISO || POSIX] (EILSEQ): Do not expect.
79058         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
79059         Specify type.  Require positive value.
79060         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
79061         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
79062         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
79063         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
79064         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
79065         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
79066         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
79067         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
79068         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
79069         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
79070         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
79071         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
79072         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
79073         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
79074         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
79075         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
79076         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
79077         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
79078         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
79079         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
79080         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
79081         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
79082         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
79083         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
79084         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
79085         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
79086         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
79087         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
79088         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
79089         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
79090         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
79091         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
79092         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
79093         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
79094         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
79095         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
79096         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
79097         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
79098         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
79099         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
79100         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
79101         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
79102         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
79103         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
79104         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
79105         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
79106         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
79107         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
79108         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
79109         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
79110         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
79111         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
79112         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
79113         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
79114         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
79115         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
79116         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
79117         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
79118         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
79119         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
79120         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
79121         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
79122         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
79123         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
79124         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
79125         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
79126         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
79127         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
79128         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
79129         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
79130         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
79131         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
79132         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
79133         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
79134         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
79135         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
79136         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
79137         Require >= 2.
79138         (FLT_ROUNDS): Expect as macro, not constant.
79139         (FLT_MANT_DIG): Use macro-int-constant.
79140         (DBL_MANT_DIG): Likewise.
79141         (LDBL_MANT_DIG): Likewise.
79142         (FLT_DIG): Likewise.
79143         (DBL_DIG): Likewise.
79144         (LDBL_DIG): Likewise.
79145         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
79146         (DBL_MIN_EXP): Likewise.
79147         (LDBL_MIN_EXP): Likewise.
79148         (FLT_MAX_EXP): Use macro-int-constant.
79149         (DBL_MAX_EXP): Likewise.
79150         (LDBL_MAX_EXP): Likewise.
79151         (FLT_MAX_10_EXP): Likewise.
79152         (DBL_MAX_10_EXP): Likewise.
79153         (LDBL_MAX_10_EXP): Likewise.
79154         (FLT_MAX): Use macro-constant.
79155         (DBL_MAX): Likewise.
79156         (LDBL_MAX): Likewise.
79157         (FLT_EPSILON): Use macro-constant.  Give upper bound.
79158         (DBL_EPSILON): Likewise.
79159         (LDBL_EPSILON): Likewise.
79160         (FLT_MIN): Likewise.
79161         (DBL_MIN): Likewise.
79162         (LDBL_MIN): Likewise.
79163         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
79164         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
79165         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
79166         [ISO11] (FLT_HAS_SUBNORM): Likewise.
79167         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
79168         [ISO11] (DBL_DECIMAL_DIG): Likewise.
79169         [ISO11] (FLT_DECIMAL_DIG): Likewise.
79170         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
79171         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
79172         [ISO11] (FLT_TRUE_MIN): Likewise.
79173         [ISO11] (LDBL_TRUE_MIN): Likewise.
79174         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79175         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
79176         (SCHAR_MIN): Use macro-int-constant.  Specify type.
79177         (SCHAR_MAX): Likewise.
79178         (UCHAR_MAX): Likewise.
79179         (CHAR_MIN): Likewise.
79180         (CHAR_MAX): Likewise.
79181         (MB_LEN_MAX): Use macro-int-constant.
79182         (SHRT_MIN): Use macro-int-constant.  Specify type.
79183         (SHRT_MAX): Likewise.
79184         (USHRT_MAX): Likewise.
79185         (INT_MAX): Likewise.
79186         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
79187         bound negative.
79188         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79189         bound with "U".
79190         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79191         bound with "L".
79192         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
79193         bound negative.  Suffix upper bound with "L".
79194         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79195         bound with "UL".
79196         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
79197         Specify type.
79198         [C99-based standards] (LLONG_MAX): Likewise.
79199         [C99-based standards] (ULLONG_MAX): Likewise.
79200         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
79201         == 0.
79202         [ISO11] (max_align_t): Require type.
79203         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79205         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
79206         from $CFLAGS, without defining away __attribute__ calls.
79207         (checknamespace): Use $CFLAGS_namespace.
79209         * conform/conformtest.pl (@keywords): Only include C99 keywords
79210         for standards based on C99 or C11.
79212         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
79213         Disable tests.
79214         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
79215         UNIX98]: Likewise.
79217         * conform/conformtest.pl: Handle "macro-int-constant" and test for
79218         usability of symbols in #if.
79220         * conform/conformtest.pl: If macro or constant types start
79221         "promoted:", expect the symbol to be of the following type
79222         promoted by the integer promotions.
79224         * conform/conformtest.pl: Parse all "constant" and "macro" lines
79225         in one place.  Also handle "macro-constant".
79227         * conform/conformtest.pl: Only accept expected macro values with
79228         "==".  Parse all "macro" lines in one place.
79229         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
79231         * conform/conformtest.pl: Handle braced types on "constant" lines
79232         instead of handling "typed-constant".
79233         * conform/data/signal.h-data: Use "constant" instead of
79234         "typed-constant".
79236         * conform/conformtest.pl: Handle "optional-" at start of lines in
79237         one place rather than duplicating several cases.  Handle each
79238         format of "macro" line with initial "optional-".
79240         * conform/conformtest.pl: Only accept expected constant or
79241         optional-constant values with "==".  Parse all "constant" lines in
79242         one place.  Parse all "optional-constant" lines in one place.
79243         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
79244         * conform/data/fmtmsg.h-data: Likewise.
79245         * conform/data/netinet/in.h-data: Likewise.
79246         * conform/data/tar.h-data: Likewise.
79247         * conform/data/limits.h-data: Use "==" form on "constant" and
79248         "optional-constant" lines.
79250         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
79251         Use -std=c99 for XOPEN2K.
79252         (@knownproblems): Remove.
79253         (newtoken): Don't check %isknown.
79255         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
79256         Do not expect macro.
79257         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
79258         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
79259         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
79260         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
79261         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
79262         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
79263         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
79264         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
79265         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
79266         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
79267         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
79268         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
79269         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
79270         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
79271         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
79272         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
79273         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
79274         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
79275         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
79276         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
79277         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
79278         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
79279         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
79280         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
79281         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
79282         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
79283         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
79284         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
79285         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
79286         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
79287         [XPG3] (acosh): Likewise.
79288         [XPG3] (asinh): Likewise.
79289         [XPG3] (atanh): Likewise.
79290         [XPG3] (cbrt): Likewise.
79291         [XPG3] (expm1): Likewise.
79292         [XPG3] (ilogb): Likewise.
79293         [XPG3] (log1p): Likewise.
79294         [XPG3] (logb): Likewise.
79295         [XPG3] (nextafter): Likewise.
79296         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
79297         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
79298         [XPG3] (remainder): Likewise.
79299         [XPG3] (rint): Likewise.
79300         [XPG3 || XPG4 || UNIX98] (round): Likewise.
79301         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
79302         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
79303         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
79304         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
79305         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
79306         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
79307         [UNIX98 || XOPEN2K] (scalb): Expect.
79308         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
79309         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
79310         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
79311         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
79312         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
79313         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
79314         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
79315         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
79316         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
79317         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
79318         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
79319         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
79320         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
79321         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
79322         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
79323         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
79324         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
79325         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
79326         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
79327         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
79328         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
79329         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
79330         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
79331         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
79332         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
79333         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
79334         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
79335         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
79336         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
79337         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
79338         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
79339         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
79340         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
79341         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
79342         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
79343         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
79344         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
79345         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
79346         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
79347         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
79348         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
79349         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
79350         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
79351         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
79352         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
79353         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
79354         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
79355         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
79356         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
79357         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
79358         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
79359         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
79360         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
79361         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
79362         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
79363         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
79364         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
79365         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
79366         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
79367         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
79368         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
79369         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
79370         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
79371         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
79372         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
79373         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
79374         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
79375         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
79376         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
79377         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
79378         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
79379         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
79380         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
79381         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
79382         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
79383         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
79384         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
79385         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
79386         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
79387         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
79388         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
79389         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
79390         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
79391         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
79392         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
79393         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
79394         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
79395         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
79396         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
79397         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
79398         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
79399         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
79400         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
79401         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
79402         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
79403         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
79404         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
79405         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
79406         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
79407         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
79408         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
79409         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
79410         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
79411         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
79412         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
79413         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
79414         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
79415         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
79416         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
79417         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
79418         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
79419         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
79420         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
79421         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
79422         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
79423         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
79424         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
79425         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
79426         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
79427         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
79428         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
79429         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
79430         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
79431         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
79432         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
79433         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
79434         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
79435         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
79436         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
79437         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
79438         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
79439         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
79440         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
79441         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
79442         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
79443         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
79444         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
79446         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
79447         _XOPEN_SOURCE_EXTENDED for XPG4.
79449         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
79451         * Makeconfig (localtime): Remove variable.
79452         (inst_localtime-file): Likewise.
79454 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
79456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
79457         Update.
79458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79459         Update.
79460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
79461         Update.
79462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
79463         Update.
79464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
79465         Update.
79466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
79467         Update.
79468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79469         Update.
79470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
79471         Update.
79472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
79473         Update.
79475 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
79477         [BZ #2550]
79478         [BZ #2570]
79479         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
79480         comparisons to determine direction to adjust input.
79481         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
79482         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
79483         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
79484         Likewise.
79485         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
79486         Likewise.
79487         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
79488         Likewise.
79489         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
79490         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
79491         Likewise.
79492         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
79493         Likewise.
79494         * math/libm-test.inc (nexttoward_test): Add more tests.
79496 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
79498         [BZ #14040]
79499         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
79500         in version GLIBC_2.1, not GLIBC_2.0.
79501         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
79502         Likewise.
79504 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
79506         [BZ #13942]
79507         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
79508         (1 - x) * (1 + x).
79509         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
79510         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
79511         * math/libm-test.inc (acos_test): Add more tests.
79512         (asin_test): Likewise.
79513         * sysdeps/i386/fpu/libm-test-ulps: Update.
79514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79516         [BZ #14034]
79517         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
79518         of square root.
79519         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
79520         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
79521         * math/libm-test.inc (acos_test_tonearest): New function.
79522         (acos_test_towardzero): Likewise.
79523         (acos_test_downward): Likewise.
79524         (acos_test_upward): Likewise.
79525         (asin_test_tonearest): Likewise.
79526         (asin_test_towardzero): Likewise.
79527         (asin_test_downward): Likewise.
79528         (asin_test_upward): Likewise.
79529         (main): Call the new functions.
79530         * sysdeps/i386/fpu/libm-test-ulps: Update.
79531         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79533         [BZ #13884]
79534         [BZ #13924]
79535         * math/e_exp10.c: Include <float.h>.
79536         (__ieee754_exp10): Handle underflow here rather than multiplying
79537         large negative argument by M_LN10.
79538         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
79539         of __ieee754_expf.
79540         * math/e_exp10l.c: Include <float.h>.
79541         (__ieee754_exp10l): Handle underflow here rather than multiplying
79542         large negative argument by M_LN10l.
79543         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
79544         spurious overflow exception on underflow.
79546 2012-04-29  Marek Polacek  <polacek@redhat.com>
79548         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
79549         (__fortify_function): New macro.
79550         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
79551         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
79552         __extern_always_inline.
79553         * libio/bits/stdio2.h: Likewise.
79554         * libio/bits/stdio.h: Likewise.
79555         * string/string.h: Likewise.
79556         * string/bits/string3.h: Likewise.
79557         * include/stdio.h: Likewise.
79558         * stdlib/bits/stdlib.h: Likewise.
79559         * stdlib/stdlib.h: Likewise.
79560         * rt/bits/mqueue2.h: Likewise.
79561         * rt/mqueue.h: Likewise.
79562         * posix/bits/unistd.h: Likewise.
79563         * posix/unistd.h: Likewise.
79564         * io/bits/poll2.h: Likewise.
79565         * io/bits/fcntl2.h: Likewise.
79566         * io/fcntl.h: Likewise.
79567         * io/sys/poll.h: Likewise.
79568         * misc/bits/syslog.h: Likewise.
79569         * misc/bits/syslog-ldbl.h: Likewise.
79570         * misc/sys/syslog.h: Likewise.
79571         * socket/bits/socket2.h: Likewise.
79572         * socket/sys/socket.h: Likewise.
79573         * debug/tst-chk1.c: Likewise.
79574         * wcsmbs/bits/wchar2.h: Likewise.
79575         * wcsmbs/bits/wchar-ldbl.h: Likewise.
79576         * wcsmbs/wchar.h: Likewise.
79578 2012-04-29  Andreas Jaeger  <aj@suse.de>
79580         * Makerules (tests): Remove enable-check-abi protection.
79581         (check-abi-warn): Remove.
79582         (check-abi-%): Remove check-abi-warn usage.
79584         * configure.in: Remove check-abi configure option.
79585         * configure: Regenerated.
79586         * config.make.in (enable-check-abi): Remove.
79588 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
79590         [BZ #14033]
79591         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
79592         double functions to double *_finite functions.
79594         [BZ #13941]
79595         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
79596         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
79597         LDBL_MIN_EXP.
79598         * stdio-common/Makefile (tests): Add tst-sprintf3.
79599         * stdio-common/tst-sprintf3.c: New file.
79601         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
79602         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
79604 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
79606         * conform/conformtest.pl: Remove duplicate typed-constant
79607         handling.
79609 2012-04-28  David S. Miller  <davem@davemloft.net>
79611         * Makerules (%.abilist): Add vpath on sysdep_dirs.
79612         (check-abi-%): Remove AWK script prerequisite and explicit
79613         abilist directory.
79614         (check-abi): Rewrite to just diff the symlist with the abilist.
79615         (config-tls, config-abi-config): Delete, no longer used.
79616         (update-abi-%): Remove AWK script and explicit abilist directory.
79617         (update-abi): Rewrite to simply compare and conditionally copy the
79618         symlist and the sysdep abilist file.  Remove update-abi-config
79619         checks.
79620         * abilist/ld.abilist: Remove.
79621         * abilist/libBrokenLocale.abilist: Remove.
79622         * abilist/libanl.abilist: Remove.
79623         * abilist/libcrypt.abilist: Remove.
79624         * abilist/libdl.abilist: Remove.
79625         * abilist/librt.abilist: Remove.
79626         * abilist/libthread_db.abilist: Remove.
79627         * abilist/libutil.abilist: Remove.
79628         * scripts/extract-abilist.awk: Remove.
79629         * scripts/merge-abilist.awk: Remove.
79630         * sysdeps/generic/libcidn.abilist: New file.
79631         * sysdeps/generic/libnss_compat.abilist: New file.
79632         * sysdeps/generic/libnss_db.abilist: New file.
79633         * sysdeps/generic/libnss_dns.abilist: New file.
79634         * sysdeps/generic/libnss_files.abilist: New file.
79635         * sysdeps/generic/libnss_hesiod.abilist: New file.
79636         * sysdeps/generic/libnss_nis.abilist: New file.
79637         * sysdeps/generic/libnss_nisplus.abilist: New file.
79638         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
79639         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
79640         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
79641         file.
79642         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
79643         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
79644         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
79645         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
79646         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
79647         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
79648         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
79649         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
79650         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
79651         file.
79652         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
79653         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
79654         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
79655         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
79656         file.
79657         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
79658         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
79659         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
79660         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
79661         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
79662         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
79663         file.
79664         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
79665         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
79666         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
79667         file.
79668         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
79669         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
79670         New file.
79671         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
79672         New file.
79673         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
79674         New file.
79675         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
79676         New file.
79677         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
79678         New file.
79679         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
79680         New file.
79681         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
79682         New file.
79683         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
79684         New file.
79685         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
79686         New file.
79687         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
79688         New file.
79689         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
79690         New file.
79691         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
79692         New file.
79693         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
79694         New file.
79695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
79696         file.
79697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
79698         New file.
79699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
79700         New file.
79701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
79702         file.
79703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
79704         New file.
79705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
79706         New file.
79707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
79708         file.
79709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
79710         New file.
79711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
79712         New file.
79713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
79714         New file.
79715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
79716         New file.
79717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
79718         New file.
79719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
79720         New file.
79721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
79722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
79723         file.
79724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
79725         New file.
79726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
79727         file.
79728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
79729         file.
79730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
79731         file.
79732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
79733         file.
79734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
79735         file.
79736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
79737         New file.
79738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
79739         file.
79740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
79741         file.
79742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
79743         New file.
79744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
79745         file.
79746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
79747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
79748         file.
79749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
79750         New file.
79751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
79752         file.
79753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
79754         file.
79755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
79756         file.
79757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
79758         file.
79759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
79760         file.
79761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
79762         New file.
79763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
79764         file.
79765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
79766         file.
79767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
79768         New file.
79769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
79770         file.
79771         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79772         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
79773         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
79774         file.
79775         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
79776         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
79777         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
79778         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
79779         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
79780         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
79781         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
79782         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
79783         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
79784         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
79785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
79786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
79787         file.
79788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
79789         New file.
79790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
79791         file.
79792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
79793         file.
79794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
79795         file.
79796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
79797         file.
79798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
79799         file.
79800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
79801         New file.
79802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
79803         New file.
79804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
79805         file.
79806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
79807         New file.
79808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
79809         file.
79810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
79811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
79812         file.
79813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
79814         New file.
79815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
79816         file.
79817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
79818         file.
79819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
79820         file.
79821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
79822         file.
79823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
79824         file.
79825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
79826         New file.
79827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
79828         New file.
79829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
79830         file.
79831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
79832         New file.
79833         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
79834         file.
79836 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
79838         * conform/conformtest.pl: Fix typo in handling typed-constant from
79839         allow-header.
79841 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
79843         * README: Cut down references to pre-2.6 Linux kernels and
79844         Linuxthreads.  Update lists of configurations in libc and ports
79845         and sort alphabetically.  Say "or newer" with Linux kernel version
79846         requirements.
79848         * config.h.in [IS_IN_build]: Allow compiling without optimization.
79850 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
79852         [BZ #887]
79853         * math/libm-test.inc (logb_test_downward): New test to expose
79854         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
79855         rounding mode.
79857 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
79859         [BZ #14027]
79860         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
79861         to be done.
79862         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
79863         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
79865 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
79867         * sysdeps/unix/i386/brk.S: Remove file.
79868         * sysdeps/unix/i386/dl-brk.S: Likewise.
79869         * sysdeps/unix/i386/pipe.S: Likewise.
79870         * sysdeps/unix/i386/sigreturn.S: Likewise.
79871         * sysdeps/unix/i386/syscall.S: Likewise.
79872         * sysdeps/unix/i386/vfork.S: Likewise.
79873         * sysdeps/unix/i386/wait.S: Likewise.
79875         * sysdeps/unix/common/tcsendbrk.c: Move to ...
79876         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
79878         * configure.in (arm*-none*): Do not allow without
79879         --enable-hacker-mode.
79880         (netbsd*): Remove case setting base_os.
79881         (386bsd*): Likewise.
79882         (freebsd*): Likewise.
79883         (bsdi*): Likewise.
79884         (osf*): Likewise.
79885         (sunos*): Likewise.
79886         (ultrix*): Likewise.
79887         (newsos*): Likewise.
79888         (dynix*): Likewise.
79889         (*bsd*): Likewise.
79890         (sysv*): Likewise.
79891         (isc*): Likewise.
79892         (esix*): Likewise.
79893         (sco*): Likewise.
79894         (minix*): Likewise.
79895         (irix4*): Likewise.
79896         (irix6*): Likewise.
79897         (solaris[2-9]*): Likewise.
79898         (none): Likewise.
79899         * configure: Regenerated.
79901 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79903         [BZ #11521]
79904         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
79905         overflow or cancellation in calculating denominator.
79906         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
79907         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
79908         down expression to avoid unexpected rounding in newer GCCs.
79909         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
79911 2012-04-26  David S. Miller  <davem@davemloft.net>
79913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
79914         long-double compat symbols.
79915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
79916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
79917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
79918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
79919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
79921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
79922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
79923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
79924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
79925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
79926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
79927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79929 2012-04-25  David S. Miller  <davem@davemloft.net>
79931         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
79932         HWCAP_* values only after the memory barriers have been defined.
79933         (atomic_full_barrier): Define.
79934         (atomic_read_barrier): Define.
79935         (atomic_write_barrier): Define.
79937 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
79939         * shlib-versions: Add libgcc_s version information.
79940         * sysdeps/generic/libgcc_s.h: Remove.
79941         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
79942         libgcc_s.h.
79943         * sysdeps/gnu/unwind-resume.c: Likewise.
79944         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
79946 2012-04-25  David S. Miller  <davem@davemloft.net>
79948         * sysdeps/unix/sparc/brk.S: Delete.
79949         * sysdeps/unix/sparc/dl-brk.S: Delete.
79950         * sysdeps/unix/sparc/pipe.S: Delete.
79951         * sysdeps/unix/sparc/sysdep.S: Delete.
79952         * sysdeps/unix/sparc/sysdep.h: Delete.
79953         * sysdeps/unix/sparc/vfork.S: Delete.
79954         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
79955         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
79956         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
79957         (ret_ERRVAL, r0, r1, MOVE): Define.
79958         (JUMPTARGET): Remove.
79959         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
79960         sysdeps/unix/sparc/sysdep.h
79961         (ENTRY, END): Remove.
79962         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79964 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
79966         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
79967         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
79968         -DIS_IN_build.
79970         * timezone/README: Update upstream location and email address for
79971         tzcode and tzdata.
79972         * timezone/zdump.c: Update from tzcode 2012b.
79973         * timezone/zic.c: Likewise.
79975         * configure.in (libc_cv_as_needed): Remove test.
79976         * configure: Regenerated.
79977         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
79978         conditional definition.
79979         [$(have-as-needed) != yes] (no-as-needed): Likewise.
79980         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
79981         * config.make.in (have-as-needed): Remove variable.
79983 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
79984             Paul Pluzhnikov  <ppluzhnikov@google.com>
79986         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
79987         strings correctly.
79989 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
79991         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
79992         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
79993         * sysdeps/sh/strlen.S: Likewise.
79995 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79997         * sysdeps/unix/fork.S: Remove file.
79998         * sysdeps/unix/i386/fork.S: Likewise.
79999         * sysdeps/unix/sparc/fork.S: Likewise.
80001         * sysdeps/unix/system.c: Remove file.
80002         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
80004         * sysdeps/unix/getegid.S: Remove file.
80005         * sysdeps/unix/geteuid.S: Likewise.
80007 2012-04-24  Roland McGrath  <roland@hack.frob.com>
80009         * scripts/check-localplt.awk: New file.
80010         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
80011         of diff.
80012         * scripts/data/localplt-generic.data: Add a comment.
80014         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
80015         NODE when __dir_mkfile failed.
80016         * sysdeps/mach/hurd/symlinkat.c: Likewise.
80017         Reported by Ludovic Courtès <ludo@gnu.org>.
80019 2012-04-24  Andreas Jaeger  <aj@suse.de>
80021         * Makerules (common-clean): Also remove gen-as-const-headers
80022         files.
80024 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80026         * Makerules (native-compile): Do not change working directory for
80027         build.  Use $(OUTPUT_OPTION) in command.
80028         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
80030 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80032         [BZ #13886]
80033         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
80034         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
80035         * math/libm-test.inc (floor_test): Add more tests.
80036         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
80038 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80040         * sysdeps/unix/getdents.c: Remove file.
80041         * sysdeps/unix/sysv/getdents.c: Likewise.
80042         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
80044         * sysdeps/unix/syscalls.list (madvise): Add syscall from
80045         sysdeps/unix/mman/syscalls.list.
80046         (mmap): Likewise.
80047         (mprotect): Likewise.
80048         (msync): Likewise.
80049         (munmap): Likewise.
80050         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
80051         * sysdeps/unix/mman/syscalls.list: Remove.
80052         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
80054         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
80055         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
80056         * configure: Regenerated.
80057         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
80058         $(libgcc_s_suffix).
80059         * config.make.in (libgcc_s_suffix): Remove variable.
80061 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
80063         * sysdeps/unix/sysv/gethostname.c: Move to ...
80064         * sysdeps/posix/gethostname.c: ... here.
80066         * sysdeps/unix/execve.S: Remove file.
80068         * sysdeps/unix/_exit.S: Remove file.
80070 2012-04-23  Andreas Jaeger  <aj@suse.de>
80072         [BZ #13739]
80073         * manual/Makefile: Remove make dist support, there's no
80074         need for a stand-alone documentation tar ball.
80075         (TEXI2DVI): Define always, it's not in Makeconfig.
80076         (dist): Removed.
80077         (tar-it): Removed.
80078         (edition): Removed.
80079         (glibc-doc-$(edition).tar): Removed
80080         (%.Z): Removed.
80081         (%.gz): Removed.
80082         (%.uu): Removed.
80083         (ETAGS): Remove, it's in Makeconfig.
80084         (move-if-change): Remove, it's in Makeconfig.
80086 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
80088         [BZ #13970]
80089         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
80090         (strtod, strtof, strtold, strtol, strtoul, strtoq)
80091         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
80092         (strtod_l, strtof_l, strtold_l): Remove __wur.
80093         It is not necessarily an error to ignore strtol's return value.
80094         One can reliably look at the stored endptr to decide whether
80095         the number had valid syntax.
80097 2012-04-21  Andreas Jaeger  <aj@suse.de>
80099         [BZ #13739]
80100         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
80102 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
80104         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
80105         * sysdeps/unix/sysv/Versions: Remove file.
80107 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
80109         [BZ #13927]
80110         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80112 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
80114         [BZ #7064]
80115         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
80116         version from __vm86.
80118 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
80120         * sysdeps/unix/common/lxstat.c: Remove file.
80121         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
80123         * sysdeps/unix/sysv/Makefile: Remove file.
80125         * sysdeps/unix/sysv/direct.h: Remove file.
80127         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
80128         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
80129         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
80130         * sysdeps/unix/sysv/bits/signum.h: Likewise.
80131         * sysdeps/unix/sysv/bits/stat.h: Likewise.
80132         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
80133         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
80135         * sysdeps/unix/sysv/setrlimit.c: Remove file.
80137         * sysdeps/unix/xmknod.c: Remove file.
80138         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
80140         * sysdeps/unix/sysv/settimeofday.c: Remove file.
80142         * sysdeps/unix/sysv/i386/time.S: Remove file.
80144         * sysdeps/unix/fxstat.c: Remove file.
80145         * sysdeps/unix/xstat.c: Likewise.
80146         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
80148         * sysdeps/unix/sysv/sigaction.c: Remove file.
80150         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
80151         (sysdep_headers): Remove variable.
80152         [termio.h not in sysdep_headers] (generated): Likewise.
80153         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
80154         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
80155         * sysdeps/unix/sysv/tcdrain.c: Likewise.
80156         * sysdeps/unix/sysv/tcflow.c: Likewise.
80157         * sysdeps/unix/sysv/tcflush.c: Likewise.
80158         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
80159         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
80160         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
80161         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
80162         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
80164         * sysdeps/unix/siglist.c: Remove file.
80166         * sysdeps/unix/getppid.S: Remove file.
80168         * sysdeps/unix/mkdir.c: Remove file.
80169         * sysdeps/unix/rmdir.c: Likewise.
80171 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
80173         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
80174         ERR_MAX value.
80175         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
80176         errlist-compat value.
80178 2012-04-18  David S. Miller  <davem@davemloft.net>
80180         * sysdeps/generic/memcopy.h (reg_char): Delete.
80181         * debug/strcat_chk.c: Use char, not reg_char.
80182         * debug/strcpy_chk.c: Likewise.
80183         * debug/strncat_chk.c: Likewise.
80184         * debug/strncpy_chk.c: Likewise.
80185         * string/memchr.c: Likewise.
80186         * string/memrchr.c: Likewise.
80187         * string/rawmemchr.c: Likewise.
80188         * string/strcat.c: Likewise.
80189         * string/strchr.c: Likewise.
80190         * string/strchrnul.c: Likewise.
80191         * string/strcmp.c: Likewise.
80192         * string/strcpy.c: Likewise.
80193         * string/strncat.c: Likewise.
80194         * string/strncmp.c: Likewise.
80195         * string/strncpy.c: Likewise.
80197 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80199         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
80200         __builtin_memcopy is called when src and dest ranges are known to not
80201         overlap.
80203 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80205         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
80206         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
80207         fwd_align_merge macro call.
80208         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
80209         bwd_align_merge macro call.
80210         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
80212 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80214         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
80215         bwd_align_merge macros.
80216         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
80217         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
80218         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
80220 2012-04-18  David S. Miller  <davem@davemloft.net>
80222         * sysdeps/sparc/sparc64/memcopy.h: Delete.
80224 2012-04-18  Andreas Jaeger  <aj@suse.de>
80226         [BZ #6794]
80227         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
80228         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
80229         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80231         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
80232         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
80233         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80235         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
80236         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
80237         Adjust for changed ldbl-128 files.
80239         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
80240         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
80241         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80243 2012-04-17  David S. Miller  <davem@davemloft.net>
80245         * sysdeps/sparc/sparc32/memcopy.h: Delete.
80247 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
80249         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
80250         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
80251         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
80252         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
80253         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
80254         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
80256 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80258         [BZ #6794]
80259         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
80260         * math/libm-test.inc: Add ilogb errno and exception tests.
80261         * math/w_ilogb.c: New file: ilogb wrapper.
80262         * math/w_ilogbf.c: New file: ilogbf wrapper.
80263         * math/w_ilogbl.c: New file: ilogbl wrapper.
80264         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
80265         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
80266         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
80267         exception being thrown with 0.0 as argument.
80268         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
80269         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
80270         exception being thrown with 0.0 as argument.
80271         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
80272         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
80273         exception being thrown with 0.0 as argument.
80274         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
80275         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
80276         exception being thrown with 0.0 as argument.
80277         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
80278         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
80279         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
80280         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
80281         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
80282         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
80283         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
80284         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
80285         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
80287 2012-04-17  Petr Baudis  <pasky@ucw.cz>
80289         * include/sys/uio.h: Change __vector to __iovec to avoid clash
80290         with altivec.
80292 2012-04-16  Marek Polacek  <polacek@redhat.com>
80294         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
80296 2012-04-16  Marek Polacek  <polacek@redhat.com>
80298         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
80299         operands of fdivp instruction.
80301 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
80303         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
80304         * elf/tst-auditmod3b.c: Likewise.
80305         * elf/tst-auditmod4b.c: Likewise.
80306         * elf/tst-auditmod5b.c: Likewise.
80307         * elf/tst-auditmod6b.c: Likewise.
80308         * elf/tst-auditmod6c.c: Likewise.
80309         * elf/tst-auditmod7b.c: Likewise.
80310         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
80311         * sysdeps/x86_64/preconfigure.in: Likewise.
80312         * sysdeps/x86_64/preconfigure: Regenerated.
80314 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
80316         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
80317         __ILP32__.
80319 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
80321         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80322         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
80324 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
80326         [BZ #13973]
80327         * locale/iso-639.def: Fix gl language name. Spotted by
80328         Yaron Shahrabani.
80330 2012-04-12  Roland McGrath  <roland@hack.frob.com>
80332         [BZ #2074]
80333         * libio/libio.h (__io_write_fn): Update comment.
80335 2012-04-12  Petr Baudis  <pasky@ucw.cz>
80337         [BZ #2074]
80338         * stdio.texi (Hook Functions): The user provided writer function
80339         is not allowed to return -1.
80341 2012-04-11  David S. Miller  <davem@davemloft.net>
80343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80345 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
80347         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
80348         Add a leading slash to rtkaio.
80350 2012-04-11  Jim Meyering  <meyering@redhat.com>
80352         [BZ #11959]
80353         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
80354         It is not necessarily an error to ignore fwrite's return
80355         value.  One can reliably use ferror to test for errors after
80356         the fact.
80358 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
80360         * bits/types.h (__snseconds_t): New type.
80361         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
80363         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
80364         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80365         (__SNSECONDS_T_TYPE): Likewise.
80366         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80367         (__SNSECONDS_T_TYPE): Likewise.
80368         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80369         (__SNSECONDS_T_TYPE): Likewise.
80371 2012-04-10  Andreas Jaeger  <aj@suse.de>
80373         [BZ #2636]
80374         * manual/time.texi (Processor Time): Return type of times is
80375         elapsed real time since an arbitrary point in the past.
80376         (CPU Time): Move CLK_TCK from here...
80377         (Processor Time): ...to here.  Correct description.
80378         * manual/conf.texi (Constants for Sysconf): Correct description of
80379         _SC_CLK_TCK.
80381 2012-04-10  David S. Miller  <davem@davemloft.net>
80383         [BZ #13967]
80384         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
80385         where the is a gap between DT_REL(A) and DT_JMPREL.
80387 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
80389         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
80390         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
80391         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
80393 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
80395         * elf/dl-support.c (_dl_inhibit_cache): New variable.
80396         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
80397         (dl_main): Handle --inhibit-cache.
80398         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
80399         _dl_inhibit_cache.
80400         * elf/dl-load.c (_dl_map_object): Use it.
80401         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
80403 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
80405         [BZ #13872]
80406         * sysdeps/i386/fpu/e_powl.S (p78): New object.
80407         (__ieee754_powl): Saturate large exponents rather than testing for
80408         overflow of y*log2(x).
80409         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80410         * math/libm-test.inc (pow_test): Do not permit spurious overflow
80411         exceptions.
80413         [BZ #11521]
80414         * math/s_ctan.c: Include <float.h>.
80415         (__ctan): Avoid internal overflow or cancellation in calculating
80416         denominator.
80417         * math/s_ctanf.c: Likewise.
80418         * math/s_ctanl.c: Likewise.
80419         * math/s_ctanh.c: Likewise.
80420         * math/s_ctanhf.c: Likewise.
80421         * math/s_ctanhl.c: Likewise.
80422         * math/libm-test.inc (ctan_test): Add more tests.
80423         (ctanh_test): Likewise.
80424         * sysdeps/i386/fpu/libm-test-ulps: Update.
80425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80427 2012-04-09  Andreas Jaeger  <aj@suse.de>
80429         [BZ #6894]
80430         * manual/filesys.texi (Directory Entries): Mention that d_namlen
80431         is an optional BSD extension.
80433         [BZ #10254]
80434         * manual/stdio.texi (Opening Streams): Document additional fopen
80435         parameters.
80437 2012-04-09  Roland McGrath  <roland@hack.frob.com>
80439         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
80440         %eax without telling the compiler.
80442 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
80444         [BZ # 13963]
80445         * manual/install.texi: Use sourceware.org.
80447 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
80449         [BZ #13873]
80450         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
80451         (__ieee754_pow): Generate overflow and underflow using huge*huge
80452         and tiny*tiny rather than just returning constant infinity or zero
80453         for large exponents.
80454         * math/libm-test.inc (pow_test): Require overflow exceptions for
80455         applicable cases of large exponents.
80457         [BZ #706]
80458         * sysdeps/i386/fpu/e_pow.S (p10): New object.
80459         (__ieee754_pow): Use iterative multiplication algorithm only for
80460         integer exponents with absolute value below 1024.  Check for odd
80461         integer exponents when using algorithm for real exponents.
80462         * math/libm-test.inc (pow_test): Add more tests.
80463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80465 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
80467         [BZ #13705]
80468         * math/libm-test.inc (exp_test): Do not allow overflow exception
80469         on underflow test.
80471 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
80473         [BZ #13705]
80474         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
80475         instead of __kernel_standard_f.
80477 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
80479         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
80480         * sysdeps/x86_64/memset_chk.S: Likewise.
80482 2012-04-08  Andreas Jaeger  <aj@suse.de>
80484         [BZ #10153]
80485         * manual/startup.texi (Environment Access): Describe return value
80486         for putenv and setenv.
80488         [BZ #6895]
80489         * manual/filesys.texi (Directory Entries): Add description for
80490         DT_LNK.
80492         [BZ #6890]
80493         * manual/filesys.texi (Directory Entries): Clarify that it's file
80494         system not operating system in the description of DT_UNKNOWN.
80496         [BZ #6578]
80497         * manual/syslog.texi (closelog): Fix reference, it's openlog.
80499 2012-04-08  Stephen Compall  <s11@member.fsf.org>
80501         [BZ #6649]
80502         * manual/llio.texi (Opening and Closing Files): Add cross
80503         reference to explain mode argument.
80505 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
80507         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
80508         * sysdeps/x86_64/memset_chk.S: Likewise.
80510 2012-04-07  David S. Miller  <davem@davemloft.net>
80512         * elf/elf.h (R_SPARC_WDISP10): Define.
80513         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
80514         R_SPARC_SIZE32.
80515         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
80516         R_SPARC_SIZE64 and R_SPARC_H34.
80518 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
80520         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
80521         conditions and remove no longer applicable assertion.
80523 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
80525         * bits/byteswap.h: Include <features.h>.
80526         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
80527         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
80529 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
80531         * bits/byteswap.h (__bswap_16): Removed.
80532         Include <bits/byteswap-16.h> to get __bswap_16.
80533         * sysdeps/i386/bits/byteswap.h: Likewise.
80534         * sysdeps/s390/bits/byteswap.h: Likewise.
80535         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80536         * bits/byteswap-16.h: New file.
80537         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80538         * sysdeps/s390/bits/byteswap-16.h: Likewise.
80539         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
80540         * string/Makefile (headers): Add bits/byteswap-16.h.
80542 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
80544         [BZ #13895]
80545         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
80546         extra indirection.
80547         * nss/Makefile (tests-static, tests): Add tst-nss-static.
80548         * nss/tst-nss-static.c: New.
80550 2012-04-06  Robert Millan  <rmh@gnu.org>
80552         [BZ #6486]
80553         * manual/llio.texi (File Position Primitive): lseek
80554         refers to WHENCE when it really means OFFSET.
80556 2012-04-06  Andreas Jaeger  <aj@suse.de>
80558         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
80559         strncmp declarations.
80561         * abilist/libc.abilist: Add __poll and __ppoll.
80563 2012-04-05  David S. Miller  <davem@davemloft.net>
80565         * scripts/check-local-headers.sh: Accept a host triplet in the
80566         path matched by the exclude regexp.
80568         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
80569         definition.
80570         * sysdeps/powerpc/powerpc32/dl-machine.h
80571         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
80572         * sysdeps/s390/s390-32/dl-machine.h
80573         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80574         * sysdeps/sparc/sparc32/dl-machine.h
80575         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80576         * sysdeps/sparc/sparc64/dl-machine.h
80577         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80579         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
80580         lazy binding.
80581         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
80582         undefined symbol errors.
80584         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
80585         DT_NEEDED entries.
80587 2012-04-05  Michael Matz  <matz@suse.de>
80589         [BZ #13592]
80590         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
80592 2012-04-05  Andreas Jaeger  <aj@suse.de>
80594         [BZ #13908]
80595         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
80596         comment.
80598 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80600         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
80601         which ROUND is no valid rounding mode.
80603 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80605         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
80606         read again.
80607         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
80609 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80611         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
80612         an exception using FPU order intentionally.
80614 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80616         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
80617         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
80618         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
80619         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
80621 2012-04-05  Simon Josefsson  <simon@josefsson.org>
80623         [BZ #12340]
80624         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
80625         EINVAL when BUFLEN is too smal.
80627 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
80629         [BZ #13553]
80630         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
80631         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
80633 2012-04-03  Andreas Jaeger  <aj@suse.de>
80635         [BZ #13938]
80636         * manual/setjmp.texi (System V contexts): Fix sentence.
80638         [BZ #13926]
80639         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
80640         New macro for this case.
80641         [!__GNUC__] (__bswap_64): New inline function for this case.
80642         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80643         * bits/byteswap.h: Likewise.
80644         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
80645         ull, guard with __GLIBC_HAVE_LONG_LONG.
80647         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
80648         __GLIBC_HAVE_LONG_LONG.
80650         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
80651         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
80653 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
80655         [BZ #13691]
80656         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
80657         inptr and inend, rather than using last_ch.
80659 2012-04-02  David S. Miller  <davem@davemloft.net>
80661         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
80662         * stdio-common/printf-parse.h (read_int): Change return type to
80663         'int', return -1 on INT_MAX overflow.
80664         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
80665         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
80666         overflows INT_MAX.  Check for overflow of in-format-string precision
80667         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
80668         SIZE_MAX not INT_MAX for integer overflow test.
80669         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
80670         skip the construct in the format string but do not record anything.
80671         * stdio-common/bug22.c: Adjust to test both width/prevision
80672         INT_MAX overflow as well as total length INT_MAX overflow.  Check
80673         explicitly for proper errno values.
80675 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
80677         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
80678         CHAR_MAX.
80679         * string/test-strcmp.c [! WIDE]: Likewise.
80680         * time/tst-mktime2.c: Likewise for INT_MAX.
80681         * string/test-string.h: #include <sys/param.h> for MIN.
80683         * csu/init-first.c (__libc_init_first): Call __ctype_init.
80684         * sysdeps/i386/init-first.c (init): Likewise.
80685         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
80686         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
80687         * sysdeps/sh/init-first.c (init): Likewise.
80689 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
80691         * po/ru.po: Update from translation team.
80692         * po/vi.po: Likewise.
80694 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
80696         * resolv/nss_dns/dns-host.c: Merge copyright years.
80698 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80700         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80701         Optimize memcpy with prefetch if
80702         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
80703         src, dst pointers have unequal 16 byte alignments.
80705 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
80707         [BZ #13928]
80708         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
80709         from a CNAME entry and return the minimum ttl for the query.
80710         (gaih_getanswer_slice): Likewise.
80712 2012-03-30  Jeff Law  <law@redhat.com>
80714         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
80715         due to long keys.
80716         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
80717         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
80719         * resolv/nss_dns/dns-host.c: Update copyright year.
80721 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
80723         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
80724         requests to save a system call.  Fix check that all bytes are sent.
80726         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
80727         comments for sendmmsg.
80729 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80731         [BZ #13691]
80732         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
80733         with only 1 character between 0x0041 and 0x01b0.
80734         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
80735         * wcsmbs/tst-mbsnrtowcs.c: New file.
80737 2012-03-29  David S. Miller  <davem@davemloft.net>
80739         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
80740         small copies by hand.
80742 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
80744         [BZ #13761]
80745         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
80746         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
80747         group memberships.
80749 2012-03-28  David S. Miller  <davem@davemloft.net>
80751         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
80752         that branches into memcpy.
80753         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
80754         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
80755         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80756         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
80757         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
80758         bits.
80759         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
80760         implementation too.
80761         * sysdeps/sparc/mempcpy.S: New file.
80763         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
80764         the IFUNC routine in the libc case.
80765         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
80767         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
80768         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
80769         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
80770         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
80771         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
80772         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
80773         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
80774         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
80776         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
80777         loop to 256 bytes instead of 64 bytes and fix test signedness.
80779         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
80780         * sysdeps/sparc/sparc32/Makefile: rather than here...
80781         * sysdeps/sparc/sparc64/Makefile: and here.
80783 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
80785         * malloc/mallocbug.c: Avoid warnings about unused variables.
80787 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
80789         [BZ #13760]
80790         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
80791         in the right place. Discard and retry query if response is
80792         larger than input buffer size.
80794 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
80796         [BZ #369]
80797         [BZ #2678]
80798         [BZ #3866]
80799         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
80800         x for large integer exponent.
80801         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
80802         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
80803         sign of result as needed afterwards.
80804         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
80805         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
80806         result for underflowing pow the same as for overflow.
80807         (__kernel_standard_l): Handle powl overflow and underflow here
80808         rather than calling __kernel_standard.
80809         * math/libm-test.inc (pow_test): Add more tests.
80811         [BZ #3868]
80812         [BZ #13879]
80813         [BZ #13910]
80814         [BZ #13911]
80815         [BZ #13912]
80816         [BZ #13913]
80817         [BZ #13915]
80818         [BZ #13916]
80819         [BZ #13917]
80820         [BZ #13918]
80821         [BZ #13919]
80822         [BZ #13920]
80823         [BZ #13921]
80824         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
80825         * sysdeps/ieee754/k_standard.c: Include <float.h>.
80826         (__kernel_standard_l): New function.
80827         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
80828         __kernel_standard.
80829         * math/w_acosl.c (__acosl): Likewise.
80830         * math/w_asinl.c (__asinl): Likewise.
80831         * math/w_atan2l.c (__atan2l): Likewise.
80832         * math/w_atanhl.c (__atanhl): Likewise.
80833         * math/w_coshl.c (__coshl): Likewise.
80834         * math/w_exp10l.c (__exp10l): Likewise.
80835         * math/w_exp2l.c (__exp2l): Likewise.
80836         * math/w_fmodl.c (__fmodl): Likewise.
80837         * math/w_hypotl.c (__hypotl): Likewise.
80838         * math/w_j0l.c (__j0l, __y0l): Likewise.
80839         * math/w_j1l.c (__j1l, __y1l): Likewise.
80840         * math/w_jnl.c (__jnl, __ynl): Likewise.
80841         * math/w_lgammal.c (__lgammal): Likewise.
80842         * math/w_log10l.c (__log10l): Likewise.
80843         * math/w_log2l.c (__log2l): Likewise.
80844         * math/w_logl.c (__logl): Likewise.
80845         * math/w_powl.c (__powl): Likewise.
80846         * math/w_remainderl.c (__remainderl): Likewise.
80847         * math/w_scalbl.c (sysv_scalbl): Likewise.
80848         * math/w_sinhl.c (__sinhl): Likewise.
80849         * math/w_sqrtl.c (__sqrtl): Likewise.
80850         * math/w_tgammal.c (__tgammal): Likewise.
80851         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
80852         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
80853         * math/libm-test.inc (acos_test): Add more tests.
80854         (acosh_test): Likewise.
80855         (asin_test): Likewise.
80856         (atanh_test): Likewise.
80857         (exp_test): Likewise.
80858         (exp10_test): Likewise.
80859         (exp2_test): Likewise.
80860         (expm1_test): Likewise.
80861         (lgamma_test): Likewise.
80862         (log_test): Likewise.
80863         (log10_test): Likewise.
80864         (log1p_test): Likewise.
80865         (log2_test): Likewise.
80866         (pow_test): Do not allow some spurious overflow exceptions.
80867         (sqrt_test): Add more tests.
80868         (tgamma_test): Likewise.
80869         (y0_test): Likewise.
80870         (y1_test): Likewise.
80871         (yn_test): Likewise.
80873 2012-03-27  Anton Blanchard  <anton@samba.org>
80875         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
80876         MAP_HUGETLB.
80877         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
80878         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
80879         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
80881 2012-03-27  David S. Miller  <davem@davemloft.net>
80883         * conform/Makefile: Run run-conformtest.sh using $(BASH).
80885         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
80886         have-as-vis3 check.
80888 2012-03-27  Andreas Jaeger  <aj@suse.de>
80890         * sysdeps/x86_64/elf/configure.in: Moved to ...
80891         * sysdeps/x86_64/configure.in: ... here.
80892         * sysdeps/x86_64/elf/start.S: Moved to ...
80893         * sysdeps/x86_64/start.S: ... here.
80894         * sysdeps/x86_64/elf/configure: Delete.
80896         * sysdeps/x86_64/configure.in: Merge contents from
80897         sysdeps/i386/configure.in (without i686 check).
80899         * sysdeps/i386/elf/Versions: Merge into ...
80900         * sysdeps/i386/Versions: ... this.
80901         * sysdeps/i386/elf/Versions: Delete file.
80902         * sysdeps/i386/elf/start.S: Moved to ...
80903         * sysdeps/i386/start.S: ...here.
80904         * sysdeps/i386/elf/configure.in: Merge into...
80905         * sysdeps/i386/configure.in: ...here.
80906         * sysdeps/i386/elf/configure.in: Delete file.
80907         * sysdeps/i386/elf/configure: Delete file.
80909         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
80910         * debug/backtracesyms.c: ... here.
80911         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
80912         * debug/backtracesymsfd.c: ... here.
80913         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
80914         * sysdeps/generic/ifunc-sel.h: ... here.
80916         * sysdeps/unix/i386/start.c: Delete file.
80917         * sysdeps/unix/sparc/start.c: Delete file.
80918         * sysdeps/unix/start.c: Delete file.
80920         * sysdeps/sh/elf/configure.in: Moved to ...
80921         * sysdeps/sh/configure.in: ... here.
80922         * sysdeps/sh/elf/start.S: Moved to ...
80923         * sysdeps/sh/start.S: ... here.
80924         * sysdeps/sh/elf/configure: Delete file.
80926         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
80927         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
80928         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
80929         * sysdeps/powerpc/powerpc64/entry.h: ... here.
80930         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
80931         * sysdeps/powerpc/powerpc64/start.S: here.
80932         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
80933         * sysdeps/powerpc/powerpc64/Makefile: ... this.
80934         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
80935         * sysdeps/powerpc/powerpc64/configure.in: ... this.
80936         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
80938         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
80939         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
80940         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
80941         * sysdeps/powerpc/powerpc32/start.S: ... here.
80942         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
80943         * sysdeps/powerpc/powerpc32/configure.in: ... this.
80944         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
80946         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
80947         * sysdeps/powerpc/ifunc-sel.h: ... here.
80948         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
80949         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
80951         * sysdeps/sparc/elf/configure.in: Moved to ...
80952         * sysdeps/sparc/configure.in: ... here.
80953         * sysdeps/sparc/elf/configure: Delete file.
80954         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
80955         * sysdeps/sparc/sparc32/start.S: ... here.
80956         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
80957         * sysdeps/sparc/sparc64/start.S: ... here.
80958         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
80959         * sysdeps/sparc/sparc32/Makefile: ... this.
80960         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
80961         * sysdeps/sparc/sparc64/Makefile: ... this.
80963         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
80964         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
80965         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
80966         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
80967         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
80968         * sysdeps/s390/s390-32/setjmp.S: ... here.
80969         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
80970         * sysdeps/s390/s390-32/configure.in: ... here.
80971         * sysdeps/s390/s390-32/elf/configure: Delete file.
80972         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
80973         * sysdeps/s390/s390-32/start.S: ... here.
80975         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
80976         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
80977         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
80978         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
80979         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
80980         * sysdeps/s390/s390-64/setjmp.S: ... here.
80981         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
80982         * sysdeps/s390/s390-64/configure.in: ... here
80983         * sysdeps/s390/s390-64/elf/configure: Delete file.
80984         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
80985         * sysdeps/s390/s390-64/start.S: ... here.
80986         * sysdeps/s390/s390-64/elf/configure: Delete.
80988         * configure.in: Remove support for elf directories in sysdeps.
80990         * configure: Regenerated.
80991         * sysdeps/i386/configure: Regenerated.
80992         * sysdeps/powerpc/powerpc32/configure: Regenerated.
80993         * sysdeps/powerpc/powerpc64/configure: Regenerated.
80994         * sysdeps/s390/s390-32/configure: Regenerated.
80995         * sysdeps/s390/s390-64/configure: Regenerated.
80996         * sysdeps/sh/configure: Regenerated.
80997         * sysdeps/sparc/configure: Regenerated.
80998         * sysdeps/x86_64/configure: Regenerated.
81000 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
81002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81004         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
81005         denormal result into account.
81007 2012-03-25  Roland McGrath  <roland@hack.frob.com>
81009         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
81010         Reported by Allan McRae <allan@archlinux.org>.
81012 2012-03-23  Jeff Law  <law@redhat.com>
81014         * nss/getnssent.c (__nss_getent): Fix typo.
81016 2012-03-23  David S. Miller  <davem@davemloft.net>
81018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81020 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
81022         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
81023         to pad to uint64_t for each field.
81024         (dl_tls_index): Replace unsigned long with uint64_t.
81026 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
81027         Paul Pluzhnikov  <ppluzhnikov@google.com>
81029         [BZ #6528]
81030         * grp/Makefile (otherlibs): Don't set it.
81031         * inet/Makefile (otherlibs): Likewise.
81032         * login/Makefile (otherlibs): Likewise.
81033         * nscd/Makefile (otherlibs): Likewise.
81034         * posix/Makefile (otherlibs): Likewise.
81035         * pwd/Makefile (otherlibs): Likewise.
81036         * rt/Makefile (otherlibs): Likewise.
81037         * sunrpc/Makefile (otherlibs): Likewise.
81038         * nss/Makefile (otherlibs): Likewise.
81039         Add libnss_files to routines and static-only-routines.
81040         ($(objpfx)getent): Remove rule.
81041         * resolv/Makefile: Add libnss_dns and libresolv to routines and
81042         static-only-routines.
81044 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
81046         [BZ #13892]
81047         * math/s_cexp.c: Include <float.h>.
81048         (__cexp): Handle exp result overflowing not necessarily
81049         overflowing both real and imaginary parts of result.
81050         * math/s_cexpf.c: Likewise.
81051         * math/s_cexpl.c: Likewise.
81052         * math/libm-test.inc (cexp_test): Add more tests.
81053         * sysdeps/i386/fpu/libm-test-ulps: Update.
81054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81056 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81058         * include/link.h (ELFW): New macro.
81059         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
81060         Replace ELF64_R_TYPE with ELFW(R_TYPE).
81062 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81064         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
81065         with uint64_t.
81067 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81069         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
81070         declaration.
81071         (struct La_x32_retval): Likewise.
81073 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81075         * sysdeps/x86_64/preconfigure.in: New file.
81076         * sysdeps/x86_64/preconfigure: New generated file.
81078 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
81080         [BZ #13824]
81081         * math/e_exp2l.c: Include <float.h>.
81082         (__ieee754_exp2l): Handle overflow and underflow cases
81083         separately.  Only pass fractional part of argument to
81084         __ieee754_expl.
81085         * math/libm-test.inc (exp2_test): Add more tests.
81087         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
81088         negating x to take absolute value.
81089         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
81090         Likewise.
81091         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
81092         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
81093         Likewise.
81094         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
81095         computing low part if x was negated.
81096         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
81098 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81100         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
81101         la_x32_gnu_pltexit.
81102         (pltexit): Cast int_retval to ptrdiff_t.
81103         * elf/tst-auditmod3b.c: Likewise.
81104         * elf/tst-auditmod4b.c: Likewise.
81105         * elf/tst-auditmod5b.c: Likewise.
81106         * elf/tst-auditmod6b.c: Likewise.
81107         * elf/tst-auditmod6c.c: Likewise.
81108         * elf/tst-auditmod7b.c: Likewise.
81110         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
81111         and x32_gnu_pltexit.
81113         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
81114         __ELF_NATIVE_CLASS.
81115         (La_x32_regs): New macro.
81116         (La_x32_retval): Likewise.
81117         (la_x32_gnu_pltenter): New function prototype.
81118         (la_x32_gnu_pltexit): Likewise.
81120 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
81122         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
81123         exponent.
81125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81127         * configure.in (libc_cv_cc_nofma): Check for option to disable
81128         generation of FMA instructions.
81129         * configure: Regenerate.
81130         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
81131         * sysdeps/ieee754/dbl-64/Makefile: New file.
81132         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
81133         Remove brandred-fma4.
81134         (CFLAGS-brandred-fma4.c): Remove.
81135         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
81136         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
81137         define.
81138         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
81139         define.
81141 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81143         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81144         LLONG_MAX != LONG_MAX.
81145         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81146         (_fitoa_word): Likewise.
81147         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
81148         LLONG_MAX != LONG_MAX.
81149         * stdio-common/_itowa.h: Include <_itoa.h>.
81150         (_itowa_word): Use _ITOA_WORD_TYPE on value.
81151         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
81152         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
81153         only if not defined.
81154         (_ITOA_WORD_TYPE): Likewise.
81155         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81156         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
81158 2012-03-21  David S. Miller  <davem@davemloft.net>
81160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81162 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81164         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
81165         of x86_64 when setting libc_cv_slibdir, libdir and
81166         libc_cv_localedir.
81167         * sysdeps/unix/sysv/linux/configure: Regenerated.
81169 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81171         * manual/lang.texi (Old Varargs): Remove section.
81172         (How Variadic): Update menu.
81173         (va_start): Do not mention varargs.h.
81175 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
81176             Joseph Myers  <joseph@codesourcery.com>
81178         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
81179         link test.
81180         * configure: Regenerated.
81182 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
81184         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
81185         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
81186         conformtest.pl
81188 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81190         * NOTES: Remove.
81191         * Makefile (files-for-dist): Remove NOTES.
81192         (NOTES): Remove rule.
81193         * README: Don't refer to NOTES.
81194         * manual/creature.texi: Don't include macros.texi.
81195         * manual/intro.texi (creature.texi): Remove comment referring to
81196         NOTES.
81198         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
81199         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
81200         * configure: Regenerated.
81201         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
81202         LIBC_TRY_CC_OPTION.
81203         (libc_cv_as_i686): Likewise.
81204         (libc_cv_cc_avx): Likewise.
81205         (libc_cv_cc_sse2avx): Likewise.
81206         (libc_cv_cc_fma4): Likewise.
81207         (libc_cv_cc_novzeroupper): Likewise.
81208         * sysdeps/i386/configure: Regenerated.
81210         [BZ #13883]
81211         * sysdeps/i386/fpu/s_cexp.S: Remove.
81212         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81213         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81214         * math/libm-test.inc (cexp_test): Add more tests.
81215         * sysdeps/i386/fpu/libm-test-ulps: Update.
81216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81218 2012-03-21  Allan McRae  <allan@archlinux.org>
81220         * timezone/Makefile: Do not install iso3166.tab and zone.tab
81222 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81224         [BZ #13871]
81225         * math/w_exp2.c: Do not include <float.h>.
81226         (o_threshold, u_threshold): Remove.
81227         (__exp2): Calculate result before checking finiteness and calling
81228         __kernel_standard.
81229         * math/w_exp2f.c: Likewise.
81230         * math/w_exp2l.c: Likewise.
81231         * math/libm-test.inc (exp2_test): Require overflow exception for
81232         1e6 input.
81234         [BZ #3866]
81235         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
81236         range of signed 64-bit integers before using fistpll.  Remove
81237         checks for whether integers fit in mantissa bits.
81238         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
81239         the range of signed 32-bit integers before using fistpl.  Remove
81240         checks for whether integers fit in mantissa bits.
81241         * sysdeps/i386/fpu/e_powl.S (p64): New object.
81242         (__ieee754_powl): Test for y outside the range of signed 64-bit
81243         integers before using fistpll.  Reduce 64-bit values to 63-bit
81244         ones as needed.
81245         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
81246         divide-by-zero is raised for zero to large negative powers.
81247         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
81248         (__ieee754_powl): Test for y outside the range of signed 64-bit
81249         integers before using fistpll.  Reduce 64-bit values to 63-bit
81250         ones as needed.
81251         * math/libm-test.inc (pow_test): Add more tests.
81253 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81255         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
81256         <stdio-common/_itoa.h>.
81257         * debug/segfault.c: Likewise.
81258         * elf/dl-cache.c: Likewise.
81259         * elf/dl-minimal.c: Likewise.
81260         * elf/dl-misc.c: Likewise.
81261         * elf/dl-sysdep.c: Likewise.
81262         * elf/dl-version.c: Likewise.
81263         * elf/rtld.c: Likewise.
81264         * hurd/hurdsock.c: Likewise.
81265         * hurd/lookup-retry.c: Likewise.
81266         * malloc/malloc.c: Likewise.
81267         * malloc/mtrace.c: Likewise.
81268         * nscd/nscd_getgr_r.c: Likewise.
81269         * nscd/nscd_getpw_r.c: Likewise.
81270         * nscd/nscd_getserv_r.c: Likewise.
81271         * posix/getopt_init.c: Likewise.
81272         * posix/wordexp.c: Likewise.
81273         * stdio-common/_itoa.c: Likewise.
81274         * stdio-common/printf_fphex.c: Likewise.
81275         * stdio-common/vfprintf.c: Likewise.
81276         * string/_strerror.c: Likewise.
81277         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
81278         * sysdeps/i386/i686/hp-timing.h: Likewise.
81279         * sysdeps/mach/_strerror.c: Likewise.
81280         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
81281         * sysdeps/mach/hurd/sethostid.c: Likewise.
81282         * sysdeps/mach/hurd/xmknodat.c: Likewise.
81283         * sysdeps/mach/xpg-strerror.c: Likewise.
81284         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
81285         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
81286         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
81287         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
81288         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
81289         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
81290         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
81291         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
81292         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
81293         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
81294         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
81295         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
81296         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
81297         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
81298         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
81299         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
81300         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
81301         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
81302         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
81303         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
81304         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
81306         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
81308         * stdio-common/_itoa.h: Moved to ...
81309         * sysdeps/generic/_itoa.h: Here.
81311         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
81313         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
81314         instead of "_itoa.h" and "_itowa.h".
81315         * stdio-common/vfprintf.: Likewise.
81317 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81319         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
81320         <bits/wordsize.h>.
81321         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
81322         (__signbit): Likewise.
81323         (llrintf): Likewise.
81324         (llrint): Likewise.
81326 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81328         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
81329         __WORDSIZE != 64.
81331 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
81333         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
81334         OVERFLOW_EXCEPTION_OK.
81335         * math/libm-test.inc ("Philosophy"): Update comment about
81336         exception testing.
81337         (OVERFLOW_EXCEPTION): Define.
81338         (OVERFLOW_EXCEPTION_OK): Likewise.
81339         (INVALID_EXCEPTION_OK): Renumber.
81340         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81341         (IGNORE_ZERO_INF_SIGN): Likewise.
81342         (test_exceptions): Handle FE_OVERFLOW.
81343         (exp10_test): Expect overflow exceptions.
81344         (exp2_test): Likewise.
81345         (expm1_test): Likewise.
81346         (nextafter_test): Likewise.
81347         (pow_test): Likewise.
81348         (scalbn_test): Likewise.
81349         (scalbln_test): Likewise.
81351 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81353         * sysdeps/x86_64/bits/atomic.h
81354         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
81355         64bit integer.
81356         (atomic_exchange_acq): Likewise.
81357         (__arch_exchange_and_add_body): Likewise.
81358         (__arch_add_body): Likewise.
81359         (atomic_add_negative): Likewise.
81360         (atomic_add_zero): Likewise.
81362 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81364         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
81365         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
81367 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81369         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
81370         Check __x86_64__ instead of __WORDSIZE.
81372 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81374         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
81376 2012-03-19  David S. Miller  <davem@davemloft.net>
81378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81380         * sysdeps/sparc/fpu/fenv_private.h: New file.
81381         * sysdeps/sparc/fpu/math_private.h: Use it.
81382         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
81383         Remove.
81384         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
81385         (libc_feholdexcept_setroundl): Remove.
81386         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
81387         Remove.
81388         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
81389         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
81391 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81393         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
81394         int64_t instead of long int.
81395         (INSERT_WORDS64): Likewise.
81397 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81399         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
81400         _Unwind_GetCFA return to _Unwind_Ptr first.
81402 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
81404         [BZ #13629]
81405         * math/s_clog.c: Include <float.h>.
81406         (__clog): Scale large or subnormal inputs.
81407         * math/s_clogf.c: Likewise.
81408         * math/s_clogl.c: Likewise.
81409         * math/s_clog10.c: Include <float.h>.
81410         (M_LOG10_2): Define.
81411         (__clog10): Scale large or subnormal inputs.
81412         * math/s_clog10f.c: Likewise.
81413         * math/s_clog10l.c: Likewise.
81414         * math/libm-test.inc (clog_test): Add more tests.
81415         (clog10_test): Likewise.
81416         * sysdeps/i386/fpu/libm-test-ulps: Update.
81417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81419         [BZ #11451]
81420         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
81421         x and y.
81422         * math/libm-test.inc (atan2_test): Add another test.
81424         * Makerules (common-objdir-compile): Remove.
81425         * sysdeps/unix/Makefile (config-generated): Do not add
81426         $(unix-generated) to variable.
81427         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
81428         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
81429         Remove rule.
81430         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
81431         Likewise.
81432         [generic bits/local_lim.h] (before-compile): Do not append to
81433         variable.
81434         [generic bits/local_lim.h] (common-generated): Likewise.
81435         [generic sys/param.h] (before-compile): Do not append to variable.
81436         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
81437         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
81438         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
81439         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
81440         include.
81441         [generic sys/param.h] (sys/param.h-includes): Remove variable.
81442         [generic sys/param.h] (sys/param.h-includes): Remove rule.
81443         [generic sys/param.h] ($(addprefix
81444         $(common-objpfx),$(sys/param.h-includes))): Likewise.
81445         [generic sys/param.h] (common-generated): Do not append to
81446         variable.
81447         [generic sys/param.h] (sysdep_headers): Likewise.
81448         [generic bits/errno.h] (before-compile): Do not append to
81449         variable.
81450         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
81451         rule.
81452         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
81453         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
81454         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
81455         [generic bits/errno.h] (common-generated): Do not append to
81456         variable.
81457         [generic bits/ioctls.h] (before-compile): Do not append to
81458         variable.
81459         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
81460         rule.
81461         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
81462         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
81463         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
81464         rule.
81465         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
81466         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
81467         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
81468         [generic bits/ioctls.h] (common-generated): Do not append to
81469         variable.
81470         [generic sys/syscall.h] (syscall.h): Remove variable.
81471         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
81472         rule.
81473         [generic sys/syscall.h] (before-compile): Do not append to
81474         variable.
81475         [generic sys/syscall.h] (common-generated): Likewise.
81476         * sysdeps/unix/errnos-tmpl.c: Remove file.
81477         * sysdeps/unix/errnos.awk: Likewise.
81478         * sysdeps/unix/ioctls-tmpl.c: Likewise.
81479         * sysdeps/unix/ioctls.awk: Likewise.
81480         * sysdeps/unix/mk-local_lim.c: Likewise.
81481         * sysdeps/unix/snarf-ioctls: Likewise.
81483 2012-03-19  Richard Henderson  <rth@twiddle.net>
81485         * sysdeps/i386/fpu/fenv_private.h: New file.
81486         * sysdeps/i386/fpu/math_private.h: Use it.
81487         (math_opt_barrier, math_force_eval): Remove.
81488         (libc_feholdexcept_setround_53bit): Remove.
81489         (libc_feupdateenv_53bit): Remove.
81490         * sysdeps/x86_64/fpu/math_private.h: Likewise.
81491         (math_opt_barrier, math_force_eval): Remove.
81492         (libc_feholdexcept): Remove.
81493         (libc_feholdexcept_setround): Remove.
81494         (libc_fetestexcept, libc_fesetenv): Remove.
81495         (libc_feupdateenv_test): Remove.
81496         (libc_feupdateenv, libc_feholdsetround): Remove.
81497         (libc_feresetround): Remove.
81499         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
81500         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
81502         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
81503         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
81504         (libc_feupdateenv_testl): New.
81505         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
81506         (libc_feupdateenv_testf): New.
81507         (libc_feupdateenv): Use libc_feupdateenv_test.
81508         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
81509         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
81511         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
81512         (libc_feholdsetroundf, libc_feholdsetroundl): New.
81513         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
81514         (libc_feresetround_noex): New.
81515         (libc_feresetround_noexf): New.
81516         (libc_feresetround_noexl): New.
81517         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
81518         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
81519         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
81520         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
81521         SET_RESTORE_ROUND.
81522         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
81523         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
81524         (__cos): Likewise.
81525         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
81526         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
81527         SET_RESTORE_ROUND_NOEX.
81528         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
81529         SET_RESTORE_ROUND_NOEXF.
81530         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
81531         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
81532         (libc_feholdsetroundf): New.
81533         (libc_feresetround, libc_feresetroundf): New.
81535         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
81536         (libc_feholdexcept_setround_53bit): Convert from macro to function.
81537         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
81539         * sysdeps/generic/math_private.h: Include <fenv.h>.
81540         (default_libc_feholdexcept): New.
81541         (default_libc_feholdexcept_setround): New.
81542         (default_libc_fesetenv, default_libc_feupdateenv): New.
81543         (libc_feholdexcept): Only define if undefined.
81544         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
81545         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
81546         (libc_feholdexcept_setroundl): Likewise.
81547         (libc_feholdexcept_setround_53bit): Likewise.
81548         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
81549         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
81550         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
81551         (libc_feupdateenv_53bit): Likewise.
81552         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
81553         (libc_feholdexcept): Convert from macro to inline function.
81554         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
81555         (libc_fesetenv, libc_feupdateenv): Likewise.
81557         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
81558         not previously defined.
81559         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
81560         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
81561         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
81562         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
81563         * sysdeps/ieee754/flt-32/math_private.h: New file.
81564         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
81565         math_private.h below SET_FLOAT_WORD.
81566         (__isnan, __isinf_ns, __finite): Remove.
81567         (__isnanf, __isinf_nsf, __finitef): Remove.
81569 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
81571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81573 2012-03-17  David S. Miller  <davem@davemloft.net>
81575         [BZ #6471]
81576         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
81577         for 2.16.
81579 2012-03-16  David S. Miller  <davem@davemloft.net>
81581         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
81582         warnings.
81584         [BZ #6471]
81585         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
81586         properly.
81587         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
81588         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
81589         sysdep_routines when subdir is sysvipc.
81590         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
81591         __getshmlba helper.
81593         * sysdeps/sparc/fpu/libm-test/ulps: Update.
81595 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81597         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
81598         [__LP64__].
81600 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81602         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
81603         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
81604         (__lround): Renamed to ...
81605         (__llround): This.  Replace long int with long long int.
81606         Define lround functions as aliases of llround functions.
81607         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
81609 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81611         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
81612         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
81613         adresses to uintptr_t.  Replace "long int" and "unsigned long
81614         int" with "greg_t" on va_arg.
81616 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81618         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
81619         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
81621         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
81622         Move e_machine check before EI_CLASS check.  Handle x32
81623         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
81624         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
81625         SKIP_EM_IA_64 and include
81626         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
81628         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
81629         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
81630         (add_system_dir): New macro.
81632         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
81633         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
81635 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
81637         [BZ #2551]
81638         [BZ #2552]
81639         [BZ #2553]
81640         [BZ #2554]
81641         [BZ #2562]
81642         [BZ #2563]
81643         [BZ #2565]
81644         [BZ #2566]
81645         [BZ #2576]
81646         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
81647         (y0): Likewise.
81648         * math/w_j0f.c (j0f): Likewise.
81649         (y0f): Likewise.
81650         * math/w_j0l.c (__j0l): Likewise.
81651         (__y0l): Likewise.
81652         * math/w_j1.c (j1): Likewise.
81653         (y1): Likewise.
81654         * math/w_j1f.c (j1f): Likewise.
81655         (y1f): Likewise.
81656         * math/w_j1l.c (__j1l): Likewise.
81657         (__y1l): Likewise.
81658         * math/w_jn.c (jn): Likewise.
81659         (yn): Likewise.
81660         * math/w_jnf.c (jnf): Likewise.
81661         (ynf): Likewise.
81662         * math/w_jnl.c (__jnl): Likewise.
81663         (__ynl): Likewise.
81664         * math/libm-test.inc (j0_test): Add more tests.
81665         (j1_test): Likewise.
81666         (jn_test): Likewise.  Add trailing semicolon to existing test.
81667         (y0_test): Likewise.
81668         (y1_test): Likewise.
81669         * sysdeps/i386/fpu/libm-test-ulps: Update.
81670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81672         [BZ #13851]
81673         [BZ #13854]
81674         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
81675         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
81676         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
81677         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
81678         (__tanl): Set errno for infinite argument.
81679         * sysdeps/i386/fpu/mptan.c: Remove.
81680         * sysdeps/i386/fpu/s_tan.S: Likewise.
81681         * sysdeps/i386/fpu/s_tanl.S: Likewise.
81682         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
81683         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
81684         * math/libm-test.inc (tan_test): Add more tests and enable more
81685         tests for double and long double.
81686         * sysdeps/i386/fpu/libm-test-ulps: Update.
81687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81689 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
81691         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
81692         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
81694 2012-03-16  Roland McGrath  <roland@hack.frob.com>
81696         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
81697         * configure.in: Use it for both main tree and add-ons.
81698         * configure: Regenerated.
81700 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81702         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
81704 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
81706         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
81707         in comment.
81709         [BZ #13851]
81710         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
81711         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
81712         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
81713         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
81714         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
81715         infinite argument.
81716         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
81717         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
81718         != 0 for prec == 2.
81719         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
81720         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
81721         * sysdeps/i386/fpu/s_cosl.S: Likewise.
81722         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
81723         * sysdeps/i386/fpu/s_sinl.S: Likewise.
81724         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
81725         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
81726         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
81727         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
81728         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
81729         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
81730         * math/libm-test.inc (cos_test): Add more tests and enable more
81731         tests for long double.
81732         (sin_test): Likewise.
81733         (sincos_test): Likewise.
81734         * sysdeps/i386/fpu/libm-test-ulps: Update.
81735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81737 2012-03-16  David S. Miller  <davem@davemloft.net>
81739         * sysdeps/sparc/fpu/math_private.h: New file.
81741 2012-03-15  David S. Miller  <davem@davemloft.net>
81743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
81744         file.
81745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
81746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
81747         file.
81748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
81749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
81750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
81751         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
81752         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
81753         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
81754         sysdep routines.
81755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
81757         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
81758         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
81760         * sysdeps/sparc/sparc-ifunc.h: New file.
81761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
81762         sparc-ifunc.h
81763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
81764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
81765         Likewise.
81766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
81767         Likewise.
81768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
81769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
81770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
81771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
81772         Likewise.
81773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
81774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
81775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
81776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
81777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
81778         Likewise.
81779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
81780         Likewise.
81781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
81782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
81783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
81784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
81785         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
81786         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
81787         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
81788         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
81789         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
81790         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
81791         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
81792         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
81793         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
81794         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
81795         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
81796         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
81797         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
81798         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
81799         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
81800         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
81801         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
81802         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
81803         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
81804         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
81806 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
81808         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
81809         scaling.
81810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81812 2012-03-15  Andreas Jaeger  <aj@suse.de>
81814         [BZ #13852]
81815         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
81816         ieee754/flt-32 implementation for sin, cos and sincos.
81817         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
81818         * sysdeps/i386/fpu/s_cosf.S: Likewise.
81819         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
81820         * sysdeps/i386/fpu/s_sinf.S: Likewise.
81821         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
81822         ieee754/flt-32 implementation for tan.
81824         * math/libm-test.inc (cos_test): Enable some large input tests for
81825         float as well
81826         (sin_test): Likewise.
81827         (sincos_test): Likewise.
81828         (tan_test): Add tests for large input.
81830         * sysdeps/i386/fpu/libm-test-ulps: Update.
81832 2012-03-15  Andreas Jaeger  <aj@suse.de>
81834         [BZ #13658]
81835         * math/libm-test.inc (cos_test): Add more test cases.
81836         (sin_test): Likewise.
81837         (sincos_test): Likewise.
81839 2012-03-15  Andreas Jaeger  <aj@suse.de>
81841         [BZ #13837]
81842         * math/libm-test.inc (cos_test): Add a test case for large input
81843         value.
81844         (sin_test): Likewise.
81845         (sincos_test): Likewise.
81847 2012-03-15  Andreas Jaeger  <aj@suse.de>
81848             Joseph Myers  <joseph@codesourcery.com>
81850         [BZ #13658]
81851         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
81852         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
81853         * sysdeps/i386/fpu/branred.c: Likewise.
81854         * sysdeps/i386/fpu/dosincos.c: Likewise.
81855         * sysdeps/i386/fpu/mpa.c: Likewise.
81856         * sysdeps/i386/fpu/s_cos.S: Likewise.
81857         * sysdeps/i386/fpu/s_sin.S: Likewise.
81858         * sysdeps/i386/fpu/s_sincos.S: Likewise.
81859         * sysdeps/i386/fpu/sincos32.c: Likewise.
81861         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
81862         Define.
81863         (libc_feupdateenv_53bit): Define.
81864         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
81865         Define.
81866         (libc_feupdateenv_53bit): Define.
81868         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
81869         53 bit (without extend i386 double precision).
81871         * math/libm-test.inc (sincos_test): Add tests for large input.
81872         (sin): Likewise.
81873         (cos): Likewise.
81875         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
81877 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
81879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81881 2012-03-15  David S. Miller  <davem@davemloft.net>
81883         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
81884         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
81885         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
81886         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
81887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
81888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
81889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
81890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
81891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
81892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
81893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
81894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
81895         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
81896         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
81897         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
81898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
81899         file.
81900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
81901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
81902         file.
81903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
81904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
81905         file.
81906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
81907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
81908         file.
81909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
81910         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
81911         fmin/fmax sysdep routines.
81912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
81914 2012-03-14  David S. Miller  <davem@davemloft.net>
81916         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
81917         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
81918         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
81919         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
81920         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
81921         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
81922         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
81923         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
81924         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
81925         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
81926         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
81927         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
81928         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
81929         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
81930         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
81931         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
81932         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
81933         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
81934         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
81935         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
81936         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
81937         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
81938         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
81939         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
81940         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
81941         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
81942         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
81943         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
81944         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
81945         routines.
81946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
81947         file.
81948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
81949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
81950         file.
81951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
81952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
81953         file.
81954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
81955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
81956         file.
81957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
81958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
81959         file.
81960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
81961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
81962         file.
81963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
81964         file.
81965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
81966         file.
81967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
81968         file.
81969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
81970         New file.
81971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
81972         file.
81973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
81974         file.
81975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
81976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
81977         file.
81978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
81979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
81980         file.
81981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
81982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
81983         file.
81984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
81985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
81986         VIS3 routines.
81988         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
81989         New file.
81991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81993         * sysdeps/sparc/configure.in: New file.
81994         * sysdeps/sparc/configure: Generate.
81995         * configure.in (libc_cv_sparc_as_vis3): Substitute.
81996         * configure: Regenerate.
81997         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
81998         * config.make.in (have-as-vis3): New.
81999         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
82000         available use -Av9d instead of -Av9a.
82001         * sysdeps/sparc/sparc64/Makefile: Likewise.
82002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
82003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
82004         New file.
82005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
82006         file.
82007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
82008         New file.
82009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
82010         file.
82011         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
82012         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
82013         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
82014         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
82015         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
82017         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
82018         fzeros/fnegs to load 0x80000000 into a float register instead of
82019         using the stack.
82020         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
82022 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
82024         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82025         bits/syscall.h.
82026         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
82027         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
82028         ($(inst_includedir)/bits/syscall.h): Remove rule.
82029         ($(objpfx)bits/syscall.d): Include instead of
82030         $(objpfx)syscall-list.d.
82031         (generated): Change syscall-list.h and syscall-list.d to
82032         bits/syscall.h and bits/syscall.d.
82034 2012-03-14  Roland McGrath  <roland@hack.frob.com>
82036         [BZ #13846]
82037         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
82039 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
82041         [BZ #13841]
82042         * math/s_csqrt.c: Include <float.h>.
82043         (__csqrt): Scale large or subnormal inputs.
82044         * math/s_csqrtf.c: Likewise.
82045         * math/s_csqrtl.c: Likewise.
82046         * math/libm-test.inc (csqrt_test): Add more tests.
82047         * sysdeps/i386/fpu/libm-test-ulps: Update.
82048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82050         [BZ #13840]
82051         * math/libm-test.inc (hypot_test): Add more tests.
82053 2012-03-13  David S. Miller  <davem@davemloft.net>
82055         [BZ #13840]
82056         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
82057         double-precision for the calculation instead of scaling.
82059 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
82061         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
82062         manipulate bits before adding and subtracting TWO52[sx].
82063         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
82064         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
82065         Likewise.
82066         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
82068 2012-03-13  David S. Miller  <davem@davemloft.net>
82070         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
82071         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
82072         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
82073         rtld-global-offsets.h
82074         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82076         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
82077         large parameters.
82079         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
82081         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
82082         'err' in the ifdef scope in which it is actually used.
82084         * nss/nss_db/db-init.c: Include string.h
82086 2012-03-12  David S. Miller  <davem@davemloft.net>
82088         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82089         masking out of the most significant byte of random value used.
82090         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82091         Fix coding style in previous change.
82093         * sysdeps/unix/sysv/linux/kernel-features.h
82094         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
82095         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
82096         expression.
82097         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
82098         later.
82100 2012-03-11  David S. Miller  <davem@davemloft.net>
82102         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
82103         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
82104         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
82105         for 'resultvar' otherwise things get truncated on 64-bit.
82107         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82108         Fix masking out of the most significant byte of random value used.
82110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82112 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
82114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82116 2012-03-09  David S. Miller  <davem@davemloft.net>
82118         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
82119         variables with appropriate CPP guards.
82120         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
82121         from the frame pointer, not the stack pointer.  Correct layout
82122         comments.  Fix test on resulting framesize and the management of
82123         the outregs buffer for pltexit.  Preserve floating point return
82124         values across _dl_call_pltexit call.
82125         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
82126         framesize and the management of the outregs buffer for pltexit.
82127         Preserve floating point return values across _dl_call_pltexit
82128         call.
82129         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
82130         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
82131         (la_sparc64_gnu_pltexit): New functions.
82132         (print_exit): Fix format string for return register value.
82134 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
82136         * sunrpc/Makefile (others): Add rpcgen.
82137         ($(objpfx)rpcgen): Remove special build rule and dependency on
82138         libc.
82139         * sunrpc/rpcgen.c: New file.
82141 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
82143         [BZ #13673]
82144         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
82145         * stdio-common/bug-vfprintf-nargs.c: Likewise.
82146         * sysdeps/i386/crti.S: Likewise.
82147         * sysdeps/i386/crtn.S: Likewise.
82148         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
82149         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
82150         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
82151         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
82152         * sysdeps/sh/crti.S: Likewise.
82153         * sysdeps/sh/crtn.S: Likewise.
82154         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
82156         [BZ #13673]
82157         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
82158         with URL.
82159         * locale/programs/locfile-kw.gperf: Likewise.
82160         * locale/programs/charmap-kw.h: Regenerated.
82161         * locale/programs/locfile-kw.h: Likewise.
82163         [BZ #13673]
82164         * intl/plural.y: Replace FSF snail mail address with URL.
82165         * intl/plural.c: Regenerated.
82167 2012-03-09  Richard Henderson  <rth@twiddle.net>
82169         * include/math_private.h: Remove file.
82170         * math/math_private.h: Move file ...
82171         * sysdeps/generic/math_private.h: ... here.
82173         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
82174         * sysdeps/powerpc/fpu/math_private.h: Likewise.
82175         * sysdeps/x86_64/fpu/math_private.h: Likewise.
82177         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
82178         and <math_private.h>.
82179         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82180         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82181         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82182         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82183         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82184         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
82185         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
82186         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82187         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82188         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82189         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82190         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82191         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82192         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82193         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82194         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82195         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82196         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82197         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82198         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82199         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82200         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82201         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82202         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82203         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
82204         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82205         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82206         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82207         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82208         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82209         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82210         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82211         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
82212         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
82213         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82214         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82215         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
82216         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82217         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82218         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82219         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
82220         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82221         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82222         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
82223         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
82224         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82225         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
82226         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
82227         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
82228         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82229         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
82230         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
82231         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
82232         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82233         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
82234         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82235         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82236         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
82237         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
82238         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
82239         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82240         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
82241         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82242         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82243         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
82244         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82245         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82246         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82247         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
82248         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
82249         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
82250         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82251         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
82252         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82253         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
82254         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
82255         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
82256         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82257         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
82258         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
82259         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
82260         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
82261         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
82262         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82263         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
82264         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
82265         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
82266         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
82267         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82268         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82269         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82270         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82271         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82272         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82273         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82274         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82275         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82276         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82277         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82278         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82279         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82280         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82281         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82282         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82283         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82284         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82285         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82286         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82287         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82288         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82289         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82290         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82291         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82292         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82293         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
82294         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82295         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82296         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82297         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82298         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
82299         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82300         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82301         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82302         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
82303         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82304         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82305         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82306         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
82307         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82308         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
82309         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
82310         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
82311         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82312         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
82313         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
82314         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82315         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
82316         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82317         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
82318         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82319         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82320         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82321         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82322         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
82323         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
82324         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82325         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82326         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82327         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
82328         * sysdeps/ieee754/k_standard.c: Likewise.
82329         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82330         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82331         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82332         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82333         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82334         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82335         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82336         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82337         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82338         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82339         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82340         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82341         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82342         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82343         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82344         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82345         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
82346         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82347         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82348         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
82349         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
82350         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
82351         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82352         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82353         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
82354         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
82355         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82356         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82357         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82358         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82359         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
82360         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82361         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82362         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82363         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
82364         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82365         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82366         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
82367         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
82368         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82369         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
82370         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
82371         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
82372         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82373         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
82374         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
82375         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82376         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82377         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82378         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82379         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82380         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
82381         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82382         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
82383         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82384         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82385         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
82386         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
82387         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82388         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82389         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82390         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
82391         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82392         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82393         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82394         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82395         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82396         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82397         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82398         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82399         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82400         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82401         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82402         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82403         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82404         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82405         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
82406         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82407         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82408         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
82409         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
82410         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
82411         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82412         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82413         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
82414         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82415         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82416         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
82417         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
82418         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82419         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
82420         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82421         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
82422         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
82423         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82424         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82425         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
82426         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
82427         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
82428         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
82429         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82430         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82431         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82432         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82433         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
82434         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82435         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82436         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
82437         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
82438         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82439         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82440         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82441         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82442         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82443         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82444         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82445         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82446         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82447         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82448         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82449         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82450         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82451         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82452         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82453         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82454         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
82455         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82456         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82457         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82458         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82459         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82460         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82461         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82462         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
82463         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82464         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82465         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
82466         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
82467         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82468         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
82469         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
82470         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82471         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
82472         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
82473         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82474         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82475         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82476         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82477         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82478         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
82479         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82480         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
82481         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82482         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82483         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
82484         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
82485         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82486         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82487         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82488         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
82489         * sysdeps/ieee754/s_lib_version.c: Likewise.
82490         * sysdeps/ieee754/s_matherr.c: Likewise.
82491         * sysdeps/ieee754/s_signgam.c: Likewise.
82492         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82493         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82494         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
82495         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
82496         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
82497         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
82498         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
82499         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
82500         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
82501         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
82502         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
82503         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
82504         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82505         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82506         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
82507         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
82508         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
82509         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
82510         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
82511         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82512         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82514 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
82516         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
82517         * sunrpc/rpc_main.c: Likewise.
82518         * sunrpc/rpc_svcout.c: Likewise.
82520 2012-03-09  David S. Miller  <davem@davemloft.net>
82522         * include/math_private.h: New file.
82524 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
82526         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
82527         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
82528         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
82529         from <bits/socket_type.h>.
82530         (enum __socket_type): Don't define here.
82531         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
82532         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82533         bits/socket_type.h.
82535         [BZ #13566]
82536         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
82537         checking __USE_GNU.
82539         * Makerules ($(inst_includedir)/%.h): New rule.
82540         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
82541         (install-others): Remove variable setting.
82542         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
82544 2012-03-08  Richard Henderson  <rth@twiddle.net>
82546         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
82547         from macro to inline function; merge with the
82548         !__LIBC_INTERNAL_MATH_INLINES version.
82549         (__ieee754_sqrtf): Likewise.
82551         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
82552         to inline function.
82553         (__rintf, __floor, __floorf): Likewise.
82555         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
82556         macro to inline function.
82557         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
82559         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
82560         not <math/math_private.h>.
82562 2012-03-08  David S. Miller  <davem@davemloft.net>
82564         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
82565         copyright year.
82566         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
82568 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
82570         * resolv/gai_misc.c (handle_requests): Fix struct timespec
82571         normalization.
82572         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
82573         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
82575 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
82577         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
82578         be defined individually, they must be defined as a block.  Define
82579         S for printing a string instead of hidint the different by using a
82580         macro for adding the 'l'.
82581         * stdio-common/tst-fphex-wide.c: Adjust.
82583 2012-03-07  Marek Polacek  <polacek@redhat.com>
82585         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
82587 2012-03-08  Marek Polacek  <polacek@redhat.com>
82589         [BZ #13806]
82590         * stdio-common/Makefile (tests): Add tst-fphex-wide.
82591         * stdio-common/tst-fphex.c: Define a few macros to make the
82592         test reusable.  Use them.
82593         * stdio-common/tst-fphex-wide.c: New file.
82595 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
82597         [BZ #6911]
82598         * manual/macros.texi (gnusystems): New macro.
82599         (nongnusystems): Likewise.
82600         (gnulinuxhurdsystems): Likewise.
82601         (gnuhurdsystems): Likewise..
82602         (gnulinuxsystems): Likewise.
82603         * manual/charset.texi: Use new macros or @theglibc{} to refer to
82604         variants of the GNU system, not "GNU system".
82605         * manual/conf.texi: Likewise.
82606         * manual/errno.texi: Likewise.  Update example of errno macro
82607         expansion.
82608         * manual/filesys.texi: Likewise.
82609         (getumask): Document as specific to GNU/Hurd.
82610         * manual/install.texi: Likewise.  Reword some references to
82611         GNU/Linux.
82612         * manual/intro.texi: Likewise.
82613         * manual/io.texi: Likewise.
82614         (File Name Portability): Detail which constraints are inapplicable
82615         to all GNU systems and which are only inapplicable to GNU/Hurd.
82616         * manual/job.texi: Likewise.
82617         * manual/llio.texi: Likewise.
82618         (O_NOCTTY): Document as present on GNU/Linux.
82619         * manual/maint.texi: Likewise.
82620         * manual/memory.texi: Likewise.
82621         * manual/pattern.texi: Likewise.
82622         * manual/pipe.texi: Likewise.
82623         * manual/process.texi: Likewise.
82624         * manual/resource.texi: Likewise.
82625         (RUSAGE_CHILDREN): Remove statement about specifying a particular
82626         child on GNU/Hurd.
82627         * manual/setjmp.texi: Likewise.
82628         * manual/signal.texi: Likewise.
82629         * manual/startup.texi: Likewise.
82630         * manual/stdio.texi: Likewise.
82631         * manual/terminal.texi: Likewise.
82632         (ONLCR): Document as POSIX.
82633         (OXTABS): Document availability on GNU/Linux as XTABS.
82634         (ONOEOT): Document availability separately from other bits.
82635         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
82636         * manual/time.texi: Likewise.
82637         * manual/users.texi: Likewise.
82638         * INSTALL: Regenerated.
82639         * sysdeps/gnu/errlist.c: Regenerated.
82641         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
82642         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
82643         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
82644         puts.
82645         * configure: Regenerated.
82647 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
82649         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
82650         default includes instead of AC_HEADER_CHECK.
82651         * sysdeps/i386/configure: Regenerated.
82653         [BZ #10716]
82654         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
82655         * math/s_cacoshf.c (__cacoshf): Likewise.
82656         * math/s_cacoshl.c (__cacoshl): Likewise.
82657         * math/s_casinh.c (__casinh): Set signs of result from argument.
82658         * math/s_casinhf.c (__casinhf): Likewise.
82659         * math/s_casinhl.c (__casinhl): Likewise.
82660         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
82661         (casinh_test): Add more tests.
82662         * sysdeps/i386/fpu/libm-test-ulps: Update.
82663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82665 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
82667         * po/zh_TW.po: Update from translation team.
82669         * login/Makefile (distribute): Remove variable.
82670         * catgets/Makefile: Likewise.
82671         * mach/Makefile: Likewise.
82672         * malloc/Makefile: Likewise.
82673         * misc/Makefile: Likewise.
82674         * iconv/Makefile: Likewise.
82675         * nscd/Makefile: Likewise.
82676         * hurd/Makefile: Likewise.
82677         * manual/Makefile: Likewise.
82678         * locale/Makefile: Likewise.
82679         * intl/Makefile: Likewise.
82680         * conform/Makefile: Likewise.
82681         * nss/Makefile: Likewise.
82682         * time/Makefile: Likewise.
82683         * soft-fp/Makefile: Likewise.
82684         * dirent/Makefile: Likewise.
82685         * gmon/Makefile: Likewise.
82686         * po/Makefile: Likewise.
82687         * rt/Makefile: Likewise.
82688         * socket/Makefile: Likewise.
82689         * math/Makefile: Likewise.
82690         * signal/Makefile: Likewise.
82691         * debug/Makefile: Likewise.
82692         * elf/Makefile: Likewise.
82693         * timezone/Makefile: Likewise.
82694         * stdlib/Makefile: Likewise.
82695         * iconvdata/Makefile: Likewise.
82696         * sunrpc/Makefile: Likewise.
82697         * io/Makefile: Likewise.
82698         * argp/Makefile: Likewise.
82699         * inet/Makefile: Likewise.
82700         * hesiod/Makefile: Likewise.
82701         * grp/Makefile: Likewise.
82702         * csu/Makefile: Likewise.
82703         * wctype/Makefile: Likewise.
82704         * crypt/Makefile: Likewise.
82705         * libio/Makefile: Likewise.
82706         * string/Makefile: Likewise.
82707         * nis/Makefile: Likewise.
82708         * resolv/Makefile: Likewise.
82709         * stdio-common/Makefile: Likewise.
82710         * wcsmbs/Makefile: Likewise.
82711         * dlfcn/Makefile: Likewise.
82712         * posix/Makefile: Likewise.
82714         [BZ #6959]
82715         * timezone/Makefile: Don't install timezone files, just the programs
82716         and scripts.
82718 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
82720         * nss/databases.def: Add missing gshadow entry.
82722         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
82724 2012-03-06  Marek Polacek  <polacek@redhat.com>
82726         [BZ #13726]
82727         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
82728         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
82729         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
82730         * stdio-common/tst-long-dbl-fphex.c: New file.
82732 2012-03-06  David S. Miller  <davem@davemloft.net>
82734         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
82735         (set_obp_int): New function.
82736         (get_obp_int): New function.
82737         (__get_clockfreq_via_dev_openprom): Likewise.
82738         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
82739         Avoid unused variable warnings on 'val' and use builtin_expect.
82740         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
82741         __builtin_expect.
82742         (INLINE_CLONE_SYSCALL): Likewise.
82744 2012-03-05  David S. Miller  <davem@davemloft.net>
82746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82748 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
82750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82752         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
82753         only for |x| >= 40.
82754         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82756 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
82758         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
82759         Replace gettimeofday with __vdso_gettimeofday.
82761         * sysdeps/unix/sysv/linux/x86_64/init-first.c
82762         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
82763         __vdso_clock_gettime and __vdso_getcpu.
82765         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
82766         time with __vdso_time.
82768 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
82770         * manual/lang.texi (size_t): Note types to which size_t may be
82771         equivalent with the GNU C Library, but do not describe when
82772         differences between them are significant.
82774 2012-03-05  Andreas Jaeger  <aj@suse.de>
82776         * sysdeps/i386/fpu/libm-test-ulps: Update.
82778 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
82780         [BZ #3976]
82781         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
82782         (__ieee754_pow): Save and restore rounding mode and use
82783         round-to-nearest for main computations.
82784         * math/libm-test.inc (pow_test_tonearest): New function.
82785         (pow_test_towardzero): Likewise.
82786         (pow_test_downward): Likewise.
82787         (pow_test_upward): Likewise.
82788         (main): Call the new functions.
82789         * sysdeps/i386/fpu/libm-test-ulps: Update.
82790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82792         [BZ #3976]
82793         * math/libm-test.inc (cosh_test_tonearest): New function.
82794         (cosh_test_towardzero): Likewise.
82795         (cosh_test_downward): Likewise.
82796         (cosh_test_upward): Likewise.
82797         (sinh_test_tonearest): Likewise.
82798         (sinh_test_towardzero): Likewise.
82799         (sinh_test_downward): Likewise.
82800         (sinh_test_upward): Likewise.
82801         (main): Call the new functions.
82802         * sysdeps/i386/fpu/libm-test-ulps: Update.
82803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82805 2012-03-05  Tom de Vries  <tom@codesourcery.com>
82807         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
82808         default stack guard is set in last bytes.
82809         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
82811 2012-03-05  Kees Cook  <keescook@chromium.org>
82813         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
82815         [BZ #13656]
82816         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
82817         possibly allocate from heap instead of stack.
82818         * stdio-common/bug-vfprintf-nargs.c: New file.
82819         * stdio-common/Makefile (tests): Add nargs overflow test.
82821 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
82823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82825 2012-03-03  Marek Polacek  <polacek@redhat.com>
82827         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
82828         * math/math_private.h: Likewise.
82829         * stdlib/tst-strtod.c: Likewise.
82830         * sysdeps/i386/i486/bits/atomic.h: Likewise.
82831         * sysdeps/x86_64/bits/atomic.h: Likewise.
82833 2012-03-02  David S. Miller  <davem@davemloft.net>
82835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
82836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
82837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
82838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
82839         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
82840         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
82841         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
82842         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
82844 2012-03-02  Roland McGrath  <roland@hack.frob.com>
82846         [BZ #13792]
82847         * manual/examples/README: New file, says the example source files
82848         can be used under GPL>=2.
82849         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
82850         line containing just "*/".
82851         * manual/examples/add.c: Add copyright header (GPL>=2).
82852         * manual/examples/argp-ex1.c: Likewise.
82853         * manual/examples/argp-ex2.c: Likewise.
82854         * manual/examples/argp-ex3.c: Likewise.
82855         * manual/examples/argp-ex4.c: Likewise.
82856         * manual/examples/atexit.c: Likewise.
82857         * manual/examples/db.c: Likewise.
82858         * manual/examples/dir.c: Likewise.
82859         * manual/examples/dir2.c: Likewise.
82860         * manual/examples/execinfo.c: Likewise.
82861         * manual/examples/filecli.c: Likewise.
82862         * manual/examples/filesrv.c: Likewise.
82863         * manual/examples/fmtmsgexpl.c: Likewise.
82864         * manual/examples/genpass.c: Likewise.
82865         * manual/examples/inetcli.c: Likewise.
82866         * manual/examples/inetsrv.c: Likewise.
82867         * manual/examples/isockad.c: Likewise.
82868         * manual/examples/longopt.c: Likewise.
82869         * manual/examples/memopen.c: Likewise.
82870         * manual/examples/memstrm.c: Likewise.
82871         * manual/examples/mkfsock.c: Likewise.
82872         * manual/examples/mkisock.c: Likewise.
82873         * manual/examples/mygetpass.c: Likewise.
82874         * manual/examples/pipe.c: Likewise.
82875         * manual/examples/popen.c: Likewise.
82876         * manual/examples/rprintf.c: Likewise.
82877         * manual/examples/search.c: Likewise.
82878         * manual/examples/select.c: Likewise.
82879         * manual/examples/setjmp.c: Likewise.
82880         * manual/examples/sigh1.c: Likewise.
82881         * manual/examples/sigusr.c: Likewise.
82882         * manual/examples/stpcpy.c: Likewise.
82883         * manual/examples/strdupa.c: Likewise.
82884         * manual/examples/strftim.c: Likewise.
82885         * manual/examples/strncat.c: Likewise.
82886         * manual/examples/subopt.c: Likewise.
82887         * manual/examples/swapcontext.c: Likewise.
82888         * manual/examples/termios.c: Likewise.
82889         * manual/examples/testopt.c: Likewise.
82890         * manual/examples/testpass.c: Likewise.
82891         * manual/examples/timeval_subtract.c: Likewise.
82893         [BZ #13792]
82894         * manual/time.texi (Elapsed Time): Move timeval_subtract example
82895         function to ...
82896         * manual/timeval_subtract.c.texi: ... here, new file.
82898 2012-03-02  David S. Miller  <davem@davemloft.net>
82900         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
82902 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
82904         [BZ #3976]
82905         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
82906         (__sin): Save and restore rounding mode and use round-to-nearest
82907         for all computations.
82908         (__cos): Save and restore rounding mode and use round-to-nearest
82909         for all computations.
82910         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
82911         <fenv.h>.
82912         (tan): Save and restore rounding mode and use round-to-nearest for
82913         all computations.
82914         * math/libm-test.inc (cos_test_tonearest): New function.
82915         (cos_test_towardzero): Likewise.
82916         (cos_test_downward): Likewise.
82917         (cos_test_upward): Likewise.
82918         (sin_test_tonearest): Likewise.
82919         (sin_test_towardzero): Likewise.
82920         (sin_test_downward): Likewise.
82921         (sin_test_upward): Likewise.
82922         (tan_test_tonearest): Likewise.
82923         (tan_test_towardzero): Likewise.
82924         (tan_test_downward): Likewise.
82925         (tan_test_upward): Likewise.
82926         (main): Call the new functions.
82927         * sysdeps/i386/fpu/libm-test-ulps: Update.
82928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82930         [BZ #10135]
82931         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
82932         small n, then large n, before computing and testing k+n.
82933         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
82934         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
82935         Likewise.
82936         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
82937         Likewise.
82938         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
82939         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
82940         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
82941         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
82942         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
82943         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
82944         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
82945         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
82946         * math/libm-test.inc (scalbn_test): Add more tests.
82947         (scalbln_test): Likewise.
82949         * manual/filesys.texi (mode_t): Describe constraints on size and
82950         signedness, not exact equivalence to a particular type.
82951         (ino_t): Likewise.
82952         (ino64_t): Likewise.
82953         (dev_t): Likewise.
82954         (nlink_t): Likewise.
82955         (blkcnt_t): Likewise.
82956         (blkcnt64_t): Likewise.
82957         * manual/llio.texi (off_t): Likewise.
82959         [BZ #3976]
82960         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
82961         (__ieee754_exp): Save and restore rounding mode and use
82962         round-to-nearest for all computations.
82963         * math/libm-test.inc (exp_test_tonearest): New function.
82964         (exp_test_towardzero): Likewise.
82965         (exp_test_downward): Likewise.
82966         (exp_test_upward): Likewise.
82967         (main): Call the new functions.
82968         * sysdeps/i386/fpu/libm-test-ulps: Update.
82969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82971 2012-03-01  Chris Demetriou  <cgd@google.com>
82973         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
82974         have predictable order.
82976 2012-03-01  David S. Miller  <davem@davemloft.net>
82978         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
82980         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
82981         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
82982         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
82983         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
82985         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
82986         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
82987         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
82988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
82989         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
82990         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
82991         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
82992         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
82993         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
82995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82997         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
82998         * sysdeps/sparc/fpu/libm-test-ulps: to here.
82999         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
83001         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
83002         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83003         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
83004         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
83005         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
83006         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
83007         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
83008         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83009         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83010         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
83011         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
83012         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83013         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83014         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
83015         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
83016         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83017         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
83018         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
83019         * sysdeps/sparc/elf/configure: Regenerated.
83021 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
83023         * configure.in (AS, LD): Require binutils 2.20 or later.
83024         * configure: Regenerated.
83025         * manual/install.texi (Tools for Compilation): Give binutils 2.20
83026         as required minimum version.
83027         * INSTALL: Regenerated.
83029         [BZ #2541]
83030         [BZ #4108]
83031         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
83032         before squaring exponent.
83033         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
83034         bottom long double and 27 bits of top long double before squaring
83035         exponent.
83036         * math/libm-test.inc (erfc_test): Add more tests.
83037         * sysdeps/i386/fpu/libm-test-ulps: Update.
83038         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
83039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83041 2012-03-01  Kai Tietz  <ktietz@redhat.com>
83043         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
83044         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
83045         containing bit-fields.
83046         * soft-fp/extended.h (_FP_UNION_E): Likewise.
83047         * soft-fp/single.h (_FP_UNION_S): Likewise.
83048         * soft-fp/double.h (_FP_UNION_D): Likewise.
83050 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
83052         [BZ #13786]
83053         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
83054         not include ../strcmp.S.
83055         [USE_AS_STRNCASECMP_L]: Likewise.
83056         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
83057         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
83058         * sysdeps/i386/i686/multiarch/strncase_l-c.c
83059         (__strncasecmp_l_ia32): Define as alias to
83060         __strncasecmp_l_nonascii.
83062         [BZ #5794]
83063         * math/libm-test.inc (expm1_test): Add test for bug 5794.
83064         * sysdeps/i386/fpu/libm-test-ulps: Update.
83065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83067         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
83068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83070 2012-02-29  Jeff Law  <law@redhat.com>
83072         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
83073         out of bounds read.
83075 2012-02-29  Marek Polacek  <polacek@redhat.com>
83077         [BZ #13706]
83078         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
83079         * elf/Makefile: Add rules to run tst-unused-dep.out.
83081 2012-02-28  David S. Miller  <davem@davemloft.net>
83083         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
83084         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
83085         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
83086         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
83087         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
83088         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
83090 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
83092         * math/libm-test.inc (llround_test): Move one test from
83093         lround_test.  Use TEST_f_L in moved test.
83094         (lround_test): Move misplaced test to llround_test.  Add testcase
83095         from bug 2561.
83097 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
83099         * sysdeps/x86_64/fpu/e_expf.S: New file.
83100         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
83102 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
83104         [BZ #13637]
83105         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
83106         of remain_len that may cause incomplete multi-byte character and
83107         false match.
83108         * posix/bug-regex33.c: New file.
83109         * posix/Makefile (tests): Add bug-regex33.
83111 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
83113         * manual/macros.texi: New file.
83114         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
83115         * manual/libc.texinfo: Include macros.texi.
83116         * manual/creatute.texi: Likewise.
83117         * manual/install.texi: Likewise.
83118         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
83119         @glibcadj{} in references to the GNU C Library.
83120         * manual/charset.texi: Likewise.
83121         * manual/conf.texi: Likewise.
83122         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
83123         when not using those macros.
83124         * manual/creature.texi: Likewise.
83125         * manual/crypt.texi: Likewise.
83126         * manual/errno.texi: Likewise.
83127         * manual/filesys.texi: Likewise.
83128         * manual/header.texi: Likewise.
83129         * manual/install.texi: Likewise.
83130         * manual/intro.texi: Likewise.
83131         * manual/io.texi: Likewise.
83132         * manual/job.texi: Likewise.
83133         * manual/lang.texi: Likewise.
83134         * manual/libc.texiinfo: Likewise.
83135         * manual/llio.texi: Likewise.
83136         * manual/locale.texi: Likewise.
83137         * manual/maint.texi: Likewise.
83138         * manual/math.texi: Likewise.
83139         * manual/memory.texi: Likewise.
83140         * manual/message.texi: Likewise.
83141         * manual/nss.texi: Likewise.
83142         * manual/pattern.texi: Likewise.
83143         * manual/process.texi: Likewise.
83144         * manual/resource.texi: Likewise.
83145         * manual/search.texi: Likewise.
83146         * manual/setjmp.texi: Likewise.
83147         * manual/signal.texi: Likewise.
83148         * manual/socket.texi: Likewise.
83149         * manual/startup.texi: Likewise.
83150         * manual/stdio.texi: Likewise.
83151         * manual/string.texi: Likewise.
83152         * manual/sysinfo.texi: Likewise.
83153         * manual/syslog.texi: Likewise.
83154         * manual/terminal.texi: Likewise.
83155         * manual/time.texi: Likewise.
83156         * manual/users.texi: Likewise.
83157         * INSTALL: Regenerated.
83158         * NOTES: Regenerated.
83159         * sysdeps/gnu/errlist.c: Regenerated.
83161 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
83163         * include/dirent.h: Include <dirstream.h> before
83164         <dirent/dirent.h>.
83166 2012-02-28  David S. Miller  <davem@davemloft.net>
83168         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
83169         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
83170         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
83171         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
83173 2012-02-27  David S. Miller  <davem@davemloft.net>
83175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
83176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
83177         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
83178         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
83180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
83181         frame pointer instead of stack pointer relative arg slot.
83182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
83183         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
83184         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
83186 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
83188         [BZ #3992]
83189         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
83191 2012-02-27  David S. Miller  <davem@davemloft.net>
83193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
83194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
83195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
83196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
83197         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
83198         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
83199         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
83200         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
83202 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
83204         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
83205         later.  Allow versions 5-9.
83206         * configure: Regenerated.
83207         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
83208         required minimum version and 4.6 as recommended version.  Do not
83209         mention bugs in GCC 2.7 and 2.8.
83210         * INSTALL: Regenerated.
83212 2012-02-27  David S. Miller  <davem@davemloft.net>
83214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
83215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
83216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
83217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
83218         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
83219         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
83220         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
83221         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
83223         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
83224         manipulate bits before adding and subtracting TWO112[sx].
83225         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
83227 2012-02-27  Roland McGrath  <roland@hack.frob.com>
83229         [BZ #13775]
83230         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
83231         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
83232         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
83233         being in POSIX, because they are in 1003.1-2008.
83235         * rt/tst-aio.c: Include <fcntl.h>.
83236         * rt/tst-aio7.c: Likewise.
83237         * rt/tst-aio64.c: Likewise.
83239         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
83241 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
83243         * manual/install.texi (--with-headers): Describe headers as
83244         interface headers, not private headers.
83245         (Specific advice for GNU/Linux systems): Describe use of headers
83246         from "make headers_install", not private headers from older
83247         kernels.
83248         * INSTALL: Regenerated.
83249         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
83250         Change to 2.6.19.
83251         * sysdeps/unix/sysv/linux/configure: Regenerated.
83253         * manual/llio.texi (fclean): Remove documentation.
83255         * manual/Makefile (libc-texi-generated): New variable.  Include
83256         version.texi.
83257         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
83258         $(libc-texi-generated), not duplicated list of files.
83259         (version.texi, stamp-version): New rules.
83260         (realclean): Remove $(libc-texi-generated), not individual files
83261         from that list.  Do not remove dir-add.texinfo.
83262         * manual/libc.texinfo: Comment out uses of edition numbers and
83263         references to printed manual.  Remove last-updated dates.
83264         (EDITION): Comment out.
83265         (ISBN): Likewise.
83266         (VERSION, UPDATED): Remove.
83267         (version.texi): Include.
83269 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
83271         * sysdeps/posix/spawni.c: Include <signal.h>.
83272         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
83273         * sysdeps/pthread/aio_fsync.c: Likewise.
83275 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
83277         * conform/Makefile (tests): Run only when not cross-compiling and
83278         when fast-check is not defined.
83280         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
83281         * conform/data/limits.h-data: Fixes for POSIX2008.
83282         * conform/run-conformtest.sh: Run all tests.
83283         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
83284         headers.
83285         * include/bits/dlfcn.h: Likewise.
83286         * include/langinfo.h: Likewise.
83287         * include/monetary.h: Likewise.
83288         * include/sys/poll.h: Likewise.
83290         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
83291         for __USE_GNU.
83292         * posix/spawn.h: Define __need_sigset_t.
83293         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
83294         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
83295         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
83296         to get sigevent_t only.
83297         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
83298         only for __USE_GNU.
83299         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83300         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83301         process_vm_writev only for __USE_GNU.
83302         * termios/termios.h: Declare tcgetsid also for POSIX2008.
83304         * conform/Makefile: For now ignore errors from run-conformtest.
83305         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
83306         POSIX to avoid namespace pollution.  Don't prepend headers.
83307         * conform/data/aio.h-data: Fixes for POSIX testing.
83308         * conform/data/fcntl.h-data: Likewise.
83309         * conform/data/glob.h-data: Likewise.
83310         * conform/data/grp.h-data: Likewise.
83311         * conform/data/pthread.h-data: Likewise.
83312         * conform/data/pwd.h-data: Likewise.
83313         * conform/data/signal.h-data: Likewise.
83314         * conform/data/spawn.h-data: Likewise.
83315         * conform/data/stdio.h-data: Likewise.
83316         * conform/data/stdlib.h-data: Likewise.
83317         * conform/data/stropts.h-data: Likewise.
83318         * conform/data/sys/mman.h-data: Likewise.
83319         * conform/data/sys/stat.h-data: Likewise.
83320         * conform/data/sys/types.h-data: Likewise.
83321         * conform/data/sys/wait.h-data: Likewise.
83322         * conform/data/time.h-data: Likewise.
83323         * conform/data/unistd.h-data: Likewise.
83324         * conform/data/utime.h-data: Likewise.
83326         * io/sys/stat.h: fchmod was always in POSIX.
83327         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
83328         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
83329         * rt/aio.h: Define __need_timespec before including <time.h>.
83330         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
83331         struct.  Add forward declaration of pthread_attr_t and use it in
83332         sigevent.
83333         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83334         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83335         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
83336         always remove CLK_TCK definition.
83338 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
83340         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
83342 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
83344         * conform/run-conformtest.sh: New file.
83345         * conform/Makefile: Run run-conformtest for tests.
83346         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
83347         support.
83349         * conform/data/uchar.h-data: New file.
83350         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
83351         * conform/data/arpa/inet.h-data: Likewise.
83352         * conform/data/assert.h-data: Likewise.
83353         * conform/data/complex.h-data: Likewise.
83354         * conform/data/cpio.h-data: Likewise.
83355         * conform/data/ctype.h-data: Likewise.
83356         * conform/data/dirent.h-data: Likewise.
83357         * conform/data/dlfcn.h-data: Likewise.
83358         * conform/data/errno.h-data: Likewise.
83359         * conform/data/fcntl.h-data: Likewise.
83360         * conform/data/float.h-data: Likewise.
83361         * conform/data/fmtmsg.h-data: Likewise.
83362         * conform/data/fnmatch.h-data: Likewise.
83363         * conform/data/ftw.h-data: Likewise.
83364         * conform/data/glob.h-data: Likewise.
83365         * conform/data/grp.h-data: Likewise.
83366         * conform/data/iconv.h-data: Likewise.
83367         * conform/data/inttypes.h-data: Likewise.
83368         * conform/data/langinfo.h-data: Likewise.
83369         * conform/data/libgen.h-data: Likewise.
83370         * conform/data/limits.h-data: Likewise.
83371         * conform/data/locale.h-data: Likewise.
83372         * conform/data/math.h-data: Likewise.
83373         * conform/data/monetary.h-data: Likewise.
83374         * conform/data/mqueue.h-data: Likewise.
83375         * conform/data/ndbm.h-data: Likewise.
83376         * conform/data/net/if.h-data: Likewise.
83377         * conform/data/netdb.h-data: Likewise.
83378         * conform/data/netinet/in.h-data: Likewise.
83379         * conform/data/nl_types.h-data: Likewise.
83380         * conform/data/poll.h-data: Likewise.
83381         * conform/data/pthread.h-data: Likewise.
83382         * conform/data/pwd.h-data: Likewise.
83383         * conform/data/regex.h-data: Likewise.
83384         * conform/data/sched.h-data: Likewise.
83385         * conform/data/search.h-data: Likewise.
83386         * conform/data/semaphore.h-data: Likewise.
83387         * conform/data/setjmp.h-data: Likewise.
83388         * conform/data/signal.h-data: Likewise.
83389         * conform/data/spawn.h-data: Likewise.
83390         * conform/data/stdarg.h-data: Likewise.
83391         * conform/data/stdio.h-data: Likewise.
83392         * conform/data/stdlib.h-data: Likewise.
83393         * conform/data/string.h-data: Likewise.
83394         * conform/data/strings.h-data: Likewise.
83395         * conform/data/stropts.h-data: Likewise.
83396         * conform/data/sys/ipc.h-data: Likewise.
83397         * conform/data/sys/mman.h-data: Likewise.
83398         * conform/data/sys/msg.h-data: Likewise.
83399         * conform/data/sys/resource.h-data: Likewise.
83400         * conform/data/sys/select.h-data: Likewise.
83401         * conform/data/sys/sem.h-data: Likewise.
83402         * conform/data/sys/shm.h-data: Likewise.
83403         * conform/data/sys/socket.h-data: Likewise.
83404         * conform/data/sys/stat.h-data: Likewise.
83405         * conform/data/sys/statvfs.h-data: Likewise.
83406         * conform/data/sys/time.h-data: Likewise.
83407         * conform/data/sys/timeb.h-data: Likewise.
83408         * conform/data/sys/times.h-data: Likewise.
83409         * conform/data/sys/types.h-data: Likewise.
83410         * conform/data/sys/uio.h-data: Likewise.
83411         * conform/data/sys/un.h-data: Likewise.
83412         * conform/data/sys/utsname.h-data: Likewise.
83413         * conform/data/sys/wait.h-data: Likewise.
83414         * conform/data/syslog.h-data: Likewise.
83415         * conform/data/tar.h-data: Likewise.
83416         * conform/data/termios.h-data: Likewise.
83417         * conform/data/utime.h-data: Likewise.
83418         * conform/data/utmpx.h-data: Likewise.
83419         * conform/data/varargs.h-data: Likewise.
83420         * conform/data/wchar.h-data: Likewise.
83421         * conform/data/wctype.h-data: Likewise.
83422         * conform/data/wordexp.h-data: Likewise.
83424         * include/stropts.h: New file.
83425         * include/uchar.h: New file.
83426         * include/aio.h: Changes to allow conformtest.pl to use the headers.
83427         * include/assert.h: Likewise.
83428         * include/ctype.h: Likewise.
83429         * include/dirent.h: Likewise.
83430         * include/dlfcn.h: Likewise.
83431         * include/fcntl.h: Likewise.
83432         * include/fnmatch.h: Likewise.
83433         * include/glob.h: Likewise.
83434         * include/grp.h: Likewise.
83435         * include/libio.h: Likewise.
83436         * include/locale.h: Likewise.
83437         * include/math.h: Likewise.
83438         * include/net/if.h: Likewise.
83439         * include/netdb.h: Likewise.
83440         * include/netinet/in.h: Likewise.
83441         * include/pthread.h: Likewise.
83442         * include/pwd.h: Likewise.
83443         * include/regex.h: Likewise.
83444         * include/sched.h: Likewise.
83445         * include/search.h: Likewise.
83446         * include/setjmp.h: Likewise.
83447         * include/signal.h: Likewise.
83448         * include/stdio.h: Likewise.
83449         * include/stdlib.h: Likewise.
83450         * include/string.h: Likewise.
83451         * include/sys/cdefs.h: Likewise.
83452         * include/sys/mman.h: Likewise.
83453         * include/sys/msg.h: Likewise.
83454         * include/sys/resource.h: Likewise.
83455         * include/sys/select.h: Likewise.
83456         * include/sys/socket.h: Likewise.
83457         * include/sys/stat.h: Likewise.
83458         * include/sys/statvfs.h: Likewise.
83459         * include/sys/time.h: Likewise.
83460         * include/sys/times.h: Likewise.
83461         * include/sys/uio.h: Likewise.
83462         * include/sys/utsname.h: Likewise.
83463         * include/sys/wait.h: Likewise.
83464         * include/termios.h: Likewise.
83465         * include/time.h: Likewise.
83466         * include/ulimit.h: Likewise.
83467         * include/unistd.h: Likewise.
83468         * include/utime.h: Likewise.
83469         * include/wchar.h: Likewise.
83470         * include/wctype.h: Likewise.
83471         * include/wordexp.h: Likewise.
83473         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
83475         * time/time.h: TIME_UTC must be a macro.
83476         Make timespec_get available for ISO C11 only as well.
83478 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
83480         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
83481         Reported by Peng Haitao <penght@cn.fujitsu.com>.
83483 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83485         * configure.in: Use -o not -a in test for unsupported multi-arch.
83487 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83489         * manual/texinfo.tex: Update to version 2012-01-19.16.
83491 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83493         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
83495 2012-02-24  Roland McGrath  <roland@hack.frob.com>
83497         [BZ #13738]
83498         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
83499         * manual/fdl-1.3.texi: New file.
83500         * manual/fdl-1.1.texi: File removed.
83502         [BZ #13738]
83503         * manual/libc.texinfo (FDL_VERSION): New @set.
83504         Use it for mention of FDL in cover text.
83505         (Documentation License): Use it in @include file name.
83507 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83508             Roland McGrath  <roland@hack.frob.com>
83510         [BZ #5461]
83511         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
83512         (not LONG_LONG_MAX and LONG_LONG_MIN.
83513         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
83514         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
83515         name.
83516         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
83518 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83520         [BZ #2547]
83521         [BZ #11365]
83522         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
83523         manipulate bits before adding and subtracting TWO23[sx].
83524         * math/libm-test.inc (nearbyint_test): Add more tests.
83526 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83528         [BZ #2548]
83529         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
83530         bits before adding and subtracting TWO23[sx].
83531         * math/libm-test.inc (rint_test): Add more tests.
83532         (rint_test_tonearest): Likewise.
83533         (rint_test_towardzero): Likewise.
83534         (rint_test_downward): Likewise.
83535         (rint_test_upward: Likewise.
83537 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83539         [BZ #10110]
83540         * include/stdc-predef.h: New file.  Extracted from features.h.
83541         * include/features.h: Include stdc-predef.h.
83542         * Makefile (headers): Add stdc-predef.h.
83543         * CONFORMANCE (Compiler limitations): Update.
83545 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83547         * manual/libc.texinfo (VERSION, UPDATED): Revert.
83549 2012-02-21  David S. Miller  <davem@davemloft.net>
83551         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
83552         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
83554 2012-02-20  David S. Miller  <davem@davemloft.net>
83556         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
83557         using a normal save/restore sequence, rather than allocating a
83558         dummy stack frame just to store a frame pointer and restore.
83559         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83561 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83563         * manual/install.texi: Fix stray word in line-wrapped comment.
83565 2012-02-20  David S. Miller  <davem@davemloft.net>
83567         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
83568         both binutils and gcc support GOTDATA.
83570         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
83571         "rd %pc" in the PIC register setup sequences.
83573         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
83574         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
83575         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
83576         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
83577         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83578         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83579         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83580         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83581         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
83582         (SYSCALL_ERROR_HANDLER): Likewise.
83583         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
83584         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
83585         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
83586         (SYSCALL_ERROR_HANDLER): Likewise.
83588         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
83589         (HAVE_GCC_GOTDATA): New.
83590         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
83591         relocation support in both binutils and gcc.
83592         * sysdeps/sparc/elf/configure: Regenerate.
83594         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
83595         * sysdeps/sparc/sparc32/elf/configure: Delete.
83596         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
83597         * sysdeps/sparc/sparc64/elf/configure: Delete.
83598         * sysdeps/sparc/elf/configure.in: New file.
83599         * sysdeps/sparc/elf/configure: Generate.
83601         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
83602         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
83603         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
83604         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
83605         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
83607 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83609         * manual/install.texi: Do not mention specific glibc version
83610         numbers.
83611         * manual/libc.texinfo (VERSION, UPDATED): Update.
83612         (@copying): Use @copyright{} and range of years.
83614 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83616         [BZ #13695]
83617         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
83618         [crti.S not in sysdirs] (generated): Do not append.
83619         [crti.S not in sysdirs] (omit-deps): Likewise.
83620         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
83621         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
83622         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
83623         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
83624         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
83625         Likewise.
83626         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
83627         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
83628         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
83629         * csu/defs.awk: Remove file.
83630         * sysdeps/generic/initfini.c: Likewise.
83631         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
83632         variable.
83633         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
83634         Likewise.
83636 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83638         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
83639         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
83640         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
83641         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
83642         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83643         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
83644         <bits/epoll.h>.
83645         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
83646         (__EPOLL_PACKED): Define to empty if not defined by
83647         <bits/epoll.h>.
83648         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
83649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83650         bits/epoll.h.
83652 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83654         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
83655         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
83656         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
83657         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
83658         <bits/timerfd.h>.
83659         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
83660         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83661         bits/timerfd.h.
83663 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83665         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
83666         in C locale.
83667         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
83668         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
83669         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
83670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83672 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
83674         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83675         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
83677 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
83679         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
83680         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
83681         defined.
83682         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
83683         Likewise.
83684         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
83685         entry for 2.16.
83687 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
83689         * math/w_acos.c: Use non-signaling floating-point comparisons.
83690         * math/w_acosf.c: Likewise.
83691         * math/w_acosh.c: Likewise.
83692         * math/w_acoshf.c: Likewise.
83693         * math/w_acoshl.c: Likewise.
83694         * math/w_acosl.c: Likewise.
83695         * math/w_asin.c: Likewise.
83696         * math/w_asinf.c: Likewise.
83697         * math/w_asinl.c: Likewise.
83698         * math/w_atanh.c: Likewise.
83699         * math/w_atanhf.c: Likewise.
83700         * math/w_atanhl.c: Likewise.
83701         * math/w_exp2.c: Likewise.
83702         * math/w_exp2f.c: Likewise.
83703         * math/w_exp2l.c: Likewise.
83704         * math/w_j0.c: Likewise.
83705         * math/w_j0f.c: Likewise.
83706         * math/w_j0l.c: Likewise.
83707         * math/w_j1.c: Likewise.
83708         * math/w_j1f.c: Likewise.
83709         * math/w_j1l.c: Likewise.
83710         * math/w_jn.c: Likewise.
83711         * math/w_jnf.c: Likewise.
83712         * math/w_log.c: Likewise.
83713         * math/w_log10.c: Likewise.
83714         * math/w_log10f.c: Likewise.
83715         * math/w_log10l.c: Likewise.
83716         * math/w_log2.c: Likewise.
83717         * math/w_log2f.c: Likewise.
83718         * math/w_log2l.c: Likewise.
83719         * math/w_logf.c: Likewise.
83720         * math/w_logl.c: Likewise.
83721         * math/w_sqrt.c: Likewise.
83722         * math/w_sqrtf.c: Likewise.
83723         * math/w_sqrtl.c: Likewise.
83724         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83725         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
83726         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83727         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
83728         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
83730 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
83732         [BZ #9739]
83733         * manual/string.texi (strnlen): Use correct parameter name in
83734         equivalent expression.
83736 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
83738         [BZ #11174]
83739         * manual/users.texi (seteuid): Consistently use neweuid for
83740         argument name.
83742 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
83744         [BZ #13704]
83745         * manual/nss.texi (Services in the NSS configuration): Correct
83746         list of services in example configuration file.
83748 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
83750         [BZ #11322]
83751         * manual/arith.texi: Remove statements about negative zero
83752         behaving identically to zero.
83754 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
83756         [BZ #5993]
83757         * manual/install.texi: Do not document upgrading from libc5.
83759 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
83761         [BZ #4596]
83762         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
83764 2012-02-18  David S. Miller  <davem@davemloft.net>
83766         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
83767         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
83768         %o7 across the call.
83769         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
83770         instead.
83771         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
83772         SETUP_PIC_REG_LEAF.
83773         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83774         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
83775         * sysdeps/sparc/crtn.S: Likewise.
83777 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
83779         * aout/Makefile: Remove.
83781 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
83783         [BZ #13058]
83784         * manual/examples/argp-ex1.c (main): Format definition in GNU
83785         style.
83786         * manual/examples/argp-ex2.c (main): Likewise.
83787         * manual/examples/argp-ex3.c (main): Likewise.
83788         * manual/examples/argp-ex4.c (main): Likewise.
83789         * manual/examples/longopt.c (main): Use new-style prototype
83790         definition.
83791         * manual/examples/strncat.c (main): Specify return type and use
83792         (void) for arguments.
83793         * manual/examples/subopt.c (main): Use char **argv argument.
83795 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83797         [BZ #5077]
83798         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
83799         rounding modes.
83801 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
83803         [BZ #6907]
83804         * manual/string.texi (strchr): Change when strchrnul is
83805         recommended.
83807 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
83809         [BZ #174]
83810         * manual/locale.texi (setlocale): Document LOCPATH.
83812 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83814         [BZ #10210]
83815         * manual/process.texi (execle): Move @dots{} before last argument.
83817 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
83819         [BZ #12047]
83820         * manual/charset.texi (Generic Charset Conversion): Fix typo
83821         (LC_TYPE -> LC_CTYPE).
83823 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
83825         [BZ #5805]
83826         * manual/arith.texi (scalbn): Use @var{} on parameter names.
83827         (scalbnf): Likewise.
83828         (scalbnl): Likewise.
83829         (scalbln): Likewise.
83830         (scalblnf): Likewise.
83831         (scalblnl): Likewise.
83832         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
83833         (vwarnx): Likewise.
83834         (verr): Likewise.
83835         (verrx): Likewise.
83836         * manual/filesys.texi (telldir): Use braces around return type.
83837         * manual/llio.texi (mmap): Add space after comma.
83838         (mmap64): Likewise.
83839         * manual/math.texi (jn): Use @var{} on parameter names.
83840         (jnf): Likewise.
83841         (jnl): Likewise.
83842         (yn): Likewise.
83843         (ynf): Likewise.
83844         (ynl): Likewise.
83845         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
83846         line.
83847         * manual/resource.texi (ulimit): Use @dots{} instead of literal
83848         "...".
83849         (sched_get_priority_min): Remove semicolon on @deftypefun line.
83850         (sched_get_priority_max): Likewise.
83851         * manual/signal.texi (sigvec): Add space after comma.
83852         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
83853         names.
83854         (if_indextoname): Likewise.
83855         (if_freenameindex): Likewise.
83856         (sendto): Use ',' instead of '.' in prototype.
83857         * manual/startup.texi (syscall): Use @dots{} instead of literal
83858         "...".
83859         * manual/stdio.texi (__fpending): Separate initial words of
83860         paragraph from @deftypefun line.
83861         * manual/syslog.texi (syslog): Use @dots{} instead of literal
83862         "...".
83863         (vsyslog): Use @var{} on parameter names.
83864         * manual/terminal.texi (stty): Use @var{} on parameter names.
83865         * manual/users.texi (getutmp): Use @var{} on parameter names.
83866         (getutmpx): Likewise.
83868 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83870         [BZ #6884]
83871         * manual/stdio.texi (fopen): Fix typos in description of
83872         ",ccs=STRING".
83874 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
83876         [BZ #4026]
83877         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
83878         get clock_id definition.
83880 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
83882         [BZ #4822]
83883         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
83884         (madvise): Cast every argument to void on its own.
83886 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83888         [BZ #9902]
83889         * manual/startup.texi (Exit Status): Fix typo.
83891 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83893         [BZ #10140]
83894         * manual/examples/argp-ex1.c: Include <stdlib.h>.
83895         * manual/examples/argp-ex2.c: Likewise.
83896         * manual/examples/argp-ex3.c: Likewise.
83898 2012-02-16  Richard Henderson  <rth@redhat.com>
83900         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
83901         * sysdeps/s390/s390-32/initfini.c: Remove.
83902         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
83903         * sysdeps/s390/s390-64/initfini.c: Remove.
83905 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
83907         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
83908         compiler output for sysdeps/generic/initfini.c.
83909         * sysdeps/sh/elf/initfini.c: Remove file.
83911 2012-02-16  David S. Miller  <davem@davemloft.net>
83913         [BZ #11494]
83914         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
83916         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
83917         * sysdeps/sparc/crti.S: New file.
83918         * sysdeps/sparc/crtn.S: New file.
83919         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
83920         * sysdeps/sparc/sparc64/Makefile: Likewise.
83922 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
83924         [BZ #3335]
83925         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
83927 2012-02-15  Roland McGrath  <roland@hack.frob.com>
83929         [BZ #4822]
83930         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
83932         * mach/devstream.c (cookie_io_functions_t): Macro removed.
83933         (write, read, close): Likewise.
83934         Patch by Aurelien Jarno <aurelien@aurel32.net>.
83936 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
83938         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
83939         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
83940         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
83941         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
83942         <bits/signalfd.h>.
83943         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
83944         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83945         bits/signalfd.h.
83947 2012-02-14  Marek Polacek  <polacek@redhat.com>
83949         * sysdeps/x86_64/crti.S: New file.
83950         * sysdeps/x86_64/crtn.S: New file.
83951         * sysdeps/x86_64/elf/initfini.c: Remove file.
83953 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
83955         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
83956         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
83957         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
83958         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
83959         <bits/inotify.h>.
83960         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
83961         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83962         bits/inotify.h.
83964 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
83966         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
83967         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
83968         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
83969         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
83970         <bits/eventfd.h>.
83971         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
83972         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83973         bits/eventfd.h.
83975 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
83977         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
83978         __feraiseexcept instead of feraiseexcept.
83980         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
83981         nanosleep invocations.
83982         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
83983         strings, and add error checking for a nanosleep invocations.
83985 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
83987         Replace FSF snail mail address with URLs, as per GNU coding standards.
83988         Most of the snail mail addresses were wrong anyway, and omitting
83989         them makes the source code easier to maintain.  Almost all of the
83990         changes are to license notices and to locale LC_IDENTIFICATION
83991         addresses, except for this one:
83992         * manual/libc.texinfo: In "Published by", give the FSF's URL,
83993         not its snail mail address.
83995 2012-02-09  Richard Henderson  <rth@twiddle.net>
83997         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
83998         of kernel-features.h.
84000         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
84002 2012-02-08  Marek Polacek  <polacek@redhat.com>
84004         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
84005         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
84006         * sysdeps/gnu/_G_config.h: Likewise.
84007         * sysdeps/generic/_G_config.h: Likewise.
84009 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
84011         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
84012         tests.
84013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84015         * sysdeps/powerpc/powerpc32/crti.S: New file.
84016         * sysdeps/powerpc/powerpc32/crtn.S: New file.
84017         * sysdeps/powerpc/powerpc64/crti.S: New file.
84018         * sysdeps/powerpc/powerpc64/crtn.S: New file.
84020         * Makeconfig (have-initfini): Don't set.
84021         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
84022         * configure.in (nopic_initfini): Don't substitute.
84023         * config.h.in (HAVE_INITFINI): Don't #undef.
84024         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
84025         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
84027 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
84029         Support crti.S and crtn.S provided directly by architectures.
84030         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
84031         [crti.S in sysdirs] (omit-deps): Likewise.
84032         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
84033         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
84034         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
84035         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
84036         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
84037         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
84038         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
84039         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
84040         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
84041         compiler output for sysdeps/generic/initfini.c.
84042         * sysdeps/i386/elf/Makefile: Remove file.
84043         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
84045 2012-02-07  Marek Polacek  <polacek@redhat.com>
84047         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
84048         * sysdeps/gnu/_G_config.h: Likewise.
84049         * sysdeps/mach/hurd/_G_config.h: Likewise.
84051 2012-02-07  Marek Polacek  <polacek@redhat.com>
84053         * math/Makefile (tests): Add tst-CMPLX2.
84054         * math/tst-CMPLX2.c: New file.
84056 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
84058         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84060         * math/libm-test.inc (jn_test): Add missing L suffix.
84062 2012-02-06  Marek Polacek  <polacek@redhat.com>
84064         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
84065         * sysdeps/i386/fpu/e_powf.S: Likewise.
84066         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84067         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84068         * sysdeps/i386/fpu/e_acosh.S: Likewise.
84069         * sysdeps/i386/fpu/e_pow.S: Likewise.
84070         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
84071         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84072         * sysdeps/i386/fpu/s_expm1.S: Likewise.
84073         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
84074         * sysdeps/i386/fpu/e_log2.S: Likewise.
84075         * sysdeps/i386/fpu/e_log2l.S: Likewise.
84076         * sysdeps/i386/fpu/e_scalb.S: Likewise.
84077         * sysdeps/i386/fpu/e_powl.S: Likewise.
84078         * sysdeps/i386/fpu/s_log1p.S: Likewise.
84079         * sysdeps/i386/fpu/e_log10f.S: Likewise.
84080         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
84081         * sysdeps/i386/fpu/e_logl.S: Likewise.
84082         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
84083         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
84084         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
84085         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
84086         * sysdeps/i386/fpu/e_log2f.S: Likewise.
84087         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84088         * sysdeps/i386/fpu/e_log.S: Likewise.
84089         * sysdeps/i386/fpu/s_cexp.S: Likewise.
84090         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84091         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
84092         * sysdeps/i386/fpu/e_logf.S: Likewise.
84093         * sysdeps/i386/fpu/e_log10l.S: Likewise.
84094         * sysdeps/i386/fpu/e_atanh.S: Likewise.
84095         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
84096         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
84097         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84098         * sysdeps/i386/fpu/e_log10.S: Likewise.
84099         * sysdeps/i386/fpu/s_frexp.S: Likewise.
84100         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84101         * sysdeps/i386/fpu/s_asinh.S: Likewise.
84102         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
84103         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84104         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
84105         * sysdeps/i386/asm-syntax.h: Likewise.
84106         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84107         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84108         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84109         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
84110         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
84111         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84112         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
84113         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
84114         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84115         * sysdeps/powerpc/sysdep.h: Likewise.
84116         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
84117         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
84119 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
84121         [BZ #411]
84122         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
84124 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
84126         * sysdeps/i386/sysdep.h: Include <features.h>.
84127         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
84128         version.
84130 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
84132         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
84133         Define.
84134         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
84135         LOAD_PIC_REG_STR.
84137 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84139         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
84140         (SETUP_PIC_REG): Use GET_PC_THUNK.
84141         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
84142         macro.
84144 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84146         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
84147         for non-PIC compilation.
84148         (SETUP_PIC_REG): Add .p2align directive.
84149         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
84150         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
84151         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
84152         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
84153         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
84154         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
84155         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
84156         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
84157         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
84158         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
84159         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
84160         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
84161         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
84162         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
84163         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
84164         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
84165         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
84166         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
84167         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
84168         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
84169         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
84170         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
84171         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
84172         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
84173         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
84174         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
84175         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84176         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
84177         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
84178         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
84179         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
84180         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84181         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
84182         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
84183         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
84184         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
84185         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
84186         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
84187         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
84188         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
84189         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
84191 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84193         * math/tst-CMPLX.c: Include <stdio.h>.
84195 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
84197         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
84198         float.
84199         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
84200         * sysdeps/sparc/bits/mathdef.h: Likewise.
84202 2012-01-31  Marek Polacek  <polacek@redhat.com>
84204         * libio/libio.h: Don't define _PARAMS.
84205         * locale/programs/config.h: Don't define PARAMS.
84206         * stdlib/strtol_l.c: Likewise.
84207         (__strtol_l): Remove PARAMS from the prototype.
84209 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
84211         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
84212         names.  Just use the correct names.  Remove unnecessary wrapper
84213         functions.
84214         * malloc/arena.c: Likewise.
84215         * malloc/hooks.c: Likewise.
84217         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
84218         ARENA_TEST says not to.  Simplify test for creation of a new arena.
84219         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
84221 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
84223         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
84224         into tail calls.
84225         (update_get_addr): New function.
84226         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
84227         GET_ADDR_MODULE parameter.
84229 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
84231         * crypt/cert.c: Remove __STDC__ conditionals.
84232         * crypt/crypt-entry.c: Likewise.
84233         * crypt/crypt_util.c: Likewise.
84234         * libio/filedoalloc.c: Likewise.
84235         * libio/fileops.c: Likewise.
84236         * libio/genops.c: Likewise.
84237         * libio/iofclose.c: Likewise.
84238         * libio/iofdopen.c: Likewise.
84239         * libio/iofopen.c: Likewise.
84240         * libio/iofopen64.c: Likewise.
84241         * libio/iogetdelim.c: Likewise.
84242         * libio/iopopen.c: Likewise.
84243         * libio/obprintf.c: Likewise.
84244         * libio/oldfileops.c: Likewise.
84245         * libio/oldiofclose.c: Likewise.
84246         * libio/oldiofdopen.c: Likewise.
84247         * libio/oldiofopen.c: Likewise.
84248         * libio/oldiopopen.c: Likewise.
84249         * libio/wfiledoalloc.c: Likewise.
84250         * libio/wgenops.c: Likewise.
84251         * locale/programs/xmalloc.c: Likewise.
84252         * misc/syslog.c: Likewise.
84253         * stdio-common/xbug.c: Likewise.
84254         * string/memchr.c: Likewise.
84255         * string/memcmp.c: Likewise.
84256         * string/memrchr.c: Likewise.
84257         * string/rawmemchr.c: Likewise.
84258         * sysdeps/posix/getcwd.c: Likewise.
84259         * time/strftime_l.c: Likewise.
84261 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
84263         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
84264         * config.make.in (config-cflags-sse2avx): Define.
84265         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
84266         Fix typo.
84268 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
84270         * scripts/config.guess: Update from upstream config git repository.
84271         * scripts/config.sub: Likewise.
84273 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
84275         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
84276         (EM_NUM): Update.
84277         (R_TILEPRO_*, R_TILEGX_*): New macros.
84279         * scripts/firstversions.awk: Fix bug in version range handling.
84281         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
84283         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
84285         * include/sys/epoll.h: New file.
84286         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
84287         libc_hidden_def.
84289 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
84291         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
84292         Avoid unnecessary __WORDSIZE == 64 test.
84293         (fmaxf): Use VEX format if possible.
84294         (fmax): Likewise.
84295         (fminf): Likewise.
84296         (fmin): Likewise.
84298         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
84299         * math/math_private.h: Remove libc_fegetround* and
84300         libc_fesetround*.
84301         * sysdeps/i386/configure.in: Check for -msse2avx.
84302         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
84303         also if SSE2AVX is defined.
84304         Remove libc_fegetround* and libc_fesetround*.
84305         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
84306         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
84307         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
84308         of HAS_YMM_USABLE.
84309         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84310         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84311         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84312         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84313         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84315         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
84317 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84319         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
84320         size is not set.
84321         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84323 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
84325         [BZ #13618]
84326         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
84327         relocation.
84328         * Makeconfig (libm): Define.
84329         * elf/Makefile: Add rules to build and run tst-relsort1.
84330         * elf/tst-relsort1.c: New file.
84331         * elf/tst-relsort1mod1.c: New file.
84332         * elf/tst-relsort1mod2.c: New file.
84334 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
84336         * math/s_ldexp.c: Remove __STDC__ conditionals.
84337         * math/s_ldexpf.c: Likewise.
84338         * math/s_ldexpl.c: Likewise.
84339         * math/s_nextafter.c: Likewise.
84340         * math/s_nexttowardf.c: Likewise.
84341         * math/s_significand.c: Likewise.
84342         * math/s_significandf.c: Likewise.
84343         * math/s_significandl.c: Likewise.
84344         * math/w_jnl.c: Likewise.
84345         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
84346         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
84347         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
84348         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
84349         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
84350         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
84351         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
84352         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
84353         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
84354         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
84355         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
84356         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84357         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
84358         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
84359         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
84360         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
84361         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
84362         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
84363         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
84364         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84365         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84366         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
84367         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
84368         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
84369         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
84370         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
84371         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
84372         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
84373         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
84374         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
84375         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
84376         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
84377         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
84378         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
84379         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
84380         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
84381         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
84382         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
84383         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
84384         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
84385         * sysdeps/ieee754/k_standard.c: Likewise.
84386         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84387         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
84388         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
84389         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
84390         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84391         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
84392         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
84393         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
84394         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
84395         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
84396         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
84397         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
84398         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
84399         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
84400         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
84401         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
84402         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
84403         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
84404         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
84405         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
84406         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
84407         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
84408         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
84409         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
84410         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
84411         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
84412         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84413         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84414         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84415         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84416         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84417         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
84418         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84419         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84420         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84421         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84422         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
84423         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84424         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84425         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
84426         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
84427         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84428         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
84429         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
84430         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84431         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
84432         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
84433         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84434         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84435         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
84436         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
84437         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84438         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84439         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84440         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84441         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84442         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
84443         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84444         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84445         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84446         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84447         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84448         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84449         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84450         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84451         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84452         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84453         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84454         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84455         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84456         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84457         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84458         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84459         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84460         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84461         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84462         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84463         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84464         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84465         * sysdeps/ieee754/s_matherr.c: Likewise.
84466         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84467         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84468         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84469         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84471 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
84473         * crypt/md5.h: Remove __STDC__ conditionals.
84474         * libio/libioP.h: Likewise.
84475         * locale/programs/config.h: Likewise.
84476         * sysdeps/generic/sysdep.h: Likewise.
84477         * sysdeps/i386/asm-syntax.h: Likewise.
84478         * sysdeps/s390/asm-syntax.h: Likewise.
84479         * sysdeps/unix/sysdep.h: Likewise.
84480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
84481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
84483 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
84485         * libio/libio.h: Remove __STDC__ conditionals.
84486         * malloc/obstack.h: Likewise.
84487         * math/complex.h: Likewise.
84488         * math/math.h: Likewise.
84489         * sysdeps/generic/_G_config.h: Likewise.
84490         * sysdeps/gnu/_G_config.h: Likewise.
84491         * sysdeps/mach/hurd/_G_config.h: Likewise.
84492         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84493         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
84494         * sysdeps/sparc/bits/mathdef.h: Likewise.
84496 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
84498         [BZ #13583]
84499         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
84500         Clean up HAS_* macros.
84501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
84502         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
84503         possible.
84504         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
84505         HAS_AVX.
84506         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84507         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84508         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84509         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84510         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84512 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
84514         * elf/tst-unique3.cc (gets): Remove declaration.
84515         * elf/tst-unique3lib.cc (gets): Likewise.
84516         * elf/tst-unique3lib2.cc (gets): Likewise.
84517         * elf/tst-unique4.cc (gets): Likewise.
84519 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
84521         * include/stdio.h: Add C++ protection.  Add gets declarations and
84522         definitions.
84523         * debug/tst-chk1.c: Don't declare gets here.
84524         * stdio-common/tst-gets.c: Likewise.
84526 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
84528         * posix/glob: Remove directory.
84530 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
84532         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
84534 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
84536         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
84537         of the non-standard EPFNOSUPPORT.
84539 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84541         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
84542         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
84543         ANYWHERE set to 1 only on KERN_NO_SPACE error.
84545 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
84547         * wcsmbs/uchar.h: Test __STDC_VERSION__.
84549 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
84551         * nscd/aicache.c (addhstaiX): Do not cache negative results of
84552         transient errors.
84553         * nscd/grpcache.c (cache_addgr): Likewise.
84554         * nscd/hstcache.c (cache_addhst): Likewise.
84555         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84556         * nscd/pwdcache.c (cache_addpw): Likewise.
84557         * nscd/servicescache.c (cache_addserv): Likewise.
84559 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
84561         * malloc/malloc.c: Various cleanups.
84562         * malloc/hooks.c: Likewise.
84564         * stdlib/Makefile (tests): Add bug-fmtmsg1.
84565         * stdlib/bug-fmtmsg1.c: New file.
84567         * stdlib/fmtmsg.c (init): Add missing unlock.
84568         Patch by Peng Haitao <penght@cn.fujitsu.com>.
84570 2012-01-12  Marek Polacek  <polacek@redhat.com>
84572         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
84573         and _GNU_SOURCE.
84575 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84577         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
84578         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
84579         macro to ensure uniqueness of label name.
84580         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
84581         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
84583 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
84585         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
84587         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
84588         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
84589         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84590         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
84592 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
84594         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
84596         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
84597         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
84598         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84600         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
84602         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
84603         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
84604         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84605         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
84607         * math/bits/math-finite.h: Add ldexp support.
84609 2012-01-10  Marek Polacek  <polacek@redhat.com>
84611         * locale/programs/localedef.h (show_archive_content): Add noreturn
84612         attribute.
84614 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
84616         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
84618 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84620         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
84622         * io/Makefile (headers): Add bits/poll2.h.
84624 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
84626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
84627         typo #include statement.
84629 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84631         * include/sys/cdefs.h: Define __attribute_alloc_size.
84632         * catgets/gencat.c: Add alloc_size attribute and apply consistently
84633         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
84634         * elf/pldd.c: Likewise.
84635         * iconv/iconv_charmap.c: Likewise.
84636         * iconv/iconvconfig.c: Likewise.
84637         * iconv/strtab.c: Likewise.
84638         * locale/programs/locale.c: Likewise.
84639         * locale/programs/localedef.h: Likewise.
84640         * locale/programs/simple-hash.c: Likewise.
84641         * nscd/nscd.h: Likewise.
84642         * nss/makedb.c: Likewise.
84643         * sysdeps/generic/ldconfig.h: Likewise.
84644         * locale/programs/localedef.c: Remove xmalloc prototype.
84645         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
84647 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
84649         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
84650         appropriate.
84652 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84654         * math/Makefile (tests): Add tst-CMPLX.
84655         * math/tst-CMPLX.c: New file.
84657         * math/complex.h (CMPLXL): Fix typo.
84659         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
84660         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
84661         GLIBC_2.16.
84662         * debug/tst-chk1.c: Add poll and ppoll tests.
84663         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
84664         * include/sys/poll.h: Add hidden proto for ppoll.
84665         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
84666         * sysdeps/mach/hurd/ppoll.c: Likewise.
84667         * io/ppoll.c: Likewise.
84668         * debug/poll_chk.c: New file.
84669         * debug/ppoll_chk.c: New file.
84670         * include/bits/poll2.h: New file.
84671         * io/bits/poll2.h: New file.
84673         [BZ #1350]
84674         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
84676         * configure.in: static is always set to yes.  Remove.
84677         * config.make.in: Don't set build-static.
84678         * Makeconfig: Remove use of build-static.
84679         * dlfcn/Makefile: Likewise.
84680         * elf/Makefile: Likewise.
84681         * math/Makefile: Likewise.
84682         * misc/Makefile: Likewise.
84683         * nptl/Makefile: Likewise.
84684         * sysdeps/mach/hurd/Makefile: Likewise.
84686         * configure.in: PWD_P is not used anymore.
84687         * config.make.in: Remove PWD_P entry.
84689         * configure.in: Remove last remnants of RANLIB.
84690         No need to check for signed size_t anymore.
84691         Don't set libc_commonpagesize and libc_relro_required here for Alpha
84692         and IA-64.
84693         Remove __builtin_expect test because we require at least gcc 3.4.
84694         * aclocal.m4: Likewise.
84696         * wcsmbs/mbrtoc16.c: Implement using towc function.
84697         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
84698         * wcsmbs/wcsmbsload.c: Likewise.
84699         * iconv/gconv_simple.c: Likewise.
84700         * iconv/gconv_int.h: Likewise.
84701         * iconv/gconv_builtin.h: Likewise.
84702         * iconv/iconv_prog.c: Remove CHAR16 handling.
84704         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
84706         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
84708         * configure.in: Remove --with-elf and --enable-bounded options.
84709         Dont set base_machine for ia64.  More non-ELF conditions removed.
84710         Remove testing and setting of leading underscore information.
84711         * config.make.in (build-bounded): Set to no.
84712         * config.h.in: Remove NO_UNDERSCORES entry.
84713         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
84714         them.
84715         * csu/start.c: Remove !NO_UNDERSCORE code.
84716         * locale/localeinfo.h: Likewise.
84717         * sysdeps/generic/machine-gmon.h: Likewise.
84718         * sysdeps/generic/sysdep.h: Likewise.
84719         * sysdeps/i386/sysdep.h: Likewise.
84720         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
84721         * sysdeps/mach/sysdep.h: Likewise.
84722         * sysdeps/s390/s390-32/sysdep.h: Likewise.
84723         * sysdeps/s390/s390-64/sysdep.h: Likewise.
84724         * sysdeps/sh/sysdep.h: Likewise.
84725         * sysdeps/sparc/sparc32/alloca.S: Likewise.
84726         * sysdeps/unix/i386/sysdep.S: Likewise.
84727         * sysdeps/unix/sparc/start.c: Likewise.
84728         * sysdeps/unix/sparc/sysdep.S: Likewise.
84729         * sysdeps/unix/sparc/sysdep.h: Likewise.
84730         * sysdeps/unix/start.c: Likewise.
84731         * sysdeps/unix/x86_64/sysdep.S: Likewise.
84732         * sysdeps/x86_64/sysdep.h: Likewise.
84734 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
84736         [BZ #13553]
84737         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
84738         for non-gcc.
84739         * argp/argp-fmtstream.h: Use const instead __const.
84740         * argp/argp.h: Likewise.
84741         * assert/assert.h: Likewise.
84742         * bits/fenv.h: Likewise.
84743         * bits/sched.h: Likewise.
84744         * bits/sigset.h: Likewise.
84745         * bits/sigthread.h: Likewise.
84746         * catgets/nl_types.h: Likewise.
84747         * conform/data/pthread.h-data: Likewise.
84748         * crypt/crypt-private.h: Likewise.
84749         * crypt/crypt.h: Likewise.
84750         * crypt/crypt_util.c: Likewise.
84751         * ctype/ctype.h: Likewise.
84752         * debug/execinfo.h: Likewise.
84753         * debug/mbsnrtowcs_chk.c: Likewise.
84754         * debug/mbsrtowcs_chk.c: Likewise.
84755         * debug/wcsnrtombs_chk.c: Likewise.
84756         * debug/wcsrtombs_chk.c: Likewise.
84757         * debug/wcstombs_chk.c: Likewise.
84758         * dirent/dirent.h: Likewise.
84759         * dlfcn/dlfcn.h: Likewise.
84760         * elf/neededtest4.c: Likewise.
84761         * grp/grp.h: Likewise.
84762         * gshadow/gshadow.h: Likewise.
84763         * iconv/gconv.h: Likewise.
84764         * iconv/gconv_int.h: Likewise.
84765         * iconv/gconv_simple.c: Likewise.
84766         * iconv/iconv.h: Likewise.
84767         * iconv/loop.c: Likewise.
84768         * iconv/skeleton.c: Likewise.
84769         * include/aio.h: Likewise.
84770         * include/aliases.h: Likewise.
84771         * include/argz.h: Likewise.
84772         * include/arpa/inet.h: Likewise.
84773         * include/assert.h: Likewise.
84774         * include/dirent.h: Likewise.
84775         * include/dlfcn.h: Likewise.
84776         * include/execinfo.h: Likewise.
84777         * include/fcntl.h: Likewise.
84778         * include/fenv.h: Likewise.
84779         * include/glob.h: Likewise.
84780         * include/grp.h: Likewise.
84781         * include/libintl.h: Likewise.
84782         * include/mntent.h: Likewise.
84783         * include/netdb.h: Likewise.
84784         * include/pwd.h: Likewise.
84785         * include/rpc/netdb.h: Likewise.
84786         * include/sched.h: Likewise.
84787         * include/search.h: Likewise.
84788         * include/shadow.h: Likewise.
84789         * include/signal.h: Likewise.
84790         * include/stdio.h: Likewise.
84791         * include/stdlib.h: Likewise.
84792         * include/string.h: Likewise.
84793         * include/sys/socket.h: Likewise.
84794         * include/sys/stat.h: Likewise.
84795         * include/sys/statfs.h: Likewise.
84796         * include/sys/statvfs.h: Likewise.
84797         * include/sys/syslog.h: Likewise.
84798         * include/sys/time.h: Likewise.
84799         * include/sys/uio.h: Likewise.
84800         * include/time.h: Likewise.
84801         * include/unistd.h: Likewise.
84802         * include/utmp.h: Likewise.
84803         * include/wchar.h: Likewise.
84804         * include/wctype.h: Likewise.
84805         * inet/aliases.h: Likewise.
84806         * inet/arpa/inet.h: Likewise.
84807         * inet/netinet/ether.h: Likewise.
84808         * inet/netinet/in.h: Likewise.
84809         * intl/libintl.h: Likewise.
84810         * io/bits/fcntl2.h: Likewise.
84811         * io/fcntl.h: Likewise.
84812         * io/ftw.h: Likewise.
84813         * io/sys/poll.h: Likewise.
84814         * io/sys/stat.h: Likewise.
84815         * io/sys/statfs.h: Likewise.
84816         * io/sys/statvfs.h: Likewise.
84817         * io/utime.h: Likewise.
84818         * libio/bits/stdio.h: Likewise.
84819         * libio/bits/stdio2.h: Likewise.
84820         * libio/libio.h: Likewise.
84821         * libio/libioP.h: Likewise.
84822         * libio/stdio.h: Likewise.
84823         * locale/lc-ctype.c: Likewise.
84824         * locale/locale.h: Likewise.
84825         * login/utmp.h: Likewise.
84826         * malloc/arena.c: Likewise.
84827         * malloc/malloc.c: Likewise.
84828         * malloc/malloc.h: Likewise.
84829         * malloc/mcheck.c: Likewise.
84830         * malloc/mtrace.c: Likewise.
84831         * math/bits/mathcalls.h: Likewise.
84832         * math/fenv.h: Likewise.
84833         * math/math_private.h: Likewise.
84834         * misc/bits/error.h: Likewise.
84835         * misc/bits/syslog.h: Likewise.
84836         * misc/err.h: Likewise.
84837         * misc/error.h: Likewise.
84838         * misc/fstab.h: Likewise.
84839         * misc/mntent.h: Likewise.
84840         * misc/regexp.h: Likewise.
84841         * misc/search.h: Likewise.
84842         * misc/sgtty.h: Likewise.
84843         * misc/sys/mman.h: Likewise.
84844         * misc/sys/syslog.h: Likewise.
84845         * misc/sys/uio.h: Likewise.
84846         * misc/sys/xattr.h: Likewise.
84847         * misc/ttyent.h: Likewise.
84848         * nis/rpcsvc/ypclnt.h: Likewise.
84849         * nss/nss.h: Likewise.
84850         * posix/bits/unistd.h: Likewise.
84851         * posix/fnmatch.h: Likewise.
84852         * posix/glob.h: Likewise.
84853         * posix/sched.h: Likewise.
84854         * posix/spawn.h: Likewise.
84855         * posix/sys/wait.h: Likewise.
84856         * posix/unistd.h: Likewise.
84857         * posix/wordexp.h: Likewise.
84858         * pwd/pwd.h: Likewise.
84859         * resolv/netdb.h: Likewise.
84860         * resource/sys/resource.h: Likewise.
84861         * rt/aio.h: Likewise.
84862         * rt/bits/mqueue2.h: Likewise.
84863         * rt/mqueue.h: Likewise.
84864         * shadow/shadow.h: Likewise.
84865         * signal/signal.h: Likewise.
84866         * socket/send.c: Likewise.
84867         * socket/sendto.c: Likewise.
84868         * socket/sys/socket.h: Likewise.
84869         * stdio-common/printf.h: Likewise.
84870         * stdlib/bits/stdlib.h: Likewise.
84871         * stdlib/fmtmsg.h: Likewise.
84872         * stdlib/monetary.h: Likewise.
84873         * stdlib/stdlib.h: Likewise.
84874         * stdlib/ucontext.h: Likewise.
84875         * streams/stropts.h: Likewise.
84876         * string/argz.h: Likewise.
84877         * string/bits/string2.h: Likewise.
84878         * string/string.h: Likewise.
84879         * string/strings.h: Likewise.
84880         * sunrpc/rpc/auth.h: Likewise.
84881         * sunrpc/rpc/auth_des.h: Likewise.
84882         * sunrpc/rpc/clnt.h: Likewise.
84883         * sunrpc/rpc/netdb.h: Likewise.
84884         * sunrpc/rpc/pmap_clnt.h: Likewise.
84885         * sunrpc/rpc/xdr.h: Likewise.
84886         * sysdeps/generic/inttypes.h: Likewise.
84887         * sysdeps/generic/net/if.h: Likewise.
84888         * sysdeps/generic/sys/swap.h: Likewise.
84889         * sysdeps/gnu/net/if.h: Likewise.
84890         * sysdeps/gnu/utmpx.h: Likewise.
84891         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
84892         * sysdeps/i386/i486/bits/string.h: Likewise.
84893         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
84894         * sysdeps/s390/bits/string.h: Likewise.
84895         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
84896         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
84897         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
84898         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
84899         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
84900         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
84901         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
84902         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
84903         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
84904         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
84905         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
84906         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
84907         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
84908         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
84909         * sysdeps/unix/sysv/linux/readv.c: Likewise.
84910         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
84911         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
84912         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84913         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
84914         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
84915         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
84916         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
84917         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
84918         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
84919         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
84920         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
84921         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
84922         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84923         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
84924         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
84925         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
84926         * sysvipc/sys/ipc.h: Likewise.
84927         * sysvipc/sys/msg.h: Likewise.
84928         * sysvipc/sys/sem.h: Likewise.
84929         * sysvipc/sys/shm.h: Likewise.
84930         * termios/termios.h: Likewise.
84931         * time/sys/time.h: Likewise.
84932         * time/time.h: Likewise.
84933         * wcsmbs/bits/wchar2.h: Likewise.
84934         * wcsmbs/uchar.h: Likewise.
84935         * wcsmbs/wchar.h: Likewise.
84936         * wctype/wctype.h: Likewise.
84938         [BZ #13551]
84939         * Makeconfig: Remove all but ELF support including AIX support.
84940         * Makerules: Likewise.
84941         * config.h.in: Likewise.
84942         * config.make.in: Likewise.
84943         * configure: Likewise.
84944         * configure.in: Likewise.
84945         * csu/Makefile: Likewise.
84946         * csu/version.c: Likewise.
84947         * debug/Makefile: Likewise.
84948         * dlfcn/Makefile: Likewise.
84949         * elf/Makefile: Likewise.
84950         * extra-lib.mk: Likewise.
84951         * iconv/Makefile: Likewise.
84952         * include/libc-symbols.h: Likewise.
84953         * include/shlib-compat.h: Likewise.
84954         * resolv/Makefile: Likewise.
84955         * resolv/res_libc.c: Likewise.
84956         * rt/Makefile: Likewise.
84957         * sysdeps/i386/asm-syntax.h: Likewise.
84958         * sysdeps/i386/sysdep.h: Likewise.
84959         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
84960         * sysdeps/mach/sysdep.h: Likewise.
84961         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
84962         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
84963         * sysdeps/s390/asm-syntax.h: Likewise.
84964         * sysdeps/s390/s390-32/sysdep.h: Likewise.
84965         * sysdeps/s390/s390-64/sysdep.h: Likewise.
84966         * sysdeps/sh/sysdep.h: Likewise.
84967         * sysdeps/unix/sparc/sysdep.h: Likewise.
84968         * sysdeps/wordsize-32/divdi3.c: Likewise.
84969         * sysdeps/x86_64/sysdep.h: Likewise.
84971         * argp/Versions: Remove _argp_unlock_xxx.
84973         [BZ #13559]
84974         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
84975         * abilist/libBrokenLocale.abilist: Likewise.
84976         * abilist/libanl.abilist: Likewise.
84977         * abilist/libc.abilist: Likewise.
84978         * abilist/libcrypt.abilist: Likewise.
84979         * abilist/libdl.abilist: Likewise.
84980         * abilist/libm.abilist: Likewise.
84981         * abilist/libnsl.abilist: Likewise.
84982         * abilist/libpthread.abilist: Likewise.
84983         * abilist/libresolv.abilist: Likewise.
84984         * abilist/librt.abilist: Likewise.
84985         * abilist/libthread_db.abilist: Likewise.
84986         * abilist/libutil.abilist: Likewise.
84987         * abilist/libnss_db.abilist: New file.
84989         * scripts/abilist.awk: Add support for indirect functions.
84991         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
84993         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
84995         * shlib-versions: Remove entries for ports architectures.
84997         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
84998         files in ports.
84999         * elf/stackguard-macros.h: Remove support for IA-64.
85000         * elf/tst-auditmod1.c: Likewise.
85001         * sysdeps/generic/ldsodefs.h: Likewise.
85003         * sysdeps/unix/sysv/linux/configure.in: Ports should define
85004         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
85005         configure files.
85007         [BZ #13552]
85008         * configure.in: Remove --enable-omitfp support.
85009         * FAQ.in: Adjust.
85010         * config.make.in: Likewise.
85011         * Makeconfig: Likewise.
85012         * manual/install.texi: Likewise.
85014         In case anyone cares, the IA-64 architecture could move to ports.
85015         * sysdeps/ia64/*: Removed.
85016         * sysdeps/unix/sysv/linux/ia64/*: Removed.
85017         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
85019         [BZ #13555]
85020         * configure.in: Remove entries for unsupported architectures.
85022         [BZ #13533]
85023         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
85024         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
85025         routines.
85026         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
85027         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
85028         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
85029         fall back to using wcrtomb.
85030         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
85031         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
85032         renaming.
85033         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
85034         * wcsmbs/tst-c16c32-1.c: New file.
85036         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
85037         local variable.
85039         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
85041         * elf/tst-unique3.cc: Add explicit declaration of gets.
85042         * elf/tst-unique3lib.cc: Likewise.
85043         * elf/tst-unique3lib2.cc: Likewise.
85044         * elf/tst-unique4.cc: Likewise.
85046         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
85048 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
85050         [BZ #13566]
85051         * assert/assert.h (static_assert): Don't define for C++.
85052         * libio/stdio.h (gets): Do declare for C++ <= C++11.
85053         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
85055 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
85057         * iconv/loop.c (single loop): Fix assertion in storing of
85058         remaining bytes.
85060         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
85062 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
85064         * posix/getconf.c: Update copyright year.
85065         * nss/getent.c: Likewise.
85066         * nss/makedb.c: Likewise.
85067         * iconv/iconvconfig.c: Likewise.
85068         * iconv/iconv_prog.c: Likewise.
85069         * elf/ldconfig.c: Likewise.
85070         * elf/pldd.c: Likewise.
85071         * elf/sotruss.ksh: Likewise.
85072         * catgets/gencat.c: Likewise.
85073         * csu/version.c: Likewise.
85074         * elf/ldd.bash.in: Likewise.
85075         * elf/sprof.c (print_version): Likewise.
85076         * locale/programs/locale.c: Likewise.
85077         * locale/programs/localedef.c: Likewise.
85078         * login/programs/pt_chown.c: Likewise.
85079         * nscd/nscd.c (print_version): Likewise.
85080         * debug/xtrace.sh: Likewise.
85081         * malloc/memusage.sh: Likewise.
85082         * malloc/mtrace.pl: Likewise.
85083         * debug/catchsegv.sh: Likewise.
85085 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
85087         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
85088         pure attribute.
85090 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
85092         [BZ #13533]
85093         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
85094         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
85095         transformations.
85096         * iconv/gconv_int.h: Likewise.
85097         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
85098         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
85099         from libc for GLIBC_2.16.
85100         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
85101         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
85102         * wcsmbs/uchar.h: Really define mbstate_t.
85103         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
85104         * wcsmbs/c16rtomb.c: New file.
85105         * wcsmbs/mbrtoc16.c: New file.
85106         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
85107         for C/POSIX locale.
85108         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
85109         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
85111         * wcsmbs/wchar.h: Add missing __restrict.
85113 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
85115         [BZ #13532]
85116         * time/Makefile (routines): Add timespec_get.
85117         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
85118         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
85119         timespec for ISO C11.
85120         * time/timespec_get.c: New file.
85121         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
85122         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
85124         [BZ #13531]
85125         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
85126         * stdlib/stdlib.h: Declare aligned_alloc.
85127         * Versions.def: Add GLIBC_2.16 for libc.
85128         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
85130         [BZ 13527]
85131         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
85132         ISO C11.
85134         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
85135         code.
85137         [BZ #13528]
85138         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
85140         [BZ #13529]
85141         * assert/assert.h (static_assert): Define.
85143         * version.h: Update for 2.16 development version.
85145         [BZ #13526]
85146         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
85147         _ISOC11_SOURCE.
85149         * version.h (RELEASE): Bump for 2.15 release.
85150         * include/features.h (__GLIBC_MINOR__): Bump to 15.
85152         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
85153         Patch by Marek Polacek <mpolacek@redhat.com>.
85155         * bits/byteswap.h: Protect long long constants with __extension__.
85156         * sysdeps/i386/bits/byteswap.h: Likewise.
85157         * sysdeps/ia64/bits/byteswap.h: Likewise.
85158         * sysdeps/s390/bits/byteswap.h: Likewise.
85159         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85161 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85163         [BZ #13540]
85164         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
85165         destination buffer.
85166         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
85168 2011-12-23  Marek Polacek  <polacek@redhat.com>
85170         * elf/dl-addr.c (determine_info): Add inline keyword.
85171         * elf/tst-auditmod4b.c (check_avx): Likewise.
85172         * elf/tst-auditmod6b.c (check_avx): Likewise.
85173         * elf/tst-auditmod6c.c (check_avx): Likewise.
85174         * elf/tst-auditmod7b.c (check_avx): Likewise.
85176 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
85178         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
85179         !__SSE_MATH__.
85181 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85183         [BZ #13540]
85184         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
85185         processing for last bytes.
85187 2011-08-06  Bruno Haible  <bruno@clisp.org>
85189         [BZ #13061]
85190         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
85191         U+0385, not to U+1FEE.
85193         [BZ #13062]
85194         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
85195         entry for U+00A5 U+0301.
85197 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
85199         [BZ #13166]
85200         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
85201         buffer for the output is too small.
85203         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
85204         optimization.
85206         [BZ #13185]
85207         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
85208         SSE flags if possible.
85210 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85212         [BZ #13540]
85213         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
85214         processing for last bytes.
85216 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
85218         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
85219         (syscall-list-default-options, syscall-list-default-condition)
85220         (syscall-list-includes): Define.
85221         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
85222         list of ABIs and options and #if conditions for each ABI.  Do not
85223         handle common syscalls between ABIs specially.
85224         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
85225         Remove.
85226         (syscall-list-variants, syscall-list-32bit-options)
85227         (syscall-list-32bit-condition, syscall-list-64bit-options)
85228         (syscall-list-64bit-condition): Define.
85229         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
85230         (syscall-list-variants, syscall-list-32bit-options)
85231         (syscall-list-32bit-condition, syscall-list-64bit-options)
85232         (syscall-list-64bit-condition): Define.
85233         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
85234         Remove.
85235         (syscall-list-variants, syscall-list-32bit-options)
85236         (syscall-list-32bit-condition, syscall-list-64bit-options)
85237         (syscall-list-64bit-condition): Define.
85238         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
85239         Remove.
85240         (syscall-list-variants, syscall-list-32bit-options)
85241         (syscall-list-32bit-condition, syscall-list-64bit-options)
85242         (syscall-list-64bit-condition): Define.
85244 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
85246         * locale/iso-639.def: Add brx entry.
85248         [BZ #13328]
85249         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
85250         Proposed by Mariusz_Cukr <marcukr@op.pl>.
85252         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
85253         __feraiseexcept_renamed.
85255 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
85257         [BZ #13538]
85258         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
85259         EPOLLET with unsigned values.
85260         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85261         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85263         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
85264         to large cancellation.
85265         * math/s_cacoshf.c: Likewise.
85266         * math/s_cacoshl.c: Likewise.
85268 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
85270         [BZ #13305]
85271         [BZ #12786]
85272         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
85273         * math/s_cacoshf.c: Likewise.
85274         * math/s_cacoshl.c: Likewise.
85276 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
85278         [BZ #13439]
85279         * iconv/gconv.h: Define __GCONV_SWAP.
85280         * iconvdata/unicode.c: The swap bit must be stored in __flags.
85281         * iconvdata/utf-16.c: Likewise.
85282         * iconvdata/utf-32.c: Likewise.
85284 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
85286         [BZ #13524]
85287         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
85288         numerator after shifting it by one limb.
85290 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
85292         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
85293         under [__USE_EXTERN_INLINES].
85295 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
85297         [BZ #13446]
85298         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
85300 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85302         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
85303         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
85304         optimized code.
85305         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
85306         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
85307         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
85308         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
85309         for strncasecmp/strncasecmp_l compilation.
85310         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
85311         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
85313 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
85315         [BZ #13484]
85316         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
85317         of __asm__.
85319 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
85321         [BZ #13506]
85322         * time/tzfile.c (__tzfile_read): Check values from file header.
85324 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
85326         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
85327         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
85328         * powerpc/powerpc32/dl-start.S: Likewise.
85329         * powerpc/powerpc32/elf/start.S: Likewise.
85330         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
85331         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
85332         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
85333         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
85334         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
85335         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
85336         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
85337         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
85338         * powerpc/powerpc32/fpu/s_round.S: Likewise.
85339         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
85340         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
85341         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
85342         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
85343         * powerpc/powerpc32/memset.S: Likewise.
85344         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
85345         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
85346         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
85347         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
85348         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
85349         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
85350         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
85351         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
85352         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
85353         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
85354         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
85355         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85356         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85358 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85360         * math/libm-test.inc: Added more nearbyint tests.
85361         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
85362         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
85363         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
85364         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
85366 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
85368         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
85369         FD_CLOEXEC.
85371 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85373         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
85374         Add wcscpy-ssse3 wcscpy-c.
85375         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
85376         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
85377         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
85378         * sysdeps/x86_64/wcschr.S: New file.
85379         * sysdeps/x86_64/wcsrchr.S: New file.
85380         * string/test-strcmp.c: Remove checking of wcscmp function for
85381         wrong alignments.
85382         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
85383         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
85384         wcsrchr-sse2 wcsrchr-c.
85385         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
85386         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
85387         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
85388         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
85389         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
85390         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
85391         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
85392         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
85393         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
85394         * wcsmbc/wcschr.c (WCSCHR): New macro.
85396 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85398         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
85399         * wcsmbs/test-wcsrchr.c: New file.
85400         * string/test-strrchr.c: Add wcsrchr support.
85401         (WIDE): New macro.
85402         * wcsmbs/test-wcscpy.c: New file.
85403         * string/test-strcpy.c: Add wcscpy support.
85404         (WIDE): New macro.
85406 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
85408         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
85409         the inner loop.
85411 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
85413         [BZ #13472]
85414         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
85416 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
85418         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
85419         Minor optimizations.
85421         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
85422         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
85423         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
85425 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
85427         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
85428         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
85429         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
85430         for gcc to avoid warnings.
85431         * inet/Makefile (tests): Add tst-checks.
85432         * inet/tst-checks.c: New file.
85434         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
85435         warning.
85437         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
85438         __wmemcmp_sse2.
85440         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
85441         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
85443         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
85445 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
85447         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
85448         problem.
85450         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
85452 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
85454         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
85455         conditional on GCC version.
85456         (__arch_compare_and_exchange_val_8_acq)
85457         (__arch_compare_and_exchange_val_16_acq)
85458         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
85459         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
85460         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
85462 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
85464         * sysdeps/sh/backtrace.c: New file.
85466 2011-12-02  Andreas Schwab  <schwab@redhat.com>
85468         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
85469         parenthesis.
85471 2011-12-01  Andreas Schwab  <schwab@redhat.com>
85473         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
85474         falling back to utime.
85476 2011-11-30  Andreas Schwab  <schwab@redhat.com>
85478         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
85479         expectations for float.
85481 2011-11-29  Andreas Schwab  <schwab@redhat.com>
85483         * locale/weight.h (findidx): Add parameter len.
85484         * locale/weightwc.h (findidx): Likewise.
85485         * posix/fnmatch_loop.c (FCT): Adjust caller.
85486         * posix/regcomp.c (build_equiv_class): Likewise.
85487         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
85488         * posix/regexec.c (check_node_accept_bytes): Likewise.
85489         * string/strcoll_l.c (STRCOLL): Likewise.
85490         * string/strxfrm_l.c (STRXFRM): Likewise.
85492 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
85494         * Makefile.in: Remove CVSOPT handling.
85495         * configure.in: Remove use of AC_REVISION.
85496         * iconvdata/Makefile (distribute): No need to filter out CVS.
85497         * scripts/list-sources.sh: Remove CVS, subversion and monotone
85498         handling.
85500 2011-11-16  Andreas Schwab  <schwab@redhat.com>
85502         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
85503         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
85504         [USE_AS_STRNCASECMP_L]: Likewise.
85505         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
85506         NO_TLS_DIRECT_SEG_REFS.
85507         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
85508         Fix argument offsets for non-PIC.
85509         [USE_AS_STRNCASECMP_L]: Likewise.
85510         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
85511         NO_TLS_DIRECT_SEG_REFS.
85513 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
85515         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
85516         O_CLOEXEC.
85517         * locale/loadlocale.c (_nl_load_locale): Likewise.
85519 2011-11-15  Andreas Schwab  <schwab@redhat.com>
85521         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
85522         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
85523         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
85524         (SYSCALL_GETTIME): Set errno on error.
85526         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
85527         count references to noai6ai_cached.
85529 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
85531         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
85533         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
85534         FD_CLOEXEC for /proc/self/maps.
85536         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
85537         FD_CLOEXEC for /proc/meminfo.
85539         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
85540         gai.conf.
85542         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
85543         FD_CLOEXEC for given file.
85545         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
85547         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
85548         FD_CLOEXEC for /etc/hosts.
85549         (_gethtent): Likewise.
85551         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
85553         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
85554         cancellation and set FD_CLOEXEC for /etc/netgroup.
85556         * nss/nss_files/files-key.c (search): Don't allow cancellation when
85557         reading /etc/publickey.
85559         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
85560         allow cancellation when reading /etc/group.
85562         * nss/nss_files/files-alias.c (internal_setent): Don't allow
85563         cancellation.
85564         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
85566         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
85567         when using data file.
85569         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
85571         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
85572         (write_nis_obj): Use "c" and "e" in fopen.
85574         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
85576         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
85578         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
85580         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
85582         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
85583         locale.alias.
85585         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
85587         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
85589         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
85591         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
85592         file parsing and set FD_CLOEXEC.
85594 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
85596         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
85598 2011-11-14  Andreas Schwab  <schwab@redhat.com>
85600         * malloc/arena.c (arena_get2): Don't call reused_arena when
85601         _int_new_arena failed.
85603 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
85605         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
85606         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
85607         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
85608         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85609         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85610         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
85611         to compile strcasecmp and strncasecmp.
85612         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
85613         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
85615         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
85617 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
85619         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
85620         locale-defines.sym to gen-as-const-headers.
85621         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
85622         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
85623         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
85624         to compile strcasecmp and strncasecmp.
85625         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
85626         strcasecmp_l and strncasecmp_l.
85627         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
85628         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
85629         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
85630         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
85631         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
85632         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
85633         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
85634         * sysdeps/i386/i686/multiarch/strncase.S: New file.
85635         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
85636         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
85637         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
85639 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
85641         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
85642         result of SYSDEP_GETTIME_CPU to retval.
85643         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
85644         parameter list to macro.  Remove trailing semicolon.  Adjust users.
85646         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
85647         variable.
85649         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
85650         mantissa words.
85651         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
85653         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
85654         from unused variable.
85656         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
85657         DWARF definitions.
85658         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
85659         for assembling.
85661         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
85662         over namespaces.
85664         * sunrpc/rpc_prot.c (rejected): Fix case value.
85666         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
85667         unsigned long long int to avoid warnings in shift.
85669         * posix/regex_internal.c (re_string_reconstruct): Actually use result
85670         of use of trans.
85671         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
85672         variable tmp.
85674         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
85675         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
85676         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
85678         * nis/nis_table.c (nis_list): Use variable of correct type for
85679         result of __follow_path call.
85681 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85683         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
85684         of math functions ceil, trunc, floor, round, and sqrt, when
85685         avaliable on the platform.
85686         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
85687         name clash.
85688         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85689         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85690         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85692 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
85694         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
85695         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
85697 2011-11-11  Roland McGrath  <roland@hack.frob.com>
85699         * include/unistd.h: Fix __readlink return type.
85700         Reported by Chris Metcalf <cmetcalf@tilera.com>.
85702 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
85704         * stdlib/ucontext.h: Undo last change for makecontext.
85706 2011-11-11  Andreas Schwab  <schwab@redhat.com>
85708         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
85710         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
85711         * setjmp/setjmp.h: Mark functions as non-leaf.
85712         * setjmp/bits/setjmp2.h: Likewise.
85713         * stdlib/ucontext.h: Likewise.
85715 2011-11-10  Andreas Schwab  <schwab@redhat.com>
85717         * malloc/arena.c (_int_new_arena): Don't increment narenas.
85718         (reused_arena): Don't check arena limit.
85719         (arena_get2): Atomically check arena limit.
85721 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
85723         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
85724         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
85726         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
85727         instructions.
85729 2011-11-07  Andreas Schwab  <schwab@redhat.com>
85731         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
85732         handler when locking.
85734         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85735         Fix size of allocated buffer.
85737 2011-11-04  Andreas Schwab  <schwab@redhat.com>
85739         [BZ #10103]
85740         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
85741         declarations for long double functions.
85742         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
85744         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
85746 2011-11-03  Andreas Schwab  <schwab@redhat.com>
85748         * nscd/nscd.c (main): Don't start AVC thread until credentials are
85749         installed.
85751         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
85752         is disabled.
85754 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85756         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
85758 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
85760         * include/alloca.h (stackinfo_alloca_round): Define.
85761         (extend_alloca): Use it.
85762         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
85763         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
85764         here.
85766         * scripts/check-local-headers.sh: Ignore libaudit.h.
85768         * nscd/Makefile (extra-objs): Make recursively expanded.
85770 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
85772         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
85773         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
85775         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
85776         * posix/tst-rfc3484-2.c: Likewise.
85777         * posix/tst-rfc3484-3.c: Likewise.
85779         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
85780         process_vm_writev.
85781         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
85782         process_vm_writev.
85783         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
85784         process_vm_writev from libc using GLIBC_2.15 version.
85786         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
85788 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
85790         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
85791         stack usage.
85793 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
85795         [BZ #13367]
85796         * nss/getent.c (initgroups_keys): Show error message in case no group
85797         names are given.
85799         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
85800         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
85801         __bump_nl_timestamp.
85802         * nscd/connections (nscd_init): When host database is served open
85803         netlink socket and request notification about configuration changes.
85804         (main_loop_poll): Track netlink file descriptor and bump timestamp
85805         in case data becomes available.
85806         (main_loop_epoll): Likewise.
85807         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
85808         (database_pers_head): Add extra_data fileds.
85809         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
85810         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
85811         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
85812         Adjust caller.
85813         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
85814         in6ai data, call __free_in6ai.
85815         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
85816         Add -DHAVE_NETLINK.
85817         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
85818         interface information.  Reuse previous data if netlink timestamp
85819         is not changed.
85820         (__bump_nl_timestamp): New function.
85821         (__free_in6ai): New function.
85823 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
85825         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
85826         close_not_cancel_no_status here.
85827         (__check_pf): Reorganize code a bit to not call close twice if OOM.
85829 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
85831         [BZ #13276]
85832         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
85833         return value.
85835         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
85836         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
85837         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
85839 2011-07-03  Andreas Jaeger  <aj@suse.de>
85841         [BZ #10709]
85842         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
85843         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
85844         * math/libm-test.inc (sin_test): Add test case.
85846 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
85848         [BZ #13337]
85849         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
85850         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
85852         * elf/chroot_canon.c (chroot_canon): Cleanups.
85854         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
85856         [BZ #13335]
85857         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
85858         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
85860         * string/test-strchr.c: Make usable for strchrnul testing.
85861         * string/test-strchrnul.c: New file.
85862         * string/Makefile (strop-tests): Add strchrnul.
85864         * po/it.po: Update from translation team.
85865         * po/es.po: Likewise.
85867 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
85869         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
85870         the three constants needed as parameters.  Drop the others.
85871         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
85872         __m128i_strloadu_tolower.
85873         Create and initialize variable zero and use it in all the places
85874         where _mm_setzero_si128 was used.
85876         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
85877         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
85878         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
85879         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
85880         anymore.
85881         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
85882         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
85883         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
85884         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
85885         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
85886         __mpranred, __mptan.
85887         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
85888         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
85889         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
85890         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
85891         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
85892         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
85893         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
85894         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
85895         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
85897 2011-10-28  Andreas Schwab  <schwab@redhat.com>
85899         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
85900         redefine if SHARED.
85901         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
85903         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
85904         wide char related routines to wcsmbs subdir.
85906 2011-10-27  Andreas Schwab  <schwab@redhat.com>
85908         [BZ #13344]
85909         * misc/sys/cdefs.h (__THROWNL): Define.
85910         * posix/unistd.h: Use __THREADNL instead of __THREAD
85911         for memory synchronization functions.
85913 2011-10-26  Roland McGrath  <roland@hack.frob.com>
85915         [BZ #13349]
85916         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
85917         doesn't exist.
85918         * manual/stdio.texi (Obstack Streams): Node removed.
85920 2011-10-26  Andreas Schwab  <schwab@redhat.com>
85922         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
85923         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85924         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85926         * math/math_private.h (math_force_eval): Allow non-addressable
85927         arguments.
85928         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
85930 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85932         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
85933         file is not needed.
85935         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
85936         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
85937         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85938         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85939         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85940         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85941         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85942         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
85943         Add AVX variants.
85944         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
85945         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
85946         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
85947         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
85948         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
85949         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
85950         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
85951         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
85952         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
85953         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
85954         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
85955         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
85956         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
85957         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
85958         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
85959         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
85960         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
85961         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
85962         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
85964         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
85965         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
85967         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
85968         place.  Use VEX encoding when compiling for AVX.
85970 2011-10-25  Andreas Schwab  <schwab@redhat.com>
85972         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
85973         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
85975         * string/test-strchr.c (do_test): Don't generate NUL bytes.
85977 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85979         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
85980         useless if() expression.
85981         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85982         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85983         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85984         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85985         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85986         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85987         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85988         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85989         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85990         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85991         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85992         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85993         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85994         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85995         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85996         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85997         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85998         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85999         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86001         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
86003 2011-10-25  Andreas Schwab  <schwab@redhat.com>
86005         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
86006         condition.
86007         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86009 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86011         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
86012         .text section.  Avoid duplicate constants.
86013         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86014         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86015         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86016         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86017         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86018         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86019         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86020         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86021         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
86022         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
86023         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
86024         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
86025         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
86026         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
86027         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
86028         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
86029         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
86030         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
86031         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86032         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86033         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86034         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86035         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86036         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
86037         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
86038         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
86039         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
86040         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
86041         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
86042         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
86043         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
86044         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
86045         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
86046         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
86047         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
86048         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
86049         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
86050         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
86051         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
86052         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
86053         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
86054         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
86055         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
86056         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
86057         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
86059 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
86061         * sysdeps/x86_64/dla.h: Move to ...
86062         * sysdeps/x86_64/fpu/dla.h: ...here.
86063         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
86064         situations.  Use __builtin_fma only for gcc 4.6 and up.
86066         * config.make.in: Add have-mfma4 entry.
86067         * configure.in: Substitute libc_cv_cc_fma4.
86068         * math/Makefile (dbl-only-routines): Add sincostab.
86069         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
86070         Use __sincostab not sincos.
86071         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
86072         name is a macro.
86073         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86074         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86075         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86076         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
86077         using __copysign.
86078         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
86079         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
86080         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
86081         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
86082         and __inv.
86083         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
86084         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
86085         __copysign.
86086         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
86087         define aliases when function name is a macro.
86088         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
86089         sysdeps/ieee754/dbl-64/sincos.tbl.
86090         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
86091         fma4-enabled routines.
86092         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
86093         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
86094         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
86095         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
86096         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
86097         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
86098         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
86099         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
86100         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
86101         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
86102         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
86103         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
86104         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
86105         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
86106         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
86107         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
86108         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
86109         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
86110         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
86111         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
86112         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
86113         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
86114         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
86115         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
86116         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
86117         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
86118         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
86119         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
86120         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
86121         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
86123         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
86124         rename.
86125         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86126         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86127         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86128         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86129         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86130         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86131         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86132         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86134 2011-10-24  Andreas Schwab  <schwab@redhat.com>
86136         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
86138 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86140         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
86142         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
86143         prediction.
86144         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
86146         * string/strnlen.c: Don't define STRNLEN, reverse logic.
86147         Remove unused variable magic_bits.
86148         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
86150         * string/strnlen.c: Define and use STRNLEN macro.
86151         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
86152         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
86153         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
86154         * wcsmbs/wcslen.c: Define and use WCSLEN.
86155         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
86156         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
86157         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
86158         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
86159         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
86160         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
86161         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86163 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86166         strnlen-sse2-no-bsf.
86167         Rename strlen-no-bsf to strlen-sse2-no-bsf.
86168         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
86169         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
86170         Add strnlen support.
86171         (USE_AS_STRNLEN): New macro.
86172         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
86173         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
86174         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
86175         * sysdeps/x86_64/wcslen.S: New file.
86177 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
86179         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
86180         XMM-moves are used for copying on small sizes.
86182 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86184         * wcsmbs/Makefile (strop-tests): Add wcschr.
86185         * wcsmbs/test-wcschr.c: New file.
86186         * string/test-strchr.c: Update.
86187         Add wcschr support.
86188         (WIDE): New macro.
86190 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86192         * wcsmbs/Makefile (strop-tests): Add wcslen.
86193         * wcsmbs/test-wcslen.c: New file.
86194         * string/test-strlen.c: Update.
86195         Add wcslen support.
86196         (WIDE): New macro.
86198 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86200         * po/it.po: Update from translation team.
86202 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86204         * sysdeps/x86_64/wcscmp.S: Update.
86205         Fix wrong comparison semantics.
86206         wcscmp shall use signed comparison not unsigned.
86207         Don't use substraction to avoid overflow bug.
86208         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
86209         * wcsmbc/wcscmp.c: Likewise.
86210         * string/test-strcmp.c: Likewise.
86211         Add new tests to check cases with negative values.
86213 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86215         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
86216         * sysdeps/x86_64/dla.h: ...here.  New file.
86217         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
86218         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86219         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86220         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86221         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86222         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86223         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86224         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86225         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86227 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
86229         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
86230         __ynl_finite aliases.
86232 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
86234         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
86236         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
86237         define DLA_FMA.
86238         [DLA_FMA] (EMULV): Use DLA_FMA.
86239         [DLA_FMA] (MUL12): Use EMULV.
86240         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
86241         that are not needed.
86242         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86243         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86244         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86245         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86246         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86247         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86248         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86250 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
86252         * math/s_nan.c: Undef __nan.
86253         * math/s_nanf.c: Undef __nanf.
86254         * math/s_nanl.c: Undef __nanl.
86255         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
86256         "math_private.h".
86258 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
86260         * math/s_catan.c: Add branch predictions.
86261         * math/s_catanf.c: Likewise.
86262         * math/s_catanh.c: Likewise.
86263         * math/s_catanhf.c: Likewise.
86264         * math/s_catanhl.c: Likewise.
86265         * math/s_catanl.c: Likewise.
86266         * math/s_cexp.c: Likewise.
86267         * math/s_cexpf.c: Likewise.
86268         * math/s_cexpl.c: Likewise.
86269         * math/s_clog.c: Likewise.
86270         * math/s_clog10.c: Likewise.
86271         * math/s_clog10f.c: Likewise.
86272         * math/s_clog10l.c: Likewise.
86273         * math/s_clogf.c: Likewise.
86274         * math/s_clogl.c: Likewise.
86275         * math/s_csqrt.c: Likewise.
86276         * math/s_csqrtf.c: Likewise.
86277         * math/s_csqrtl.c: Likewise.
86278         * math/s_ctanf.c: Likewise.
86279         * math/s_ctanh.c: Likewise.
86280         * math/s_ctanhf.c: Likewise.
86281         * math/s_ctanhl.c: Likewise.
86282         * math/s_ctanl.c: Likewise.
86284         * math/math_private.h: Define __nan, __nanf, __nanl.
86285         * math/s_cacosh.c: Include <math_private.h>.
86286         * math/s_cacoshl.c: Likewise.
86287         * math/s_casinh.c: Likewise.
86288         * math/s_casinhf.c: Likewise.
86289         * math/s_casinhl.c: Likewise.
86290         * math/s_ccos.c: Rely entire on ccosh.
86291         * math/s_ccosf.c: Rely entire on ccoshf.
86292         * math/s_ccosl.c: Rely entirely on ccoshl.
86293         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
86294         Remove tests for FE_INVALID.
86295         * math/s_ccoshf.c: Likewise.
86296         * math/s_ccoshl.c: Likewise.
86297         * math/s_csin.c: Likewise.
86298         * math/s_csinf.c: Likewise.
86299         * math/s_csinh.c Likewise.
86300         * math/s_csinhf.c: Likewise.
86301         * math/s_csinhl.c: Likewise.
86302         * math/s_csinl.c: Likewise.
86303         * math/s_ctan.c: Likewise.
86304         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
86305         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
86306         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
86308 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
86310         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
86311         compilation problems.
86313         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
86314         __builtin_expect.
86316 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
86318         * sysdeps/i386/configure.in: Test for -mfma4 option.
86319         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
86320         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
86321         COMMON_CPUID_INDEX_80000001.
86322         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
86323         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
86324         use it if FMA3 is not supported.
86325         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
86327         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
86328         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86330 2011-10-20  Andreas Schwab  <schwab@redhat.com>
86332         [BZ #12892]
86333         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
86334         it would create a cycle with a link time dependency.
86336 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
86338         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
86339         instruction.
86340         * string/Makefile (strop-tests): Add rawmemchr.
86341         * string/test-rawmemchr.c: New file.
86343         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
86344         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
86345         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
86346         when compiling str{,n}casecmp and when AVX is available.  Hook up
86347         new optimized code in initializers.
86349 2011-10-19  Andreas Schwab  <schwab@redhat.com>
86351         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
86352         __feraiseexcept instead of feraiseexcept.
86354 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
86356         * math/math_private.h: Define defaults for libc_fetestexcept and
86357         libc_feupdateenv.
86358         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
86359         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
86360         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
86361         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
86362         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86363         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
86364         libc_fetestexcept and libc_feupdateenv.
86366         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
86367         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
86368         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
86369         * sysdeps/x86_64/fpu/math_private.h: Define special version of
86370         libc_feholdexcept_setround.
86372         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
86373         Add s_nearbyint-c and s_nearbyintf-c.
86374         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
86375         nearbyintf inlines.
86376         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
86377         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
86378         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
86379         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
86381         * math/math_private.h: Define defaults for libc_fegetround,
86382         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
86383         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
86384         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
86385         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
86386         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
86387         standard functions.
86388         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
86389         Remove comments and hacks for old compiler versions.
86390         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
86391         libc_fegetround, libc_fesetround, libc_feholdexcept, and
86392         libc_feholdexceptl.
86394 2011-10-18  Andreas Schwab  <schwab@redhat.com>
86396         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
86397         (__feraiseexcept_renamed): Add __NTH.
86398         (feraiseexcept): Add __NTH.  Rename local variables to fix
86399         namespace violations.
86401 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
86403         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
86405         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
86407         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
86408         recently added interfaces.
86409         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
86411         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
86412         about macro parameter expansion.
86414         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
86415         __NO_MATH_INLINES is defined.  Cleanups.
86417         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
86418         and __floorf is target has SSE4.1.
86419         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
86420         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
86421         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
86422         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
86424         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
86425         name.
86426         (floorf): Likewise.
86428         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
86430 2011-10-17  Andreas Schwab  <schwab@redhat.com>
86432         * misc/sys/cdefs.h: Fix last change.
86434         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
86435         database lookup.
86437 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
86439         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
86441         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
86442         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86443         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86444         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86445         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86446         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86447         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86448         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86449         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86450         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
86451         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
86452         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
86453         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
86454         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
86455         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
86456         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
86457         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
86458         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
86459         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
86460         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
86461         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
86462         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
86464         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
86465         ceil, ceilf, floor, floorf.
86467         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
86468         Perform IRELATIVE relocations last.
86470         * elf/do-rel.h: Add another parameter nrelative, replacing the
86471         local variable with the same name.  Change name of the function
86472         to end in Rel or Rela (uppercase).
86473         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
86474         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
86475         elf_dynamic_do_##reloc function.
86477 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
86479         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
86480         is sufficient, at least on modern CPUs.
86482         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
86484         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
86485         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
86487         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
86488         __expl_finite.
86489         * math/bits/math-finite.h: Add entries for exp.
86490         * math/e_expl.c: Add __*_finite alias.
86491         * sysdeps/i386/fpu/e_exp.S: Likewise.
86492         * sysdeps/i386/fpu/e_expf.S: Likewise.
86493         * sysdeps/i386/fpu/e_expl.c: Likewise.
86494         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86495         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
86496         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
86497         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
86498         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
86499         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86500         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86502         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
86503         is sufficient, at least on modern CPUs.
86505         * ctype/ctype-info.c (__ctype_init): Define.
86506         * include/ctype.h (__ctype_init): Declare.
86507         (__ctype_b_loc): The variable is always initialized.
86508         (__ctype_toupper_loc): Likewise.
86509         (__ctype_tolower_loc): Likewise.
86510         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
86511         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
86513 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
86515         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
86517         * configure.in: Also look in $cxxmachine/include for C++ system
86518         headers.
86520 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86522         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
86523         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
86524         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
86525         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
86526         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
86527         (USE_AS_WMEMCMP): New macro.
86528         Fixing indents.
86529         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
86530         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
86531         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
86532         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
86533         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86534         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
86535         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
86536         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
86537         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
86538         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
86539         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
86540         (USE_AS_WMEMCMP): New macro.
86541         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
86542         * sysdeps/string/test-memcmp.c: Update.
86543         Fix simple_wmemcmp.
86544         Add new tests.
86545         * wcsmbs/wmemcmp.c: Update.
86546         (WMEMCMP): New macro.
86547         Fix overflow bug.
86549 2011-10-12  Andreas Jaeger  <aj@suse.de>
86551         [BZ #13268]
86552         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
86554 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
86556         * libio/iofwide.c (do_length): Avoid warning.
86558         * ctype/ctype.h (__isctype_f): Add missing __THROW.
86560 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
86562         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
86564         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
86565         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
86566         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
86567         * sysdeps/i386/i686/fpu/e_log.S: New file.
86568         * sysdeps/i386/i686/fpu/e_logf.S: New file.
86569         * sysdeps/i386/i686/fpu/e_logl.S: New file.
86571         * ctype/ctype.h: Add support for inlined isXXX functions when
86572         compiling C++ code.
86574 2011-10-14  Andreas Schwab  <schwab@redhat.com>
86576         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86578         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
86580 2011-10-13  Roland McGrath  <roland@hack.frob.com>
86582         [BZ #13291]
86583         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
86585 2011-10-13  Andreas Schwab  <schwab@redhat.com>
86587         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
86588         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
86589         feraiseexcept.
86591         * sysdeps/x86_64/memrchr.S: Check for zero size.
86593         * string/stratcliff.c: Add memrchr tests.
86595 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86597         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86598         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
86599         rawmemchr-sse2 rawmemchr-sse2-bsf.
86600         * sysdeps/i386/i686/multiarch/memchr.S: New file.
86601         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
86602         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
86603         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
86604         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
86605         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
86606         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
86607         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
86608         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
86609         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
86610         * string/memrchr.c (MEMRCHR): New macro.
86612 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
86614         Add integration with gcc's -ffinite-math-only and optimize wrapper
86615         functions in libm.
86616         * Versions.def: Define GLIBC_2.15 version for libm.
86617         * math/Makefile (headers): Add bits/math-finite.h.
86618         * math/bits/math-finite.h: New file.
86619         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
86620         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
86621         * math/e_acoshl.c: Add __*_finite alias.
86622         * math/e_acosl.c: Likewise.
86623         * math/e_asinl.c: Likewise.
86624         * math/e_atan2l.c: Likewise.
86625         * math/e_atanhl.c: Likewise.
86626         * math/e_coshl.c: Likewise.
86627         * math/e_exp10.c: Likewise.
86628         * math/e_exp10f.c: Likewise.
86629         * math/e_exp10l.c: Likewise.
86630         * math/e_exp2l.c: Likewise.
86631         * math/e_fmodl.c: Likewise.
86632         * math/e_gammal_r.c: Likewise.
86633         * math/e_hypotl.c: Likewise.
86634         * math/e_j0l.c: Likewise.
86635         * math/e_j1l.c: Likewise.
86636         * math/e_jnl.c: Likewise.
86637         * math/e_lgammal_r.c: Likewise.
86638         * math/e_log10l.c: Likewise.
86639         * math/e_log2l.c: Likewise.
86640         * math/e_logl.c: Likewise.
86641         * math/e_powl.c: Likewise.
86642         * math/e_sinhl.c: Likewise.
86643         * math/e_sqrtl.c: Likewise.
86644         * math/e_scalb.c: Completely rewritten and optimized.
86645         * math/e_scalbf.c: Likewise.
86646         * math/e_scalbl.c: Likewise.
86647         * math/w_acos.c: Likewise.
86648         * math/w_acosf.c: Likewise.
86649         * math/w_acosl.c: Likewise.
86650         * math/w_acosh.c: Likewise.
86651         * math/w_acoshf.c: Likewise.
86652         * math/w_acoshl.c: Likewise.
86653         * math/w_asin.c: Likewise.
86654         * math/w_asinf.c: Likewise.
86655         * math/w_asinl.c: Likewise.
86656         * math/w_atan2.c: Likewise.
86657         * math/w_atan2f.c: Likewise.
86658         * math/w_atan2l.c: Likewise.
86659         * math/w_atanh.c: Likewise.
86660         * math/w_atanhf.c: Likewise.
86661         * math/w_atanhl.c: Likewise.
86662         * math/w_exp10.c: Likewise.
86663         * math/w_exp10f.c: Likewise.
86664         * math/w_exp10l.c: Likewise.
86665         * math/w_fmod.c: Likewise.
86666         * math/w_fmodf.c: Likewise.
86667         * math/w_fmodl.c: Likewise.
86668         * math/w_j0.c: Likewise.
86669         * math/w_j0f.c: Likewise.
86670         * math/w_j0l.c: Likewise.
86671         * math/w_j1.c: Likewise.
86672         * math/w_j1f.c: Likewise.
86673         * math/w_j1l.c: Likewise.
86674         * math/w_jn.c: Likewise.
86675         * math/w_jnf.c: Likewise.
86676         * math/w_log.c: Likewise.
86677         * math/w_logf.c: Likewise.
86678         * math/w_logl.c: Likewise.
86679         * math/w_log10.c: Likewise.
86680         * math/w_log10f.c: Likewise.
86681         * math/w_log10l.c: Likewise.
86682         * math/w_log2.c: Likewise.
86683         * math/w_log2f.c: Likewise.
86684         * math/w_log2l.c: Likewise.
86685         * math/w_pow.c: Likewise.
86686         * math/w_powf.c: Likewise.
86687         * math/w_powl.c: Likewise.
86688         * math/w_remainder.c: Likewise.
86689         * math/w_remainderf.c: Likewise.
86690         * math/w_remainderl.c: Likewise.
86691         * math/w_scalb.c: Likewise.
86692         * math/w_scalbf.c: Likewise.
86693         * math/w_scalbl.c: Likewise.
86694         * math/w_sqrt.c: Likewise.
86695         * math/w_sqrtf.c: Likewise.
86696         * math/w_sqrtl.c: Likewise.
86697         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
86698         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
86699         used.
86700         * math/math_private.h: Declare __kernel_standard_f.
86701         * math/w_cosh.c: Remove cruft and optimize a bit.
86702         * math/w_coshf.c: Likewise.
86703         * math/w_coshl.c: Likewise.
86704         * math/w_exp2.c: Likewise.
86705         * math/w_exp2f.c: Likewise.
86706         * math/w_exp2l.c: Likewise.
86707         * math/w_hypot.c: Likewise.
86708         * math/w_hypotf.c: Likewise.
86709         * math/w_hypotl.c: Likewise.
86710         * math/w_lgamma.c: Likewise.
86711         * math/w_lgamma_r.c: Likewise.
86712         * math/w_lgammaf.c: Likewise.
86713         * math/w_lgammaf_r.c: Likewise.
86714         * math/w_lgammal.c: Likewise.
86715         * math/w_lgammal_r.c: Likewise.
86716         * math/w_sinh.c: Likewise.
86717         * math/w_sinhf.c: Likewise.
86718         * math/w_sinhl.c: Likewise.
86719         * math/w_tgamma.c: Likewise.
86720         * math/w_tgammaf.c: Likewise.
86721         * math/w_tgammal.c: Likewise.
86722         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86723         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86724         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
86725         Minor optimizations.  Pretty printing.  Remove cruft.
86726         * sysdeps/i386/fpu/e_acosf.S: Likewise.
86727         * sysdeps/i386/fpu/e_acosh.S: Likewise.
86728         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
86729         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
86730         * sysdeps/i386/fpu/e_acosl.c: Likewise.
86731         * sysdeps/i386/fpu/e_asin.S: Likewise.
86732         * sysdeps/i386/fpu/e_asinf.S: Likewise.
86733         * sysdeps/i386/fpu/e_atan2.S: Likewise.
86734         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
86735         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
86736         * sysdeps/i386/fpu/e_atanh.S: Likewise.
86737         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
86738         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
86739         * sysdeps/i386/fpu/e_exp10.S: Likewise.
86740         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
86741         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
86742         * sysdeps/i386/fpu/e_exp2.S: Likewise.
86743         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
86744         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
86745         * sysdeps/i386/fpu/e_fmod.S: Likewise.
86746         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
86747         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
86748         * sysdeps/i386/fpu/e_hypot.S: Likewise.
86749         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
86750         * sysdeps/i386/fpu/e_log.S: Likewise.
86751         * sysdeps/i386/fpu/e_log10.S: Likewise.
86752         * sysdeps/i386/fpu/e_log10f.S: Likewise.
86753         * sysdeps/i386/fpu/e_log10l.S: Likewise.
86754         * sysdeps/i386/fpu/e_log2.S: Likewise.
86755         * sysdeps/i386/fpu/e_log2f.S: Likewise.
86756         * sysdeps/i386/fpu/e_log2l.S: Likewise.
86757         * sysdeps/i386/fpu/e_logf.S: Likewise.
86758         * sysdeps/i386/fpu/e_logl.S: Likewise.
86759         * sysdeps/i386/fpu/e_pow.S: Likewise.
86760         * sysdeps/i386/fpu/e_powf.S: Likewise.
86761         * sysdeps/i386/fpu/e_powl.S: Likewise.
86762         * sysdeps/i386/fpu/e_remainder.S: Likewise.
86763         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
86764         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
86765         * sysdeps/i386/fpu/e_scalb.S: Likewise.
86766         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
86767         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
86768         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
86769         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
86770         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
86771         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86772         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86773         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86774         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86775         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
86776         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86777         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
86778         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86779         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86780         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86781         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86782         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86783         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86784         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86785         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86786         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86787         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86788         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86789         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86790         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86791         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86792         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86793         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86794         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86795         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86796         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86797         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
86798         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86799         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
86800         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86801         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86802         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86803         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86804         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86805         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86806         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86807         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86808         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86809         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86810         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86811         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86812         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86813         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86814         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86815         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86816         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86817         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86818         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86819         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86820         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
86821         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86822         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86823         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86824         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86825         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86826         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86827         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86828         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86829         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86830         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86831         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86832         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86833         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86834         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86835         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86836         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86837         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86838         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86839         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
86840         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86841         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86842         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86843         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86844         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86845         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86846         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86847         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
86848         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86849         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86850         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86851         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86852         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86853         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
86854         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86855         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86856         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86857         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86858         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86859         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86860         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86861         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86862         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86863         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86864         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
86865         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86866         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86867         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86868         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
86869         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
86870         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
86871         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
86872         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
86873         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
86874         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
86875         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
86876         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
86877         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
86878         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
86879         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
86880         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
86881         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
86882         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
86883         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
86884         (__isnanf): Likewise.
86885         (__isinf_ns): Likewise.
86886         (__isinf_nsf): Likewise.
86887         (__finite): Likewise.
86888         (__finitef): Likewise.
86889         (__ieee754_sqrt): Define as macro.
86890         (__ieee754_sqrtf): Define as macro.
86891         (__ieee754_sqrtl): Define as macro.
86892         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
86893         inlined copy.
86894         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
86895         __FINITE_MATH_ONLY__ consistent.
86896         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
86898 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
86900         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
86901         of rawmemchr.
86903         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
86905 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
86907         * po/ja.po: Update from translation team.
86909 2011-10-08  Roland McGrath  <roland@hack.frob.com>
86911         * locale/programs/locarchive.c (prepare_address_space): New function.
86912         (create_archive, enlarge_archive, open_archive): Use it.
86914         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
86915         inside [SHARED], where it is used.
86917         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
86919         * nss/getent.c (netgroup_keys): Remove unused variable.
86920         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86922 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
86924         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
86925         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
86926         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
86927         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
86928         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
86929         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
86930         * math/Makefile (libm-calls): Add s_isinf_ns.
86931         * math/divtc3.c: Use __isinf_nsl instead of isinf.
86932         * math/multc3.c: Likewise.
86933         * math/s_casin.c: Likewise.
86934         * math/s_casinf.c: Likewise.
86935         * math/s_casinl.c: Likewise.
86936         * math/s_ccos.c: Likewise.
86937         * math/s_ccosf.c: Likewise.
86938         * math/s_ccosl.c: Likewise.
86939         * math/s_ctan.c: Likewise.
86940         * math/s_ctanf.c: Likewise.
86941         * math/s_ctanh.c: Likewise.
86942         * math/s_ctanhf.c: Likewise.
86943         * math/s_ctanhl.c: Likewise.
86944         * math/s_ctanl.c: Likewise.
86945         * math/w_fmod.c: Likewise.
86946         * math/w_fmodf.c: Likewise.
86947         * math/w_fmodl.c: Likewise.
86948         * math/w_remainder.c: Likewise.
86949         * math/w_remainderf.c: Likewise.
86950         * math/w_remainderl.c: Likewise.
86951         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
86952         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
86953         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
86954         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
86955         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
86956         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
86957         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
86958         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
86960         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
86961         of the number.
86962         * stdio-common/printf_fphex.c: Likewise.
86963         * stdio-common/printf_size.c: Likewise.
86965         * math/e_exp10.c: Include math_private.h using <...> not "...".
86966         * math/e_exp10f.c: Likewise.
86967         * math/e_exp10l.c: Likewise.
86968         * math/e_exp2l.c: Likewise.
86969         * math/e_j0l.c: Likewise.
86970         * math/e_j1l.c: Likewise.
86971         * math/e_jnl.c: Likewise.
86972         * math/e_lgammal_r.c: Likewise.
86973         * math/e_rem_pio2l.c: Likewise.
86974         * math/e_scalb.c: Likewise.
86975         * math/e_scalbf.c: Likewise.
86976         * math/e_scalbl.c: Likewise.
86977         * math/k_cosl.c: Likewise.
86978         * math/k_sinl.c: Likewise.
86979         * math/k_tanl.c: Likewise.
86980         * math/s_cacoshf.c: Likewise.
86981         * math/s_catan.c: Likewise.
86982         * math/s_catanf.c: Likewise.
86983         * math/s_catanh.c: Likewise.
86984         * math/s_catanhf.c: Likewise.
86985         * math/s_catanhl.c: Likewise.
86986         * math/s_catanl.c: Likewise.
86987         * math/s_ccosh.c: Likewise.
86988         * math/s_ccoshf.c: Likewise.
86989         * math/s_ccoshl.c: Likewise.
86990         * math/s_cexp.c: Likewise.
86991         * math/s_cexpf.c: Likewise.
86992         * math/s_cexpl.c: Likewise.
86993         * math/s_clog.c: Likewise.
86994         * math/s_clog10.c: Likewise.
86995         * math/s_clog10f.c: Likewise.
86996         * math/s_clog10l.c: Likewise.
86997         * math/s_clogf.c: Likewise.
86998         * math/s_clogl.c: Likewise.
86999         * math/s_csin.c: Likewise.
87000         * math/s_csinf.c: Likewise.
87001         * math/s_csinh.c: Likewise.
87002         * math/s_csinhf.c: Likewise.
87003         * math/s_csinhl.c: Likewise.
87004         * math/s_csinl.c: Likewise.
87005         * math/s_csqrt.c: Likewise.
87006         * math/s_csqrtf.c: Likewise.
87007         * math/s_csqrtl.c: Likewise.
87008         * math/s_ctan.c: Likewise.
87009         * math/s_ctanf.c: Likewise.
87010         * math/s_ctanh.c: Likewise.
87011         * math/s_ctanhf.c: Likewise.
87012         * math/s_ctanhl.c: Likewise.
87013         * math/s_ctanl.c: Likewise.
87014         * math/s_ldexp.c: Likewise.
87015         * math/s_ldexpf.c: Likewise.
87016         * math/s_ldexpl.c: Likewise.
87017         * math/s_significand.c: Likewise.
87018         * math/s_significandf.c: Likewise.
87019         * math/s_significandl.c: Likewise.
87020         * math/w_acos.c: Likewise.
87021         * math/w_acosf.c: Likewise.
87022         * math/w_acosh.c: Likewise.
87023         * math/w_acoshf.c: Likewise.
87024         * math/w_acoshl.c: Likewise.
87025         * math/w_acosl.c: Likewise.
87026         * math/w_asin.c: Likewise.
87027         * math/w_asinf.c: Likewise.
87028         * math/w_asinl.c: Likewise.
87029         * math/w_atan2.c: Likewise.
87030         * math/w_atan2f.c: Likewise.
87031         * math/w_atan2l.c: Likewise.
87032         * math/w_atanh.c: Likewise.
87033         * math/w_atanhf.c: Likewise.
87034         * math/w_atanhl.c: Likewise.
87035         * math/w_cosh.c: Likewise.
87036         * math/w_coshf.c: Likewise.
87037         * math/w_coshl.c: Likewise.
87038         * math/w_dremf.c: Likewise.
87039         * math/w_exp10.c: Likewise.
87040         * math/w_exp10f.c: Likewise.
87041         * math/w_exp10l.c: Likewise.
87042         * math/w_exp2.c: Likewise.
87043         * math/w_exp2f.c: Likewise.
87044         * math/w_fmod.c: Likewise.
87045         * math/w_fmodf.c: Likewise.
87046         * math/w_fmodl.c: Likewise.
87047         * math/w_hypot.c: Likewise.
87048         * math/w_hypotf.c: Likewise.
87049         * math/w_hypotl.c: Likewise.
87050         * math/w_j0.c: Likewise.
87051         * math/w_j0f.c: Likewise.
87052         * math/w_j0l.c: Likewise.
87053         * math/w_j1.c: Likewise.
87054         * math/w_j1f.c: Likewise.
87055         * math/w_j1l.c: Likewise.
87056         * math/w_jn.c: Likewise.
87057         * math/w_jnf.c: Likewise.
87058         * math/w_jnl.c: Likewise.
87059         * math/w_lgamma.c: Likewise.
87060         * math/w_lgamma_r.c: Likewise.
87061         * math/w_lgammaf.c: Likewise.
87062         * math/w_lgammaf_r.c: Likewise.
87063         * math/w_lgammal.c: Likewise.
87064         * math/w_lgammal_r.c: Likewise.
87065         * math/w_log.c: Likewise.
87066         * math/w_log10.c: Likewise.
87067         * math/w_log10f.c: Likewise.
87068         * math/w_log10l.c: Likewise.
87069         * math/w_log2.c: Likewise.
87070         * math/w_log2f.c: Likewise.
87071         * math/w_log2l.c: Likewise.
87072         * math/w_logf.c: Likewise.
87073         * math/w_logl.c: Likewise.
87074         * math/w_pow.c: Likewise.
87075         * math/w_powf.c: Likewise.
87076         * math/w_powl.c: Likewise.
87077         * math/w_remainder.c: Likewise.
87078         * math/w_remainderf.c: Likewise.
87079         * math/w_remainderl.c: Likewise.
87080         * math/w_scalb.c: Likewise.
87081         * math/w_scalbf.c: Likewise.
87082         * math/w_scalbl.c: Likewise.
87083         * math/w_sinh.c: Likewise.
87084         * math/w_sinhf.c: Likewise.
87085         * math/w_sinhl.c: Likewise.
87086         * math/w_sqrt.c: Likewise.
87087         * math/w_sqrtf.c: Likewise.
87088         * math/w_sqrtl.c: Likewise.
87089         * math/w_tgamma.c: Likewise.
87090         * math/w_tgammaf.c: Likewise.
87091         * math/w_tgammal.c: Likewise.
87093         * po/ja.po: Update from translation team.
87095 2011-09-29  Andreas Jaeger  <aj@suse.de>
87097         [BZ #13179]
87098         * sunrpc/netname.c (netname2host): Fix logic.
87100         [BZ #6779]
87101         [BZ #6783]
87102         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
87103         correctly.
87104         * math/w_remainder.c (__remainder): Likewise.
87105         * math/w_remainderf.c (__remainderf): Likewise.
87106         * math/libm-test.inc (remainder_test): Add test cases.
87108 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87110         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
87111         sdiv_qrnnd.
87113 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
87115         * string/test-memcmp.c: Avoid unncessary #defines.
87116         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87118 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87120         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
87121         Use new sse2 version for core i3 - i7 as it's faster
87122         than sse42 version.
87123         (bit_Prefer_PMINUB_for_stringop): New.
87124         * sysdeps/x86_64/rawmemchr.S: Update.
87125         Replace with faster SSE2 version.
87126         * sysdeps/x86_64/memrchr.S: New file.
87127         * sysdeps/x86_64/memchr.S: Update.
87128         Replace with faster SSE2 version.
87130 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
87132         * elf/dl-load.c (lose): Add cast to avoid warning.
87134 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
87136         * po/ca.po: Update from translation team.
87138         * inet/getnetgrent_r.c: Hook up nscd.
87139         * nscd/Makefile (routines): Add nscd_netgroup.
87140         (nscd-modules): Add netgroupcache.
87141         (CFLAGS-netgroupcache.c): Define.
87142         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
87143         (cache_search): Add const to second parameter.
87144         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
87145         INNETGR.
87146         (dbs): Add netgrdb entry.
87147         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
87148         (verify_persistent_db): Handle netgrdb.
87149         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
87150         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
87151         GETFDNETGR.
87152         (netgroup_response_header): Define.
87153         (innetgroup_response_header): Define.
87154         (datahead): Add netgroup_response_header and innetgroup_response_header
87155         elements.
87156         * nscd/nscd.conf: Add entries for netgroup cache.
87157         * nscd/nscd.h (dbtype): Add netgrdb.
87158         (_PATH_NSCD_NETGROUP_DB): Define.
87159         (netgroup_iov_disabled): Declare.
87160         (xmalloc, xcalloc, xrealloc): Move declarations here.
87161         (cache_search): Adjust prototype.
87162         Add netgroup-related prototypes.
87163         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
87164         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
87165         (__nscd_innetgr): Declare.
87166         * nscd/selinux.c (perms): Use access_vector_t as element type and
87167         add netgroup-related initializers.
87168         * nscd/netgroupcache.c: New file.
87169         * nscd/nscd_netgroup.c: New file.
87170         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
87171         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
87172         For four parameters use innetgr.
87173         * nss/nss_files/files-init.c: Add definition and callback for netgr.
87174         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
87175         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
87176         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
87178         * nscd/connections.c (register_traced_file): Don't register file
87179         for disabled databases.
87181 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
87183         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
87185         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
87186         from tree and freeing node.
87188 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
87190         * nss/nsswitch.c (__nss_database_lookup): Handle
87191         nss_parse_service_list out of memory case.
87193 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
87195         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
87196         out of memory case.
87198 2011-10-04  Andreas Schwab  <schwab@redhat.com>
87200         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
87201         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
87202         pass it down.
87203         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
87204         elf_machine_rela, elf_machine_lazy_rel.
87205         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
87206         (ELF_DYNAMIC_DO_REL): Likewise.
87207         (ELF_DYNAMIC_DO_RELA): Likewise.
87208         (ELF_DYNAMIC_RELOCATE): Likewise.
87209         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
87210         to ELF_DYNAMIC_DO_REL.
87211         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
87212         (dl_main): In trace mode always set __RTLD_NOIFUNC.
87213         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
87214         elf_machine_rela.
87215         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
87216         skip_ifunc, don't call ifunc function if non-zero.
87217         (elf_machine_rela): Likewise.
87218         (elf_machine_lazy_rel): Likewise.
87219         (elf_machine_lazy_rela): Likewise.
87220         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
87221         (elf_machine_lazy_rel): Likewise.
87222         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
87223         Likewise.
87224         (elf_machine_lazy_rel): Likewise.
87225         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87226         Likewise.
87227         (elf_machine_lazy_rel): Likewise.
87228         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
87229         (elf_machine_lazy_rel): Likewise.
87230         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
87231         (elf_machine_lazy_rel): Likewise.
87232         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
87233         (elf_machine_lazy_rel): Likewise.
87234         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
87235         (elf_machine_lazy_rel): Likewise.
87236         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
87237         (elf_machine_lazy_rel): Likewise.
87238         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
87239         (elf_machine_lazy_rel): Likewise.
87241 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
87243         * nss/nss_files/files-init.c (_nss_files_init): Use static
87244         initialization for all the *_traced_file variables.
87246 2011-09-28  Andreas Schwab  <schwab@redhat.com>
87248         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87250 2011-09-27  Roland McGrath  <roland@hack.frob.com>
87252         [BZ #13226]
87253         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
87255 2011-09-27  Andreas Schwab  <schwab@redhat.com>
87257         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87258         Reread the line before reparsing it.
87260 2011-09-26  Andreas Schwab  <schwab@redhat.com>
87262         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
87264 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
87265             Maxim Kuvyrkov  <maxim@codesourcery.com>
87266             Joseph Myers  <joseph@codesourcery.com>
87268         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
87269         if needed for __stack_chk_guard.
87271 2011-09-19  Roland McGrath  <roland@hack.frob.com>
87273         * sysdeps/posix/spawni.c (script_execute): Always define it.
87274         It will be optimized away if unused.
87275         (maybe_script_execute): New function.
87276         (__spawni): Call it.
87278         * Makerules: Don't include tls.make.
87279         (config-tls): Always set to thread.
87280         * tls.make.c: File removed.
87282 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
87284         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
87285         * config.make.in (CPPFLAGS-config): New substituted variable.
87287 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
87289         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
87291         [BZ #13192]
87292         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
87293         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
87295 2011-09-15  Roland McGrath  <roland@hack.frob.com>
87297         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
87298         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
87299         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87300         (CALL_FAIL): Likewise.
87301         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
87302         (CALL_FAIL): Macro removed.
87303         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
87305 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
87307         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
87308         for __FINITE_MATH_ONLY__ == 1.
87310 2011-09-15  Andreas Schwab  <schwab@redhat.com>
87312         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
87313         __ieee754_sqrt instead of sqrt.
87314         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
87315         __ieee754_sqrtf instead of sqrtf.
87316         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
87317         __floorf instead of floorf.
87318         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
87319         __floorf, __truncf instead of floorf, truncf.
87321 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
87323         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
87325         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
87326         __extern_always_inline.
87327         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
87328         32-bit.
87330 2011-09-14  Andreas Schwab  <schwab@redhat.com>
87332         * elf/rtld.c (dl_main): Also relocate in dependency order when
87333         doing symbol dependency testing.
87335 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
87337         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87338         Always define `refsym'.
87340 2011-09-13  Andreas Schwab  <schwab@redhat.com>
87342         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
87343         (__FD_ELT): Renamed from __FDELT.
87344         * misc/bits/select2.h (__FD_ELT): Likewise.
87345         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
87346         __FD_MASK instead of __FDELT, __FDMASK.
87347         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
87348         Likewise.
87349         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
87350         Likewise.
87352         * elf/Makefile (gen-ldd): Fix pattern.
87354         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
87355         (init_tls): Likewise.
87357 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
87359         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
87361 2011-09-12  Andreas Schwab  <schwab@redhat.com>
87363         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
87364         `struct cmsghdr *' instead of `void *'.
87365         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
87366         Likewise.
87368 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
87370         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
87371         if non-absolute.
87372         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
87373         ldd_rewrite_script.
87375 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
87377         * configure.in: Remove --with-tls option.
87378         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
87379         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
87380         out in case it is missing.
87381         * sysdeps/ia64/elf/configure.in: Likewise.
87382         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
87383         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
87384         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
87385         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
87386         * sysdeps/sh/elf/configure.in: Likewise.
87387         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
87388         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87389         * sysdeps/x86_64/elf/configure.in: Likewise.
87390         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
87391         * sysdeps/mach/hurd/tls.h: Likewise.
87393         [BZ #13067]
87394         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
87396         [BZ #13090]
87397         * configure.in: Fix use of AC_INIT.
87399         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
87401 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
87403         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
87404         __set_errno.
87405         * malloc/hooks.c: Likewise.
87407         [BZ #11929]
87408         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
87409         variables statically.
87410         (narenas): Initialize.
87411         (list_lock): Initialize.
87412         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
87413         initializtion of main_arena and list_lock.  Small cleanups.
87414         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
87415         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
87416         Add initializers to main_arena and mp_.
87417         (malloc_state): Remove pagesize member.  Change all users to use
87418         GLRO(dl_pagesize).
87420         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
87421         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
87422         is always initialized.
87424         * malloc/malloc.c: Removed unused configurations and dead code.
87425         * malloc/arena.c: Likewise.
87426         * malloc/hooks.c: Likewise.
87427         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
87429         * include/tls.h: Removed.  USE___THREAD must always be defined.
87430         * bits/libc-tsd.h: Don't handle !USE___THREAD.
87431         * elf/dl-libc.c: Likewise.
87432         * elf/dl-tsd.c: Likewise.
87433         * include/errno.h: Likewise.
87434         * include/netdb.h: Likewise.
87435         * include/resolv.h: Likewise.
87436         * inet/herrno-loc.c: Likewise.
87437         * inet/herrno.c: Likewise.
87438         * malloc/arena.c: Likewise.
87439         * malloc/hooks.c: Likewise.
87440         * malloc/malloc.c: Likewise.
87441         * resolv/res-state.c: Likewise.
87442         * resolv/res_libc.c: Likewise.
87443         * sysdeps/i386/dl-machine.h: Likewise.
87444         * sysdeps/ia64/dl-machine.h: Likewise.
87445         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
87446         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
87447         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
87448         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
87449         * sysdeps/sh/dl-machine.h: Likewise.
87450         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87451         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87452         * sysdeps/unix/i386/sysdep.S: Likewise.
87453         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
87454         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
87455         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
87456         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
87457         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
87458         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
87459         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
87460         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87461         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87462         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
87463         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87464         * sysdeps/x86_64/dl-machine.h: Likewise.
87465         * tls.make.c: Likewise.
87467         * configure.in: Remove --with-__thread option.  Make tests for
87468         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
87469         tls_model attribute fail if no support is available.  Remove
87470         USE_IN_LIBIO.
87471         * Makeconfig: Adjust for dropped configure option.  All features are
87472         now mandatory.
87473         * Makerules: Likewise.
87474         * Versions.def: Likewise.
87475         * argp/argp-fmtstream.c: Likewise.
87476         * argp/argp-fmtstream.h: Likewise.
87477         * argp/argp-help.c: Likewise.
87478         * assert/assert.c: Likewise.
87479         * config.h.in: Likewise.
87480         * config.make.in: Likewise.
87481         * configure: Likewise.
87482         * configure.in: Likewise.
87483         * csu/Versions: Likewise.
87484         * csu/init.c: Likewise.
87485         * elf/tst-audit2.c: Likewise.
87486         * elf/tst-tls10.c: Likewise.
87487         * elf/tst-tls10.h: Likewise.
87488         * elf/tst-tls11.c: Likewise.
87489         * elf/tst-tls12.c: Likewise.
87490         * elf/tst-tls14.c: Likewise.
87491         * elf/tst-tlsmod11.c: Likewise.
87492         * elf/tst-tlsmod12.c: Likewise.
87493         * elf/tst-tlsmod13.c: Likewise.
87494         * elf/tst-tlsmod13a.c: Likewise.
87495         * elf/tst-tlsmod14a.c: Likewise.
87496         * elf/tst-tlsmod15b.c: Likewise.
87497         * elf/tst-tlsmod16a.c: Likewise.
87498         * elf/tst-tlsmod16b.c: Likewise.
87499         * elf/tst-tlsmod7.c: Likewise.
87500         * elf/tst-tlsmod8.c: Likewise.
87501         * elf/tst-tlsmod9.c: Likewise.
87502         * gmon/gmon.c: Likewise.
87503         * grp/fgetgrent_r.c: Likewise.
87504         * grp/putgrent.c: Likewise.
87505         * hurd/fopenport.c: Likewise.
87506         * include/libc-symbols.h: Likewise.
87507         * include/tls.h: Likewise.
87508         * intl/gettextP.h: Likewise.
87509         * intl/loadinfo.h: Likewise.
87510         * locale/global-locale.c: Likewise.
87511         * locale/localeinfo.h: Likewise.
87512         * mach/devstream.c: Likewise.
87513         * malloc/arena.c: Likewise.
87514         * malloc/set-freeres.c: Likewise.
87515         * misc/err.c: Likewise.
87516         * misc/getttyent.c: Likewise.
87517         * misc/mntent_r.c: Likewise.
87518         * posix/getopt.c: Likewise.
87519         * posix/wordexp.c: Likewise.
87520         * pwd/fgetpwent_r.c: Likewise.
87521         * resolv/Versions: Likewise.
87522         * resolv/res_hconf.c: Likewise.
87523         * shadow/fgetspent_r.c: Likewise.
87524         * shadow/putspent.c: Likewise.
87525         * stdio-common/printf_fphex.c: Likewise.
87526         * stdio-common/tmpfile.c: Likewise.
87527         * stdlib/abort.c: Likewise.
87528         * stdlib/fmtmsg.c: Likewise.
87529         * sunrpc/auth_unix.c: Likewise.
87530         * sunrpc/clnt_perr.c: Likewise.
87531         * sunrpc/clnt_tcp.c: Likewise.
87532         * sunrpc/clnt_udp.c: Likewise.
87533         * sunrpc/clnt_unix.c: Likewise.
87534         * sunrpc/openchild.c: Likewise.
87535         * sunrpc/svc_simple.c: Likewise.
87536         * sunrpc/svc_tcp.c: Likewise.
87537         * sunrpc/svc_udp.c: Likewise.
87538         * sunrpc/svc_unix.c: Likewise.
87539         * sunrpc/xdr.c: Likewise.
87540         * sunrpc/xdr_array.c: Likewise.
87541         * sunrpc/xdr_rec.c: Likewise.
87542         * sunrpc/xdr_ref.c: Likewise.
87543         * sunrpc/xdr_stdio.c: Likewise.
87545 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87547         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87549 2011-07-03  Andreas Jaeger  <aj@suse.de>
87551         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
87552         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
87553         regenerate with gen-libm-tests.pl.
87555 2010-05-12  Petr Baudis  <pasky@suse.cz>
87557         [BZ #11589]
87558         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
87559         around j0() zero points by switching to j1().
87560         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87561         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87562         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87563         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87565 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87567         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
87568         instead of 0.
87569         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
87570         instead of 0.
87571         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87572         Patch in part by Pavel Roskin <proski@gnu.org>.
87574         [BZ #13138]
87575         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
87576         realloc.
87577         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
87578         Free memory block if necessary.
87580         [BZ #12847]
87581         * libio/genops.c (INTDEF): For string streams the _lock pointer can
87582         be NULL.  Don't lock in this case.
87584 2011-09-09  Roland McGrath  <roland@hack.frob.com>
87586         * elf/elf.h (ELFOSABI_GNU): New macro.
87587         (ELFOSABI_LINUX): Define to that.
87589 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
87591         * string/strncat.c (strncat): Undef the symbol in case it has been
87592         defined in bits/string.h.
87594 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87596         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
87598         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
87599         link map.
87601 2011-08-17  Andreas Jaeger  <aj@suse.de>
87603         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
87605 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
87606             Ian Lance Taylor  <iant@google.com>
87608         * math/libm-test.inc (lround_test): New testcase.
87609         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
87611 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
87613         * Makefile: Remove support for automatic cvs check-ins.
87614         * Makerules: Likewise.
87615         * config.make.in: Likewise.
87616         * configure.in: Likewise.
87617         * intl/Makefile: Likewise.
87618         * locale/Makefile: Likewise.
87619         * po/Makefile: Likewise.
87620         * posix/Makefile: Likewise.
87621         * sysdeps/gnu/Makefile: Likewise.
87622         * sysdeps/mach/hurd/Makefile: Likewise.
87623         * sysdeps/sparc/sparc32/Makefile: Likewise.
87625         [BZ #13118]
87626         * posix/Makefile (bug-regex32-ENV): Define.
87627         Patch by John Stanley <jpsinthemix@verizon.net>.
87629         * misc/Makefile (headers): Add bits/select2.h.
87630         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
87631         * misc/bits/select2.h: New file.
87632         * include/bits/select2.h: New file.
87633         * debug/Makefile (routines): Add fdelt_chk.
87634         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
87635         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
87636         FD_ISSET.
87637         * debug/fdelt_chk.c: New file.
87639         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
87640         * wcsmbs/test-wmemcmp.c: Likewise.
87641         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
87642         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
87644 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87646         * string/Makefile (strop-tests): Add memcmp.
87647         * string/test-wmemcmp.c: New file.
87648         * string/test-memcmp.c: Add wmemcmp support.
87650 2011-09-08  Roland McGrath  <roland@hack.frob.com>
87652         [BZ #13153]
87653         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
87654         2011-07-19 change.
87656         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
87657         garbage value in a __mach_port_mod_refs call in the cases of the
87658         task-self and thread-self ports.
87660 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87662         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
87664 2011-09-08  Andreas Schwab  <schwab@redhat.com>
87666         * elf/dl-load.c (lose): Check for non-null L.
87668 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
87670         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
87672         * elf/dl-libc.c (dlerror_run): Pass back error code from
87673         dl_catch_error.
87675         [BZ #13123]
87676         * elf/dl-load.c (lose): Free l_origin if it is valid.
87678         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
87679         names.
87680         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
87681         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
87682         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
87683         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
87684         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
87685         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
87687 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87689         * sysdeps/powerpc/fpu/e_hypot.c: New file.
87690         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
87691         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
87692         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
87693         * sysdeps/powerpc/fpu/k_cosf.c: New file.
87694         * sysdeps/powerpc/fpu/k_sinf.c: New file.
87695         * sysdeps/powerpc/fpu/s_cosf.c: New file.
87696         * sysdeps/powerpc/fpu/s_sinf.c: New file.
87697         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
87698         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
87700 2011-08-15  Alan Modra  <amodra@gmail.com>
87702         [BZ #13092]
87703         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
87704         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
87705         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
87706         ppc_mcount to static-only-routines.
87707         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
87708         __mcount_internal.
87709         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
87710         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
87712 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
87714         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
87715         for finite and infinity parameters.
87717 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
87719         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
87720         and add nop instructions for throughput optimization.
87721         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
87723 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
87725         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
87726         aligned copy for power7 with vector-scalar instructions.
87727         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
87729 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
87731         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
87732         AVX check.
87734 2011-09-07  Andreas Schwab  <schwab@redhat.com>
87736         [BZ #13144]
87737         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
87738         last change.
87740 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
87742         * sysdeps/unix/sysv/linux/x86_64/init-first.c
87743         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
87744         syscall wrapper around clock_gettime in __vdso_clock_gettime.
87745         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
87746         clock_gettime.
87748 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
87750         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
87751         Forgot to demangle the pointer.
87753         * sysdeps/i386/sysdep.h: Define atom_text_section.
87754         * sysdeps/x86_64/sysdep.h: Likewise.
87755         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
87756         section with atom_text_section.
87757         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
87758         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
87759         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
87760         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
87761         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
87763         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
87764         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
87765         already be defined.  Change to take two parameters and don't assign
87766         result to variable.  Adjust all users.
87767         Define INTERNAL_GETTIME if not already defined.
87768         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
87769         call.
87770         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
87771         HAVE_CLOCK_GETTIME_VSYSCALL.
87772         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
87774         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
87775         gettimeofday vsyscall, just use time.
87777 2011-09-06  Andreas Schwab  <schwab@redhat.com>
87779         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
87780         <errno.h>.
87782 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
87784         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
87785         syscall on x86-64.
87786         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
87787         syscall.
87788         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
87789         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
87790         syscall if possible.
87792 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
87794         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
87795         e_ident.  Don't pass to find_mapsXX.
87796         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
87798 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87801         strchr-sse2-no-bsf strrchr-sse2-no-bsf
87802         * sysdeps/x86_64/multiarch/strchr.S: Update.
87803         Check bit_slow_BSF bit.
87804         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
87805         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
87806         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
87808 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
87810         [BZ #13134]
87811         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
87812         before glibc 2.15.
87813         (tryshell): Define.
87814         (__spawni): Change last parameter to be flag.  Test
87815         SPAWN_XFLAGS_USE_PATH flag to use path or not.
87816         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
87817         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
87818         * posix/spawni.c: Likewise.
87819         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
87820         * posix/spawnp.c: Likewise.  Change normal version to use
87821         SPAWN_XFLAGS_USE_PATH.
87822         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
87823         SPAWN_XFLAGS_TRY_SHELL.
87825         [BZ #13150]
87826         * posix/glob.h: Remove gcc 1.x support.
87828         [BZ #13068]
87829         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
87831 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87833         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87834         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
87835         strrchr-sse2-bsf
87836         * sysdeps/i386/i686/multiarch/strchr.S: New file.
87837         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
87838         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
87839         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
87840         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
87841         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
87843 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87845         * sysdeps/x86_64/wcscmp.S: New file.
87847         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
87848         wcscmp-c wcscmp-sse2
87849         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
87850         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
87851         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
87852         * wcsmbs/wcscmp.c: Allow renaming.
87854 2011-09-05  David S. Miller  <davem@davemloft.net>
87856         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
87857         stack slot, rather than the struct return pointer slot.
87858         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
87859         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
87860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
87861         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
87863 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
87865         * po/ja.po: Update from translation team.
87867         [BZ #13144]
87868         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
87869         kernel in 64-bit binaries.
87871 2011-09-01  David S. Miller  <davem@davemloft.net>
87873         * elf/elf.h (HWCAP_SPARC_*): Move to..
87874         * sysdeps/sparc/sysdep.h: this new file and add new values.
87875         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
87876         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
87877         _DL_HWCAP_COUNT to 24.
87878         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
87879         entries.
87880         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
87881         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
87882         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
87883         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
87884         instead of magic constants.
87885         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
87887 2011-08-31  David S. Miller  <davem@davemloft.net>
87889         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
87890         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
87891         Reimplement to do errno handling inline.
87892         (SYSCALL_ERROR_HANDLER): New macro.
87893         (__SYSCALL_STRING): Do not do errno handling in asm.
87894         (__CLONE_SYSCALL_STRING): Delete.
87895         (__INTERNAL_SYSCALL_STRING): Delete.
87896         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
87897         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
87898         (PSEUDO): Reimplement to do errno handling inline.
87899         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
87900         (SYSCALL_ERROR_HANDLER): New macro.
87901         (__SYSCALL_STRING): Do not do errno handling in asm.
87902         (__CLONE_SYSCALL_STRING): Delete.
87903         (__INTERNAL_SYSCALL_STRING): Delete.
87904         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
87905         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
87906         i386.
87907         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
87908         (inline_syscall*): Add 'err' argument.
87909         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
87910         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
87911         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
87912         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
87914         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
87915         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
87917 2011-08-30  Andreas Schwab  <schwab@redhat.com>
87919         * elf/rtld.c (dl_main): Relocate objects in dependency order.
87921 2011-08-29  Jiri Olsa <jolsa@redhat.com>
87923         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
87924         directive.
87926 2011-08-24  David S. Miller  <davem@davemloft.net>
87928         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
87930 2011-08-24  Andreas Schwab  <schwab@redhat.com>
87932         * elf/Makefile: Add rules to build and run unload8 test.
87933         * elf/unload8.c: New file.
87934         * elf/unload8mod1.c: New file.
87935         * elf/unload8mod1x.c: New file.
87936         * elf/unload8mod2.c: New file.
87937         * elf/unload8mod3.c: New file.
87939         * elf/dl-close.c (_dl_close_worker): Reset private search list if
87940         it wasn't used.
87942 2011-08-23  David S. Miller  <davem@davemloft.net>
87944         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
87945         subtract stack bias.
87946         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
87947         %sp not %fp in calculations.
87948         (_JMPBUF_UNWINDS_ADJ): Likewise.
87950         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
87951         (aio_suspend): Call it to force an exception region around the
87952         AIO_MISC_WAIT() invocation.
87954 2011-08-23  Andreas Schwab  <schwab@redhat.com>
87956         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
87957         backslash.
87959 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
87961         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
87962         protection macro.
87963         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
87964         and <dl-machine.h>.
87965         (Elf64_FuncDesc): Remove.
87967 2011-08-22  David S. Miller  <davem@davemloft.net>
87969         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
87970         sigaltstack check, add missing cfi directives.
87971         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
87972         missing cfi directives, and sigaltstack handling.
87974 2011-08-16  Andreas Schwab  <schwab@redhat.com>
87976         [BZ #11724]
87977         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
87978         object is seen twice.
87979         * elf/dl-fini.c (_dl_sort_fini): Likewise.
87981         * elf/Makefile (distribute): Add tst-initorder2.c.
87982         (tests): Add tst-initorder2.
87983         (modules-names): Add tst-initorder2a tst-initorder2b
87984         tst-initorder2c tst-initorder2d.  Add rules to build them.
87985         ($(objpfx)tst-initorder2.out): New rule.
87986         * elf/tst-initorder2.c: New file.
87987         * elf/tst-initorder2.exp: New file.
87989 2011-08-22  Andreas Schwab  <schwab@redhat.com>
87991         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
87993         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
87994         dependencies back to end of function.
87996         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87997         $(elfobjdir)/ld.so.
87999 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
88001         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
88002         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
88003         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
88004         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
88005         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
88006         of __vdso_gettimeofday.
88007         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
88008         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
88009         attribute_hidden.
88010         (_libc_vdso_platform_setup): Remove initialization of
88011         __vdso_gettimeofday and __vdso_time.
88013 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
88015         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
88016         and fgetc_unlocked.
88017         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
88018         getc_unlocked.
88020         * elf/dl-open.c (add_to_global): Report additions to the global scope
88021         for LD_DEBUG=scopes.
88022         (dl_open_worker): Also print scope of newly loaded dependencies.
88023         (_dl_show_scope): Indicate if there is no scope.
88025         [BZ #13114]
88026         * stdio-common/Makefile (tests): Add bug24.
88027         * stdio-common/bug24.c: New file.
88029 2011-08-19  Andreas Jaeger  <aj@suse.de>
88031         [BZ #13114]
88032         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
88033         non-existant file when using close-on-exec mode.
88035 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
88037         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
88038         the very first instruction.
88040         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
88041         the CFI state in the end.
88042         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
88043         inclusion of dl-trampoline.h.
88044         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
88046 2011-08-19  Andreas Schwab  <schwab@redhat.com>
88048         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
88049         expectations for long double.
88051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
88052         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
88054 2011-08-14  David S. Miller  <davem@davemloft.net>
88056         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
88057         artificual limit depends upon the system page size.
88059 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
88061         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
88062         * resolv/Makefile: Define CFLAGS-libresolv.
88064 2011-08-17  Andreas Schwab  <schwab@redhat.com>
88066         * nss/makedb.c (compute_tables): Make variables used in nested
88067         function static.
88069 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
88071         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
88072         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
88073         if buffer was too small.
88075         * elf/pldd.c (main): Attach to all threads in the process.
88076         Rewrite /proc handling to use *at functions.
88078 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
88080         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
88081         specifies first scope to show.
88082         (dl_open_worker): Update callers.  Move printing scope of new
88083         object to before the relocation.
88084         * elf/rtld.c (dl_main): Update _dl_show_scope call.
88085         * sysdeps/generic/ldsodefs.h: Update declaration.
88087         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
88088         string for the scope number.
88090 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
88092         * nscd/servicescache.c (cache_addserv): Make sure written is always
88093         initialized.
88095 2011-08-14  Roland McGrath  <roland@hack.frob.com>
88097         * sysdeps/i386/i486/bits/atomic.h
88098         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
88099         statement expression, so as to suppress "set but not used" warning.
88100         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
88102         * string/strncat.c (STRNCAT): Use prototype definition.
88104         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
88105         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
88106         -Iprograms here.
88107         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
88108         (localedef-modules): Add localedef.
88109         (locale-modules): Add locale.
88111         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
88112         * elf/rtld.c (dl_main): Invert order of assignment in last change,
88113         to avoid a warning.
88115 2011-08-14  David S. Miller  <davem@davemloft.net>
88117         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
88118         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
88120 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
88122         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
88123         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
88124         * elf/rtld.c (dl_main): Set l_name of vDSO.
88125         Call _dl_show_scope when DL_DEBUG_SCOPES.
88126         (process_dl_debug): Recognize scopes flag and also set it for all.
88127         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
88128         Declare _dl_show_scope.
88130         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
88131         (do_dlopen): Pass caller_dlopen to dl_open.
88132         (__libc_dlopen_mode): Initialize caller_dlopen.
88134         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
88135         of libc.  Make tolower call locale-independent.  Optimize a bit by
88136         using isdigit instead of isalnum.
88137         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
88139 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
88141         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
88142         was a dependency or dynamically loaded.
88144 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
88146         * intl/l10nflist.c: Allow architecture-specific pop function.
88147         * sysdeps/x86_64/l10nflist.c: New file.
88149         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
88150         classification.
88152 2011-08-10  Andreas Schwab  <schwab@redhat.com>
88154         * include/dirent.h: Add libc_hidden_proto for scandirat and
88155         scandirat64.  Don't declare __scandirat64.
88156         * dirent/scandirat.c: Add libc_hidden_def.
88157         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
88158         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
88160 2011-08-10  David S. Miller  <davem@davemloft.net>
88162         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
88163         enum.
88164         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
88165         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
88166         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
88168 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
88170         * Versions.def [libc]: Add GLIBC_2.15.
88171         * dirent/Makefile (routines): Add scandirat and scandirat64.
88172         * dirent/Versions [libc]: Export scandirat and scandirat64 for
88173         GLIBC_2.15.
88174         * dirent/dirent.h: Declare scandirat and scandirat64.
88175         * dirent/scandirat.c: New file.
88176         * dirent/scandirat64.c: New file.
88177         * sysdeps/wordsize-64/scandirat.c: New file.
88178         * sysdeps/wordsize-64/scandirat64.c: New file.
88179         * dirent/opendir.c: Define opendirat.
88180         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
88181         using scandirat.
88182         * dirent/scandir64.c: Adjust for scandir.c change.
88183         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
88184         __scandirat64, and __scandir_cancel_handler.
88185         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
88186         additional parameter and use openat instead of open (outside of ld.so).
88187         Add new __opendir as wrapper around __opendirat.
88188         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
88189         here without requiring old scandirat implementation.
88191 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
88193         * dirent/scandir.c (cancel_handler): Renamed to
88194         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
88195         defined.  Adjust users.
88196         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
88197         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
88199 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
88201         * string/test-string.h (IMPL): Use __STRING to expand name and then
88202         stringify it.
88204         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
88205         of cleanups.
88207 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88209         * string/Makefile: Update.
88210         (strop-tests): Append strncat.
88211         * string/test-wcscmp.c: New file.
88212         New comprehensive test for wcscmp.
88213         * string/test-strcmp.c: Update.
88214         (WIDE): New define.
88216 2011-07-22  Andreas Schwab  <schwab@redhat.com>
88218         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
88219         line.
88221 2011-07-26  Andreas Schwab  <schwab@redhat.com>
88223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88224         encoding to ACE if AI_IDN.
88226 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
88228         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
88229         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
88231 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88233         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
88234         Fix overflow bug in strncat.
88235         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
88237         * string/test-strncat.c: Update.
88238         Add new tests for checking overflow bugs.
88240 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88242         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88243         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
88244         * sysdeps/i386/i686/multiarch/strcat.S: New file.
88245         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
88246         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
88247         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
88248         * sysdeps/i386/i686/multiarch/strncat.S: New file.
88249         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
88250         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
88252         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
88253         (USE_AS_STRCAT): Define.
88254         Add strcat and strncat support.
88255         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88257 2011-07-25  Andreas Schwab  <schwab@redhat.com>
88259         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
88260         __n bigger than INT_MAX+1.
88261         (__strncmp_g): Likewise.
88263 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
88265         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
88266         * libio/stido.h: Likewise.
88268         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
88269         (AF_NFC): Define.
88270         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
88271         (AF_NFC): Define.
88273         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
88274         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
88275         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
88276         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
88277         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
88279         [BZ #13021]
88280         * scripts/test-installation.pl: Don't expect libnss_test1 to be
88281         installed.
88283         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
88284         typo.
88285         (_dl_x86_64_save_sse): Likewise.
88287 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
88289         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
88290         OSXSAVE.
88291         (_dl_x86_64_save_sse): Likewise.
88293         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
88295         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
88297 2011-07-21  Andreas Schwab  <schwab@redhat.com>
88299         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
88300         change.
88301         (_dl_x86_64_save_sse): Use correct AVX check.
88303 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88305         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
88306         bug in strncpy/strncat.
88307         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
88309 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
88311         * string/tester.c (test_strcat): Add tests for different alignments
88312         of source and destination.
88313         (test_strncat): Likewise.
88315 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
88317         [BZ #12852]
88318         * posix/glob.c (glob): Check passed in values before using them in
88319         expressions to avoid some overflows.
88320         (glob_in_dir): Likewise.
88322         [BZ #13007]
88323         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
88324         check for AVX enablement so that we don't crash with old kernels and
88325         new hardware.
88326         * elf/tst-audit4.c: Add same checks here.
88327         * elf/tst-audit6.c: Likewise.
88329         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
88331 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
88333         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
88335 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
88337         * po/cs.po: Update from translation team.
88338         * po/bg.po: Likewise.
88340 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
88342         * misc/sys/cdefs.h: Add support for const attribute.
88343         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
88344         to gnu_dev_{major,minor,makedev} functions.
88346 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
88348         * intl/dcigettext.c (get_output_charset): Add missing bracket.
88350 2011-07-20  Andreas Schwab  <schwab@redhat.com>
88352         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
88353         strlen results.
88355 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88357         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
88358         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
88359         register in order to avoid conflicts with the soft frame pointer
88360         being held in r11 when necessary.
88361         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
88362         (INTERNAL_VSYSCALL_NCS): Likewise.
88364 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
88366         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
88367         * elf/dl-fini.c (_dl_fini): Adjust caller.
88368         * elf/dl-close.c (_dl_close_worker): Likewise.
88369         * sysdeps/generic/ldsodefs.h: Adjust declaration.
88371 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
88373         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
88374         "aux_cache->nlibs < 0".
88376         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
88377         in the reload-count case.
88379 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88381         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88382         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
88383         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
88384         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
88385         * sysdeps/x86_64/multiarch/strcat.S: New file.
88386         * sysdeps/x86_64/multiarch/strncat.S: New file.
88387         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
88388         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
88389         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
88390         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
88391         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
88392         (USE_AS_STRCAT): Define.
88393         Add strcat and strncat support.
88394         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88395         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
88396         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
88397         * string/strncat.c: Update.
88398         (USE_AS_STRNCAT): Define.
88399         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88400         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
88401         and i7.
88402         * sysdeps/x86_64/multiarch/init-arch.h
88403         (bit_Prefer_PMINUB_for_stringop): New.
88404         (index_Prefer_PMINUB_for_stringop): Likewise.
88405         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
88406         bit_Prefer_PMINUB_for_stringop.
88408 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
88410         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
88411         buffer64.
88412         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
88413         of casting of buffer.
88414         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
88415         buffer32 and buffer64.
88416         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
88417         writes instead of casting of buffer.
88418         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
88419         buffer32.
88420         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
88421         casting of buffer.
88423 2011-07-19  Andreas Schwab  <schwab@redhat.com>
88425         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
88427 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
88429         * nscd/nscd.c (termination_handler): Don't do anything for a database
88430         if it has not yet been initialized.
88432 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
88434         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
88436 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
88438         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
88440 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
88442         * po/nl.po: Update from translation team.
88443         * po/sv.po: Likewise.
88445 2011-07-16  Roland McGrath  <roland@hack.frob.com>
88447         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
88448         now disallowed by GCC.
88450         * configure.in (use-default-link): Default to yes if a test -shared
88451         link meets our qualifications.
88452         * configure: Regenerated.
88454         * config.make.in (output-format): New variable.
88455         * configure.in: Check for ld --print-output-format support.
88456         * configure: Regenerated.
88457         * Makerules ($(common-objpfx)format.lds)
88458         [$(output-format) != unknown]: Just use $(output-format),
88459         instead of the linker-script munging.
88461 2011-07-14  Roland McGrath  <roland@hack.frob.com>
88463         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
88464         of $(common-objpfx)shlib.lds.
88465         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
88467         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
88468         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
88470         * configure.in (-z relro check): Adjust test code to add a large
88471         writable data section after it.
88472         * configure: Regenerated.
88474 2011-07-11  Roland McGrath  <roland@hack.frob.com>
88476         * configure.in (-z relro check): Fix test code to make the variable
88477         truly const.
88478         * configure: Regenerated.
88480 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
88482         * nscd/nscd.h (struct traced_file): Define.
88483         (struct database_dyn): Remove inotify_descr, reset_res, and filename
88484         elements.  Add traced_files.
88485         (inotify_fd): Declare.
88486         (register_traced_file): Declare.
88487         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
88488         (inotify_fd): Export.
88489         (resolv_conf_descr): Remove.
88490         (nscd_init): Move inotify descriptor creation to main.
88491         Don't register files for notification here.
88492         (register_traced_file): New function.
88493         (invalidate_cache): Don't use reset_res to determine whether to call
88494         res_init, go through the list of registered files.
88495         (main_loop_poll): The inotify descriptors are now stored in the
88496         structures for the traced files.
88497         (main_loop_epoll): Likewise.
88498         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
88499         to __nss_disable_nscd.
88500         * nscd/cache.c (prune_cache): There is no single inotify descriptor
88501         for a database anymore.  Check the records for all the registered
88502         files instead.
88503         * nss/Makefile (libnss_files-routines): Add files-init.
88504         (libnss_db-routines): Add db-init.
88505         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
88506         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
88507         * nss/nss_db/db-init.c: New file.
88508         * nss/nss_files/files-init.c: New file.
88509         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
88510         __nss_lookup_function.
88511         (__nss_lookup_function): Call nss_load_library.
88512         (nss_load_all_libraries): New function.
88513         (__nss_disable_nscd): Take parameter with callback function for files
88514         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
88515         used for the cached services.
88516         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
88517         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
88518         options for features to all the files in nscd.
88520         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
88522 2011-07-10  Roland McGrath  <roland@hack.frob.com>
88524         * csu/elf-init.c (__libc_csu_init): Comment typo.
88526 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
88528         * po/pl.po: Update from translation team.
88529         * po/ja.po: Likewise.
88530         * po/ru.po: Likewise.
88531         * po/ko.po: Likewise.
88532         * po/fr.po: Likewise.
88534 2011-07-09  Roland McGrath  <roland@hack.frob.com>
88536         * configure.in (.ctors/.dtors header and trailer check):
88537         Use an empirical test on a built program.
88538         * configure: Regenerated.
88540         * configure.in (-z relro check): Use an empirical test on a built DSO.
88541         Detect, but do not require, on ia64.
88542         * configure: Regenerated.
88544         * configure.in (READELF): Find it with AC_CHECK_TOOL.
88545         Update tests that use readelf to use $READELF instead.
88546         * configure: Regenerated.
88548 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
88550         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
88551         if the result is not used.
88553 2011-07-05  Andreas Jaeger  <aj@suse.de>
88555         [BZ #9696]
88556         * stdlib/tst-strtod.c: Add testcase.
88558 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
88560         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
88561         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
88562         The latter has a higher limit.  Take additional parameter to pass to
88563         the new function.
88564         (__pathconf): Pass file to __statfs_link_max.
88565         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
88566         __statfs_link_max.
88567         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
88568         __statfs_link_max.
88570         [BZ #12868]
88571         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
88572         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88573         Handle Lustre.
88574         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
88575         (__statfs_filesize_max): Likewise.
88576         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
88578 2011-07-05  Andreas Jaeger  <aj@suse.de>
88580         * resolv/res_comp.c (dn_skipname): Remove unused variable.
88582 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
88584         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
88585         `status' variable.
88586         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
88587         Likewise.
88589 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
88591         * Makefile (strop-tests): Add strncat.
88592         * string/test-strncat.c: New file.
88594 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
88596         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
88598 2011-06-21  Andreas Jaeger  <aj@suse.de>
88600         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
88601         Copy rule from iconvdata/Makefile.
88603 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
88605         [BZ #12922]
88606         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
88607         but no long options are defined, just return 'W'.
88609 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
88611         [BZ #9696]
88612         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
88614 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
88616         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
88617         netgroups to read.
88618         (innetgr): Likewise.
88620 2011-07-05  Roland McGrath  <roland@hack.frob.com>
88622         * config.make.in (install_root): Default to $(DESTDIR).
88624 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
88626         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
88628 2011-07-02  Roland McGrath  <roland@hack.frob.com>
88630         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
88632         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
88633         containing directory rather than embedding absolute directory names.
88635         * scripts/check-local-headers.sh: Rewritten using awk.
88636         Match by word, not by line.  Print error messages for matches.
88637         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
88639         * Makerules [shlib-lds-flags empty]:
88640         ($(common-objpfx)libc_pic.opts): New target.
88641         ($(common-objpfx)libc_pic.os.clean): New target.
88642         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
88644         * config.make.in (OBJCOPY): New variable.
88645         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
88646         * configure: Regenerated.
88648         * config.make.in (use-default-link): New variable.
88649         * configure.in (use_default_link): Grok --with-default-link to set it.
88650         * configure: Regenerated.
88651         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
88652         (shlib-lds, shlib-lds-flags): Define to empty.
88654         * Makerules (shlib-lds): New variable.
88655         (shlib-lds-flags): New variable.
88656         (build-shlib, build-moduile, build-module-asneeded): Use it.
88657         ($(common-objpfx)libc.so): Use $(shlib-lds).
88658         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
88659         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
88661         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
88662         DT_FLAGS/DT_FLAGS_1 with zero flags.
88664         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
88665         linker script munging.
88667 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
88669         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
88670         as 128-bit value.
88671         * crypt/sha512.c (sha512_process_block): Perform total addition using
88672         128-bit if possible.
88673         (__sha512_finish_ctx): Likewise.
88674         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
88675         as 64-bit value.
88676         * crypt/sha256.c (SWAP64): Define.
88677         (sha256_process_block): Perform total addition using 64-bit if
88678         possible.
88679         (__sha256_finish_ctx): Likewise.
88681 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
88683         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
88684         * nscd/initgrcache.c (addinitgroupsX): Likewise.
88685         * nscd/hstcache.c (cache_addhst): Likewise.
88686         * nscd/grpcache.c (cache_addgr): Likewise.
88687         * nscd/aicache.c (addhstaiX): Likewise.
88688         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
88690 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
88692         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
88693         * nscd/initgrcache.c (addinitgroupsX): Likewise.
88694         * nscd/hstcache.c (cache_addhst): Likewise.
88695         * nscd/grpcache.c (cache_addgr): Likewise.
88696         * nscd/aicache.c (addhstaiX): Likewise.
88698 2011-07-01  Andreas Schwab  <schwab@redhat.com>
88700         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
88701         domain only when needed.
88703 2011-06-30  Andreas Schwab  <schwab@redhat.com>
88705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
88706         is always restored.
88708 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
88710         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
88711         are re-adding the entry.
88712         * nscd/servicescache.c (cache_addserv): Likewise.
88714 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
88716         * sysdeps/generic/dl-irel.h: fix protection against multiple
88717         inclusions.
88718         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
88720 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
88722         [BZ #12935]
88723         * malloc/memusage.sh: Fix quoting in message.
88724         * debug/xtrace.sh: Likewise.
88726         * configure.in: Remove support for --experimental-malloc option, make
88727         it the default.
88728         * config.make.in: Likewise.
88729         * malloc/Makefile: Likewise.
88731 2011-06-27  Andreas Schwab  <schwab@redhat.com>
88733         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
88734         two-byte characters.
88736 2011-06-27  Roland McGrath  <roland@hack.frob.com>
88738         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
88739         AC_CACHE_CHECK invocation.
88740         * configure: Regenerated.
88742         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
88744 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
88746         [BZ #12350]
88747         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
88748         bit from old_res_options.
88750         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
88752         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
88753         value type for setfct.
88755 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
88757         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
88758         __gettimeofday instead of gettimeofday.
88760 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
88762         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
88764 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
88766         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
88768         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
88769         info.
88771 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
88773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88774         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
88775         strcpy-sse2-unaligned strncpy-sse2-unaligned
88776         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
88777         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
88778         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
88779         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
88780         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
88781         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
88782         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
88783         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
88784         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
88785         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
88786         (STRCPY): Support SSE2 and SSSE3 versions.
88788 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
88790         [BZ #12874]
88791         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
88792         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
88793         kernels which artificially limit size of requests.
88795 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
88797         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88798         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
88799         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
88800         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
88801         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
88802         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
88803         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
88804         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
88805         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
88806         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
88807         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
88808         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
88809         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
88810         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
88811         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
88812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88813         Enable unaligned load optimization for Intel Core i3, i5 and i7
88814         processors.
88815         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
88816         Define.
88817         (index_Fast_Unaligned_Load): Define.
88818         (HAS_FAST_UNALIGNED_LOAD): Define.
88820 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
88822         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
88824 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
88826         [BZ #12907]
88827         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
88828         until it is clear that the information is realy needed.
88829         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
88831 2011-06-22  Andreas Schwab  <schwab@redhat.com>
88833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
88835 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
88837         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
88838         /sys/devices/system/cpu/online if it is usable.
88840         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
88841         reading the information from the /proc filesystem to once a second.
88843 2011-06-21  Andreas Jaeger  <aj@suse.de>
88845         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
88846         NULL after inclusion of kernel headers.
88848 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
88850         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
88851         calls to internal_setent.
88853         [BZ #12885]
88854         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
88855         addresses using gethostbyname4_r ignore IPv4 addresses.
88857         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
88858         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
88860         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
88862 2011-06-20  David S. Miller  <davem@davemloft.net>
88864         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
88865         inclusions.
88866         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
88868         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
88869         (elf_irel): Use it.
88870         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
88871         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
88872         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
88873         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
88874         * sysdeps/x86_64/dl-irel.h: Likewise.
88876         * elf/dl-runtime.c: Use elf_ifunc_invoke.
88877         * elf/dl-sym.c: Likewise.
88879 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
88881         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
88882         need to dereference resplen2.
88884 2011-06-14  Andreas Schwab  <schwab@redhat.com>
88886         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
88888 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
88890         * Makeconfig: Define vardbdir and inst_vardbdir.
88891         * nss/Makefile: Add rules to install db-Makefile.
88893         * nss/nss_db/db-XXX.c: Cleanup.
88895         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
88896         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
88897         GLIBC_PRIVATE.
88898         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
88899         * nss/makedb.c: Implement -g option to specify that value strings
88900         are generated and should not be added to table iterated over for
88901         get*ent calls.
88902         * nss/nss_db/db-initgroups.c: New file.
88904         * nss/getent.c: Add support for initgroups lookups through getgrouplist
88905         interface.
88907         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
88908         (internal_getgrouplist): Adjust to name change.
88909         Update use_initgroups_entry if this is not the first call.
88910         * nss/databases.def: Add initgroups entry.
88912         * nss/makedb.c (compute_tables): Check result of multiple hash table
88913         sizes to minimize maximum chain length.
88915 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
88917         * Versions.def: Add entry for libnss_db.
88918         * shlib-versions: Likewise.
88919         * nss/Makefile: Add rules to build libnss_db.
88920         * nss/Versions: Add libnss_db information.  Organize libnss_files
88921         entries better.
88922         * nss/db-Makefile: Add gshadow support.  Change rules for the new
88923         makedb progra.  Some minor improvements to generate smaller files.
88924         * nss/nss_db/nss_db.h: Move NSS database header data structures to
88925         here from...
88926         * nss/makedb.c: ...here.
88927         Improve database format to be smaller and require less memory at
88928         runtime.
88929         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
88930         db anymore.
88931         * nss/nss_db/db-netgrp.c: Likewise.
88932         * nss/nss_db/db-open.c: Likewise.
88933         * nss/nss_files/flies-XXX.x: Adjust comments.
88934         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
88935         * nss/nss_files/files-grp.c: Likewise.
88936         * nss/nss_files/files-hosts.c: Likewise.
88937         * nss/nss_files/files-network.c: Likewise.
88938         * nss/nss_files/files-proto.c: Likewise.
88939         * nss/nss_files/files-pwd.c: Likewise.
88940         * nss/nss_files/files-rpc.c: Likewise.
88941         * nss/nss_files/files-service.c: Likewise.
88942         * nss/nss_files/files-sgrp.c: Likewise.
88943         * nss/nss_files/files-spwd.c: Likewise.
88944         * nss/nss_db/db-alias.c: Removed.
88945         * nss/nss_db/dummy-db.h: Removed.
88947 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
88949         * nss/makedb.c: Rewritten to not use database library.
88950         * nss/Makefile: Update to build new makedb program.
88952 2011-06-14  Andreas Jaeger  <aj@suse.de>
88954         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
88955         memset declaration.
88957 2011-06-10  Andreas Schwab  <schwab@redhat.com>
88959         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
88960         tmpbuf.
88962 2011-06-10  Roland McGrath  <roland@hack.frob.com>
88964         * Makerules (shlib.lds): Fail if the linker script comes out empty.
88965         * elf/Makefile ($(objpfx)ld.so): Likewise.
88967         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
88968         Don't list ld.so twice in dependencies.
88970         * posix/bug-regex31.c: Include <stdlib.h>.
88972         * nscd/hstcache.c (cache_addhst): Remove unused variable.
88974         * nis/nss_compat/compat-spwd.c
88975         (getspent_next_nss_netgr): Remove unused variable.
88976         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
88978         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
88979         nonmembers" output to use the right array.
88981         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
88983         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
88985         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
88986         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
88987         * catgets/gencat.c (read_input_file): Likewise.
88988         * locale/programs/locarchive.c (enlarge_archive): Likewise.
88990         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
88991         variable definition inside #if's controlling its use.
88993         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
88995         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
88997         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
88999         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
89000         unreachable code.
89002         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
89004         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
89005         * configure: Regenerated.
89007         * Makerules: Revert last change.
89008         * elf/Makefile: Likewise.
89010 2011-06-09  Roland McGrath  <roland@hack.frob.com>
89012         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
89013         * elf/Makefile ($(objpfx)librtld.os): Likewise.
89014         (reloc-link): Likewise.
89016 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
89018         * elf/Makefile: Add rules to build pldd.
89019         * elf/pldd.c: New file.
89020         * elf/pldd-xx.c: New file.
89022 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
89024         * version.h: Update for 2.15 development version.
89026 2011-06-07  David S. Miller  <davem@davemloft.net>
89028         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
89029         ifuncs.
89030         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
89031         elf_machine_lazy_rel): Likewise.
89032         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
89033         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
89034         elf_machine_lazy_rel): Likewise.
89035         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
89036         dl_hwcap via passed in argument.
89037         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
89038         Likewise.
89040 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89042         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
89044 2011-06-06  Roland McGrath  <roland@hack.frob.com>
89046         [BZ #12849]
89047         * manual/fdl-1.1.texi: New file, verbatim from:
89048         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
89049         * manual/lgpl-2.1.texi: New file, verbatim from:
89050         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
89051         * manual/Makefile (licenses): New variable, list those new file names.
89052         (texis): Use it.
89053         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
89055         * manual/fdl.texi: File removed.
89056         * manual/lesser.texi: File removed.
89057         * manual/libc.texinfo (Copying, Documentation License):
89058         Use new @include file names, put @appendix directive before @include.
89060 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
89062         [BZ #12841]
89063         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
89064         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
89065         (mq_open): Add __NTH.
89067 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
89069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89070         Assume Intel Core i3/i5/i7 processor if AVX is available.
89072 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
89074         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
89075         typo.
89077 2011-05-31  Andreas Schwab  <schwab@redhat.com>
89079         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
89080         memory.  Use alloca_account.  Fix memory leak when retrying.
89082 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
89084         * version.h (RELEASE): Bump for 2.14 release.
89085         * include/features.h (__GLIBC_MINOR__): Bump to 14.
89087         * config.make.in (RANLIB): Remove entry.
89089 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
89091         * po/Makefile (po-sed-cmd): Add ksh to extensions.
89092         (libc.pot): Work around missing support for .ksh extension in xgettext.
89094         [BZ #12684]
89095         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
89096         if both request failed.
89097         (send_dg): In case of server errors clear resplen or *resplen2.
89099         [BZ #12454]
89100         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
89101         when there are multiple maps.
89102         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
89103         (_dl_fini): Remove test here.
89105         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
89107 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
89109         [BZ #12350]
89110         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
89111         bit from old_res_options.
89112         (gaih_inet): Likewise.
89114         [BZ #11099]
89115         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
89116         as signed.
89118         * resolv/res_init.c (res_setoptions): Make the code more compact.
89120         [BZ #11558]
89121         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
89122         set RES_USEVC.
89124         [BZ #11634]
89125         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
89127         * malloc/malloc.h: Mark malloc hook variables as deprecated.
89129         [BZ #11781]
89130         * malloc/malloc.h: Declare malloc hook variables as volatile.
89132         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
89133         in last patch.
89135         [BZ #11799]
89136         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
89137         raise in the comment.
89138         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
89139         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
89140         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
89142 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
89144         [BZ #12811]
89145         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
89146         grow the buffers more if it already has to be sufficient.
89147         (build_wcs_upper_buffer): Likewise.
89148         * posix/regexec.c (check_matching): Likewise.
89149         (clean_state_log_if_needed): Likewise.
89150         (extend_buffers): Don't enlarge buffers beyond size of the input
89151         buffer.
89152         Patches mostly by Emil Wojak <emil@wojak.eu>.
89153         * posix/bug-regex32.c: New file.
89154         * posix/Makefile (tests): Add bug-regex32.
89156         * locale/findlocale.c (_nl_find_locale): Return right away if
89157         _nl_explode_name failed.
89158         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
89160         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
89162         * debug/xtrace.sh: Unify messages.
89163         * malloc/memusage.sh: Likewise.
89165         [BZ #12813]
89166         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
89167         time symbol from vDSO.  Substitute with vsyscall if not available.
89168         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
89169         __vdso_time.
89171         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
89172         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
89173         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
89174         Add sendmmsg and internal_sendmmsg.
89175         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
89176         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
89177         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
89179         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
89180         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
89181         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
89183 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
89185         [BZ #12813]
89186         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
89187         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
89188         available.
89189         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
89190         __vdso_getcpu.
89192         [BZ #12814]
89193         * iconvdata/Makefile (tests): Add bug-iconv9.
89194         * iconvdata/bug-iconv9.c: New file.
89196 2011-05-27  Andreas Schwab  <schwab@redhat.com>
89198         [BZ #12814]
89199         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
89201 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
89203         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
89204         (struct user_regs_struct): Change intcs field back to cs.
89206 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
89208         * po/ja.po: Update from translation team.
89210 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
89212         [BZ #12795]
89213         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
89214         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
89216 2011-05-20  Andreas Schwab  <schwab@redhat.com>
89218         * stdlib/longlong.h: Update from GCC.
89220 2011-05-23  Andreas Schwab  <schwab@redhat.com>
89222         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
89223         parameter name.
89224         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
89225         Add parameter name.
89226         (__sysconf): Pass it down.
89228 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
89230         [BZ #12671]
89231         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
89232         some situations.
89233         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
89234         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
89235         add in in __libc_use_alloca calls.  Adjust callers.
89236         (glob): Use malloc in some situations.
89238         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
89239         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
89240         pltexit.
89242 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
89244         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
89245         and CLOCK_BOOTTIME_ALARM.
89247         [BZ #12782]
89248         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
89249         is returned.
89251         * string/_strerror.c (__strerror_r): Print negative errors as signed
89252         numbers.
89254         [BZ #12777]
89255         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
89256         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
89257         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
89259         * configure.in: Fix typo in redirection and correct removal of test
89260         files in two cases.
89262         [BZ #12788]
89263         * locale/setlocale.c (new_composite_name): Fix test to check for
89264         identical name of all categories.
89266         [BZ #12792]
89267         * libio/filedoalloc.c (local_isatty): New function.
89268         (_IO_file_doallocate): Use local_isatty.
89269         * stdio-common/perror.c (perror): In case a new stream is used
89270         forward the stream error.
89271         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
89272         error flag.
89274 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
89276         [BZ #11884]
89277         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
89278         alloca.
89279         * include/alloca.h (extend_alloca_account): Define.
89281         [BZ #11857]
89282         * posix/regex.h: Fix comments with documentation of user-accessible
89283         fields after compilation and describe correct free'ing of pattern
89284         after re_compile_pattern.
89285         Patch by Reuben Thomas <rrt@sc3d.org>.
89287 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
89289         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
89290         and -mno-altivec to prevent the compiler from using Altivec and/or
89291         VSX instructions when the corresponding registers are not available.
89293 2011-05-19  Andreas Schwab  <schwab@redhat.com>
89295         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
89297 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
89299         * libio/freopen.c (freopen): Use __dup2, not dup2.
89300         * libio/freopen64.c (freopen64): Likewise.
89302 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
89304         [BZ #12775]
89305         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
89306         * math/Makefile (tests): Add test-powl.
89307         (CFLAGS-test-powl.c): Define.
89308         * math/test-powl.c: New file.
89310 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
89312         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
89314 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
89316         [BZ #11837]
89317         * iconvdata/gb18030.c: Update to GB18020-2005.
89319 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
89321         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
89322         RE_SYNTAX_POSIX_AWK): Update to match recent development.
89323         Patch by Aharon Robbins <arnold@skeeve.com>.
89325         [BZ #11892]
89326         * stdlib/putenv.c (putenv): Don't always create copy of the variable
89327         on the stack.
89329         [BZ #11895]
89330         * misc/pselect.c (__pselect): Handle timeout value errors hidden
89331         through underflows.
89333         [BZ #12766]
89334         * misc/error.c (error_at_line): Ensure file_name and old_file_name
89335         point to strings before performing equality test for error_one_per_line
89336         mode.
89338         [BZ #11697]
89339         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
89341         [BZ #11820]
89342         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
89343         (struct user_fpregs_struct): Avoid __uint*_t types.
89345         [BZ #6420]
89346         * malloc/mtrace.c (tr_where): Add additional parameter to point to
89347         symbol info.  Use it instead of calling _dl_addr locally.
89348         (lock_and_info): New function.
89349         (tr_freehook): Call lock_and_info and pass symbol info as additional
89350         parameter to tr_where.
89351         (tr_mallochook): Likewise.
89352         (tr_reallochook): Likewise.
89353         (tr_memalignhook): Likewise.
89355         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
89356         used and couldn't be at all thread-safe.
89358 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
89360         * libio/freopen.c (freopen): Don't close old file descriptor
89361         before the new one is opened.  Instead dup the new file descriptor
89362         to the old one after the new stream is created.
89363         * libio/freopen64.c (freopen64): Likewise.
89364         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
89365         * libio/fileops.c (_IO_new_file_close_it): Handle new
89366         _IO_FLAGS2_NOCLOSE flag.
89367         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
89368         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
89369         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
89370         _IO_FLAGS2_NOCLOSE flag.
89371         * include/unistd.h: Add hidden_proto for dup3.
89372         Define __have_dup3.
89373         * io/dup3.c: Define hidden symbol.
89374         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
89376         [BZ #7101]
89377         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
89378         when an incomplete long option is used.
89379         * posix/tst-getopt_long1.c: New file.
89380         * posix/Makefile (tests): Add tst-getopt_long1.
89382         [BZ #10138]
89383         * scripts/config.guess: Update from autoconf-2.68.
89384         * scripts/config.sub: Likewise.
89386         [BZ #10157]
89387         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
89388         tests into ...
89389         (has_cpuclock): ...this.  New function.
89390         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
89391         macro here based on has_cpuclock code.
89393         [BZ #10149]
89394         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
89395         First byte (not low byte) is now always NUL.
89396         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
89398         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
89399         Use non-cancelable interfaces.
89401         [BZ #9809]
89402         * locale/iso-639.def: Add entry for Sorani.
89404         [BZ #11901]
89405         * include/stdlib.h: Move include protection to the right place.
89406         Define abort_msg_s.  Declare __abort_msg with it.
89407         * stdlib/abort.c (__abort_msg): Adjust type.
89408         * assert/assert.c (__assert_fail_base): New function.  Majority
89409         of code from __assert_fail.  Allocate memory for __abort_msg with
89410         mmap.
89411         (__assert_fail): Now call __assert_fail_base.
89412         * assert/assert-perr.c: Remove bulk of implementation.  Use
89413         __assert_fail_base.
89414         * include/assert.hL Declare __assert_fail_base.
89415         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
89416         mmap.
89417         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
89419 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
89421         [BZ #11952]
89422         [BZ #12453]
89423         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
89424         until all modules are registered in the DTV.
89425         * elf/Makefile: Add rules to build and run tst-tls19.
89426         * elf/tst-tls19.c: New file.
89427         * elf/tst-tls19mod1.c: New file.
89428         * elf/tst-tls19mod2.c: New file.
89429         * elf/tst-tls19mod3.c: New file.
89430         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
89432         [BZ #12083]
89433         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
89434         correctly.
89436         [BZ #12601]
89437         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
89438         two-byte sequence errors.
89439         * iconvdata/Makefile (tests): Add bug-iconv8.
89440         * iconvdata/bug-iconv8.c: New file.
89442         [BZ #12626]
89443         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
89444         buf2 definition.
89446         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
89448         [BZ #12432]
89449         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
89450         (dummy_getcfa): New function.
89451         (init): Get _Unwind_GetCFA address, use dummy if not found.
89452         (backtrace_helper): In recursion check, also check whether CFA changes.
89453         (__backtrace): Completely initialize arg.
89455         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
89456         storing incomplete byte sequence in state object.  Avoid testing for
89457         guaranteed too small input if we know there is enough data available.
89459 2011-05-11  Andreas Schwab  <schwab@redhat.com>
89461         * Makeconfig (+link-pie): Indent.
89462         * Rules (binaries-pie): Define if $(have-fpie) and
89463         $(build-shared).
89464         (binaries-shared): Also filter out $(binaries-pie).
89465         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
89466         * nscd/Makefile (others-pie): Add nscd.
89467         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
89468         ($(objpfx)nscd): Remove command override.
89469         * login/Makefile (others-pie): Add pt_chown.
89470         ($(objpfx)pt_chown): Remove command override.
89471         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
89472         remove command overrides.
89474 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
89476         * libio/tst_putwc.c: Fix error messages.
89478         [BZ #12724]
89479         * libio/fileops.c (_IO_new_file_close_it): Always flush when
89480         currently writing and seek to current position when not.
89481         * libio/Makefile (tests): Add bug-fclose1.
89482         * libio/bug-fclose1.c: New file.
89484 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
89486         [BZ #12511]
89487         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
89488         don't set DF_1_NODELETE here.
89489         (do_lookup_x): When entering new entry test for copy relocation
89490         and if necessary set DF_1_NODELETE flag.
89491         * elf/tst-unique4.cc: New file.
89492         * elf/tst-unique4.h: New file.
89493         * elf/tst-unique4lib.cc: New file.
89494         * elf/Makefile: Add rules to build and run tst-unique4.
89495         Patch by Piotr Bury <pbury@goahead.com>.
89497 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
89499         [BZ #12052]
89500         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
89502         [BZ #12625]
89503         * misc/mntent_r.c (addmntent): Flush the stream after the output
89505         [BZ #12393]
89506         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
89507         (is_trusted_path_normalize): Skip initial colon.  Append slash
89508         to empty buffer.  Duplicate is_trusted_path code but allow
89509         constructed patch to be prefix.
89510         (is_dst): Allow $ORIGIN followed by /.
89511         (_dl_dst_substitute): Correct clearing of check_for_trusted.
89512         Correct testing of result of is_trusted_path_normalize
89513         (decompose_rpath): Fix warning.
89515 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
89517         [BZ #11257]
89518         * grp/initgroups.c (internal_getgrouplist): When we found the service
89519         list through the initgroups entry in nsswitch.conf do not always
89520         continue on a successful lookup.  Don't always use the
89521         __nss_group_database value if it is set.
89522         * nss/nsswitch.conf (initgroups): Change action for successful db
89523         lookup to continue for compatibility.
89525 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
89527         [BZ #11532]
89528         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
89529         and CP774 modules.
89530         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
89531         and CP774 modules.
89532         * iconvdata/tst-tables.sh: Likewise.
89533         * iconvdata/cp770.c: New file.
89534         * iconvdata/cp771.c: New file.
89535         * iconvdata/cp772.c: New file.
89536         * iconvdata/cp773.c: New file.
89537         * iconvdata/cp774.c: New file.
89538         * iconvdata/testdata/CP770: New file.
89539         * iconvdata/testdata/CP770..UTF8: New file.
89540         * iconvdata/testdata/CP771: New file.
89541         * iconvdata/testdata/CP771..UTF8: New file.
89542         * iconvdata/testdata/CP772: New file.
89543         * iconvdata/testdata/CP772..UTF8: New file.
89544         * iconvdata/testdata/CP773: New file.
89545         * iconvdata/testdata/CP773..UTF8: New file.
89546         * iconvdata/testdata/CP774: New file.
89547         * iconvdata/testdata/CP774..UTF8: New file.
89549         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
89550         END CHARMAP line.
89551         * iconvdata/gen-8bit-gap.sh: Likewise.
89552         * iconvdata/gen-8bit.sh: Likewise.
89554         * locale/iso-639.def: Add ary entry.
89556         [BZ #11258]
89557         * locale/C-translit.h.in: Add U20A1 transliteration.
89559         [BZ #12178]
89560         * locale/iso-639.def: Add wae entry.
89561         Patch by Kevin Bortis <bortis@translate-wae.ch>.
89563         [BZ #12545]
89564         * locale/programs/localedef.c (construct_output_path): Use ssize_t
89565         for n.
89567         [BZ #12711]
89568         * locale/C-translit.h.in: Add entry for U20B9.
89569         Patch by pravin.d.s@gmail.com.
89571 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
89573         [BZ #12713]
89574         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
89575         ENAMETOOLONG use generic getcwd.
89576         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
89577         in rtld.  Use *stat64.
89578         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
89579         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
89580         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
89581         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
89582         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
89583         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
89584         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
89585         __fstatat64 macros.
89586         * include/dirent.h: Add libc_hidden_proto for rewinddir.
89587         * dirent/rewinddir.c: Add libc_hidden_def.
89588         * sysdeps/mach/hurd/rewinddir.c: Likewise.
89589         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
89591         * include/dirent.h (__alloc_dir): Add flags parameter.
89592         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
89593         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
89594         __alloc_dir.
89595         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
89596         from fdopendir if O_CLOEXEC is already set.
89598 2011-03-15  Alan Modra  <amodra@gmail.com>
89600         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
89601         l_tls_firstbyte_offset non-zero.  Save padding offset in
89602         l_tls_firstbyte_offset for later use.
89603         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
89604         freeing static tls block.
89606 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
89608         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
89609         where #ifdef was intended.  The intent is to prevent ARG_MAX from
89610         being defined by the kernel headers.
89612 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
89614         [BZ #12734]
89615         * resolv/resolv.h: Define RES_NOTLDQUERY.
89616         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
89617         no-tld-query and set RES_NOTLDQUERY.
89618         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
89619         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
89620         modern BIND to search name as TLD unless forbidden.
89622 2011-05-07  Petr Baudis  <pasky@suse.cz>
89623             Ulrich Drepper  <drepper@gmail.com>
89625         [BZ #12393]
89626         * elf/dl-load.c (fillin_rpath): Move trusted path check...
89627         (is_trusted_path): ...to here.
89628         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
89629         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
89630         using is_trusted_path_normalize() in setuid scripts.
89632 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
89634         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
89635         __BEGIN/__END_DECLS.
89637 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
89639         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
89640         NSS_STATUS_NOTFOUND if no record was found.
89642 2011-05-05  Andreas Schwab  <schwab@redhat.com>
89644         * sunrpc/Makefile (headers): Add rpc/netdb.h.
89645         (headers-not-in-tirpc): Remove rpc/netdb.h
89646         * resolv/netdb.h: Revert last change.
89648 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
89650         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
89651         circular dependency between libgcc.a and libc.a.
89653 2011-05-05  Andreas Schwab  <schwab@redhat.com>
89655         * resolv/netdb.h: Don't include <rpc/netdb.h>.
89656         * nis/Makefile: Don't install rpcsvc/*.
89657         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
89658         instead of <rpc/types.h>.
89659         (MAXHOSTNAMELEN): Define.
89661 2011-05-03  Andreas Schwab  <schwab@redhat.com>
89663         * elf/ldconfig.c (add_dir): Don't crash on empty path.
89665 2011-04-28  Maciej Babinski  <mbabinski@google.com>
89667         [BZ #12714]
89668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
89669         gethostbyname4_r when IPv6 results are possible.
89671 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
89673         [BZ #12723]
89674         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
89675         _PC_PIPE_BUF handling.
89677 2011-04-30  Bruno Haible  <bruno@clisp.org>
89679         [BZ #12717]
89680         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
89681         * resolv/netdb.h (getnameinfo): Change type of flags parameter
89682         to 'int'.
89683         * inet/getnameinfo.c (getnameinfo): Likewise.
89685 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
89687         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
89688         to groups setting in database lookup.
89689         * nss/nsswitch.conf: Add initgroups entry.
89691 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
89693         [BZ #12685]
89694         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
89695         mode string.
89696         Patch by Eric Blake <eblake@redhat.com>.
89698 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
89700         * sunrpc/Makefile (need-export-routines): Add svc_run.
89701         (routines): Remove svc_run.
89702         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
89703         * sunrpc/clnt_perr.c (clnt_perrno): Export.
89704         * sunrpc/svc_run.c (svc_run): Likewise.
89705         * sunrpc/svc_udp.c (svcudp_create): Likewise.
89707 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
89709         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
89710         problem in reallocation in last patch.
89712 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
89714         * sunrpc/Makefile: Move inclusion of Rules.
89716 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
89718         * nss/nss_files/files-initgroups.c: New file.
89719         * nss/Makefile (libnss_files-routines): Add files-initgroups.
89720         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
89721         _nss_files_initgroups_dyn.
89723 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
89725         * elf/elf.h (R_ARM_IRELATIVE): Define.
89727 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
89729         * po/ru.po: Update from translation team.
89731 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
89733         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
89734         dependencies.
89736 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
89738         [BZ #12653]
89739         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
89740         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
89741         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
89742         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
89743         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
89745 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
89747         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
89748         differing bytes.
89749         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
89750         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
89751         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
89753 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
89755         [BZ #12420]
89756         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
89757         storing it.
89758         * stdlib/bug-getcontext.c: New file.
89759         * stdlib/Makefile: Add rules to build and run bug-getcontext.
89761 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89763         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
89764         instructions into .machine "z9-109".
89765         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
89766         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
89768 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89770         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
89771         between environment variables and auxiliary vector.
89773 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
89775         * Makefile: Add rules to build linkobj/libc.so.
89776         * include/libc-symbols.h: Define libc_hidden_nolink.
89777         * include/rpc/auth.h: Mark functions which are to be hidden.
89778         * include/rpc/auth_des.h: Likewise.
89779         * include/rpc/auth_unix.h: Likewise.
89780         * include/rpc/clnt.h: Likewise.
89781         * include/rpc/des_crypt.h: Likewise.
89782         * include/rpc/key_prot.h: Likewise.
89783         * include/rpc/pmap_clnt.h: Likewise.
89784         * include/rpc/pmap_prot.h: Likewise.
89785         * include/rpc/pmap_rmt.h: Likewise.
89786         * include/rpc/rpc_msg.h: Likewise.
89787         * include/rpc/svc.h: Likewise.
89788         * include/rpc/svc_auth.h: Likewise.
89789         * include/rpc/xdr.h: Likewise.
89790         * nis/Makefile: Link all DSOs against linkobj/libc.so.
89791         * nss/Makefile: Likewise.
89792         * sunrpc/Makefile: Don't install headers.  Build library with normal
89793         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
89794         * sunrpc/auth_des.c: Hide exported symbols by default, export some
89795         for the compat linking library.  Remove use of INTDEF/INTUSE.
89796         * sunrpc/auth_none.c: Likewise.
89797         * sunrpc/auth_unix.c: Likewise.
89798         * sunrpc/authdes_prot.c: Likewise.
89799         * sunrpc/authuxprot.c: Likewise.
89800         * sunrpc/clnt_gen.c: Likewise.
89801         * sunrpc/clnt_perr.c: Likewise.
89802         * sunrpc/clnt_raw.c: Likewise.
89803         * sunrpc/clnt_simp.c: Likewise.
89804         * sunrpc/clnt_tcp.c: Likewise.
89805         * sunrpc/clnt_udp.c: Likewise.
89806         * sunrpc/clnt_unix.c: Likewise.
89807         * sunrpc/des_crypt.c: Likewise.
89808         * sunrpc/des_soft.c: Likewise.
89809         * sunrpc/get_myaddr.c: Likewise.
89810         * sunrpc/key_call.c: Likewise.
89811         * sunrpc/key_prot.c: Likewise.
89812         * sunrpc/netname.c: Likewise.
89813         * sunrpc/pm_getmaps.c: Likewise.
89814         * sunrpc/pm_getport.c: Likewise.
89815         * sunrpc/pmap_clnt.c: Likewise.
89816         * sunrpc/pmap_prot.c: Likewise.
89817         * sunrpc/pmap_prot2.c: Likewise.
89818         * sunrpc/pmap_rmt.c: Likewise.
89819         * sunrpc/publickey.c: Likewise.
89820         * sunrpc/rpc_cmsg.c: Likewise.
89821         * sunrpc/rpc_common.c: Likewise.
89822         * sunrpc/rpc_dtable.c: Likewise.
89823         * sunrpc/rpc_prot.c: Likewise.
89824         * sunrpc/rpc_thread.c: Likewise.
89825         * sunrpc/rtime.c: Likewise.
89826         * sunrpc/svc.c: Likewise.
89827         * sunrpc/svc_auth.c: Likewise.
89828         * sunrpc/svc_authux.c: Likewise.
89829         * sunrpc/svc_raw.c: Likewise.
89830         * sunrpc/svc_run.c: Likewise.
89831         * sunrpc/svc_simple.c: Likewise.
89832         * sunrpc/svc_tcp.c: Likewise.
89833         * sunrpc/svc_udp.c: Likewise.
89834         * sunrpc/svc_unix.c: Likewise.
89835         * sunrpc/svcauth_des.c: Likewise.
89836         * sunrpc/xcrypt.c: Likewise.
89837         * sunrpc/xdr.c: Likewise.
89838         * sunrpc/xdr_array.c: Likewise.
89839         * sunrpc/xdr_float.c: Likewise.
89840         * sunrpc/xdr_intXX_t.c: Likewise.
89841         * sunrpc/xdr_mem.c: Likewise.
89842         * sunrpc/xdr_rec.c: Likewise.
89843         * sunrpc/xdr_ref.c: Likewise.
89844         * sunrpc/xdr_sizeof.c: Likewise.
89845         * sunrpc/xdr_stdio.c: Likewise.
89847 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
89849         [BZ #12650]
89850         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
89851         * sysdeps/ia64/dl-tls.h: Likewise.
89852         * sysdeps/powerpc/dl-tls.h: Likewise.
89853         * sysdeps/s390/dl-tls.h: Likewise.
89854         * sysdeps/sh/dl-tls.h: Likewise.
89855         * sysdeps/sparc/dl-tls.h: Likewise.
89856         * sysdeps/x86_64/dl-tls.h: Likewise.
89857         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
89859 2011-03-14  Andreas Schwab  <schwab@redhat.com>
89861         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
89862         rpath element also skip the following colon.
89863         (expand_dynamic_string_token): Add is_path parameter and pass
89864         down to DL_DST_REQUIRED and _dl_dst_substitute.
89865         (decompose_rpath): Call expand_dynamic_string_token with
89866         non-zero is_path.  Ignore empty rpaths.
89867         (_dl_map_object_from_fd): Call expand_dynamic_string_token
89868         with zero is_path.
89870 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
89872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
89873         Make cancelable.
89875 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
89877         [BZ #12655]
89878         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
89879         Patch by Filipe David Manana <fdmanana@apache.org>.
89881 2011-04-07  Andreas Schwab  <schwab@redhat.com>
89883         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
89884         Maintain aligned stack.
89885         (CHECK_RSP): Remove unused macro.
89887 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
89889         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
89890         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
89892 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
89894         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
89896         * include/features.h: Mention __USE_XOPEN2K8 in comment.
89898 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
89900         [BZ #12518]
89901         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
89902         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
89903         * sysdeps/x86_64/memmove.c: New file.
89904         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
89905         (memcpy): Renamed to ...
89906         (__new_memcpy): This.
89907         (memcpy): Provide GLIBC_2_14 memcpy.
89908         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
89909         (memcpy): Provide GLIBC_2_2_5 memcpy.
89911 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89913         [BZ #12631]
89914         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
89916 2011-03-30  Andreas Schwab  <schwab@redhat.com>
89918         * misc/syncfs.c: New file.
89919         * misc/Makefile (routines): Add syncfs.
89920         * posix/unistd.h: Declare syncfs.
89921         * sysdeps/unix/syscalls.list: Add syncfs.
89923 2011-04-01  Andreas Schwab  <schwab@redhat.com>
89925         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
89926         open_by_handle_at.
89927         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89928         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89929         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89930         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89931         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89932         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
89933         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89935 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89937         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
89938         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89939         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
89940         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89941         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89942         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89943         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89945         * io/Makefile: Compile fallocate.c, fallocate64.c, and
89946         sync_file_range.c with -fexceptions.
89947         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
89948         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
89949         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
89950         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
89951         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
89952         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
89953         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
89954         sync_file_range as cancellation point
89955         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
89956         now a wrapper around __call_sync_file_range with cancellation handling.
89957         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
89958         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
89959         function name to __call_sync_file_range.
89960         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
89961         Add call_sync_file_range.
89963 2011-04-01  Andreas Schwab  <schwab@redhat.com>
89965         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
89966         bits/timex.h.
89968 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89970         * iconv/iconv.h: Fix typo in comment.
89971         * io/fcntl.h: Likewise.
89972         * libio/stdio.h: Likewise.
89973         * posix/spawn.h: Likewise.
89974         * posix/unistd.h: Likewise.
89975         * stdlib/stdlib.h: Likewise.
89976         * time/time.h: Likewise.
89977         * wcsmbs/wchar.h: Likewise.
89979         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
89980         open_by_handle): Add.
89981         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
89982         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
89983         Augment a few comments.
89984         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89985         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89986         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89987         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89988         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89989         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
89990         open_by_handle.
89992         * io/fcntl.h (AT_EMPTY_PATH): Define.
89994 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
89996         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
89997         * sysdeps/unix/sysv/linux/bits/time.h: New file.
89998         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
89999         to...
90000         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
90001         * Versions.def: Add GLIBC_2.14.
90002         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
90003         Export.
90005 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
90007         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
90008         round counter.
90009         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90011 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
90013         [BZ #12597]
90014         * string/test-strncmp.c (do_page_test): New function.
90015         (check2): Likewise.
90016         (test_main): Call check2.
90017         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
90019 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
90021         [BZ #12587]
90022         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
90023         Handle cache information in CPU leaf 4.
90024         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90026 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
90028         [BZ #12583]
90029         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
90030         character representation.
90031         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
90033 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
90035         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
90036         END(__isnan) to END(__isnanf) to match function entry point/label
90037         EALIGN(__isnanf,...).
90039 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
90041         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
90043 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
90045         [BZ #12510]
90046         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
90047         copy from the symbol referenced in the relocation to initialize the
90048         used variable.
90049         Patch by Piotr Bury <pbury@goahead.com>.
90050         * elf/Makefile: Add rules to build and tst-unique3.
90051         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
90052         * elf/tst-unique3.cc: New file.
90053         * elf/tst-unique3.h: New file.
90054         * elf/tst-unique3lib.cc: New file.
90055         * elf/tst-unique3lib2.cc: New file.
90057         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
90059 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
90061         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
90062         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
90063         to _start.
90065 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
90067         * elf/dl-load.c (_dl_map_object): If we are looking for the first
90068         to-be-loaded object along a path to loader is ld.so.
90070 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
90071             Ulrich Drepper  <drepper@gmail.com>
90073         * sysdeps/x86_64/memset.S: After aligning destination, code
90074         branches to different locations depending on the value of
90075         misalignment, when multiarch is enabled. Fix this.
90077 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
90079         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
90080         Set _x86_64_preferred_memory_instruction for AMD processsors.
90081         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90082         Set bit_Prefer_SSE_for_memop for AMD processors.
90084 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
90086         * libio/fmemopen.c (fmemopen): Optimize a bit.
90088 2011-03-03  Andreas Schwab  <schwab@redhat.com>
90090         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
90092 2011-03-03  Roland McGrath  <roland@redhat.com>
90094         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
90096 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
90098         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
90099         __bzero_ultra1 instead of __memset_ultra1.
90101 2011-02-23  Andreas Schwab  <schwab@redhat.com>
90102             Ulrich Drepper  <drepper@gmail.com>
90104         [BZ #12509]
90105         * include/link.h (struct link_map): Add l_orig_initfini.
90106         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
90107         returning unsuccessfully.
90108         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
90109         close of a file loaded at startup, restore the original l_initfini
90110         list.
90111         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
90112         list, store the pointer.
90113         * elf/Makefile ($(objpfx)noload-mem): New rule.
90114         (noload-ENV): Define.
90115         (tests): Add $(objpfx)noload-mem.
90116         * elf/noload.c: Include <memcheck.h>.
90117         (main): Call mtrace.  Close all opened handles.
90119 2011-02-17  Andreas Schwab  <schwab@redhat.com>
90121         [BZ #12454]
90122         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
90123         dependencies are missing.
90125 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90127         Fix __if_freereq crash: Unlike the generic version which uses free,
90128         Hurd needs munmap.
90129         * sysdeps/mach/hurd/ifreq.h: New file.
90131 2011-01-27  Petr Baudis  <pasky@suse.cz>
90132             Ulrich Drepper  <drepper@gmail.com>
90134         [BZ 12445]#
90135         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
90136         to extend_alloca().
90137         * stdio-common/bug23.c: New file.
90138         * stdio-common/Makefile (tests): Add bug23.
90140 2010-09-28  Andreas Schwab  <schwab@redhat.com>
90141             Ulrich Drepper  <drepper@gmail.com>
90143         [BZ #12489]
90144         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
90145         before performing relro protection.  At old place add assertion
90146         to make sure nothing changed.
90148 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
90149             Glauber de Oliveira Costa  <glommer@gmail.com>
90151         * elf/elf.h: Add new ARM TLS relocs.
90153 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
90155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
90156         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
90157         cast from r3.
90158         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
90159         'tests' variable.
90160         * sysdeps/wordsize-64/tst-writev.c: New file.
90162 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
90164         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
90165         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
90166         insns in _dl_start to prevent a TOC reference before relocs are
90167         resolved.
90169 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
90171         [BZ #12469]
90172         * Makeconfig: Remove RANLIB definition.
90173         * Makerules: Don't use RANLIB.
90174         * aclocal.m4: Remove ranlib test.
90175         * configure.in: No need to check for ranlib.
90176         * elf/rtld-Rules: Don't use RANLIB.
90178 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90180         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
90181         protection macro.
90182         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
90183         inclusion protection macro.
90185         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
90186         SIGRTMIN and SIGRTMAX and print information in that case only when
90187         SIGRTMIN is defined.
90189 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
90191         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
90192         arginfo fn returning -1.
90194         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
90195         and thousands string is zero terminated.
90197 2011-02-03  Andreas Schwab  <schwab@redhat.com>
90199         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
90200         sysdeps/unix/sysv/linux/bits/socket.h.
90202 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90204         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
90205         (__CPU_COUNT): Remove old macros.
90206         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
90207         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
90208         (__CPU_ALLOC, __CPU_FREE): Add macros.
90209         (__sched_cpualloc, __sched_cpufree): Add declarations.
90211 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
90213         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
90214         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
90215         * nscd/aicache.c (addhstaiX): Return timeout of added value.
90216         (readdhstai): Return value of addhstaiX call.
90217         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
90218         (addgrbyX): Return value returned by cache_addgr.
90219         (readdgrbyname): Return value returned by addgrbyX.
90220         (readdgrbygid): Likewise.
90221         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
90222         (addpwbyX): Return value returned by cache_addpw.
90223         (readdpwbyname): Return value returned by addhstbyX.
90224         (readdpwbyuid): Likewise.
90225         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
90226         (addservbyX): Return value returned by cache_addserv.
90227         (readdservbyname): Return value returned by addservbyX:
90228         (readdservbyport): Likewise.
90229         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
90230         (addhstbyX): Return value returned by cache_addhst.
90231         (readdhstbyname): Return value returned by addhstbyX.
90232         (readdhstbyaddr): Likewise.
90233         (readdhstbynamev6): Likewise.
90234         (readdhstbyaddrv6): Likewise.
90235         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
90236         (readdinitgroups): Return value returned by addinitgroupsX.
90237         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
90238         (prune_cache): Keep track of timeout value of re-added entries.
90239         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
90240         * nscd/nscd.h: Adjust prototypes of readd* functions.
90242 2011-02-04  Roland McGrath  <roland@redhat.com>
90244         * nis/nis_server.c (nis_servstate): Use the right name for 0.
90245         (nis_stats): Likewise.
90246         * nis/nis_modify.c (nis_modify): Likewise.
90247         * nis/nis_remove.c (nis_remove): Likewise.
90248         * nis/nis_add.c (nis_add): Likewise.
90250         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
90252         * posix/fnmatch_loop.c: Add some consts.
90254         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
90256 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
90258         [BZ #12460]
90259         * config.make.in (config-cflags-novzeroupper): Define.
90260         * configure.in: Substitute libc_cv_cc_novzeroupper.
90261         * elf/Makefile (AVX-CFLAGS): Define.
90262         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
90263         (CFLAGS-tst-auditmod4a.c): Likewise.
90264         (CFLAGS-tst-auditmod4b.c): Likewise.
90265         (CFLAGS-tst-auditmod6b.c): Likewise.
90266         (CFLAGS-tst-auditmod6c.c): Likewise.
90267         (CFLAGS-tst-auditmod7b.c): Likewise.
90268         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
90270 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
90272         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
90273         function to the callback.
90274         Patch partly by Jiri Olsa <jolsa@redhat.com>.
90276 2011-02-02  Andreas Schwab  <schwab@redhat.com>
90278         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
90279         of errno.
90281 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
90283         [BZ #11724]
90284         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
90285         of constructors.
90286         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
90287         of destructors.
90288         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
90290         [BZ #11724]
90291         * elf/Makefile: Add rules to build and run new test.
90292         * elf/tst-initorder.c: New file.
90293         * elf/tst-initorder.exp: New file.
90294         * elf/tst-initordera1.c: New file.
90295         * elf/tst-initordera2.c: New file.
90296         * elf/tst-initordera3.c: New file.
90297         * elf/tst-initordera4.c: New file.
90298         * elf/tst-initorderb1.c: New file.
90299         * elf/tst-initorderb2.c: New file.
90300         * elf/tst-order-a1.c: New file.
90301         * elf/tst-order-a2.c: New file.
90302         * elf/tst-order-a3.c: New file.
90303         * elf/tst-order-a4.c: New file.
90304         * elf/tst-order-b1.c: New file.
90305         * elf/tst-order-b2.c: New file.
90306         * elf/tst-order-main.c: New file.
90307         New test case by George Gensure <werkt0@gmail.com>.
90309 2010-10-01  Andreas Schwab  <schwab@redhat.com>
90311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
90312         decoding ACE if AI_CANONIDN.
90314 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
90316         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
90318 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
90320         * version.h (RELEASE): Bump for 2.13 release.
90321         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
90323         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
90325         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
90326         MADV_NOHUGEPAGE.
90327         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
90328         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
90329         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
90330         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
90331         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
90332         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
90334         * posix/getconf.c: Update copyright year.
90335         * catgets/gencat.c: Likewise.
90336         * csu/version.c: Likewise.
90337         * debug/catchsegv.sh: Likewise.
90338         * debug/xtrace.sh: Likewise.
90339         * elf/ldconfig.c: Likewise.
90340         * elf/ldd.bash.in: Likewise.
90341         * elf/sprof.c (print_version): Likewise.
90342         * iconv/iconv_prog.c: Likewise.
90343         * iconv/iconvconfig.c: Likewise.
90344         * locale/programs/locale.c: Likewise.
90345         * locale/programs/localedef.c: Likewise.
90346         * malloc/memusage.sh: Likewise.
90347         * malloc/mtrace.pl: Likewise.
90348         * nscd/nscd.c (print_version): Likewise.
90349         * nss/getent.c: Likewise.
90351         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
90352         PF_CAIF, and PF_ALG.
90353         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90355 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
90357         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
90358         (modules-names): Use them.
90359         (ifunc-test-modules, ifunc-pie-tests): Define.
90360         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
90361         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
90362         (test-extras): Likewise.
90363         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
90364         $(compile-command.c).
90365         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
90366         (all-built-dso): Define.
90367         (check-textrel.out, check-execstack.out): Depend on it.
90369         * configure.in: Don't override --enable-multi-arch.
90371 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
90373         [BZ #6812]
90374         * nscd/hstcache.c (tryagain): Define.
90375         (cache_addhst): Return tryagain not notfound for temporary errors.
90376         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
90377         failed.
90379 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
90381         [BZ #10563]
90382         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
90383         to make the syscall.
90384         * sysdeps/unix/sysv/linux/setgroups.c: New file.
90386         [BZ #12378]
90387         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
90388         and fall back to matching as normal character if the string ends before
90389         the matching ']' is found.  This is what POSIX requires.
90390         * posix/testfnm.c: Adjust test result.
90391         * posix/globtest.sh: Adjust test result.  Add new test.
90392         * posix/tst-fnmatch.input: Likewise.
90393         * posix/tst-fnmatch2.c: Add new test.
90395 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
90397         * elf/Makefile (check-execstack): Revert last change.  Depend on
90398         check-execstack.h.
90399         (check-execstack.h): New target.
90400         (generated): Add check-execstack.h.
90401         * elf/check-execstack.c: Include "check-execstack.h".
90402         (main): Revert last change.
90403         (handle_file): Return zero if GNU_STACK is absent and
90404         DEFAULT_STACK_PERMS doesn't include PF_X.
90406 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
90408         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
90409         in child fails because the descriptor is already closed.
90410         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
90411         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
90412         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
90414         [BZ #12397]
90415         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
90416         syscall.
90418         [BZ #10484]
90419         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
90420         temporary buffer used to handle multi lookups locally.
90421         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
90423 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
90425         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
90426         loader is ld.so.
90428 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
90430         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
90431         alignment for SSE2.
90433 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
90435         [BZ #12394]
90436         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
90437         characters.  When rounding increased number of integer digits recompute
90438         number of groups.
90439         * stdio-common/tst-grouping.c: New file.
90440         * stdio-common/Makefile: Add rules to build and run tst-grouping.
90442 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
90444         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
90445         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
90447         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
90448         void.
90449         * bits/select.h: Likewise.
90451 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
90453         * po/ja.po: Update from translation team.
90455 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
90457         [BZ #11155]
90458         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
90459         implementation just like for lxstat, fxstatat, et al.
90461 2010-12-27  Jim Meyering  <meyering@redhat.com>
90463         [BZ #12348]
90464         * posix/regexec.c (build_trtable): Return failure indication upon
90465         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
90467 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
90469         [BZ #12201]
90470         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
90471         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
90472         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
90473         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
90475         [BZ #12207]
90476         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
90478         [BZ #12204]
90479         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
90480         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
90482 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
90484         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
90485         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
90486         script has SORT_BY_INIT_PRIORITY.
90487         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
90488         NO_CTORS_DTORS_SECTIONS is defined.
90489         * elf/soinit.c: Likewise.
90490         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
90491         NO_CTORS_DTORS_SECTIONS is defined.
90492         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
90493         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
90494         * sysdeps/sh/init-first.c: Likewise.
90495         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
90497 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
90499         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
90500         always use the slow path.
90502 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
90504         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
90505         similar rule which adds the sysdep directories to the header search in
90506         order to pick up the correct platform stackinfo.h.
90507         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
90508         perform test if it is, otherwise return successfully without testing.
90509         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
90510         DEFAULT_STACK_PERMS define in stackinfo.h.
90511         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
90512         defined in stackinfo.h.
90513         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
90514         DEFAULT_STACK_PERMS defined in stackinfo.h.
90515         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
90516         * sysdeps/ia64/stackinfo.h: Likewise.
90517         * sysdeps/s390/stackinfo.h: Likewise.
90518         * sysdeps/sh/stackinfo.h: Likewise.
90519         * sysdeps/sparc/stackinfo.h: Likewise.
90520         * sysdeps/x86_64/stackinfo.h: Likewise.
90521         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
90522         PF_X for powerpc64.  Retain PF_X for powerpc32.
90524 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
90526         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
90527         accurately.
90528         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
90529         GETDENTS_64BIT_ALIGNED.
90531 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
90533         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
90535 2010-12-10  Andreas Schwab  <schwab@redhat.com>
90537         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
90538         _GNU_SOURCE.
90540         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
90541         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
90542         Remove __restrict.
90543         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
90544         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
90546 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
90548         [BZ #11655]
90549         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
90550         are initialized.
90552 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
90554         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
90556 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
90558         * po/it.po: Update from translation team.
90560 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
90562         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
90563         unused codes.
90565 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
90567         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
90569 2010-11-24  Andreas Schwab  <schwab@redhat.com>
90571         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
90572         specially.
90573         (gaih_getanswer_slice): Likewise.
90575 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
90577         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
90579 2010-05-31  Petr Baudis  <pasky@suse.cz>
90581         [BZ #11149]
90582         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
90583         silently even in the chroot mode.
90585 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
90587         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
90588         last patch a bit.  Pretty printing
90590 2010-05-31  Petr Baudis <pasky@suse.cz>
90592         [BZ #10085]
90593         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
90594         initialization of skip_initgroups_dyn.
90596 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
90598         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
90599         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
90601 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
90603         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
90605 2010-11-11  Andreas Schwab  <schwab@redhat.com>
90607         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
90608         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
90609         (tst-fnmatch-ENV): Set MALLOC_TRACE.
90610         ($(objpfx)tst-fnmatch-mem): New rule.
90611         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
90612         * posix/tst-fnmatch.c (main): Call mtrace.
90614 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
90616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90617         Support Intel processor model 6 and model 0x2c.
90619 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
90621         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
90622           signed comparison.
90624 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
90626         [BZ #12205]
90627         * string/test-strncasecmp.c (check_result): New function.
90628         (do_one_test): Use it.
90629         (check1): New function.
90630         (test_main): Use it.
90631         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
90632         Support strcasecmp and strncasecmp.
90634 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
90636         [BZ #12194]
90637         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
90638         * sysdeps/x86_64/bits/byteswap.h: Likewise.
90640 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
90642         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
90643         IFUNC support.
90644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90645         memset-x86-64.
90646         * sysdeps/x86_64/multiarch/bzero.S: New file.
90647         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
90648         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
90649         * sysdeps/x86_64/multiarch/memset.S: New file.
90650         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
90651         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90652         Set bit_Prefer_SSE_for_memop for Intel processors.
90653         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
90654         Define.
90655         (index_Prefer_SSE_for_memop): Define.
90656         (HAS_PREFER_SSE_FOR_MEMOP): Define.
90658 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
90660         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
90661         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
90663 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
90665         [BZ #12191]
90666         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
90667         (__x86_64_raw_data_cache_size_half): Likewise.
90668         (__x86_64_raw_shared_cache_size): Likewise.
90669         (__x86_64_raw_shared_cache_size_half): Likewise.
90671         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
90672         (__x86_64_raw_data_cache_size_half): Likewise.
90673         (__x86_64_raw_shared_cache_size): Likewise.
90674         (__x86_64_raw_shared_cache_size_half): Likewise.
90675         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
90676         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
90677         and __x86_64_raw_shared_cache_size_half.  Round
90678         __x86_64_data_cache_size_half, __x86_64_data_cache_size
90679         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
90680         to multiple of 256 bytes.
90682 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
90684         [BZ #12167]
90685         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
90686         of inacessible symlinks.  Verify result of symlink before returning it.
90687         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
90688         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
90690 2010-10-28  Erich Ritz  <erichritz@gmail.com>
90692         * math/math.h (isinf): Fix typo in comment.
90694 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
90696         * po/da.po: Update from translation team.
90698 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
90700         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
90701         is added to the list.
90703 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90704             Ulrich Drepper  <drepper@gmail.com>
90706         * elf/dl-object.c (_dl_new_object): Don't append the new object to
90707         the global list here.  Move code to...
90708         (_dl_add_to_namespace_list): ...here.  New function.
90709         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
90710         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
90711         * elf/dl-load.c (lose): Don't remove the element from the list.
90712         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
90713         (_dl_map_object): Likewise.
90715 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
90717         [BZ #12159]
90718         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
90719         into all bytes of SSE register.
90720         Patch by Richard Li <richardpku@gmail.com>.
90722 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
90724         [BZ #12140]
90725         * malloc/malloc.c (_int_free): Fill correct number of bytes when
90726         perturbing.
90728 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
90730         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
90731         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
90732         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
90733         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
90734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
90735         submachine.
90736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
90738 2010-10-22  Andreas Schwab  <schwab@redhat.com>
90740         * include/dlfcn.h (__RTLD_SECURE): Define.
90741         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
90742         mode & __RTLD_SECURE instead.
90743         (open_path): Rename preloaded parameter to secure.
90744         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
90745         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
90746         * elf/dl-deps.c (openaux): Likewise.
90747         * elf/rtld.c (struct map_args): Remove is_preloaded.
90748         (map_doit): Don't use it.
90749         (dl_main): Likewise.
90750         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
90751         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
90753 2010-09-09  Andreas Schwab  <schwab@redhat.com>
90755         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
90756         (sysd-rules-targets): Remove duplicates.
90757         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
90758         rtld-%.$o dependency.
90760 2010-10-18  Andreas Schwab  <schwab@redhat.com>
90762         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
90763         _dl_map_object do it.
90765 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
90767         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
90768         fast fma builtins, define the macros in the C99 standard.
90769         (FP_FAST_FMAF): Likewise.
90770         (FP_FAST_FMAL): Likewise.
90771         * sysdeps/x86_64/bits/mathdef.h: Likewise.
90773         * bits/mathdef.h: Update copyright year.
90774         * sysdeps/powerpc/bits/mathdef.h: Likewise.
90776 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
90778         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
90779         builtins, define the macros in the C99 standard.
90780         (FP_FAST_FMAF): Likewise.
90781         (FP_FAST_FMAL): Likewise.
90782         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
90783         multiply/add.
90784         (FP_FAST_FMAF): Likewise.
90786 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
90788         [BZ #3268]
90789         * math/libm-test.inc (fma_test): Some new testcases.
90790         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
90791         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
90792         y and infinite z.  Do multiplication by C already in long double.
90793         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
90794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
90795         y and infinite z.  Do bitwise or of inexact bit into u.d.
90796         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
90797         * sysdeps/i386/fpu/s_fmaf.S: Removed.
90798         * sysdeps/i386/fpu/s_fma.S: Removed.
90799         * sysdeps/i386/fpu/s_fmal.S: Removed.
90801 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
90803         [BZ #3268]
90804         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
90805         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
90806         computation is not scheduled after fetestexcept.  Fix value
90807         of minimum denormal long double.
90809 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
90811         [BZ #3268]
90812         * math/libm-test.inc (fma_test): Add some more tests.
90813         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
90814         correctly.
90816 2010-10-15  Andreas Schwab  <schwab@redhat.com>
90818         * scripts/data/localplt-s390-linux-gnu.data: New file.
90819         * scripts/data/localplt-s390x-linux-gnu.data: New file.
90821 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
90823         [BZ #3268]
90824         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
90825         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
90826         instead of dbl-64.
90827         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
90828         inlines.
90829         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
90830         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
90831         if one of x and y is very large and the other is subnormal.
90832         * sysdeps/s390/fpu/s_fmaf.c: New file.
90833         * sysdeps/s390/fpu/s_fma.c: New file.
90834         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
90835         * sysdeps/powerpc/fpu/s_fma.S: New file.
90836         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
90837         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
90838         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
90840 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
90842         [BZ #3268]
90843         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
90844         fma tests.
90845         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
90846         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
90847         * sysdeps/i386/i686/multiarch/s_fma.c: Include
90848         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
90849         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
90850         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
90851         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
90853 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
90855         [BZ #12078]
90856         * posix/regcomp.c (parse_branch): One more memory leak plugged.
90857         * posix/bug-regex31.input: Add test case.
90859 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
90861         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
90862         * posix/bug-regex31.input: New file.
90864         [BZ #12078]
90865         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
90866         (parse_sub_exp): Fix last change, use postorder.
90868         * posix/bug-regex31.c: New file.
90869         * posix/Makefile: Add rules to build and run bug-regex31.
90871         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
90873         [BZ #12078]
90874         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
90876         [BZ #12108]
90877         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
90878         to have entries in sys_siglist.
90880         [BZ #12093]
90881         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
90882         be NULL.
90884 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
90886         [BZ #3268]
90887         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
90888         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
90889         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
90890         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
90891         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90892         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
90893         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
90894         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
90895         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
90896         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
90897         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
90898         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
90899         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
90900         * math/ftestexcept.c (fetestexcept): Likewise.
90901         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
90902         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
90903         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
90904         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
90905         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
90906         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
90907         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
90909 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
90911         [BZ #12107]
90912         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
90913         newline.
90915 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
90917         * string/bug-strstr1.c: New file.
90918         * string/Makefile: Add rules to build and run bug-strstr1.
90920 2010-10-05  Eric Blake  <eblake@redhat.com>
90922         [BZ #12092]
90923         * string/str-two-way.h (two_way_long_needle): Always clear memory
90924         when skipping input due to the shift table.
90926 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
90928         [BZ #12005]
90929         * malloc/mcheck.c: Handle large requests.
90931         [BZ #12077]
90932         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
90933         for strncmp and strncasecmp.
90934         * string/stratcliff.c: Add tests for strcmp and strncmp.
90935         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
90937 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
90939         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
90940         __set_fpscr.
90942 2010-09-30  Andreas Jaeger  <aj@suse.de>
90944         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
90945         (CGROUP_SUPER_MAGIC): Define.
90946         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90947         Handle btrfs and cgroup file systems.
90948         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
90949         Likewise.
90951 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
90953         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
90954         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
90956 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90958         [BZ #12067]
90959         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
90960         trying to locate the ELF header.
90962 2010-09-27  Andreas Schwab  <schwab@redhat.com>
90964         [BZ #11611]
90965         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
90966         Mask out sign-bit copies when constructing f_fsid.
90968 2010-09-24  Petr Baudis <pasky@suse.cz>
90970         * debug/stack_chk_fail_local.c: Add missing licence exception.
90971         * debug/warning-nop.c: Likewise.
90973 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
90975         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
90976         implementing getdents64 using getdents syscall, set d_type if
90977         __ASSUME_GETDENTS32_D_TYPE.
90979 2010-09-16  Andreas Schwab  <schwab@redhat.com>
90981         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
90982         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
90984 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
90986         [BZ #12037]
90987         * posix/unistd.h: Undo change of feature selection for ftruncate from
90988         2010-01-11.
90990 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
90992         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
90993         detection.
90995 2010-09-20  Andreas Schwab  <schwab@redhat.com>
90997         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
90998         fanotify_mark.
90999         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91001 2010-09-14  Andreas Schwab  <schwab@redhat.com>
91003         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
91004         variables after CHECK_SP call.
91005         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
91007 2010-09-13  Andreas Schwab  <schwab@redhat.com>
91008             Ulrich Drepper  <drepper@redhat.com>
91010         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
91011         re-relocationg ld.so.
91012         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
91013         _dl_init_paths call.
91014         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
91015         here anymore.
91017 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
91019         * resolv/res_init.c (__res_vinit): Count the default server we added.
91021 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
91022             Ulrich Drepper  <drepper@redhat.com>
91024         [BZ #11968]
91025         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91026         (____longjmp_chk): Use %ebx for saving value across system call.
91027         Add unwind info.
91029 2010-09-06  Andreas Schwab  <schwab@redhat.com>
91031         * manual/Makefile: Don't mix pattern rules with normal rules.
91033 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
91035         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
91036         operation.
91037         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
91038         * libio/iofopncook.c (_IO_cookie_init): Likewise.
91039         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
91040         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
91041         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91042         Likewise.
91044 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
91046         [BZ #11979]
91047         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
91048         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
91050 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
91052         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
91053         * sysdeps/x86_64/addmul_1.S: Likewise.
91054         * sysdeps/x86_64/lshift.S: Likewise.
91055         * sysdeps/x86_64/mul_1.S: Likewise.
91056         * sysdeps/x86_64/rshift.S: Likewise.
91057         * sysdeps/x86_64/sub_n.S: Likewise.
91058         * sysdeps/x86_64/submul_1.S: Likewise.
91060 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91062         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
91063         Define __sched_param instead of SCHED_* and sched_param when
91064         <bits/sched.h> is included with __need_schedparam defined.
91065         * bits/sched.h [__need_schedparam]
91066         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
91067         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
91068         (__defined_schedparam): Define to 1.
91069         (__sched_param): New structure, identical to sched_param.
91070         (__need_schedparam): Undefine.
91072 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
91074         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
91075         (epoll_create1): Declare.
91077         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
91079 2010-08-31  Andreas Schwab  <schwab@redhat.com>
91081         [BZ #7066]
91082         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
91083         shifting retval into place.
91085 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
91087         * nis/rpcsvc/nis.h: Update copyright notice.
91088         * nis/rpcsvc/nis.x: Likewise.
91089         * nis/rpcsvc/nis_callback.h: Likewise.
91090         * nis/rpcsvc/nis_callback.x: Likewise.
91091         * nis/rpcsvc/nis_object.x: Likewise.
91092         * nis/rpcsvc/nis_tags.h: Likewise.
91093         * nis/rpcsvc/yp.h: Likewise.
91094         * nis/rpcsvc/yp.x: Likewise.
91095         * nis/rpcsvc/ypupd.h: Likewise.
91096         * nis/yp_xdr.c: Likewise.
91097         * nis/ypupdate_xdr.c: Likewise.
91099         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
91100         mainly the body of pmap_getport.  Add parameters to specify timeouts.
91101         (pmap_getport): Use __libc_rpc_getport.
91102         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
91103         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
91104         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
91106 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
91108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
91109         fanotify_mark.
91111 2010-08-27  Roland McGrath  <roland@redhat.com>
91113         * sysdeps/i386/i686/multiarch/Makefile
91114         (CFLAGS-varshift.c): New variable.
91116 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
91118         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
91119         * sysdeps/i386/i686/multiarch/varshift.c: New file.
91121         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
91123         * sysdeps/x86_64/strlen.S: Minimal code improvement.
91125 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
91127         * sysdeps/x86_64/strlen.S: Unroll the loop.
91128         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91129         strlen-sse2 strlen-sse2-bsf.
91130         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
91131         __strlen_no_bsf if bit_Slow_BSF is set.
91132         (__strlen_sse42): Removed.
91133         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
91134         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
91136 2010-08-25  Roland McGrath  <roland@redhat.com>
91138         * sysdeps/x86_64/multiarch/varshift.S: File removed.
91139         * sysdeps/x86_64/multiarch/varshift.c: New file.
91140         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
91141         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
91142         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
91143         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
91145 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
91147         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91148         strlen-sse2 strlen-sse2-bsf.
91149         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
91150         __strlen_sse2_bsf if bit_Slow_BSF is unset.
91151         (__strlen_sse2): Removed.
91152         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
91153         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
91154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
91155         bit_Slow_BSF for Atom.
91156         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
91157         (index_Slow_BSF): Define.
91158         (HAS_SLOW_BSF): Define.
91160 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
91162         [BZ #10851]
91163         * resolv/res_init.c (__res_vinit): When no server address at all
91164         is given default to loopback.
91166 2010-08-24  Roland McGrath  <roland@redhat.com>
91168         * configure.in: Remove config-name.h generation.
91169         * configure: Regenerated.
91170         * config-name.in: File removed.
91171         * scripts/config-uname.sh: New file.
91172         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
91173         ($(objdir)config-name.h): New target.
91175         * sunrpc/rpc_parse.h: Avoid nested comment.
91177 2010-08-24  Richard Henderson  <rth@redhat.com>
91178             Ulrich Drepper  <drepper@redhat.com>
91179             H.J. Lu  <hongjiu.lu@intel.com>
91181         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
91182         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
91183         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
91184         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
91185         _mm_alignr_epi8 with _mm_loadu_si128.
91186         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
91187         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
91188         (__m128i_shift_right): Removed.
91189         * sysdeps/i386/i686/multiarch/varshift.h: New file.
91190         * sysdeps/i386/i686/multiarch/varshift.S: New file.
91191         * sysdeps/x86_64/multiarch/varshift.h: New file.
91192         * sysdeps/x86_64/multiarch/varshift.S: New file.
91194 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
91196         * configure.in: Move assembler checks to before sysdep dir checking.
91198 2010-08-20  Petr Baudis  <pasky@suse.cz>
91200         * LICENSES: Sync the sunrpc license.
91202 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
91204         * sunrpc/auth_des.c: Update copyright notice once again.
91205         * sunrpc/auth_none.c: Likewise.
91206         * sunrpc/auth_unix.c: Likewise.
91207         * sunrpc/authdes_prot.c: Likewise.
91208         * sunrpc/authuxprot.c: Likewise.
91209         * sunrpc/bindrsvprt.c: Likewise.
91210         * sunrpc/clnt_gen.c: Likewise.
91211         * sunrpc/clnt_perr.c: Likewise.
91212         * sunrpc/clnt_raw.c: Likewise.
91213         * sunrpc/clnt_simp.c: Likewise.
91214         * sunrpc/clnt_tcp.c: Likewise.
91215         * sunrpc/clnt_udp.c: Likewise.
91216         * sunrpc/clnt_unix.c: Likewise.
91217         * sunrpc/des_crypt.c: Likewise.
91218         * sunrpc/des_soft.c: Likewise.
91219         * sunrpc/get_myaddr.c: Likewise.
91220         * sunrpc/getrpcport.c: Likewise.
91221         * sunrpc/key_call.c: Likewise.
91222         * sunrpc/key_prot.c: Likewise.
91223         * sunrpc/openchild.c: Likewise.
91224         * sunrpc/pm_getmaps.c: Likewise.
91225         * sunrpc/pm_getport.c: Likewise.
91226         * sunrpc/pmap_clnt.c: Likewise.
91227         * sunrpc/pmap_prot.c: Likewise.
91228         * sunrpc/pmap_prot2.c: Likewise.
91229         * sunrpc/pmap_rmt.c: Likewise.
91230         * sunrpc/rpc/auth.h: Likewise.
91231         * sunrpc/rpc/auth_unix.h: Likewise.
91232         * sunrpc/rpc/clnt.h: Likewise.
91233         * sunrpc/rpc/des_crypt.h: Likewise.
91234         * sunrpc/rpc/key_prot.h: Likewise.
91235         * sunrpc/rpc/netdb.h: Likewise.
91236         * sunrpc/rpc/pmap_clnt.h: Likewise.
91237         * sunrpc/rpc/pmap_prot.h: Likewise.
91238         * sunrpc/rpc/pmap_rmt.h: Likewise.
91239         * sunrpc/rpc/rpc.h: Likewise.
91240         * sunrpc/rpc/rpc_des.h: Likewise.
91241         * sunrpc/rpc/rpc_msg.h: Likewise.
91242         * sunrpc/rpc/svc.h: Likewise.
91243         * sunrpc/rpc/svc_auth.h: Likewise.
91244         * sunrpc/rpc/types.h: Likewise.
91245         * sunrpc/rpc/xdr.h: Likewise.
91246         * sunrpc/rpc_clntout.c: Likewise.
91247         * sunrpc/rpc_cmsg.c: Likewise.
91248         * sunrpc/rpc_common.c: Likewise.
91249         * sunrpc/rpc_cout.c: Likewise.
91250         * sunrpc/rpc_dtable.c: Likewise.
91251         * sunrpc/rpc_hout.c: Likewise.
91252         * sunrpc/rpc_main.c: Likewise.
91253         * sunrpc/rpc_parse.c: Likewise.
91254         * sunrpc/rpc_parse.h: Likewise.
91255         * sunrpc/rpc_prot.c: Likewise.
91256         * sunrpc/rpc_sample.c: Likewise.
91257         * sunrpc/rpc_scan.c: Likewise.
91258         * sunrpc/rpc_scan.h: Likewise.
91259         * sunrpc/rpc_svcout.c: Likewise.
91260         * sunrpc/rpc_tblout.c: Likewise.
91261         * sunrpc/rpc_util.c: Likewise.
91262         * sunrpc/rpc_util.h: Likewise.
91263         * sunrpc/rpcinfo.c: Likewise.
91264         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
91265         * sunrpc/rpcsvc/key_prot.x: Likewise.
91266         * sunrpc/rpcsvc/klm_prot.x: Likewise.
91267         * sunrpc/rpcsvc/mount.x: Likewise.
91268         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
91269         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
91270         * sunrpc/rpcsvc/rex.x: Likewise.
91271         * sunrpc/rpcsvc/rstat.x: Likewise.
91272         * sunrpc/rpcsvc/rusers.x: Likewise.
91273         * sunrpc/rpcsvc/sm_inter.x: Likewise.
91274         * sunrpc/rpcsvc/spray.x: Likewise.
91275         * sunrpc/rpcsvc/yppasswd.x: Likewise.
91276         * sunrpc/rtime.c: Likewise.
91277         * sunrpc/svc.c: Likewise.
91278         * sunrpc/svc_auth.c: Likewise.
91279         * sunrpc/svc_authux.c: Likewise.
91280         * sunrpc/svc_raw.c: Likewise.
91281         * sunrpc/svc_run.c: Likewise.
91282         * sunrpc/svc_simple.c: Likewise.
91283         * sunrpc/svc_tcp.c: Likewise.
91284         * sunrpc/svc_udp.c: Likewise.
91285         * sunrpc/svc_unix.c: Likewise.
91286         * sunrpc/svcauth_des.c: Likewise.
91287         * sunrpc/xcrypt.c: Likewise.
91288         * sunrpc/xdr.c: Likewise.
91289         * sunrpc/xdr_array.c: Likewise.
91290         * sunrpc/xdr_float.c: Likewise.
91291         * sunrpc/xdr_mem.c: Likewise.
91292         * sunrpc/xdr_rec.c: Likewise.
91293         * sunrpc/xdr_ref.c: Likewise.
91294         * sunrpc/xdr_sizeof.c: Likewise.
91295         * sunrpc/xdr_stdio.c: Likewise.
91297         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
91298         handling.
91300 2010-08-19  Andreas Schwab  <schwab@redhat.com>
91302         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
91304 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
91306         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
91307         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
91308         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
91309         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
91310         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
91311         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
91312         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
91313         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
91314         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
91315         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
91316         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
91317         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
91318         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
91319         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
91321 2010-07-26  Anton Blanchard  <anton@samba.org>
91323         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
91324         * malloc/arena.c (heap_trim): Likewise.
91326 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
91328         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
91329         here.  Not...
91330         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
91331         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
91333 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
91335         * sysdeps/i386/elf/Makefile: New file.
91337 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
91339         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
91340         from fanotify_init.
91341         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
91342         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
91344 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
91346         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
91347         of strncasecmp_l.
91348         * sysdeps/multiarch/strcmp.S: Likewise.
91350 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
91352         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
91353         strncase_l-nonascii.
91354         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
91355         Add strncase_l-ssse3.
91356         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
91357         * sysdeps/x86_64/strcmp.S: Likewise.
91358         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
91359         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
91360         * sysdeps/x86_64/strncase.S: New file.
91361         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
91362         * sysdeps/x86_64/strncase_l.S: New file.
91363         * string/Makefile (strop-tests): Add strncasecmp.
91364         * string/test-strncasecmp.c: New file.
91366         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
91367         warning.
91369         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
91370         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
91372 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
91374         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
91376 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
91378         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
91379         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
91380         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
91382 2010-05-01  Alan Modra  <amodra@gmail.com>
91384         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
91385         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
91386         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
91387         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
91388         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
91389         tidying.  Don't tail-call __sigjmp_save for static lib.
91390         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
91391         save location.
91392         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
91393         (CALL_MCOUNT): Add eh info, and nop after bl.
91394         (TAIL_CALL_SYSCALL_ERROR): New macro.
91395         (PSEUDO_RET): Use it.
91396         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
91397         Correct save location of integer regs and cr.
91398         (_dl_profile_resolve): Correct cr save location.  Delete nops
91399         after bl when SHARED.  Reduce cfi size a little by better
91400         placement of cfi directives.
91401         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
91402         make a stack frame.  Instead use parm save area as a temp.
91403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
91404         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
91405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
91406         Don't make a stack frame for parent, use parm save area.
91407         Increase child stack frame to 112 bytes.  Don't save unused reg,
91408         and adjust reg usage.  Set up cfi on error recovery and
91409         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
91410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
91411         (__makecontext): Add dummy nop after jump to exit.
91412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
91413         Use correct parm save area and cr save, reduce stack frame.
91414         Correct cfi for possible PSEUDO_RET frame setup.
91415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
91416         Branch to local label emitted by PSEUDO_RET rather than
91417         __syscall_error.
91419 2010-08-12  Andreas Schwab  <schwab@redhat.com>
91421         [BZ #11904]
91422         * locale/programs/locale.c (print_assignment): New function.
91423         (show_locale_vars): Use it.
91425 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
91427         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
91428         field.
91429         (struct statfs64): Likewise.
91430         (_STATFS_F_FLAGS): Define.
91431         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
91432         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91433         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
91434         (ST_VALID): Define locally.
91435         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
91436         __statvfs_getflags, use the provided value.
91437         * sysdeps/unix/sysv/linux/kernel-features.h: Define
91438         __ASSUME_STATFS_F_FLAGS.
91440         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
91442         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
91443         Add sys/fanotify.h.
91444         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
91445         fanotify_mask for GLIBC_2.13.
91446         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
91447         fanotify_init and fanotify_mark.
91448         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
91449         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
91451         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
91452         Add prlimit.
91453         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
91454         prlimit64 for GLIBC_2.13.
91455         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
91456         prlimit64.
91457         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
91458         syscall.
91459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
91460         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91461         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
91462         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
91463         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
91464         add prlimit alias.
91465         * sysdeps/unix/sysv/linux/prlimit.c: New file.
91467         [BZ #11903]
91468         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
91469         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
91471         * nss/Makefile: Add rules to build and run tst-nss-test1.
91472         * shlib-versions: Add entry for libnss_test1.
91473         * nss/nss_test1.c: New file.
91474         * nss/tst-nss-test1.c: New file.
91476         * nss/nsswitch.c (__nss_database_custom): Define new variable.
91477         (__nss_configure_lookup): Set appropriate entry in
91478         __nss_configure_lookup to true.
91479         * nss/nsswitch.h: Define enum with indeces of databases in
91480         databases and __nss_database_custom arrays.  Declare
91481         __nss_database_custom.
91482         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
91483         to avoid using nscd when custom rules are installed.
91484         * nss/getXXbyYY_r.c: Likewise.
91485         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
91487         * nss/nss_files/files-parse.c: Whitespace fixes.
91489 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
91491         [BZ #11883]
91492         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
91493         * posix/fnmatch_loop.c: Likewise.
91495 2010-07-17  Andi Kleen  <ak@linux.intel.com>
91497         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
91498         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
91499         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
91500         * Versions.def [GLIBC_2.13]: Add.
91502 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
91504         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
91505         Also fail if tpwd after pwuid call is NULL.
91507 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91509         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
91510         when converting to ms.
91512 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91514         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
91515         EOPNOTSUPP errors with ENOTTY.
91516         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
91517         EOPNOTSUPP errors with ENOTTY.
91519 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
91521         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
91522         Add strcasecmp_l-ssse3.
91523         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
91524         strcasecmp.
91525         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
91526         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
91527         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
91529 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
91531         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
91533         * string/Makefile (strop-tests): Add strcasecmp.
91534         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
91535         strcasecmp_l-nonascii.
91536         (gen-as-const-headers): Add locale-defines.sym.
91537         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
91538         * sysdeps/x86_64/strcasecmp.S: New file.
91539         * sysdeps/x86_64/strcasecmp_l.S: New file.
91540         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
91541         * sysdeps/x86_64/locale-defines.sym: New file.
91542         * string/test-strcasecmp.c: New file.
91544         * string/test-strcasestr.c: Test both ends of the range of characters.
91545         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
91547 2010-07-29  Roland McGrath  <roland@redhat.com>
91549         [BZ #11856]
91550         * manual/locale.texi (Yes-or-No Questions): Fix example code.
91552 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
91554         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
91555         for ld.so.
91557 2010-07-27  Andreas Schwab  <schwab@redhat.com>
91559         * manual/memory.texi (Malloc Tunable Parameters): Document
91560         M_PERTURB.
91562 2010-07-26  Roland McGrath  <roland@redhat.com>
91564         [BZ #11840]
91565         * configure.in (-fgnu89-inline check): Set and substitute
91566         gnu89_inline, not libc_cv_gnu89_inline.
91567         * configure: Regenerated.
91568         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
91570 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
91572         * string/test-strnlen.c: New file.
91573         * string/Makefile (strop-tests): Add strnlen.
91574         * string/tester.c (test_strnlen): Add a few more test cases.
91575         * string/tst-strlen.c: Better error reporting.
91577         * sysdeps/x86_64/strnlen.S: New file.
91579 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
91581         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
91582         lower-latency instructions.
91584 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
91586         * string/test-strcasestr.c: New file.
91587         * string/test-strstr.c: New file.
91588         * string/Makefile (strop-tests): Add strstr and strcasestr.
91589         * string/str-two-way.h: Don't undefine MAX.
91590         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
91592 2010-07-21  Andreas Schwab  <schwab@redhat.com>
91594         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91595         strcasestr-nonascii.
91596         (CFLAGS-strcasestr-nonascii.c): Define.
91597         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
91598         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
91599         Remove unused attribute.
91601 2010-07-20  Roland McGrath  <roland@redhat.com>
91603         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
91604         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
91605         ld.so.cache was broken.  With it, there is no way to disable dsocaps
91606         like LD_HWCAP_MASK can disable hwcaps.
91608 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
91610         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
91612 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
91614         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
91615         call in strcasestr.
91616         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
91617         __strcasestr_sse42_nonascii.
91618         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
91619         strcasestr-nonascii.c.
91620         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
91622 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
91624         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
91625         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
91626         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
91627         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
91629 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
91631         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
91632         fcntl.
91634 2010-07-06  Andreas Schwab  <schwab@redhat.com>
91636         [BZ #11577]
91637         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
91638         dl_signal_cerror.
91640 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
91642         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
91643         _PC_PIPE_BUF using F_GETPIPE_SZ.
91645 2010-07-05  Roland McGrath  <roland@redhat.com>
91647         * manual/arith.texi (Rounding Functions): Fix rint description
91648         implicit in round description.
91650 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
91652         * elf/Makefile: Fix linking for a few tests to make recent linker
91653         happy.
91655 2010-06-30  Andreas Schwab  <schwab@redhat.com>
91657         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91658         $(common-objpfx)libc_nonshared.a.
91660 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
91662         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
91663         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
91664         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
91665         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
91666         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
91667         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
91668         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
91669         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
91670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
91671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
91672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
91673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
91674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
91675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
91676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
91677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
91678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
91679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
91680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
91681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
91682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
91683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
91684         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
91685         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
91686         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
91687         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
91688         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
91689         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
91690         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
91691         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
91692         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
91693         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
91694         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
91695         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
91696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
91697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
91698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
91699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
91700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
91701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
91702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
91703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
91704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
91705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
91706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
91707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
91708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
91709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
91711 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
91713         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
91714         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
91715         * string/memmove.c (memmove): Renamed to ...
91716         (MEMMOVE): ...this.  Default to memmove.
91717         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
91718         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
91719         (END_CHK): Define.
91720         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91721         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
91722         mempcpy-ssse3-back memmove-ssse3-back.
91723         * sysdeps/x86_64/multiarch/bcopy.S: New file .
91724         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
91725         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
91726         * sysdeps/x86_64/multiarch/memcpy.S: New file.
91727         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
91728         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
91729         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
91730         * sysdeps/x86_64/multiarch/memmove.c: New file.
91731         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
91732         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
91733         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
91734         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
91735         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
91736         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
91737         Define.
91738         (index_Fast_Copy_Backward): Define.
91739         (HAS_ARCH_FEATURE): Define.
91740         (HAS_FAST_REP_STRING): Define.
91741         (HAS_FAST_COPY_BACKWARD): Define.
91743 2010-06-21  Andreas Schwab  <schwab@redhat.com>
91745         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
91746         Restore proper fallback handling.
91748 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
91750         [BZ #11701]
91751         * posix/group_member.c (__group_member): Correct checking loop.
91753         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
91754         OOM in getpwuid_r correctly.  Return error number when the caller
91755         should return, otherwise -1.
91756         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
91757         call returning > 0 value.
91758         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
91760 2010-06-07  Andreas Schwab  <schwab@redhat.com>
91762         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
91763         libc_nonshared.a from targets in modules-names.
91765 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
91767         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
91768         requires it.
91770 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
91772         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
91773         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
91774         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
91775         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
91777 2010-06-02  Andreas Schwab  <schwab@redhat.com>
91779         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
91781 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
91783         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
91784         and F_GETPIPE_SZ.
91785         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
91786         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91787         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91788         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91789         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91790         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91792 2010-06-14  Roland McGrath  <roland@redhat.com>
91794         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
91796 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
91798         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
91799         __REDIRECT followed by __THROW.
91800         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
91801         * posix/getopt.h (getopt): Likewise.
91803 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
91805         * hurd/lookup-at.c (__file_name_lookup_at): Accept
91806         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
91807         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
91808         in AT_FLAGS.
91809         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
91810         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
91812 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
91814         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
91816 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
91818         [BZ #11640]
91819         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91820         Properly check family and model.
91822 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
91824         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
91826 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
91828         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
91830 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
91832         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
91833         symbol reference.
91835 2010-05-19  Andreas Schwab  <schwab@redhat.com>
91837         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
91838         symbol reference.
91840 2010-05-21  Andreas Schwab  <schwab@redhat.com>
91842         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
91843         and internal_recvmmsg.
91844         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
91845         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
91846         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
91847         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
91849         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
91850         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
91851         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
91853 2010-05-20  Andreas Schwab  <schwab@redhat.com>
91855         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
91857 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
91859         POWER7 optimizations.
91860         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
91861         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
91863 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
91865         * version.h: Update for 2.13 development version.
91867 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
91869         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
91870         exceptions.  Return 0.
91872 2010-05-07  Roland McGrath  <roland@redhat.com>
91874         * elf/ldconfig.c (main): Add a const.
91876 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
91878         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
91879         (args_options): Add no-idn option.
91880         (ahosts_keys_int): Add idn_flags to ai_flags.
91881         (parse_option): Handle 'i' option to clear idn_flags.
91883         * malloc/malloc.c (_int_free): Possible race in the most recently
91884         added check.  Only act on the data if no current modification
91885         happened.
91887 See ChangeLog.17 for earlier changes.